Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/automation/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Release History
0.1.2
++++++
* Added Hybrid Runbook Worker Group and Hybrid Runbook Workers related commands.
* Added Hybrid Runbook worker move command.

1 change: 1 addition & 0 deletions src/automation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ az automation hrwg hrw move \
--automation-account-name accountName \
--resource-group groupName \
--hybrid-runbook-worker-group-name hybridRunbookWorkerGroupName \
--target-hybrid-runbook-worker-group-name targetHybridWorkerGroupName \
--name hybridRunbookWorkerName
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def _build_arguments_schema(cls, *args, **kwargs):
help="The hybrid runbook worker group name",
required=True,
)
_args_schema.target_hybrid_runbook_worker_group_name = AAZStrArg(
options=["--target-hybrid-runbook-worker-group-name"],
help="The target hybrid worker group name",
required=True,
)
_args_schema.hybrid_runbook_worker_id = AAZStrArg(
options=["--hybrid-runbook-worker-id"],
help="The hybrid runbook worker id",
Expand Down Expand Up @@ -142,7 +147,7 @@ def content(self):
typ=AAZObjectType,
typ_kwargs={"flags": {"required": True, "client_flatten": True}}
)
_builder.set_prop("hybridRunbookWorkerGroupName", AAZStrType, ".hybrid_runbook_worker_group_name")
_builder.set_prop("hybridRunbookWorkerGroupName", AAZStrType, ".target_hybrid_runbook_worker_group_name")

return self.serialize_content(_content_value)

Expand Down
3 changes: 3 additions & 0 deletions src/automation/linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ automation hrwg hrw move:
hybrid_runbook_worker_id:
rule_exclusions:
- option_length_too_long
target_hybrid_runbook_worker_group_name:
rule_exclusions:
- option_length_too_long
automation hrwg hrw show:
parameters:
automation_account_name:
Expand Down