v8

latestSwagger 2.0raw.githubusercontent.com2022-02-15192550.4 KB
ScopeAssignments

Creates a scope assignment.

put/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}

Path parameters

scopestring required

The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.

scopeAssignmentNamestring required

The name of the scope assignment to create.

Query parameters

api-versionstring required

Client Api Version.

Request body

idstring

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

locationstring

The geo-location where the resource lives

Response

Updated - Returns information about the scope assignment.

idstring

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

locationstring

The geo-location where the resource lives