Microsoft.Authorization (preview:2024-12-01)

2025/03/25 • 24 new methods

PolicyExemptions_Delete (new)
Description This operation deletes a policy exemption, given its name and the scope it was created in. The scope of a policy exemption is the part of its ID preceding '/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}'.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}
{
scope: string ,
policyExemptionName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_CreateOrUpdate (new)
Description This operation creates or updates a policy exemption with the given scope and name. Policy exemptions apply to all resources contained within their scope. For example, when you create a policy exemption at resource group scope for a policy assignment at the same or above level, the exemption exempts to all applicable resources in the resource group.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}
{
scope: string ,
policyExemptionName: string ,
api-version: string ,
parameters:
{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (201)

{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_Get (new)
Description This operation retrieves a single policy exemption, given its name and the scope it was created at.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}
{
scope: string ,
policyExemptionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_Update (new)
Description This operation updates a policy exemption with the given scope and name.
Reference Link ¶

⚼ Request

PATCH:  /{scope}/providers/Microsoft.Authorization/policyExemptions/{policyExemptionName}
{
scope: string ,
policyExemptionName: string ,
parameters:
{
properties:
{
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_List (new)
Description This operation retrieves the list of all policy exemptions associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy exemptions associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyExemptions
{
subscriptionId: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_ListForResourceGroup (new)
Description This operation retrieves the list of all policy exemptions associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy exemptions associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyExemptions
{
subscriptionId: string ,
resourceGroupName: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_ListForResource (new)
Description This operation retrieves the list of all policy exemptions associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy exemptions associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyExemptions
{
subscriptionId: string ,
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicyExemptions_ListForManagementGroup (new)
Description This operation retrieves the list of all policy exemptions applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()', 'excludeExpired()' or 'policyAssignmentId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy exemptions that are assigned to the management group or the management group's ancestors.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyExemptions
{
managementGroupId: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyAssignmentId: string ,
policyDefinitionReferenceIds:
[
string ,
]
,
exemptionCategory: enum ,
expiresOn: string ,
displayName: string ,
description: string ,
metadata: object ,
resourceSelectors:
[
{
name: string ,
selectors:
[
{
kind: enum ,
in:
[
string ,
]
,
notIn:
[
string ,
]
,
}
,
]
,
}
,
]
,
assignmentScopeValidation: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_Delete (new)
Description This operation deletes a variable value, given its name, the subscription it was created in, and the variable it belongs to. The scope of a variable value is the part of its ID preceding '/providers/Microsoft.Authorization/variables/{variableName}'.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
subscriptionId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_CreateOrUpdate (new)
Description This operation creates or updates a variable value with the given subscription and name for a given variable. Variable values are scoped to the variable for which they are created for.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
subscriptionId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
parameters:
{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (201)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_Get (new)
Description This operation retrieves a single variable value; given its name, subscription it was created at and the variable it's created for.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
subscriptionId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_List (new)
Description This operation retrieves the list of all variable values associated with the given variable that is at a subscription level.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values
{
subscriptionId: string ,
variableName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_ListForManagementGroup (new)
Description This operation retrieves the list of all variable values applicable the variable indicated at the management group scope.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values
{
managementGroupId: string ,
api-version: string ,
variableName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_DeleteAtManagementGroup (new)
Description This operation deletes a variable value, given its name, the management group it was created in, and the variable it belongs to. The scope of a variable value is the part of its ID preceding '/providers/Microsoft.Authorization/variables/{variableName}'.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
managementGroupId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_CreateOrUpdateAtManagementGroup (new)
Description This operation creates or updates a variable value with the given management group and name for a given variable. Variable values are scoped to the variable for which they are created for.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
managementGroupId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
parameters:
{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (201)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VariableValues_GetAtManagementGroup (new)
Description This operation retrieves a single variable value; given its name, management group it was created at and the variable it's created for.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}
{
managementGroupId: string ,
variableName: string ,
variableValueName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
values:
[
{
columnName: string ,
columnValue: object ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_Delete (new)
Description This operation deletes a variable, given its name and the subscription it was created in. The scope of a variable is the part of its ID preceding '/providers/Microsoft.Authorization/variables/{variableName}'.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}
{
subscriptionId: string ,
variableName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_CreateOrUpdate (new)
Description This operation creates or updates a variable with the given subscription and name. Policy variables can only be used by a policy definition at the scope they are created or below.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}
{
subscriptionId: string ,
variableName: string ,
api-version: string ,
parameters:
{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (201)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_Get (new)
Description This operation retrieves a single variable, given its name and the subscription it was created at.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}
{
subscriptionId: string ,
variableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_DeleteAtManagementGroup (new)
Description This operation deletes a variable, given its name and the management group it was created in. The scope of a variable is the part of its ID preceding '/providers/Microsoft.Authorization/variables/{variableName}'.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}
{
managementGroupId: string ,
variableName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_CreateOrUpdateAtManagementGroup (new)
Description This operation creates or updates a variable with the given management group and name. Policy variables can only be used by a policy definition at the scope they are created or below.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}
{
managementGroupId: string ,
variableName: string ,
api-version: string ,
parameters:
{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (201)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_GetAtManagementGroup (new)
Description This operation retrieves a single variable, given its name and the management group it was created at.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}
{
managementGroupId: string ,
variableName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_List (new)
Description This operation retrieves the list of all variables associated with the given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Variables_ListForManagementGroup (new)
Description This operation retrieves the list of all variables applicable to the management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables
{
managementGroupId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
columns:
[
{
columnName: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}