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

Name of dependencyOf relationship.

--resource-uri

The fully qualified Azure Resource manager identifier of the resource.

--target-id

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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--target-tenant

The relationship target tenant id.

Property Value
Parameter group: Properties Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

Name of dependencyOf relationship.

--resource-uri

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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

Name of dependencyOf relationship.

--resource-uri

The fully qualified Azure Resource manager identifier of the resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False