az relationship dependency-of
Note
This reference is part of the relationship extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az relationship dependency-of command. Learn more about extensions.
Manage Dependency Of.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az relationship dependency-of create |
Create a DependencyOfRelationship. |
Extension | GA |
| az relationship dependency-of delete |
Delete a DependencyOfRelationship. |
Extension | GA |
| az relationship dependency-of show |
Get a DependencyOfRelationship. |
Extension | GA |
az relationship dependency-of create
Create a DependencyOfRelationship.
az relationship dependency-of create --name
--resource-uri
--target-id
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--target-tenant]
Required Parameters
Name of dependencyOf relationship.
The fully qualified Azure Resource manager identifier of the resource.
The relationship target resource id.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
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 relationship target tenant id.
| Property | Value |
|---|---|
| Parameter group: | Properties 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 relationship dependency-of delete
Delete a DependencyOfRelationship.
az relationship dependency-of delete --name
--resource-uri
[--acquire-policy-token]
[--change-reference]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--yes]
Required Parameters
Name of dependencyOf relationship.
The fully qualified Azure Resource manager identifier of the resource.
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 |
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
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 relationship dependency-of show
Get a DependencyOfRelationship.
az relationship dependency-of show --name
--resource-uri
Required Parameters
Name of dependencyOf relationship.
The fully qualified Azure Resource manager identifier of the resource.
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 |