Microsoft.Automation (stable:2024-10-23)

2024/12/09 • 172 new methods

AutomationAccount_Update (new)
Description Update an automation account.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
{
resourceGroupName: string ,
automationAccountName: string ,
parameters:
{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
}
,
name: string ,
location: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_CreateOrUpdate (new)
Description Create or update automation account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
{
resourceGroupName: string ,
automationAccountName: string ,
parameters:
{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
}
,
name: string ,
location: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_Delete (new)
Description Delete an automation account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_Get (new)
Description Get information about an Automation Account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_ListByResourceGroup (new)
Description Retrieve a list of accounts within a given resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_List (new)
Description Retrieve a list of accounts within a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
sku:
{
name: enum ,
family: string ,
capacity: integer ,
}
,
lastModifiedBy: string ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
encryption:
{
keyVaultProperties:
{
keyvaultUri: string ,
keyName: string ,
keyVersion: string ,
}
,
keySource: enum ,
identity:
{
userAssignedIdentity: object ,
}
,
}
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
publicNetworkAccess: boolean ,
disableLocalAuth: boolean ,
automationHybridServiceUrl: string ,
}
,
etag: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Statistics_ListByAutomationAccount (new)
Description Retrieve the statistics for the account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/statistics
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
counterProperty: string ,
counterValue: integer ,
startTime: string ,
endTime: string ,
id: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Usages_ListByAutomationAccount (new)
Description Retrieve the usage for the account id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/usages
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name:
{
value: string ,
localizedValue: string ,
}
,
unit: string ,
currentValue: number ,
limit: integer ,
throttleStatus: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Keys_ListByAutomationAccount (new)
Description Retrieve the automation keys for an account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
keys:
[
{
KeyName: enum ,
Permissions: enum ,
Value: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AutomationAccount_ListDeletedRunbooks (new)
Description Retrieve the deleted runbooks for an automation account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listDeletedRunbooks
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runbookId: string ,
runbookType: string ,
runtime: string ,
runtimeEnvironment: string ,
creationTime: string ,
deletionTime: string ,
}
,
id: string ,
name: string ,
location: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Certificate_Delete (new)
Description Delete the certificate.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
{
resourceGroupName: string ,
automationAccountName: string ,
certificateName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Certificate_Get (new)
Description Retrieve the certificate identified by certificate name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
{
resourceGroupName: string ,
automationAccountName: string ,
certificateName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
thumbprint: string ,
expiryTime: string ,
isExportable: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Certificate_CreateOrUpdate (new)
Description Create a certificate.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
{
resourceGroupName: string ,
automationAccountName: string ,
certificateName: string ,
parameters:
{
name: string ,
properties:
{
base64Value: string ,
description: string ,
thumbprint: string ,
isExportable: boolean ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
thumbprint: string ,
expiryTime: string ,
isExportable: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (200)

{
properties:
{
thumbprint: string ,
expiryTime: string ,
isExportable: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Certificate_Update (new)
Description Update a certificate.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
{
resourceGroupName: string ,
automationAccountName: string ,
certificateName: string ,
parameters:
{
name: string ,
properties:
{
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
thumbprint: string ,
expiryTime: string ,
isExportable: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Certificate_ListByAutomationAccount (new)
Description Retrieve a list of certificates.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
thumbprint: string ,
expiryTime: string ,
isExportable: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Connection_Delete (new)
Description Delete the connection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Connection_Get (new)
Description Retrieve the connection identified by connection name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Connection_CreateOrUpdate (new)
Description Create or update a connection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionName: string ,
parameters:
{
name: string ,
properties:
{
description: string ,
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (200)

{
properties:
{
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Connection_Update (new)
Description Update a connection.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionName: string ,
parameters:
{
name: string ,
properties:
{
description: string ,
fieldDefinitionValues: object ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Connection_ListByAutomationAccount (new)
Description Retrieve a list of connections.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
connectionType:
{
name: string ,
}
,
fieldDefinitionValues: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConnectionType_Delete (new)
Description Delete the connection type.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionTypeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConnectionType_Get (new)
Description Retrieve the connection type identified by connection type name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionTypeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
isGlobal: boolean ,
fieldDefinitions: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConnectionType_CreateOrUpdate (new)
Description Create a connection type.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
{
resourceGroupName: string ,
automationAccountName: string ,
connectionTypeName: string ,
parameters:
{
name: string ,
properties:
{
isGlobal: boolean ,
fieldDefinitions: object ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
properties:
{
isGlobal: boolean ,
fieldDefinitions: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ConnectionType_ListByAutomationAccount (new)
Description Retrieve a list of connection types.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
isGlobal: boolean ,
fieldDefinitions: object ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Credential_Delete (new)
Description Delete the credential.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
{
resourceGroupName: string ,
automationAccountName: string ,
credentialName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Credential_Get (new)
Description Retrieve the credential identified by credential name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
{
resourceGroupName: string ,
automationAccountName: string ,
credentialName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
userName: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Credential_CreateOrUpdate (new)
Description Create a credential.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
{
resourceGroupName: string ,
automationAccountName: string ,
credentialName: string ,
parameters:
{
name: string ,
properties:
{
userName: string ,
password: string ,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
userName: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (200)

{
properties:
{
userName: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Credential_Update (new)
Description Update a credential.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
{
resourceGroupName: string ,
automationAccountName: string ,
credentialName: string ,
parameters:
{
name: string ,
properties:
{
userName: string ,
password: string ,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
userName: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Credential_ListByAutomationAccount (new)
Description Retrieve a list of credentials.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
userName: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}
deletedAutomationAccounts_ListBySubscription (new)
Description Retrieve deleted automation account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Automation/deletedAutomationAccounts
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
automationAccountResourceId: string ,
automationAccountId: string ,
location: string ,
deletionTime: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_Delete (new)
Description Delete the dsc configuration identified by configuration name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
{
resourceGroupName: string ,
automationAccountName: string ,
configurationName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_Get (new)
Description Retrieve the configuration identified by configuration name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
{
resourceGroupName: string ,
automationAccountName: string ,
configurationName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
jobCount: integer ,
parameters: object ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
creationTime: string ,
lastModifiedTime: string ,
nodeConfigurationCount: integer ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_CreateOrUpdate (new)
Description Create the configuration identified by configuration name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
{
resourceGroupName: string ,
automationAccountName: string ,
configurationName: string ,
parameters:
{
properties:
{
logVerbose: boolean ,
logProgress: boolean ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
parameters: object ,
description: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
jobCount: integer ,
parameters: object ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
creationTime: string ,
lastModifiedTime: string ,
nodeConfigurationCount: integer ,
description: string ,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
jobCount: integer ,
parameters: object ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
creationTime: string ,
lastModifiedTime: string ,
nodeConfigurationCount: integer ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_Update (new)
Description Create the configuration identified by configuration name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
{
resourceGroupName: string ,
automationAccountName: string ,
configurationName: string ,
parameters:
{
properties:
{
logVerbose: boolean ,
logProgress: boolean ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
parameters: object ,
description: string ,
}
,
name: string ,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
jobCount: integer ,
parameters: object ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
creationTime: string ,
lastModifiedTime: string ,
nodeConfigurationCount: integer ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_GetContent (new)
Description Retrieve the configuration script identified by configuration name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}/content
{
resourceGroupName: string ,
automationAccountName: string ,
configurationName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscConfiguration_ListByAutomationAccount (new)
Description Retrieve a list of configurations.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skip: integer ,
$top: integer ,
$inlinecount: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
jobCount: integer ,
parameters: object ,
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
creationTime: string ,
lastModifiedTime: string ,
nodeConfigurationCount: integer ,
description: string ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
totalCount: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AgentRegistrationInformation_Get (new)
Description Retrieve the automation agent registration information.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
dscMetaConfiguration: string ,
endpoint: string ,
keys:
{
primary: string ,
secondary: string ,
}
,
id: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
AgentRegistrationInformation_RegenerateKey (new)
Description Regenerate a primary or secondary agent registration key
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
parameters:
{
keyName: enum ,
}
,
api-version: string ,
}

⚐ Response (200)

{
dscMetaConfiguration: string ,
endpoint: string ,
keys:
{
primary: string ,
secondary: string ,
}
,
id: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNode_Delete (new)
Description Delete the dsc node identified by node id.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNode_Get (new)
Description Retrieve the dsc node identified by node id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
lastSeen: string ,
registrationTime: string ,
ip: string ,
accountId: string ,
nodeConfiguration:
{
name: string ,
}
,
status: string ,
nodeId: string ,
etag: string ,
totalCount: integer ,
extensionHandler:
[
{
name: string ,
version: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNode_Update (new)
Description Update the dsc node.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
dscNodeUpdateParameters:
{
nodeId: string ,
properties:
{
nodeConfiguration:
{
name: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
lastSeen: string ,
registrationTime: string ,
ip: string ,
accountId: string ,
nodeConfiguration:
{
name: string ,
}
,
status: string ,
nodeId: string ,
etag: string ,
totalCount: integer ,
extensionHandler:
[
{
name: string ,
version: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNode_ListByAutomationAccount (new)
Description Retrieve a list of dsc nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
$skip: integer ,
$top: integer ,
$inlinecount: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lastSeen: string ,
registrationTime: string ,
ip: string ,
accountId: string ,
nodeConfiguration:
{
name: string ,
}
,
status: string ,
nodeId: string ,
etag: string ,
totalCount: integer ,
extensionHandler:
[
{
name: string ,
version: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
totalCount: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NodeReports_ListByNode (new)
Description Retrieve the Dsc node report list by node id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
endTime: string ,
lastModifiedTime: string ,
startTime: string ,
type: string ,
reportId: string ,
status: string ,
refreshMode: string ,
rebootRequested: string ,
reportFormatVersion: string ,
configurationVersion: string ,
id: string ,
errors:
[
{
errorSource: string ,
resourceId: string ,
errorCode: string ,
errorMessage: string ,
locale: string ,
errorDetails: string ,
}
,
]
,
resources:
[
{
resourceId: string ,
sourceInfo: string ,
dependsOn:
[
{
resourceId: string ,
}
,
]
,
moduleName: string ,
moduleVersion: string ,
resourceName: string ,
error: string ,
status: string ,
durationInSeconds: number ,
startDate: string ,
}
,
]
,
metaConfiguration:
{
configurationModeFrequencyMins: integer ,
rebootNodeIfNeeded: boolean ,
configurationMode: string ,
actionAfterReboot: string ,
certificateId: string ,
refreshFrequencyMins: integer ,
allowModuleOverwrite: boolean ,
}
,
hostName: string ,
iPV4Addresses:
[
string ,
]
,
iPV6Addresses:
[
string ,
]
,
numberOfResources: integer ,
rawErrors: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NodeReports_Get (new)
Description Retrieve the Dsc node report data by node id and report id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports/{reportId}
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
reportId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
endTime: string ,
lastModifiedTime: string ,
startTime: string ,
type: string ,
reportId: string ,
status: string ,
refreshMode: string ,
rebootRequested: string ,
reportFormatVersion: string ,
configurationVersion: string ,
id: string ,
errors:
[
{
errorSource: string ,
resourceId: string ,
errorCode: string ,
errorMessage: string ,
locale: string ,
errorDetails: string ,
}
,
]
,
resources:
[
{
resourceId: string ,
sourceInfo: string ,
dependsOn:
[
{
resourceId: string ,
}
,
]
,
moduleName: string ,
moduleVersion: string ,
resourceName: string ,
error: string ,
status: string ,
durationInSeconds: number ,
startDate: string ,
}
,
]
,
metaConfiguration:
{
configurationModeFrequencyMins: integer ,
rebootNodeIfNeeded: boolean ,
configurationMode: string ,
actionAfterReboot: string ,
certificateId: string ,
refreshFrequencyMins: integer ,
allowModuleOverwrite: boolean ,
}
,
hostName: string ,
iPV4Addresses:
[
string ,
]
,
iPV6Addresses:
[
string ,
]
,
numberOfResources: integer ,
rawErrors: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NodeReports_GetContent (new)
Description Retrieve the Dsc node reports by node id and report id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports/{reportId}/content
{
resourceGroupName: string ,
automationAccountName: string ,
nodeId: string ,
reportId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNodeConfiguration_Delete (new)
Description Delete the Dsc node configurations by node configuration.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
nodeConfigurationName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNodeConfiguration_Get (new)
Description Retrieve the Dsc node configurations by node configuration.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
nodeConfigurationName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
creationTime: string ,
configuration:
{
name: string ,
}
,
source: string ,
nodeCount: integer ,
incrementNodeConfigurationBuild: boolean ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNodeConfiguration_CreateOrUpdate (new)
Description Create the node configuration identified by node configuration name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
{
resourceGroupName: string ,
automationAccountName: string ,
nodeConfigurationName: string ,
parameters:
{
properties:
{
source:
{
hash:
{
algorithm: string ,
value: string ,
}
,
type: enum ,
value: string ,
version: string ,
}
,
configuration:
{
name: string ,
}
,
incrementNodeConfigurationBuild: boolean ,
}
,
name: string ,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (201)

{
properties:
{
lastModifiedTime: string ,
creationTime: string ,
configuration:
{
name: string ,
}
,
source: string ,
nodeCount: integer ,
incrementNodeConfigurationBuild: boolean ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
DscNodeConfiguration_ListByAutomationAccount (new)
Description Retrieve a list of dsc node configurations.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skip: integer ,
$top: integer ,
$inlinecount: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lastModifiedTime: string ,
creationTime: string ,
configuration:
{
name: string ,
}
,
source: string ,
nodeCount: integer ,
incrementNodeConfigurationBuild: boolean ,
}
,
}
,
]
,
nextLink: string ,
totalCount: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
NodeCountInformation_Get (new)
Description Retrieve counts for Dsc Nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodecounts/{countType}
{
resourceGroupName: string ,
automationAccountName: string ,
countType: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
properties:
{
count: integer ,
}
,
}
,
]
,
totalCount: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_Delete (new)
Description Delete a hybrid runbook worker.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
hybridRunbookWorkerId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_Get (new)
Description Retrieve a hybrid runbook worker.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
hybridRunbookWorkerId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
ip: string ,
registeredDateTime: string ,
lastSeenDateTime: string ,
vmResourceId: string ,
workerType: enum ,
workerName: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_Create (new)
Description Create a hybrid runbook worker.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
hybridRunbookWorkerId: string ,
HybridRunbookWorkerCreationParameters:
{
properties:
{
vmResourceId: string ,
}
,
name: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
ip: string ,
registeredDateTime: string ,
lastSeenDateTime: string ,
vmResourceId: string ,
workerType: enum ,
workerName: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
ip: string ,
registeredDateTime: string ,
lastSeenDateTime: string ,
vmResourceId: string ,
workerType: enum ,
workerName: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_Patch (new)
Description Update a hybrid runbook worker.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
hybridRunbookWorkerId: string ,
HybridRunbookWorkerCreationParameters:
{
properties:
{
vmResourceId: string ,
}
,
name: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
ip: string ,
registeredDateTime: string ,
lastSeenDateTime: string ,
vmResourceId: string ,
workerType: enum ,
workerName: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_Move (new)
Description Move a hybrid worker to a different group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}/move
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
hybridRunbookWorkerId: string ,
HybridRunbookWorkerMoveParameters:
{
hybridRunbookWorkerGroupName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkers_ListByHybridRunbookWorkerGroup (new)
Description Retrieve a list of hybrid runbook workers.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ip: string ,
registeredDateTime: string ,
lastSeenDateTime: string ,
vmResourceId: string ,
workerType: enum ,
workerName: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkerGroup_Delete (new)
Description Delete a hybrid runbook worker group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkerGroup_Get (new)
Description Retrieve a hybrid runbook worker group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupType: enum ,
credential:
{
name: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkerGroup_Create (new)
Description Create a hybrid runbook worker group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
HybridRunbookWorkerGroupCreationParameters:
{
properties:
{
credential:
{
name: string ,
}
,
}
,
name: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupType: enum ,
credential:
{
name: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
groupType: enum ,
credential:
{
name: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkerGroup_Update (new)
Description Update a hybrid runbook worker group.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
{
resourceGroupName: string ,
automationAccountName: string ,
hybridRunbookWorkerGroupName: string ,
HybridRunbookWorkerGroupUpdationParameters:
{
properties:
{
credential:
{
name: string ,
}
,
}
,
name: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupType: enum ,
credential:
{
name: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
HybridRunbookWorkerGroup_ListByAutomationAccount (new)
Description Retrieve a list of hybrid runbook worker groups.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupType: enum ,
credential:
{
name: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_GetOutput (new)
Description Retrieve the job output identified by job name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/output
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_GetRunbookContent (new)
Description Retrieve the runbook content of the job identified by job name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/runbookContent
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_Suspend (new)
Description Suspend the job identified by job name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/suspend
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_Stop (new)
Description Stop the job identified by jobName.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/stop
{
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
subscriptionId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_Get (new)
Description Retrieve the job identified by job name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
properties:
{
runbook:
{
name: string ,
}
,
startedBy: string ,
runOn: string ,
jobRuntimeEnvironment:
{
runtimeEnvironmentName: string ,
}
,
jobId: string ,
creationTime: string ,
status: enum ,
statusDetails: string ,
startTime: string ,
endTime: string ,
exception: string ,
lastModifiedTime: string ,
lastStatusModifiedTime: string ,
parameters: object ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_Create (new)
Description Create a job of the runbook.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
parameters:
{
properties:
{
runbook:
{
name: string ,
}
,
parameters: object ,
runOn: string ,
}
,
}
,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (201)

{
properties:
{
runbook:
{
name: string ,
}
,
startedBy: string ,
runOn: string ,
jobRuntimeEnvironment:
{
runtimeEnvironmentName: string ,
}
,
jobId: string ,
creationTime: string ,
status: enum ,
statusDetails: string ,
startTime: string ,
endTime: string ,
exception: string ,
lastModifiedTime: string ,
lastStatusModifiedTime: string ,
parameters: object ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_ListByAutomationAccount (new)
Description Retrieve a list of jobs.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runbook:
{
name: string ,
}
,
jobId: string ,
startedBy: string ,
creationTime: string ,
status: enum ,
startTime: string ,
endTime: string ,
lastModifiedTime: string ,
provisioningState: string ,
jobRuntimeEnvironment:
{
runtimeEnvironmentName: string ,
}
,
runOn: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Job_Resume (new)
Description Resume the job identified by jobName.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/resume
{
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
subscriptionId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobStream_Get (new)
Description Retrieve the job stream identified by job stream id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams/{jobStreamId}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
jobStreamId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
id: string ,
properties:
{
jobStreamId: string ,
time: string ,
streamType: enum ,
streamText: string ,
summary: string ,
value: object ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobStream_ListByJob (new)
Description Retrieve a list of jobs streams identified by job name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams
{
resourceGroupName: string ,
automationAccountName: string ,
jobName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
properties:
{
jobStreamId: string ,
time: string ,
streamType: enum ,
streamText: string ,
summary: string ,
value: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobSchedule_Delete (new)
Description Delete the job schedule identified by job schedule name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
{
resourceGroupName: string ,
automationAccountName: string ,
jobScheduleId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobSchedule_Get (new)
Description Retrieve the job schedule identified by job schedule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
{
resourceGroupName: string ,
automationAccountName: string ,
jobScheduleId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
jobScheduleId: string ,
schedule:
{
name: string ,
}
,
runbook:
{
name: string ,
}
,
runOn: string ,
parameters: object ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobSchedule_Create (new)
Description Create a job schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
{
resourceGroupName: string ,
automationAccountName: string ,
jobScheduleId: string ,
parameters:
{
properties:
{
schedule:
{
name: string ,
}
,
runbook:
{
name: string ,
}
,
runOn: string ,
parameters: object ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
properties:
{
jobScheduleId: string ,
schedule:
{
name: string ,
}
,
runbook:
{
name: string ,
}
,
runOn: string ,
parameters: object ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
JobSchedule_ListByAutomationAccount (new)
Description Retrieve a list of job schedules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
jobScheduleId: string ,
schedule:
{
name: string ,
}
,
runbook:
{
name: string ,
}
,
runOn: string ,
parameters: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
LinkedWorkspace_Get (new)
Description Retrieve the linked workspace for the account id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/linkedWorkspace
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Activity_Get (new)
Description Retrieve the activity in the module identified by module name and activity name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/activities/{activityName}
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
activityName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
properties:
{
definition: string ,
parameterSets:
[
{
name: string ,
parameters:
[
{
name: string ,
type: string ,
isMandatory: boolean ,
isDynamic: boolean ,
position: integer ,
valueFromPipeline: boolean ,
valueFromPipelineByPropertyName: boolean ,
valueFromRemainingArguments: boolean ,
description: string ,
validationSet:
[
{
memberValue: string ,
}
,
]
,
}
,
]
,
}
,
]
,
outputTypes:
[
{
name: string ,
type: string ,
}
,
]
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Activity_ListByModule (new)
Description Retrieve a list of activities in the module identified by module name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/activities
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
properties:
{
definition: string ,
parameterSets:
[
{
name: string ,
parameters:
[
{
name: string ,
type: string ,
isMandatory: boolean ,
isDynamic: boolean ,
position: integer ,
valueFromPipeline: boolean ,
valueFromPipelineByPropertyName: boolean ,
valueFromRemainingArguments: boolean ,
description: string ,
validationSet:
[
{
memberValue: string ,
}
,
]
,
}
,
]
,
}
,
]
,
outputTypes:
[
{
name: string ,
type: string ,
}
,
]
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Module_Delete (new)
Description Delete the module by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Module_Get (new)
Description Retrieve the module identified by module name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Module_CreateOrUpdate (new)
Description Create or Update the module identified by module name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Module_Update (new)
Description Update the module identified by module name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Module_ListByAutomationAccount (new)
Description Retrieve a list of modules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ObjectDataTypes_ListFieldsByModuleAndType (new)
Description Retrieve a list of fields of a given type identified by module name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/objectDataTypes/{typeName}/fields
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
typeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
type: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
ObjectDataTypes_ListFieldsByType (new)
Description Retrieve a list of fields of a given type across all accessible modules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/objectDataTypes/{typeName}/fields
{
resourceGroupName: string ,
automationAccountName: string ,
typeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
type: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Fields_ListByType (new)
Description Retrieve a list of fields of a given type identified by module name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/types/{typeName}/fields
{
resourceGroupName: string ,
automationAccountName: string ,
moduleName: string ,
typeName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
type: string ,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Operations_List (new)
Description Lists all of the available Automation REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Automation/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties:
{
serviceSpecification:
{
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
dimensions:
[
{
name: string ,
displayName: string ,
}
,
]
,
}
,
]
,
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
convertGraphRunbookContent (new)
Description Post operation to serialize or deserialize GraphRunbookContent
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
rawContent:
{
schemaVersion: string ,
runbookDefinition: string ,
runbookType: enum ,
}
,
graphRunbookJson: string ,
}
,
}

⚐ Response (200)

{
rawContent:
{
schemaVersion: string ,
runbookDefinition: string ,
runbookType: enum ,
}
,
graphRunbookJson: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Package_Delete (new)
Description Delete the package by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Package_Get (new)
Description Retrieve the Package identified by Package name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
default: boolean ,
version: string ,
sizeInBytes: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
allOf:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Package_CreateOrUpdate (new)
Description Create or update the package identified by package name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
packageName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
allOf:
{
tags: object ,
location: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
default: boolean ,
version: string ,
sizeInBytes: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
allOf:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
properties:
{
default: boolean ,
version: string ,
sizeInBytes: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
allOf:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Package_Update (new)
Description Update the Package identified by Package name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
packageName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
allOf:
{
tags: object ,
location: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
default: boolean ,
version: string ,
sizeInBytes: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
allOf:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Package_ListByRuntimeEnvironment (new)
Description Retrieve the a list of Packages
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
default: boolean ,
version: string ,
sizeInBytes: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
allOf:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
PrivateEndpointConnections_ListByAutomationAccount (new)
Description List all private endpoint connections on a Automation account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
automationAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
PrivateEndpointConnections_Get (new)
Description Gets a private endpoint connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
automationAccountName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (new)
Description Approve or reject a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
automationAccountName: string ,
privateEndpointConnectionName: string ,
parameters:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: string ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
PrivateEndpointConnections_Delete (new)
Description Deletes a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
automationAccountName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
PrivateLinkResources_Automation (new)
Description Gets the private link resources that need to be created for Automation account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
automationAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
}
,
}
,
]
,
}
Python2Package_Delete (new)
Description Delete the python 2 package by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python2Package_Get (new)
Description Retrieve the python 2 package identified by package name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python2Package_CreateOrUpdate (new)
Description Create or Update the python 2 package identified by package name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python2Package_Update (new)
Description Update the python 2 package identified by package name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
parameters:
{
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python2Package_ListByAutomationAccount (new)
Description Retrieve a list of python 2 packages.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python3Package_Delete (new)
Description Delete the python 3 package by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python3Package_Get (new)
Description Retrieve the python 3 package identified by package name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python3Package_CreateOrUpdate (new)
Description Create or Update the python 3 package identified by package name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
parameters:
{
properties:
{
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
}
,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python3Package_Update (new)
Description Update the python 3 package identified by package name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}
{
resourceGroupName: string ,
automationAccountName: string ,
packageName: string ,
parameters:
{
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Python3Package_ListByAutomationAccount (new)
Description Retrieve a list of python 3 packages.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
isGlobal: boolean ,
version: string ,
sizeInBytes: integer ,
activityCount: integer ,
provisioningState: enum ,
contentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
isComposite: boolean ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RunbookDraft_GetContent (new)
Description Retrieve the content of runbook draft identified by runbook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RunbookDraft_ReplaceContent (new)
Description Replaces the runbook draft content.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
runbookContent: object ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RunbookDraft_Get (new)
Description Retrieve the runbook draft identified by runbook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_Publish (new)
Description Publish runbook draft.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/publish
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RunbookDraft_UndoEdit (new)
Description Undo draft edit to last known published state identified by runbook name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/undoEdit
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
statusCode: enum ,
requestId: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_GetContent (new)
Description Retrieve the content of runbook identified by runbook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/content
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_Get (new)
Description Retrieve the runbook identified by runbook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtimeEnvironment: string ,
runbookType: enum ,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
jobCount: integer ,
parameters: object ,
outputTypes:
[
string ,
]
,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
provisioningState: enum ,
lastModifiedBy: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_CreateOrUpdate (new)
Description Create the runbook identified by runbook name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
parameters:
{
properties:
{
logVerbose: boolean ,
logProgress: boolean ,
runtimeEnvironment: string ,
runbookType: enum ,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
description: string ,
logActivityTrace: integer ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtimeEnvironment: string ,
runbookType: enum ,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
jobCount: integer ,
parameters: object ,
outputTypes:
[
string ,
]
,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
provisioningState: enum ,
lastModifiedBy: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
runtimeEnvironment: string ,
runbookType: enum ,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
jobCount: integer ,
parameters: object ,
outputTypes:
[
string ,
]
,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
provisioningState: enum ,
lastModifiedBy: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_Update (new)
Description Update the runbook identified by runbook name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
parameters:
{
properties:
{
description: string ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtimeEnvironment: string ,
runbookType: enum ,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
jobCount: integer ,
parameters: object ,
outputTypes:
[
string ,
]
,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
provisioningState: enum ,
lastModifiedBy: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_Delete (new)
Description Delete the runbook by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Runbook_ListByAutomationAccount (new)
Description Retrieve a list of runbooks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runtimeEnvironment: string ,
runbookType: enum ,
publishContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
state: enum ,
logVerbose: boolean ,
logProgress: boolean ,
logActivityTrace: integer ,
jobCount: integer ,
parameters: object ,
outputTypes:
[
string ,
]
,
draft:
{
inEdit: boolean ,
draftContentLink:
{
uri: string ,
contentHash:
{
algorithm: string ,
value: string ,
}
,
version: string ,
}
,
creationTime: string ,
lastModifiedTime: string ,
parameters: object ,
outputTypes:
[
string ,
]
,
}
,
provisioningState: enum ,
lastModifiedBy: string ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJobStreams_Get (new)
Description Retrieve a test job stream of the test job identified by runbook name and stream id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/streams/{jobStreamId}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
jobStreamId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
properties:
{
jobStreamId: string ,
time: string ,
streamType: enum ,
streamText: string ,
summary: string ,
value: object ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJobStreams_ListByTestJob (new)
Description Retrieve a list of test job streams identified by runbook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/streams
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
properties:
{
jobStreamId: string ,
time: string ,
streamType: enum ,
streamText: string ,
summary: string ,
value: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJob_Create (new)
Description Create a test job of the runbook.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
parameters:
{
parameters: object ,
runOn: string ,
runtimeEnvironment: string ,
}
,
api-version: string ,
}

⚐ Response (201)

{
creationTime: string ,
status: string ,
statusDetails: string ,
runOn: string ,
startTime: string ,
endTime: string ,
exception: string ,
lastModifiedTime: string ,
lastStatusModifiedTime: string ,
parameters: object ,
logActivityTrace: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJob_Get (new)
Description Retrieve the test job for the specified runbook.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{
creationTime: string ,
status: string ,
statusDetails: string ,
runOn: string ,
startTime: string ,
endTime: string ,
exception: string ,
lastModifiedTime: string ,
lastStatusModifiedTime: string ,
parameters: object ,
logActivityTrace: integer ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJob_Resume (new)
Description Resume the test job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/resume
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJob_Stop (new)
Description Stop the test job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/stop
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
TestJob_Suspend (new)
Description Suspend the test job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/suspend
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
runbookName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
RuntimeEnvironments_Update (new)
Description Update an Runtime Environment.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
parameters:
{
properties:
{
defaultPackages: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RuntimeEnvironments_Create (new)
Description Create or update Runtime Environment
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
parameters:
{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RuntimeEnvironments_Delete (new)
Description Delete the Runtime Environment.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
RuntimeEnvironments_Get (new)
Description Get information about the Runtime Environment
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}
{
resourceGroupName: string ,
automationAccountName: string ,
runtimeEnvironmentName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
RuntimeEnvironments_ListByAutomationAccount (new)
Description Retrieve a list of RuntimeEnvironments.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runtime:
{
language: string ,
version: string ,
}
,
defaultPackages: object ,
description: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Schedule_CreateOrUpdate (new)
Description Create a schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
scheduleName: string ,
parameters:
{
name: string ,
properties:
{
description: string ,
startTime: string ,
expiryTime: string ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (200)

{
properties:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (409)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Schedule_Update (new)
Description Update the schedule identified by schedule name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
scheduleName: string ,
parameters:
{
name: string ,
properties:
{
description: string ,
isEnabled: boolean ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Schedule_Get (new)
Description Retrieve the schedule identified by schedule name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
scheduleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Schedule_Delete (new)
Description Delete the schedule identified by schedule name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
{
resourceGroupName: string ,
automationAccountName: string ,
scheduleName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Schedule_ListByAutomationAccount (new)
Description Retrieve a list of schedules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: string ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurations_Create (new)
Description Create a new software update configuration with the name given in the URI.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
softwareUpdateConfigurationName: string ,
api-version: string ,
clientRequestId: string ,
parameters:
{
name: string ,
id: string ,
type: string ,
properties:
{
updateConfiguration:
{
operatingSystem: enum ,
windows:
{
includedUpdateClassifications: enum ,
excludedKbNumbers:
[
string ,
]
,
includedKbNumbers:
[
string ,
]
,
rebootSetting: string ,
}
,
linux:
{
includedPackageClassifications: enum ,
excludedPackageNameMasks:
[
string ,
]
,
includedPackageNameMasks:
[
string ,
]
,
rebootSetting: string ,
}
,
duration: string ,
azureVirtualMachines:
[
string ,
]
,
nonAzureComputerNames:
[
string ,
]
,
targets:
{
azureQueries:
[
{
scope:
[
string ,
]
,
locations:
[
string ,
]
,
tagSettings:
{
tags: object ,
filterOperator: enum ,
}
,
}
,
]
,
nonAzureQueries:
[
{
functionAlias: string ,
workspaceId: string ,
}
,
]
,
}
,
}
,
scheduleInfo:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: integer ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
provisioningState: string ,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
parameters: object ,
source: string ,
}
,
postTask:
{
parameters: object ,
source: string ,
}
,
}
,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
id: string ,
type: string ,
properties:
{
updateConfiguration:
{
operatingSystem: enum ,
windows:
{
includedUpdateClassifications: enum ,
excludedKbNumbers:
[
string ,
]
,
includedKbNumbers:
[
string ,
]
,
rebootSetting: string ,
}
,
linux:
{
includedPackageClassifications: enum ,
excludedPackageNameMasks:
[
string ,
]
,
includedPackageNameMasks:
[
string ,
]
,
rebootSetting: string ,
}
,
duration: string ,
azureVirtualMachines:
[
string ,
]
,
nonAzureComputerNames:
[
string ,
]
,
targets:
{
azureQueries:
[
{
scope:
[
string ,
]
,
locations:
[
string ,
]
,
tagSettings:
{
tags: object ,
filterOperator: enum ,
}
,
}
,
]
,
nonAzureQueries:
[
{
functionAlias: string ,
workspaceId: string ,
}
,
]
,
}
,
}
,
scheduleInfo:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: integer ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
provisioningState: string ,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
parameters: object ,
source: string ,
}
,
postTask:
{
parameters: object ,
source: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
id: string ,
type: string ,
properties:
{
updateConfiguration:
{
operatingSystem: enum ,
windows:
{
includedUpdateClassifications: enum ,
excludedKbNumbers:
[
string ,
]
,
includedKbNumbers:
[
string ,
]
,
rebootSetting: string ,
}
,
linux:
{
includedPackageClassifications: enum ,
excludedPackageNameMasks:
[
string ,
]
,
includedPackageNameMasks:
[
string ,
]
,
rebootSetting: string ,
}
,
duration: string ,
azureVirtualMachines:
[
string ,
]
,
nonAzureComputerNames:
[
string ,
]
,
targets:
{
azureQueries:
[
{
scope:
[
string ,
]
,
locations:
[
string ,
]
,
tagSettings:
{
tags: object ,
filterOperator: enum ,
}
,
}
,
]
,
nonAzureQueries:
[
{
functionAlias: string ,
workspaceId: string ,
}
,
]
,
}
,
}
,
scheduleInfo:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: integer ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
provisioningState: string ,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
parameters: object ,
source: string ,
}
,
postTask:
{
parameters: object ,
source: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurations_GetByName (new)
Description Get a single software update configuration by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
softwareUpdateConfigurationName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
name: string ,
id: string ,
type: string ,
properties:
{
updateConfiguration:
{
operatingSystem: enum ,
windows:
{
includedUpdateClassifications: enum ,
excludedKbNumbers:
[
string ,
]
,
includedKbNumbers:
[
string ,
]
,
rebootSetting: string ,
}
,
linux:
{
includedPackageClassifications: enum ,
excludedPackageNameMasks:
[
string ,
]
,
includedPackageNameMasks:
[
string ,
]
,
rebootSetting: string ,
}
,
duration: string ,
azureVirtualMachines:
[
string ,
]
,
nonAzureComputerNames:
[
string ,
]
,
targets:
{
azureQueries:
[
{
scope:
[
string ,
]
,
locations:
[
string ,
]
,
tagSettings:
{
tags: object ,
filterOperator: enum ,
}
,
}
,
]
,
nonAzureQueries:
[
{
functionAlias: string ,
workspaceId: string ,
}
,
]
,
}
,
}
,
scheduleInfo:
{
startTime: string ,
startTimeOffsetMinutes: number ,
expiryTime: string ,
expiryTimeOffsetMinutes: number ,
isEnabled: boolean ,
nextRun: string ,
nextRunOffsetMinutes: number ,
interval: integer ,
frequency: enum ,
timeZone: string ,
advancedSchedule:
{
weekDays:
[
string ,
]
,
monthDays:
[
integer ,
]
,
monthlyOccurrences:
[
{
occurrence: integer ,
day: enum ,
}
,
]
,
}
,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
provisioningState: string ,
error:
{
code: string ,
message: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
parameters: object ,
source: string ,
}
,
postTask:
{
parameters: object ,
source: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurations_Delete (new)
Description delete a specific software update configuration.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
softwareUpdateConfigurationName: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurations_List (new)
Description Get all software update configurations for the account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
clientRequestId: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
properties:
{
updateConfiguration:
{
operatingSystem: enum ,
windows:
{
includedUpdateClassifications: enum ,
excludedKbNumbers:
[
string ,
]
,
includedKbNumbers:
[
string ,
]
,
rebootSetting: string ,
}
,
linux:
{
includedPackageClassifications: enum ,
excludedPackageNameMasks:
[
string ,
]
,
includedPackageNameMasks:
[
string ,
]
,
rebootSetting: string ,
}
,
duration: string ,
azureVirtualMachines:
[
string ,
]
,
nonAzureComputerNames:
[
string ,
]
,
targets:
{
azureQueries:
[
{
scope:
[
string ,
]
,
locations:
[
string ,
]
,
tagSettings:
{
tags: object ,
filterOperator: enum ,
}
,
}
,
]
,
nonAzureQueries:
[
{
functionAlias: string ,
workspaceId: string ,
}
,
]
,
}
,
}
,
tasks:
{
preTask:
{
parameters: object ,
source: string ,
}
,
postTask:
{
parameters: object ,
source: string ,
}
,
}
,
frequency: enum ,
startTime: string ,
creationTime: string ,
lastModifiedTime: string ,
provisioningState: string ,
nextRun: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurationMachineRuns_GetById (new)
Description Get a single software update configuration machine run by Id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns/{softwareUpdateConfigurationMachineRunId}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
softwareUpdateConfigurationMachineRunId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
name: string ,
id: string ,
properties:
{
targetComputer: string ,
targetComputerType: string ,
softwareUpdateConfiguration:
{
name: string ,
}
,
status: string ,
osType: string ,
correlationId: string ,
sourceComputerId: string ,
startTime: string ,
endTime: string ,
configuredDuration: string ,
job:
{
id: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurationMachineRuns_List (new)
Description Return list of software update configuration machine runs
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
clientRequestId: string ,
$filter: string ,
$skip: string ,
$top: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
properties:
{
targetComputer: string ,
targetComputerType: string ,
softwareUpdateConfiguration:
{
name: string ,
}
,
status: string ,
osType: string ,
correlationId: string ,
sourceComputerId: string ,
startTime: string ,
endTime: string ,
configuredDuration: string ,
job:
{
id: string ,
}
,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
error:
{
code: string ,
message: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurationRuns_GetById (new)
Description Get a single software update configuration Run by Id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns/{softwareUpdateConfigurationRunId}
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
softwareUpdateConfigurationRunId: string ,
api-version: string ,
clientRequestId: string ,
}

⚐ Response (200)

{
name: string ,
id: string ,
properties:
{
softwareUpdateConfiguration:
{
name: string ,
}
,
status: string ,
configuredDuration: string ,
osType: string ,
startTime: string ,
endTime: string ,
computerCount: integer ,
failedCount: integer ,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
status: string ,
source: string ,
jobId: string ,
}
,
postTask:
{
status: string ,
source: string ,
jobId: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SoftwareUpdateConfigurationRuns_List (new)
Description Return list of software update configuration runs
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns
{
subscriptionId: string ,
resourceGroupName: string ,
automationAccountName: string ,
api-version: string ,
clientRequestId: string ,
$filter: string ,
$skip: string ,
$top: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
id: string ,
properties:
{
softwareUpdateConfiguration:
{
name: string ,
}
,
status: string ,
configuredDuration: string ,
osType: string ,
startTime: string ,
endTime: string ,
computerCount: integer ,
failedCount: integer ,
creationTime: string ,
createdBy: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
tasks:
{
preTask:
{
status: string ,
source: string ,
jobId: string ,
}
,
postTask:
{
status: string ,
source: string ,
jobId: string ,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControl_CreateOrUpdate (new)
Description Create a source control.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
parameters:
{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
securityToken:
{
accessToken: string ,
refreshToken: string ,
tokenType: enum ,
}
,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
description: string ,
creationTime: string ,
lastModifiedTime: string ,
}
,
}

⚐ Response (201)

{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
description: string ,
creationTime: string ,
lastModifiedTime: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControl_Update (new)
Description Update a source control.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
parameters:
{
properties:
{
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
securityToken:
{
accessToken: string ,
refreshToken: string ,
tokenType: enum ,
}
,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
description: string ,
creationTime: string ,
lastModifiedTime: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControl_Delete (new)
Description Delete the source control.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControl_Get (new)
Description Retrieve the source control identified by source control name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
description: string ,
creationTime: string ,
lastModifiedTime: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControl_ListByAutomationAccount (new)
Description Retrieve a list of source controls.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
repoUrl: string ,
branch: string ,
folderPath: string ,
autoSync: boolean ,
publishRunbook: boolean ,
sourceType: enum ,
description: string ,
creationTime: string ,
lastModifiedTime: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControlSyncJob_Create (new)
Description Creates the sync job for a source control.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
sourceControlSyncJobId: string ,
parameters:
{
properties:
{
commitId: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (201)

{
name: string ,
type: string ,
id: string ,
properties:
{
sourceControlSyncJobId: string ,
creationTime: string ,
provisioningState: enum ,
startTime: string ,
endTime: string ,
syncType: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControlSyncJob_Get (new)
Description Retrieve the source control sync job identified by job id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
sourceControlSyncJobId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
properties:
{
sourceControlSyncJobId: string ,
creationTime: string ,
provisioningState: enum ,
startTime: string ,
endTime: string ,
syncType: enum ,
exception: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControlSyncJob_ListByAutomationAccount (new)
Description Retrieve a list of source control sync jobs.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
type: string ,
id: string ,
properties:
{
sourceControlSyncJobId: string ,
creationTime: string ,
provisioningState: enum ,
startTime: string ,
endTime: string ,
syncType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControlSyncJobStreams_ListBySyncJob (new)
Description Retrieve a list of sync job streams identified by sync job id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}/streams
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
sourceControlSyncJobId: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
properties:
{
sourceControlSyncJobStreamId: string ,
summary: string ,
time: string ,
streamType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
SourceControlSyncJobStreams_Get (new)
Description Retrieve a sync job stream identified by stream id.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}/streams/{streamId}
{
resourceGroupName: string ,
automationAccountName: string ,
sourceControlName: string ,
sourceControlSyncJobId: string ,
streamId: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
properties:
{
sourceControlSyncJobStreamId: string ,
summary: string ,
time: string ,
streamType: enum ,
streamText: string ,
value: object ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Variable_CreateOrUpdate (new)
Description Create a variable.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
{
resourceGroupName: string ,
automationAccountName: string ,
variableName: string ,
parameters:
{
name: string ,
properties:
{
value: string ,
description: string ,
isEncrypted: boolean ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
isEncrypted: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (201)

{
properties:
{
value: string ,
isEncrypted: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Variable_Update (new)
Description Update a variable.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
{
resourceGroupName: string ,
automationAccountName: string ,
variableName: string ,
parameters:
{
name: string ,
properties:
{
value: string ,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
isEncrypted: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Variable_Delete (new)
Description Delete the variable.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
{
resourceGroupName: string ,
automationAccountName: string ,
variableName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Variable_Get (new)
Description Retrieve the variable identified by variable name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
{
resourceGroupName: string ,
automationAccountName: string ,
variableName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
isEncrypted: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Variable_ListByAutomationAccount (new)
Description Retrieve a list of variables.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
isEncrypted: boolean ,
creationTime: string ,
lastModifiedTime: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_CreateOrUpdate (new)
Description Create the watcher identified by watcher name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
parameters:
{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}

⚐ Response (201)

{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_Get (new)
Description Retrieve the watcher identified by watcher name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_Update (new)
Description Update the watcher identified by watcher name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
parameters:
{
properties:
{
executionFrequencyInSeconds: integer ,
}
,
name: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_Delete (new)
Description Delete the watcher by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_Start (new)
Description Resume the watcher identified by watcher name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/start
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_Stop (new)
Description Resume the watcher identified by watcher name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/stop
{
resourceGroupName: string ,
automationAccountName: string ,
watcherName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Watcher_ListByAutomationAccount (new)
Description Retrieve a list of watchers.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
executionFrequencyInSeconds: integer ,
scriptName: string ,
scriptParameters: object ,
scriptRunOn: string ,
status: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
etag: string ,
tags: object ,
location: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_GenerateUri (new)
Description Generates a Uri for use in creating a webhook.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/generateUri
{
resourceGroupName: string ,
automationAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_Delete (new)
Description Delete the webhook by name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
{
resourceGroupName: string ,
automationAccountName: string ,
webhookName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_Get (new)
Description Retrieve the webhook identified by webhook name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
{
resourceGroupName: string ,
automationAccountName: string ,
webhookName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
lastInvokedTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_CreateOrUpdate (new)
Description Create the webhook identified by webhook name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
{
resourceGroupName: string ,
automationAccountName: string ,
webhookName: string ,
parameters:
{
name: string ,
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
lastInvokedTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
}

⚐ Response (201)

{
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
lastInvokedTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_Update (new)
Description Update the webhook identified by webhook name.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
{
resourceGroupName: string ,
automationAccountName: string ,
webhookName: string ,
parameters:
{
name: string ,
properties:
{
isEnabled: boolean ,
runOn: string ,
parameters: object ,
description: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
lastInvokedTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Webhook_ListByAutomationAccount (new)
Description Retrieve a list of webhooks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks
{
resourceGroupName: string ,
automationAccountName: string ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
isEnabled: boolean ,
uri: string ,
expiryTime: string ,
lastInvokedTime: string ,
parameters: object ,
runbook:
{
name: string ,
}
,
runOn: string ,
creationTime: string ,
lastModifiedTime: string ,
lastModifiedBy: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}