Microsoft.Resources (stable:2023-08-01)

2025/06/04 • 8 new, 8 deleted methods

DeploymentScripts_Create (new)
Description Creates a deployment script.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Update (new)
Description Updates deployment script tags with specified values.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Get (new)
Description Gets a deployment script with a given name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Delete (new)
Description Deletes a deployment script. When operation completes, status code 200 returned without content.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListBySubscription (new)
Description Lists all deployment scripts for a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogs (new)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogsDefault (new)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs/default
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
tail: integer ,
}

⚐ Response (200)

{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListByResourceGroup (new)
Description Lists deployments scripts.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Create (removed)
Description Creates a deployment script.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Update (removed)
Description Updates deployment script tags with specified values.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Get (removed)
Description Gets a deployment script with a given name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Delete (removed)
Description Deletes a deployment script. When operation completes, status code 200 returned without content.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListBySubscription (removed)
Description Lists all deployment scripts for a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogs (removed)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogsDefault (removed)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs/default
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
tail: integer ,
}

⚐ Response (200)

{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListByResourceGroup (removed)
Description Lists deployments scripts.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}