CmdID

CmdID / az / az relationship / az relationship dependency-of

az relationship dependency-of update

Update a DependencyOfRelationship Azure CLI extensions reference

1 example 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Update the target of a dependencyOf relationship

az relationship dependency-of update --resource-uri "/subscriptions/{sub}/resourceGroups/{rg}" --name myDependency --target-id "/providers/Microsoft.Management/serviceGroups/mySG"Identify
--resource-uriThe fully qualified Azure Resource manager identifier of the resource.
--nameName of dependencyOf relationship.
--target-idThe relationship target resource id.

Options

4 in the Azure CLI extensions reference
--nameName of dependencyOf relationship.
--resource-uriThe fully qualified Azure Resource manager identifier of the resource.
--target-idThe relationship target resource id.
--target-tenantThe relationship target tenant id.