az resiliency drill drill-run
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 drill drill-run command. Learn more about extensions.
Manage Drill Run.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az resiliency drill drill-run add-note |
This enables the user to add notes on this Drill Run. |
Extension | GA |
| az resiliency drill drill-run drill-run-resource |
Manage Drill Run Resource. |
Extension | GA |
| az resiliency drill drill-run drill-run-resource list |
List DrillRunResource resources by DrillRun. |
Extension | GA |
| az resiliency drill drill-run drill-run-resource show |
Get a DrillRunResource. |
Extension | GA |
| az resiliency drill drill-run fail-over |
This initiates a new Failover operation on this Drill Run. |
Extension | GA |
| az resiliency drill drill-run generate-report |
This generates, or regenerates, the report for this Drill Run. The action is idempotent and is safe to call at any time: a call that arrives while a generation is already running joins it, and a call made after a failed attempt retries it. A report that has been finalized is never regenerated. |
Extension | GA |
| az resiliency drill drill-run list |
List DrillRun resources by Drill. |
Extension | GA |
| az resiliency drill drill-run list-report-download-url |
This returns a short-lived, read-only URL to download the report for this Drill Run. The URL expires at the returned expiryTimestamp and grants access to that single report only. |
Extension | GA |
| az resiliency drill drill-run mark-as-complete |
This enables the user to mark this stage as complete, disabling further retries on it. |
Extension | GA |
| az resiliency drill drill-run reprotect |
This initiates a new Reprotect operation on this Drill Run. |
Extension | GA |
| az resiliency drill drill-run resume |
This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage. |
Extension | GA |
| az resiliency drill drill-run show |
Get a DrillRun. |
Extension | GA |
az resiliency drill drill-run add-note
This enables the user to add notes on this Drill Run.
az resiliency drill drill-run add-note --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--notes]
Examples
DrillRuns_AddNotes_MaximumSet
az resiliency drill drill-run add-note --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3 --notes wubqjajveatmwcglo
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The notes string.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
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 drill drill-run fail-over
This initiates a new Failover operation on this Drill Run.
az resiliency drill drill-run fail-over --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--auto-failover {Disable, Enable}]
[--change-reference]
[--failover-properties]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
DrillRuns_FailOver_MaximumSet
az resiliency drill drill-run fail-over --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3 --failover-properties "{failover-direction:FromSpecificLocations,failover-request-properties:{source-locations:[westus]}}" --auto-failover Enable
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
AutoFailover - whether to pause between Fault and Failover for manual input.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
| Accepted values: | Disable, Enable |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The failover properties. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 drill drill-run generate-report
This generates, or regenerates, the report for this Drill Run. The action is idempotent and is safe to call at any time: a call that arrives while a generation is already running joins it, and a call made after a failed attempt retries it. A report that has been finalized is never regenerated.
az resiliency drill drill-run generate-report --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
DrillRuns_GenerateReport_MaximumSet
az resiliency drill drill-run generate-report --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 drill drill-run list
List DrillRun resources by Drill.
az resiliency drill drill-run list --drill-name
--service-group-name
[--max-items]
[--next-token]
Examples
DrillRuns_List_MaximumSet
az resiliency drill drill-run list --service-group-name sampleServiceGroupName --drill-name drill1
Required Parameters
The name of the Drill.
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 |
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 drill drill-run list-report-download-url
This returns a short-lived, read-only URL to download the report for this Drill Run. The URL expires at the returned expiryTimestamp and grants access to that single report only.
az resiliency drill drill-run list-report-download-url --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--format {Html}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
DrillRuns_ListReportDownloadUrl_MaximumSet
az resiliency drill drill-run list-report-download-url --service-group-name sampleServiceGroupName --operation-id 3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3 --format Html
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Format of the report to download. Defaults to Html when not specified.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
| Accepted values: | Html |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 drill drill-run mark-as-complete
This enables the user to mark this stage as complete, disabling further retries on it.
az resiliency drill drill-run mark-as-complete --drill-name
--drill-run-name
--drill-run-stage {Failover, FailoverReverse, FaultInjection, Reprotect, ReprotectReverse}
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
DrillRuns_MarkAsComplete_MaximumSet
az resiliency drill drill-run mark-as-complete --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3 --drill-run-stage FaultInjection
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
State of the Drill Run.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
| Accepted values: | Failover, FailoverReverse, FaultInjection, Reprotect, ReprotectReverse |
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 drill drill-run reprotect
This initiates a new Reprotect operation on this Drill Run.
az resiliency drill drill-run reprotect --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--reprotect-properties]
Examples
DrillRuns_Reprotect_MaximumSet
az resiliency drill drill-run reprotect --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The reprotect properties. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
| Property | Value |
|---|---|
| Parameter group: | Body Arguments |
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 drill drill-run resume
This unblocks a Failover workflow that is paused after the Fault stage, to proceed to the Failover stage.
az resiliency drill drill-run resume --drill-name
--drill-run-name
--operation-id
--service-group-name
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
Examples
DrillRuns_Resume_MaximumSet
az resiliency drill drill-run resume --service-group-name sampleServiceGroupName --operation-id qmn --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
A GUID that represents the Long Running OperationId.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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 drill drill-run show
Get a DrillRun.
az resiliency drill drill-run show --drill-name
--drill-run-name
--service-group-name
Examples
DrillRuns_Get_MaximumSet
az resiliency drill drill-run show --service-group-name sampleServiceGroupName --drill-name drill1 --drill-run-name ca92602e-53bf-43d2-ae62-d3fc940474b3
Required Parameters
The name of the Drill.
The name of the DrillRun (GUID).
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 |