az resiliency goal-assignment goal-resource
Note
This reference is part of the resiliency extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az resiliency goal-assignment goal-resource command. Learn more about extensions.
Manage Goal Resource.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az resiliency goal-assignment goal-resource list |
List goal resources under a goal assignment. |
Extension | GA |
| az resiliency goal-assignment goal-resource show |
Get a goal resource. |
Extension | GA |
az resiliency goal-assignment goal-resource list
List goal resources under a goal assignment.
az resiliency goal-assignment goal-resource list --goal-assignment-name
--service-group-name
[--max-items]
[--next-token]
[--skip-token]
[--top]
Examples
GoalResources_List_MaximumSet
az resiliency goal-assignment goal-resource list --service-group-name production-sg --skip-token xntbyoswztnmvitj --top 69 --goal-assignment-name zonal-resiliency-goal
Required Parameters
The name of the goal assignment.
The name of the service group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Skip over when retrieving results.
Number of elements to return when retrieving results.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az resiliency goal-assignment goal-resource show
Get a goal resource.
az resiliency goal-assignment goal-resource show --goal-assignment-name
--goal-resource-name
--service-group-name
Examples
Get a goal resource by the name returned by `az resiliency goal-assignment goal-resource list`
az resiliency goal-assignment goal-resource show --service-group-name production-sg --goal-assignment-name zonal-resiliency-goal --goal-resource-name 3f2b8c1e-7d4a-4e6b-9a1c-5d8e2f7b4c90
Required Parameters
The name of the goal assignment.
The name of the goal resource.
The name of the service group.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |