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
Examples
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
--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.