diff --git a/specification/automation/resource-manager/Microsoft.Automation/common/v5/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/common/v5/definitions.json new file mode 100644 index 000000000000..071d29a5dded --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/common/v5/definitions.json @@ -0,0 +1,118 @@ +{ + "swagger": "2.0", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "info": { + "version": "2018-06-10", + "title": "Common types" + }, + "paths": {}, + "definitions": { + "PrivateEndpointConnection": { + "description": "A private endpoint connection", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionProperties": { + "description": "Properties of a private endpoint connection.", + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpointProperty", + "description": "Private endpoint which the connection belongs to." + }, + "groupIds": { + "$ref": "#/definitions/GroupIdsProperty", + "description": "Gets the groupIds." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", + "description": "Connection State of the Private Endpoint Connection." + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the private endpoint." + } + } + }, + "GroupIdsProperty": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets the groupIds." + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "Connection State of the Private Endpoint Connection.", + "properties": { + "status": { + "type": "string", + "description": "The private link service connection status." + }, + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "actionsRequired": { + "type": "string", + "description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)", + "readOnly": true + } + } + } + }, + "parameters": { + "RuntimeEnvironmentNameParameter": { + "name": "runtimeEnvironmentName", + "description": "The name of the Runtime Environment.", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + "AutomationAccountNameParameter": { + "name": "automationAccountName", + "description": "The name of the automation account.", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/account.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/account.json new file mode 100644 index 000000000000..7fee3104bbe0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/account.json @@ -0,0 +1,1084 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}": { + "patch": { + "tags": [ + "AutomationAccount" + ], + "operationId": "AutomationAccount_Update", + "description": "Update an automation account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "Update an automation account": { + "$ref": "./examples/updateAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AutomationAccountUpdateParameters" + }, + "description": "Parameters supplied to the update automation account." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AutomationAccount" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "AutomationAccount" + ], + "operationId": "AutomationAccount_CreateOrUpdate", + "description": "Create or update automation account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "Create or update automation account": { + "$ref": "./examples/createOrUpdateAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AutomationAccountCreateOrUpdateParameters" + }, + "description": "Parameters supplied to the create or update automation account." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AutomationAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/AutomationAccount" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "AutomationAccount" + ], + "operationId": "AutomationAccount_Delete", + "description": "Delete an automation account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "Delete automation account": { + "$ref": "./examples/deleteAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "AutomationAccount" + ], + "operationId": "AutomationAccount_Get", + "description": "Get information about an Automation Account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "Get automation account": { + "$ref": "./examples/getAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AutomationAccount" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts": { + "get": { + "tags": [ + "AutomationAccount" + ], + "operationId": "AutomationAccount_ListByResourceGroup", + "description": "Retrieve a list of accounts within a given resource group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "List automation accounts by resource group": { + "$ref": "./examples/listAutomationAccountsByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AutomationAccountListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts": { + "get": { + "tags": [ + "AutomationAccount" + ], + "summary": "Lists the Automation Accounts within an Azure subscription.", + "operationId": "AutomationAccount_List", + "description": "Retrieve a list of accounts within a given subscription.", + "x-ms-examples": { + "List automation accounts by resource group": { + "$ref": "./examples/listAutomationAccountsBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AutomationAccountListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/statistics": { + "get": { + "tags": [ + "Statistics" + ], + "operationId": "Statistics_ListByAutomationAccount", + "description": "Retrieve the statistics for the account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/statisticsoperations" + }, + "x-ms-examples": { + "Get statistics of an automation account": { + "$ref": "./examples/getStatisticsOfAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StatisticsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/usages": { + "get": { + "tags": [ + "Usages" + ], + "operationId": "Usages_ListByAutomationAccount", + "description": "Retrieve the usage for the account id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/usageoperations" + }, + "x-ms-examples": { + "Get usages of an automation account": { + "$ref": "./examples/getUsagesOfAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys": { + "post": { + "tags": [ + "ListKeys" + ], + "operationId": "Keys_ListByAutomationAccount", + "description": "Retrieve the automation keys for an account.", + "x-ms-examples": { + "Get lists of an automation account": { + "$ref": "./examples/listAutomationAccountKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/KeyListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listDeletedRunbooks": { + "post": { + "tags": [ + "ListDeletedRunbooks" + ], + "operationId": "AutomationAccount_ListDeletedRunbooks", + "description": "Retrieve the deleted runbooks for an automation account.", + "x-ms-examples": { + "Get lists of deleted runbooks in an automation account": { + "$ref": "./examples/listAutomationAccountDeletedRunbooks.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeletedRunbookListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AutomationAccount": { + "properties": { + "properties": { + "$ref": "#/definitions/AutomationAccountProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the automation account properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + }, + "identity": { + "$ref": "#/definitions/Identity" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the automation account type." + }, + "AutomationAccountProperties": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the SKU of account." + }, + "lastModifiedBy": { + "type": "string", + "description": "Gets or sets the last modified by." + }, + "state": { + "type": "string", + "readOnly": true, + "description": "Gets status of account.", + "enum": [ + "Ok", + "Unavailable", + "Suspended" + ], + "x-ms-enum": { + "name": "AutomationAccountState", + "modelAsString": true + } + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperties", + "description": "Encryption properties for the automation account" + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "../../common/v5/definitions.json#/definitions/PrivateEndpointConnection" + }, + "description": "List of Automation operations supported by the Automation resource provider." + }, + "publicNetworkAccess": { + "type": "boolean", + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Indicates whether requests using non-AAD authentication are blocked" + }, + "automationHybridServiceUrl": { + "type": "string", + "description": "URL of automation hybrid service which is used for hybrid worker on-boarding." + } + }, + "description": "Definition of the account property." + }, + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the SKU name of the account.", + "enum": [ + "Free", + "Basic" + ], + "x-ms-enum": { + "name": "SkuNameEnum", + "modelAsString": true + } + }, + "family": { + "type": "string", + "description": "Gets or sets the SKU family." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the SKU capacity." + } + }, + "required": [ + "name" + ], + "description": "The account SKU." + }, + "AutomationAccountCreateOrUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/AutomationAccountCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets account create or update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "identity": { + "type": "object", + "$ref": "#/definitions/Identity", + "description": "Sets the identity property for automation account" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the create or update automation account operation." + }, + "AutomationAccountCreateOrUpdateProperties": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets account SKU." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperties", + "description": "Set the encryption properties for the automation account" + }, + "publicNetworkAccess": { + "type": "boolean", + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Indicates whether requests using non-AAD authentication are blocked" + } + }, + "description": "The parameters supplied to the create or update account properties." + }, + "AutomationAccountListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AutomationAccount" + }, + "description": "Gets or sets list of accounts." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list account operation." + }, + "Statistics": { + "properties": { + "counterProperty": { + "type": "string", + "readOnly": true, + "description": "Gets the property value of the statistic." + }, + "counterValue": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Gets the value of the statistic." + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the startTime of the statistic.", + "x-nullable": false + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the endTime of the statistic.", + "x-nullable": true + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Gets the id." + } + }, + "description": "Definition of the statistic." + }, + "StatisticsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistics" + }, + "description": "Gets or sets a list of statistics." + } + }, + "description": "The response model for the list statistics operation." + }, + "Usage": { + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "name": { + "$ref": "#/definitions/UsageCounterName", + "description": "Gets or sets the usage counter name." + }, + "unit": { + "type": "string", + "description": "Gets or sets the usage unit name." + }, + "currentValue": { + "type": "number", + "format": "double", + "description": "Gets or sets the current usage value." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "Gets or sets max limit. -1 for unlimited" + }, + "throttleStatus": { + "type": "string", + "description": "Gets or sets the throttle status." + } + }, + "description": "Definition of Usage." + }, + "UsageCounterName": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets the usage counter name." + }, + "localizedValue": { + "type": "string", + "description": "Gets or sets the localized usage counter name." + } + }, + "description": "Definition of usage counter name." + }, + "UsageListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "Gets or sets usage." + } + }, + "description": "The response model for the get usage operation." + }, + "Key": { + "properties": { + "KeyName": { + "readOnly": true, + "type": "string", + "description": "Automation key name.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AutomationKeyName", + "modelAsString": true + } + }, + "Permissions": { + "readOnly": true, + "type": "string", + "description": "Automation key permissions.", + "enum": [ + "Read", + "Full" + ], + "x-ms-enum": { + "name": "AutomationKeyPermissions", + "modelAsString": true + } + }, + "Value": { + "readOnly": true, + "type": "string", + "description": "Value of the Automation Key used for registration." + } + }, + "description": "Automation key which is used to register a DSC Node" + }, + "DeletedRunbook": { + "description": "Definition of deleted runbook.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedRunbookProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the runbook properties." + }, + "id": { + "description": "The resource id.", + "type": "string" + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + } + } + }, + "KeyListResult": { + "properties": { + "keys": { + "type": "array", + "items": { + "$ref": "#/definitions/Key" + }, + "x-ms-identifiers": [ + "KeyName" + ], + "description": "Lists the automation keys." + } + } + }, + "DeletedRunbookListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeletedRunbook" + }, + "description": "List of deleted runbooks in automation account." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list deleted runbook." + }, + "AutomationAccountUpdateProperties": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets account SKU." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperties", + "description": "Set the encryption properties for the automation account" + }, + "publicNetworkAccess": { + "type": "boolean", + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Indicates whether requests using non-AAD authentication are blocked" + } + }, + "description": "The parameters supplied to the update account properties." + }, + "AutomationAccountUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/AutomationAccountUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets account update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "identity": { + "type": "object", + "$ref": "#/definitions/Identity", + "description": "Sets the identity property for automation account" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the update automation account operation." + }, + "Identity": { + "description": "Identity for the resource.", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity. The value must be an UUID." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesProperties" + } + } + } + }, + "EncryptionProperties": { + "description": "The encryption settings for automation account", + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." + }, + "keySource": { + "type": "string", + "description": "Encryption Key Source", + "enum": [ + "Microsoft.Automation", + "Microsoft.Keyvault" + ], + "x-ms-enum": { + "name": "EncryptionKeySourceType", + "modelAsString": false + } + }, + "identity": { + "description": "User identity used for CMK.", + "properties": { + "userAssignedIdentity": { + "type": "object", + "description": "The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + } + } + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Settings concerning key vault encryption for a configuration store.", + "properties": { + "keyvaultUri": { + "description": "The URI of the key vault key used to encrypt data.", + "type": "string" + }, + "keyName": { + "description": "The name of key used to encrypt data.", + "type": "string" + }, + "keyVersion": { + "description": "The key version of the key used to encrypt data.", + "type": "string" + } + } + }, + "DeletedRunbookProperties": { + "type": "object", + "properties": { + "runbookId": { + "type": "string", + "description": "Gets or sets the Runbook Id." + }, + "runbookType": { + "type": "string", + "description": "Type of the runbook." + }, + "runtime": { + "type": "string", + "description": "Gets or sets runtime of the runbook." + }, + "runtimeEnvironment": { + "type": "string", + "description": "Environment of the runbook.", + "x-nullable": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "deletionTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + } + }, + "description": "Definition of the deleted runbook property." + }, + "UserAssignedIdentitiesProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/certificate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/certificate.json new file mode 100644 index 000000000000..5457c4494071 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/certificate.json @@ -0,0 +1,452 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}": { + "delete": { + "tags": [ + "Certificate" + ], + "operationId": "Certificate_Delete", + "description": "Delete the certificate.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/certificateoperations" + }, + "x-ms-examples": { + "Delete a certificate": { + "$ref": "./examples/deleteCertificate.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "certificateName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of certificate." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Certificate" + ], + "operationId": "Certificate_Get", + "description": "Retrieve the certificate identified by certificate name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/certificateoperations" + }, + "x-ms-examples": { + "Get a certificate": { + "$ref": "./examples/getCertificate.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "certificateName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of certificate." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Certificate" + ], + "operationId": "Certificate_CreateOrUpdate", + "description": "Create a certificate.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/certificateoperations" + }, + "x-ms-examples": { + "Create or update a certificate": { + "$ref": "./examples/createOrUpdateCertificate.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "certificateName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the create or update certificate operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CertificateCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update certificate operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Certificate" + ], + "operationId": "Certificate_Update", + "description": "Update a certificate.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/certificateoperations" + }, + "x-ms-examples": { + "Update a certificate": { + "$ref": "./examples/updateCertificate.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "certificateName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the update certificate operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CertificateUpdateParameters" + }, + "description": "The parameters supplied to the update certificate operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Certificate" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates": { + "get": { + "tags": [ + "Certificate" + ], + "operationId": "Certificate_ListByAutomationAccount", + "description": "Retrieve a list of certificates.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/certificateoperations" + }, + "x-ms-examples": { + "List certificates": { + "$ref": "./examples/listCertificatesByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CertificateListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "CertificateCreateOrUpdateProperties": { + "properties": { + "base64Value": { + "type": "string", + "description": "Gets or sets the base64 encoded value of the certificate." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Gets or sets the thumbprint of the certificate." + }, + "isExportable": { + "type": "boolean", + "description": "Gets or sets the is exportable flag of the certificate.", + "x-nullable": false + } + }, + "required": [ + "base64Value" + ], + "description": "The properties of the create certificate operation." + }, + "CertificateCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the certificate." + }, + "properties": { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the certificate." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update or replace certificate operation." + }, + "CertificateProperties": { + "properties": { + "thumbprint": { + "type": "string", + "readOnly": true, + "description": "Gets the thumbprint of the certificate." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the expiry time of the certificate.", + "x-nullable": false + }, + "isExportable": { + "type": "boolean", + "readOnly": true, + "description": "Gets the is exportable flag of the certificate.", + "x-nullable": false + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Properties of the certificate." + }, + "Certificate": { + "properties": { + "properties": { + "$ref": "#/definitions/CertificateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the certificate." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the certificate." + }, + "CertificateListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + }, + "description": "Gets or sets a list of certificates." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list certificate operation." + }, + "CertificateUpdateProperties": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the certificate." + } + }, + "description": "The properties of the update certificate operation" + }, + "CertificateUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the certificate." + }, + "properties": { + "$ref": "#/definitions/CertificateUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the certificate." + } + }, + "description": "The parameters supplied to the update certificate operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connection.json new file mode 100644 index 000000000000..7fe0440d5f7d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connection.json @@ -0,0 +1,466 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}": { + "delete": { + "tags": [ + "Connection" + ], + "operationId": "Connection_Delete", + "description": "Delete the connection.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectionoperations" + }, + "x-ms-examples": { + "Delete an existing connection": { + "$ref": "./examples/deleteConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of connection." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Connection" + ], + "operationId": "Connection_Get", + "description": "Retrieve the connection identified by connection name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectionoperations" + }, + "x-ms-examples": { + "Get a connection": { + "$ref": "./examples/getConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of connection." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Connection" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Connection" + ], + "operationId": "Connection_CreateOrUpdate", + "description": "Create or update a connection.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectionoperations" + }, + "x-ms-examples": { + "Create or update connection": { + "$ref": "./examples/createOrUpdateConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the create or update connection operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update connection operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Connection" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Connection" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Connection" + ], + "operationId": "Connection_Update", + "description": "Update a connection.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectionoperations" + }, + "x-ms-examples": { + "Update a connection": { + "$ref": "./examples/updateConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the update a connection operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionUpdateParameters" + }, + "description": "The parameters supplied to the update a connection operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Connection" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections": { + "get": { + "tags": [ + "Connection" + ], + "operationId": "Connection_ListByAutomationAccount", + "description": "Retrieve a list of connections.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectionoperations" + }, + "x-ms-examples": { + "List connections by automation account, first 100": { + "$ref": "./examples/listConnectionsByAutomationAccount_First100.json" + }, + "List connections by automation account, next 100": { + "$ref": "./examples/listConnectionsByAutomationAccount_Next100.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConnectionListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ConnectionCreateOrUpdateProperties": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the connection." + }, + "connectionType": { + "$ref": "#/definitions/ConnectionTypeAssociationProperty", + "description": "Gets or sets the connectionType of the connection." + }, + "fieldDefinitionValues": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the field definition properties of the connection." + } + }, + "required": [ + "connectionType" + ], + "description": "The properties of the create connection properties" + }, + "ConnectionCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection." + }, + "properties": { + "$ref": "#/definitions/ConnectionCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the connection." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update connection operation." + }, + "ConnectionProperties": { + "properties": { + "connectionType": { + "$ref": "#/definitions/ConnectionTypeAssociationProperty", + "description": "Gets or sets the connectionType of the connection." + }, + "fieldDefinitionValues": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true, + "description": "Gets the field definition values of the connection." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the connection properties." + }, + "Connection": { + "properties": { + "properties": { + "$ref": "#/definitions/ConnectionProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the connection." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the connection." + }, + "ConnectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Connection" + }, + "description": "Gets or sets a list of connection." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list connection operation." + }, + "ConnectionUpdateProperties": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the connection." + }, + "fieldDefinitionValues": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the field definition values of the connection." + } + }, + "description": "The properties of the update connection operation." + }, + "ConnectionUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection." + }, + "properties": { + "$ref": "#/definitions/ConnectionUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the connection." + } + }, + "description": "The parameters supplied to the update connection operation." + }, + "ConnectionTypeAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection type." + } + }, + "description": "The connection type property associated with the entity." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connectionType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connectionType.json new file mode 100644 index 000000000000..aa4bd694a85a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/connectionType.json @@ -0,0 +1,387 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}": { + "delete": { + "tags": [ + "ConnectionType" + ], + "operationId": "ConnectionType_Delete", + "description": "Delete the connection type.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectiontypeoperations" + }, + "x-ms-examples": { + "Delete an existing connection type": { + "$ref": "./examples/deleteConnectionType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionTypeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of connection type." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "ConnectionType" + ], + "operationId": "ConnectionType_Get", + "description": "Retrieve the connection type identified by connection type name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectiontypeoperations" + }, + "x-ms-examples": { + "Get connection type": { + "$ref": "./examples/getConnectionType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionTypeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of connection type." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConnectionType" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "ConnectionType" + ], + "operationId": "ConnectionType_CreateOrUpdate", + "description": "Create a connection type.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectiontypeoperations" + }, + "x-ms-examples": { + "Create or update connection type": { + "$ref": "./examples/createOrUpdateConnectionType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "connectionTypeName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the create or update connection type operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update connection type operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ConnectionType" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes": { + "get": { + "tags": [ + "ConnectionType" + ], + "operationId": "ConnectionType_ListByAutomationAccount", + "description": "Retrieve a list of connection types.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/connectiontypeoperations" + }, + "x-ms-examples": { + "Get connection types, first 100": { + "$ref": "./examples/getAllConnectionTypes_First100.json" + }, + "Get connection types, next 100": { + "$ref": "./examples/getAllConnectionTypes_Next100.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConnectionTypeListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "FieldDefinition": { + "properties": { + "isEncrypted": { + "type": "boolean", + "description": "Gets or sets the isEncrypted flag of the connection field definition." + }, + "isOptional": { + "type": "boolean", + "description": "Gets or sets the isOptional flag of the connection field definition." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the connection field definition." + } + }, + "required": [ + "type" + ], + "description": "Definition of the connection fields." + }, + "ConnectionTypeProperties": { + "properties": { + "isGlobal": { + "type": "boolean", + "description": "Gets or sets a Boolean value to indicate if the connection type is global." + }, + "fieldDefinitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FieldDefinition" + }, + "readOnly": true, + "description": "Gets the field definitions of the connection type." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Properties of the connection type." + }, + "ConnectionType": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Gets the id of the resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name of the connection type." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "properties": { + "$ref": "#/definitions/ConnectionTypeProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the connection type." + } + }, + "description": "Definition of the connection type." + }, + "ConnectionTypeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionType" + }, + "description": "Gets or sets a list of connection types." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list connection type operation." + }, + "ConnectionTypeCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the connection type." + }, + "properties": { + "$ref": "#/definitions/ConnectionTypeCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the value of the connection type." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update connection type operation." + }, + "ConnectionTypeCreateOrUpdateProperties": { + "properties": { + "isGlobal": { + "type": "boolean", + "description": "Gets or sets a Boolean value to indicate if the connection type is global." + }, + "fieldDefinitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FieldDefinition" + }, + "description": "Gets or sets the field definitions of the connection type." + } + }, + "required": [ + "fieldDefinitions" + ], + "description": "The properties of the create connection type." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/credential.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/credential.json new file mode 100644 index 000000000000..1a2d538f4cb7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/credential.json @@ -0,0 +1,440 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}": { + "delete": { + "tags": [ + "Credential" + ], + "operationId": "Credential_Delete", + "description": "Delete the credential.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/credentialoperations" + }, + "x-ms-examples": { + "Delete a credential": { + "$ref": "./examples/deleteCredentialExisting.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "credentialName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of credential." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Credential" + ], + "operationId": "Credential_Get", + "description": "Retrieve the credential identified by credential name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/credentialoperations" + }, + "x-ms-examples": { + "Get a credential": { + "$ref": "./examples/getCredential.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "credentialName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of credential." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Credential" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Credential" + ], + "operationId": "Credential_CreateOrUpdate", + "description": "Create a credential.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/credentialoperations" + }, + "x-ms-examples": { + "Create a credential": { + "$ref": "./examples/createOrUpdateCredential.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "credentialName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the create or update credential operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update credential operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Credential" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Credential" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Credential" + ], + "operationId": "Credential_Update", + "description": "Update a credential.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/credentialoperations" + }, + "x-ms-examples": { + "Update a credential": { + "$ref": "./examples/updateCredential_patch.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "credentialName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the Update credential operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialUpdateParameters" + }, + "description": "The parameters supplied to the Update credential operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Credential" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials": { + "get": { + "tags": [ + "Credential" + ], + "operationId": "Credential_ListByAutomationAccount", + "description": "Retrieve a list of credentials.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/credentialoperations" + }, + "x-ms-examples": { + "List credentials by automation account, first 100": { + "$ref": "./examples/listCredentialsByAutomationAccount.json" + }, + "List credentials by automation account, next 100": { + "$ref": "./examples/listCredentialsByAutomationAccount_next100_using_nextLink.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CredentialListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "CredentialCreateOrUpdateProperties": { + "properties": { + "userName": { + "type": "string", + "description": "Gets or sets the user name of the credential." + }, + "password": { + "type": "string", + "description": "Gets or sets the password of the credential." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the credential." + } + }, + "required": [ + "userName", + "password" + ], + "description": "The properties of the create credential operation." + }, + "CredentialCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the credential." + }, + "properties": { + "$ref": "#/definitions/CredentialCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the credential." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update credential operation." + }, + "CredentialProperties": { + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Gets the user name of the credential." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the credential properties" + }, + "Credential": { + "properties": { + "properties": { + "$ref": "#/definitions/CredentialProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the credential." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the credential." + }, + "CredentialListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Credential" + }, + "description": "Gets or sets a list of credentials." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list credential operation." + }, + "CredentialUpdateProperties": { + "properties": { + "userName": { + "type": "string", + "description": "Gets or sets the user name of the credential." + }, + "password": { + "type": "string", + "description": "Gets or sets the password of the credential." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the credential." + } + }, + "description": "The properties of the Update credential" + }, + "CredentialUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the credential." + }, + "properties": { + "$ref": "#/definitions/CredentialUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the variable." + } + }, + "description": "The parameters supplied to the Update credential operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/deletedAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/deletedAutomationAccount.json new file mode 100644 index 000000000000..ef1faf509a41 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/deletedAutomationAccount.json @@ -0,0 +1,144 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Automation/deletedAutomationAccounts": { + "get": { + "tags": [ + "DeletedAutomationAccounts" + ], + "operationId": "deletedAutomationAccounts_ListBySubscription", + "description": "Retrieve deleted automation account.", + "x-ms-examples": { + "Get deleted automation account": { + "$ref": "./examples/getDeletedAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeletedAutomationAccountListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "DeletedAutomationAccountListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeletedAutomationAccount" + }, + "description": "Gets or sets the list of deleted automation accounts." + } + }, + "description": "The response model for the list deleted automation account." + }, + "DeletedAutomationAccount": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedAutomationAccountProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the automation account properties." + }, + "id": { + "description": "The resource id.", + "type": "string" + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "type": { + "type": "string", + "description": "The resource type." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + } + }, + "description": "Definition of the deleted automation account type." + }, + "DeletedAutomationAccountProperties": { + "type": "object", + "properties": { + "automationAccountResourceId": { + "type": "string", + "description": "Gets or sets the Automation Account Resource Id." + }, + "automationAccountId": { + "type": "string", + "description": "Gets or sets the Automation Account Id." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "deletionTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the deletion time.", + "x-nullable": false + } + }, + "description": "Definition of the deleted automation account properties." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscCompilationJob.json new file mode 100644 index 000000000000..6c921b237f61 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscCompilationJob.json @@ -0,0 +1,615 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}": { + "put": { + "tags": [ + "DscCompilationJob" + ], + "operationId": "DscCompilationJob_Create", + "x-ms-long-running-operation": true, + "description": "Creates the Dsc compilation job of the configuration.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscconfigurationcompilejoboperations" + }, + "x-ms-examples": { + "Create or update a DSC Compilation job": { + "$ref": "./examples/createCompilationJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "compilationJobName", + "in": "path", + "required": true, + "type": "string", + "description": "The DSC configuration Id." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DscCompilationJobCreateParameters" + }, + "description": "The parameters supplied to the create compilation job operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DscCompilationJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DscCompilationJob" + ], + "operationId": "DscCompilationJob_Get", + "description": "Retrieve the Dsc configuration compilation job identified by job id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dsccompilationjoboperations" + }, + "x-ms-examples": { + "Get a DSC Compilation job": { + "$ref": "./examples/getCompilationJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "compilationJobName", + "in": "path", + "required": true, + "type": "string", + "description": "The DSC configuration Id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscCompilationJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs": { + "get": { + "tags": [ + "DscCompilationJob" + ], + "operationId": "DscCompilationJob_ListByAutomationAccount", + "description": "Retrieve a list of dsc compilation jobs.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/compilationjoboperations" + }, + "x-ms-examples": { + "List DSC Compilation job in Automation Account": { + "$ref": "./examples/listCompilationJobsByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscCompilationJobListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DscCompilationJob" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams": { + "get": { + "tags": [ + "DscCompilationJob" + ], + "operationId": "DscCompilationJobStream_ListByJob", + "description": "Retrieve all the job streams for the compilation Job.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "List DSC Compilation job streams": { + "$ref": "./examples/compilationJobStreamList.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The job id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStreamListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/{jobStreamId}": { + "get": { + "tags": [ + "DscCompilationJob" + ], + "operationId": "DscCompilationJob_GetStream", + "description": "Retrieve the job stream identified by job stream id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "Get a DSC Compilation job stream by job stream id": { + "$ref": "./examples/compilationJobStreamByJobStreamId.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The job id." + }, + { + "name": "jobStreamId", + "in": "path", + "required": true, + "type": "string", + "description": "The job stream id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStream" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "DscCompilationJob": { + "properties": { + "properties": { + "$ref": "#/definitions/DscCompilationJobProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the Dsc Compilation job." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the Dsc Compilation job." + }, + "DscCompilationJobCreateProperties": { + "properties": { + "configuration": { + "$ref": "#/definitions/DscConfigurationAssociationProperty", + "description": "Gets or sets the configuration." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + }, + "incrementNodeConfigurationBuild": { + "type": "boolean", + "description": "If a new build version of NodeConfiguration is required." + } + }, + "required": [ + "configuration" + ], + "description": "The parameters supplied to the create compilation job operation." + }, + "DscCompilationJobProperties": { + "properties": { + "configuration": { + "$ref": "#/definitions/DscConfigurationAssociationProperty", + "description": "Gets or sets the configuration." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "description": "Gets the compilation job started by." + }, + "jobId": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "Gets the id of the job.", + "x-nullable": false + }, + "creationTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the creation time of the job.", + "x-nullable": false + }, + "provisioningState": { + "$ref": "#/definitions/JobProvisioningStateProperty", + "description": "The current provisioning state of the job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the job.", + "enum": [ + "New", + "Activating", + "Running", + "Completed", + "Failed", + "Stopped", + "Blocked", + "Suspended", + "Disconnected", + "Suspending", + "Stopping", + "Resuming", + "Removing" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true + } + }, + "statusDetails": { + "type": "string", + "description": "Gets or sets the status details of the job." + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the start time of the job.", + "x-nullable": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the end time of the job.", + "x-nullable": true + }, + "exception": { + "type": "string", + "readOnly": true, + "description": "Gets the exception of the job." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last modified time of the job.", + "x-nullable": false + }, + "lastStatusModifiedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "Gets the last status modified time of the job.", + "x-nullable": true + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + } + }, + "description": "Definition of Dsc Compilation job properties." + }, + "DscCompilationJobListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DscCompilationJob" + }, + "description": "Gets or sets a list of Dsc Compilation jobs." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list job operation." + }, + "DscCompilationJobCreateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/DscCompilationJobCreateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the list of compilation job properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create compilation job operation." + }, + "DscConfigurationAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Dsc configuration." + } + }, + "description": "The Dsc configuration property associated with the entity." + }, + "JobStream": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "properties": { + "$ref": "#/definitions/JobStreamProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the id of the job stream." + } + }, + "description": "Definition of the job stream." + }, + "JobStreamListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobStream" + }, + "description": "A list of job streams." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list job stream operation." + }, + "JobStreamProperties": { + "type": "object", + "properties": { + "jobStreamId": { + "type": "string", + "description": "Gets or sets the id of the job stream." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the job.", + "x-nullable": false + }, + "streamType": { + "type": "string", + "description": "Gets or sets the stream type.", + "enum": [ + "Progress", + "Output", + "Warning", + "Error", + "Debug", + "Verbose", + "Any" + ], + "x-ms-enum": { + "name": "JobStreamType", + "modelAsString": true + } + }, + "streamText": { + "type": "string", + "description": "Gets or sets the stream text." + }, + "summary": { + "type": "string", + "x-nullable": true, + "description": "Gets or sets the summary." + }, + "value": { + "additionalProperties": { + "type": "object" + }, + "description": "Gets or sets the values of the job stream.", + "type": "object" + } + }, + "x-ms-client-flatten": true, + "description": "Definition of the job stream." + }, + "JobProvisioningStateProperty": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource.", + "enum": [ + "Failed", + "Succeeded", + "Suspended", + "Processing" + ], + "x-ms-enum": { + "name": "JobProvisioningState", + "modelAsString": true + } + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscConfiguration.json new file mode 100644 index 000000000000..3b8a126855a4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscConfiguration.json @@ -0,0 +1,667 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json", + "text/plain; charset=utf-8" + ], + "produces": [ + "application/json", + "text/plain; charset=utf-8" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}": { + "delete": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_Delete", + "description": "Delete the dsc configuration identified by configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Delete DSC Configuration": { + "$ref": "./examples/deleteDscConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The configuration name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_Get", + "description": "Retrieve the configuration identified by configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Get a DSC Configuration": { + "$ref": "./examples/getDscConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The configuration name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_CreateOrUpdate", + "description": "Create the configuration identified by configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Create or Update Configuration": { + "$ref": "./examples/createOrUpdateDscConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The create or update parameters for configuration." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateParameters" + }, + "description": "The create or update parameters for configuration." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DscConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_Update", + "description": "Create the configuration identified by configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Create or Update Configuration": { + "$ref": "./examples/updateDscConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The create or update parameters for configuration." + }, + { + "name": "parameters", + "in": "body", + "schema": { + "$ref": "#/definitions/DscConfigurationUpdateParameters" + }, + "description": "The create or update parameters for configuration." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}/content": { + "get": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_GetContent", + "description": "Retrieve the configuration script identified by configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Get DSC Configuration content": { + "$ref": "./examples/getDscConfigurationContent.json" + } + }, + "produces": [ + "text/powershell" + ], + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The configuration name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations": { + "get": { + "tags": [ + "DscConfiguration" + ], + "operationId": "DscConfiguration_ListByAutomationAccount", + "description": "Retrieve a list of configurations.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/configurationoperations" + }, + "x-ms-examples": { + "Get DSC Configuration": { + "$ref": "./examples/getAllDscConfigurations.json" + }, + "List Paged DSC Configurations with no filter": { + "$ref": "./examples/getPagedDscConfigurationsWithNoFilter.json" + }, + "List Paged DSC Configurations with name filter": { + "$ref": "./examples/getPagedlDscConfigurationsWithNameFilter.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to skip." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to take." + }, + { + "name": "$inlinecount", + "in": "query", + "required": false, + "type": "string", + "description": "Return total rows." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscConfigurationListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DscConfiguration" + } + } + }, + "definitions": { + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentSource": { + "properties": { + "hash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "type": { + "type": "string", + "description": "Gets or sets the content source type.", + "enum": [ + "embeddedContent", + "uri" + ], + "x-ms-enum": { + "name": "ContentSourceType", + "modelAsString": true + } + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the content. This is based on the content source type." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content source." + }, + "DscConfigurationCreateOrUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets configuration create or update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update configuration operation." + }, + "DscConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DscConfiguration" + }, + "description": "Gets or sets a list of configurations." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + }, + "totalCount": { + "type": "integer", + "description": "Gets the total number of configurations matching filter criteria." + } + }, + "description": "The response model for the list configuration operation." + }, + "DscConfigurationCreateOrUpdateProperties": { + "properties": { + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "logProgress": { + "type": "boolean", + "description": "Gets or sets progress log option." + }, + "source": { + "$ref": "#/definitions/ContentSource", + "description": "Gets or sets the source." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DscConfigurationParameter" + }, + "description": "Gets or sets the configuration parameters." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the configuration." + } + }, + "required": [ + "source" + ], + "description": "The properties to create or update configuration." + }, + "DscConfigurationParameter": { + "properties": { + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + }, + "isMandatory": { + "type": "boolean", + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "type": "integer", + "format": "int32", + "description": "Get or sets the position of the parameter." + }, + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + } + }, + "description": "Definition of the configuration parameter type." + }, + "DscConfigurationUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/DscConfigurationCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets configuration create or update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the create or update configuration operation." + }, + "DscConfigurationProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the configuration.", + "enum": [ + "Succeeded" + ], + "x-ms-enum": { + "name": "DscConfigurationProvisioningState", + "modelAsString": false + } + }, + "jobCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the job count of the configuration." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/DscConfigurationParameter" + }, + "description": "Gets or sets the configuration parameters." + }, + "source": { + "$ref": "#/definitions/ContentSource", + "description": "Gets or sets the source." + }, + "state": { + "type": "string", + "description": "Gets or sets the state of the configuration.", + "enum": [ + "New", + "Edit", + "Published" + ], + "x-ms-enum": { + "name": "DscConfigurationState", + "modelAsString": true + } + }, + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "nodeConfigurationCount": { + "type": "integer", + "description": "Gets the number of compiled node configurations.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the configuration property type." + }, + "DscConfiguration": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DscConfigurationProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the configuration properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the configuration type." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNode.json new file mode 100644 index 000000000000..23bf1c744e08 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNode.json @@ -0,0 +1,1019 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json", + "text/plain" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation": { + "get": { + "tags": [ + "AgentRegistrationInformation" + ], + "operationId": "AgentRegistrationInformation_Get", + "description": "Retrieve the automation agent registration information.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/agentregistrationoperations" + }, + "x-ms-examples": { + "Get the agent registration information": { + "$ref": "./examples/getAgentRegistration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentRegistration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey": { + "post": { + "tags": [ + "AgentRegistrationInformation" + ], + "operationId": "AgentRegistrationInformation_RegenerateKey", + "description": "Regenerate a primary or secondary agent registration key", + "x-ms-examples": { + "Regenerate registration key": { + "$ref": "./examples/regenerateAgentRegistrationKey.json" + } + }, + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/agentregistrationoperations" + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AgentRegistrationRegenerateKeyParameter" + }, + "description": "The name of the agent registration key to be regenerated" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentRegistration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}": { + "delete": { + "tags": [ + "DscNode" + ], + "operationId": "DscNode_Delete", + "description": "Delete the dsc node identified by node id.", + "x-ms-examples": { + "Delete a DSC Node": { + "$ref": "./examples/deleteDscNode.json" + } + }, + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeoperations" + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The node id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DscNode" + ], + "operationId": "DscNode_Get", + "description": "Retrieve the dsc node identified by node id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeoperations" + }, + "x-ms-examples": { + "Get a node": { + "$ref": "./examples/getDscNode.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The node id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNode" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "DscNode" + ], + "operationId": "DscNode_Update", + "description": "Update the dsc node.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeoperations" + }, + "x-ms-examples": { + "Update a node": { + "$ref": "./examples/updateDscNode.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "Parameters supplied to the update dsc node." + }, + { + "name": "dscNodeUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DscNodeUpdateParameters" + }, + "description": "Parameters supplied to the update dsc node." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNode" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes": { + "get": { + "tags": [ + "DscNode" + ], + "operationId": "DscNode_ListByAutomationAccount", + "description": "Retrieve a list of dsc nodes.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeoperations" + }, + "x-ms-examples": { + "List DSC nodes by Automation Account": { + "$ref": "./examples/listAllDscNodesByAutomationAccount.json" + }, + "List Paged DSC nodes by Automation Account with no filters": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithNoFilter.json" + }, + "List Paged DSC nodes by Automation Account with name filter": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithNameFilter.json" + }, + "List Paged DSC nodes by Automation Account with node status filter": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json" + }, + "List Paged DSC nodes by Automation Account with Node Configuration Custom filter": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json" + }, + "List Paged DSC nodes by Automation Account where Node Configurations are not assigned filter": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json" + }, + "List Paged DSC nodes by Automation Account with version filter": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json" + }, + "List Paged DSC nodes with filters separated by 'and'": { + "$ref": "./examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to skip." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to take." + }, + { + "name": "$inlinecount", + "in": "query", + "required": false, + "type": "string", + "description": "Return total rows." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNodeListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DscNode" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports": { + "get": { + "tags": [ + "NodeReports" + ], + "operationId": "NodeReports_ListByNode", + "description": "Retrieve the Dsc node report list by node id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodereportoperations" + }, + "x-ms-examples": { + "List DSC reports by node id.": { + "$ref": "./examples/listDscNodeReportsByNode.json" + }, + "List Paged DSC reports by node id.": { + "$ref": "./examples/listPagedDscNodeReportsByNode.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the list operation." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNodeReportListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DscNodeReport" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports/{reportId}": { + "get": { + "tags": [ + "NodeReports" + ], + "operationId": "NodeReports_Get", + "description": "Retrieve the Dsc node report data by node id and report id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodereportoperations" + }, + "x-ms-examples": { + "Get Dsc node report data by node id and report id. ": { + "$ref": "./examples/getDscNodeReport.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The Dsc node id." + }, + { + "name": "reportId", + "in": "path", + "required": true, + "type": "string", + "description": "The report id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNodeReport" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}/reports/{reportId}/content": { + "get": { + "tags": [ + "NodeReports" + ], + "operationId": "NodeReports_GetContent", + "description": "Retrieve the Dsc node reports by node id and report id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodereportoperations" + }, + "x-ms-examples": { + "Get content of node": { + "$ref": "./examples/getDscNodeReportContent.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeId", + "in": "path", + "required": true, + "type": "string", + "description": "The Dsc node id." + }, + { + "name": "reportId", + "in": "path", + "required": true, + "type": "string", + "description": "The report id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "DscNodeReportListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DscNodeReport" + }, + "description": "Gets or sets a list of dsc node reports." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list dsc nodes operation." + }, + "DscReportResourceNavigation": { + "properties": { + "resourceId": { + "type": "string", + "description": "Gets or sets the ID of the resource to navigate to." + } + }, + "description": "Navigation for DSC Report Resource." + }, + "DscMetaConfiguration": { + "properties": { + "configurationModeFrequencyMins": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration." + }, + "rebootNodeIfNeeded": { + "type": "boolean", + "description": "Gets or sets the RebootNodeIfNeeded value of the meta configuration." + }, + "configurationMode": { + "type": "string", + "description": "Gets or sets the ConfigurationMode value of the meta configuration." + }, + "actionAfterReboot": { + "type": "string", + "description": "Gets or sets the ActionAfterReboot value of the meta configuration." + }, + "certificateId": { + "type": "string", + "description": "Gets or sets the CertificateId value of the meta configuration." + }, + "refreshFrequencyMins": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the RefreshFrequencyMins value of the meta configuration." + }, + "allowModuleOverwrite": { + "type": "boolean", + "description": "Gets or sets the AllowModuleOverwrite value of the meta configuration." + } + }, + "description": "Definition of the DSC Meta Configuration." + }, + "DscNodeReport": { + "properties": { + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the node report.", + "x-nullable": true + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the lastModifiedTime of the node report.", + "x-nullable": false + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the node report.", + "x-nullable": true + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the node report." + }, + "reportId": { + "type": "string", + "description": "Gets or sets the id of the node report." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the node report." + }, + "refreshMode": { + "type": "string", + "description": "Gets or sets the refreshMode of the node report." + }, + "rebootRequested": { + "type": "string", + "description": "Gets or sets the rebootRequested of the node report." + }, + "reportFormatVersion": { + "type": "string", + "description": "Gets or sets the reportFormatVersion of the node report." + }, + "configurationVersion": { + "type": "string", + "description": "Gets or sets the configurationVersion of the node report." + }, + "id": { + "type": "string", + "description": "Gets or sets the id." + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/definitions/DscReportError" + }, + "x-ms-identifiers": [ + "errorMessage", + "resourceId" + ], + "description": "Gets or sets the errors for the node report." + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/definitions/DscReportResource" + }, + "x-ms-identifiers": [ + "resourceId" + ], + "description": "Gets or sets the resource for the node report." + }, + "metaConfiguration": { + "$ref": "#/definitions/DscMetaConfiguration", + "description": "Gets or sets the metaConfiguration of the node at the time of the report." + }, + "hostName": { + "type": "string", + "description": "Gets or sets the hostname of the node that sent the report." + }, + "iPV4Addresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the IPv4 address of the node that sent the report." + }, + "iPV6Addresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the IPv6 address of the node that sent the report." + }, + "numberOfResources": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the number of resource in the node report." + }, + "rawErrors": { + "type": "string", + "description": "Gets or sets the unparsed errors for the node report." + } + }, + "description": "Definition of the dsc node report type." + }, + "DscReportResource": { + "properties": { + "resourceId": { + "type": "string", + "description": "Gets or sets the ID of the resource." + }, + "sourceInfo": { + "type": "string", + "description": "Gets or sets the source info of the resource." + }, + "dependsOn": { + "type": "array", + "items": { + "$ref": "#/definitions/DscReportResourceNavigation" + }, + "x-ms-identifiers": [ + "resourceId" + ], + "description": "Gets or sets the Resource Navigation values for resources the resource depends on." + }, + "moduleName": { + "type": "string", + "description": "Gets or sets the module name of the resource." + }, + "moduleVersion": { + "type": "string", + "description": "Gets or sets the module version of the resource." + }, + "resourceName": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "error": { + "type": "string", + "description": "Gets or sets the error of the resource." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the resource." + }, + "durationInSeconds": { + "type": "number", + "format": "double", + "description": "Gets or sets the duration in seconds for the resource." + }, + "startDate": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start date of the resource.", + "x-nullable": false + } + }, + "description": "Definition of the DSC Report Resource." + }, + "DscReportError": { + "properties": { + "errorSource": { + "type": "string", + "description": "Gets or sets the source of the error." + }, + "resourceId": { + "type": "string", + "description": "Gets or sets the resource ID which generated the error." + }, + "errorCode": { + "type": "string", + "description": "Gets or sets the error code." + }, + "errorMessage": { + "type": "string", + "description": "Gets or sets the error message." + }, + "locale": { + "type": "string", + "description": "Gets or sets the locale of the error." + }, + "errorDetails": { + "type": "string", + "description": "Gets or sets the error details." + } + }, + "description": "Definition of the dsc node report error type." + }, + "AgentRegistration": { + "properties": { + "dscMetaConfiguration": { + "type": "string", + "description": "Gets or sets the dsc meta configuration." + }, + "endpoint": { + "type": "string", + "description": "Gets or sets the dsc server endpoint." + }, + "keys": { + "$ref": "#/definitions/AgentRegistrationKeys", + "description": "Gets or sets the agent registration keys." + }, + "id": { + "type": "string", + "description": "Gets or sets the id." + } + }, + "description": "Definition of the agent registration information type." + }, + "AgentRegistrationKeys": { + "properties": { + "primary": { + "type": "string", + "description": "Gets or sets the primary key." + }, + "secondary": { + "type": "string", + "description": "Gets or sets the secondary key." + } + }, + "description": "Definition of the agent registration keys." + }, + "DscNode": { + "description": "Definition of a DscNode", + "properties": { + "properties": { + "$ref": "#/definitions/DscNodeProperties", + "x-ms-client-flatten": true, + "description": "The properties of a DscNode." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DscNodeProperties": { + "description": "The properties of a DscNode", + "properties": { + "lastSeen": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last seen time of the node.", + "x-nullable": false + }, + "registrationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the registration time of the node.", + "x-nullable": false + }, + "ip": { + "type": "string", + "description": "Gets or sets the ip of the node." + }, + "accountId": { + "type": "string", + "description": "Gets or sets the account id of the node." + }, + "nodeConfiguration": { + "x-nullable": true, + "x-ms-client-flatten": true, + "$ref": "#/definitions/DscNodeConfigurationAssociationProperty", + "description": "Gets or sets the configuration of the node." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the node." + }, + "nodeId": { + "type": "string", + "description": "Gets or sets the node id." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + }, + "totalCount": { + "type": "integer", + "description": "Gets the total number of records matching filter criteria." + }, + "extensionHandler": { + "type": "array", + "description": "Gets or sets the list of extensionHandler properties for a Node.", + "items": { + "$ref": "#/definitions/DscNodeExtensionHandlerAssociationProperty" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DscNodeExtensionHandlerAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the extension handler." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the extension handler." + } + }, + "description": "The dsc extensionHandler property associated with the node" + }, + "DscNodeConfigurationAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the dsc node configuration." + } + }, + "description": "The dsc node configuration property associated with the entity." + }, + "AgentRegistrationRegenerateKeyParameter": { + "properties": { + "keyName": { + "type": "string", + "description": "Gets or sets the agent registration key name - primary or secondary.", + "enum": [ + "primary", + "secondary" + ], + "x-ms-enum": { + "name": "AgentRegistrationKeyName", + "modelAsString": true + } + } + }, + "required": [ + "keyName" + ], + "description": "The parameters supplied to the regenerate keys operation." + }, + "DscNodeUpdateParameters": { + "properties": { + "nodeId": { + "type": "string", + "description": "Gets or sets the id of the dsc node." + }, + "properties": { + "properties": { + "nodeConfiguration": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DscNodeConfigurationAssociationProperty", + "description": "Gets or sets the configuration of the node." + } + } + } + }, + "description": "The parameters supplied to the update dsc node operation." + }, + "DscNodeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DscNode" + }, + "description": "Gets or sets a list of dsc nodes." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + }, + "totalCount": { + "type": "integer", + "description": "Gets the total number of nodes matching filter criteria." + } + }, + "description": "The response model for the list dsc nodes operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeConfiguration.json new file mode 100644 index 000000000000..c1fe6c6f1a8c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeConfiguration.json @@ -0,0 +1,469 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}": { + "delete": { + "tags": [ + "DscNodeConfiguration" + ], + "operationId": "DscNodeConfiguration_Delete", + "description": "Delete the Dsc node configurations by node configuration.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeconfigurations" + }, + "x-ms-examples": { + "Delete a DSC node configuration": { + "$ref": "./examples/deleteDscNodeConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The Dsc node configuration name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DscNodeConfiguration" + ], + "operationId": "DscNodeConfiguration_Get", + "description": "Retrieve the Dsc node configurations by node configuration.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeconfigurations" + }, + "x-ms-examples": { + "Get a DSC node configuration": { + "$ref": "./examples/getDscNodeConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The Dsc node configuration name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNodeConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "DscNodeConfiguration" + ], + "operationId": "DscNodeConfiguration_CreateOrUpdate", + "x-ms-long-running-operation": true, + "description": "Create the node configuration identified by node configuration name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeconfigurations" + }, + "x-ms-examples": { + "Create node configuration": { + "$ref": "./examples/createOrUpdateDscNodeConfiguration.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "nodeConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The Dsc node configuration name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParameters" + }, + "description": "The create or update parameters for configuration." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DscNodeConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations": { + "get": { + "tags": [ + "DscNodeConfiguration" + ], + "operationId": "DscNodeConfiguration_ListByAutomationAccount", + "description": "Retrieve a list of dsc node configurations.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/dscnodeconfigurations" + }, + "x-ms-examples": { + "List DSC node configurations by Automation Account": { + "$ref": "./examples/listDscNodeConfigurations.json" + }, + "List Paged DSC node configurations by Automation Account with no filter": { + "$ref": "./examples/listPagedDscNodeConfigurationsWithNoFilter.json" + }, + "List Paged DSC node configurations by Automation Account with name filter": { + "$ref": "./examples/listPagedDscNodeConfigurationsWithNameFilter.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to skip." + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "integer", + "description": "The number of rows to take." + }, + { + "name": "$inlinecount", + "in": "query", + "required": false, + "type": "string", + "description": "Return total rows." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DscNodeConfigurationListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DscNodeConfiguration" + } + } + }, + "definitions": { + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentSource": { + "properties": { + "hash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "type": { + "type": "string", + "description": "Gets or sets the content source type.", + "enum": [ + "embeddedContent", + "uri" + ], + "x-ms-enum": { + "name": "ContentSourceType", + "modelAsString": true + } + }, + "value": { + "type": "string", + "description": "Gets or sets the value of the content. This is based on the content source type." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content source." + }, + "DscNodeConfiguration": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DscNodeConfigurationProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the configuration properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the dsc node configuration." + }, + "DscNodeConfigurationProperties": { + "description": "Properties for the DscNodeConfiguration", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets creation time.", + "x-nullable": false + }, + "configuration": { + "$ref": "#/definitions/DscConfigurationAssociationProperty", + "description": "Gets or sets the configuration of the node." + }, + "source": { + "type": "string", + "description": "Source of node configuration." + }, + "nodeCount": { + "type": "integer", + "format": "int64", + "description": "Number of nodes with this node configuration assigned" + }, + "incrementNodeConfigurationBuild": { + "type": "boolean", + "description": "If a new build version of NodeConfiguration is required." + } + } + }, + "DscNodeConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DscNodeConfiguration" + }, + "description": "Gets or sets a list of Dsc node configurations." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + }, + "totalCount": { + "type": "integer", + "description": "Gets or sets the total rows in query." + } + }, + "description": "The response model for the list job operation." + }, + "DscNodeExtensionHandlerAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the extension handler." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the extension handler." + } + }, + "description": "The dsc extensionHandler property associated with the node" + }, + "DscNodeConfigurationCreateOrUpdateParameters": { + "description": "The parameters supplied to the create or update node configuration operation.", + "properties": { + "properties": { + "$ref": "#/definitions/DscNodeConfigurationCreateOrUpdateParametersProperties", + "x-ms-client-flatten": true, + "description": "Node configuration properties" + }, + "name": { + "type": "string", + "description": "Name of the node configuration." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + } + }, + "DscNodeConfigurationCreateOrUpdateParametersProperties": { + "properties": { + "source": { + "$ref": "#/definitions/ContentSource", + "description": "Gets or sets the source." + }, + "configuration": { + "$ref": "#/definitions/DscConfigurationAssociationProperty", + "description": "Gets or sets the configuration of the node." + }, + "incrementNodeConfigurationBuild": { + "type": "boolean", + "description": "If a new build version of NodeConfiguration is required." + } + }, + "required": [ + "source", + "configuration" + ], + "description": "The parameter properties supplied to the create or update node configuration operation." + }, + "DscConfigurationAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Dsc configuration." + } + }, + "description": "The Dsc configuration property associated with the entity." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeCounts.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeCounts.json new file mode 100644 index 000000000000..5fd0f27eb606 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/dscNodeCounts.json @@ -0,0 +1,150 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodecounts/{countType}": { + "get": { + "tags": [ + "NodeCountInformation" + ], + "operationId": "NodeCountInformation_Get", + "description": "Retrieve counts for Dsc Nodes.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/nodecounts" + }, + "x-ms-examples": { + "Get node's status counts": { + "$ref": "./examples/listPagedDscNodeStatusCounts.json" + }, + "Get node's node configuration counts": { + "$ref": "./examples/listPagedDscNodeConfigurationCounts.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "#/parameters/CountTypeParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NodeCounts" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "NodeCounts": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NodeCount" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "Gets an array of counts" + }, + "totalCount": { + "type": "integer", + "description": "Gets the total number of records matching countType criteria." + } + }, + "description": "Gets the count of nodes by count type" + }, + "NodeCount": { + "description": "Number of nodes based on the Filter", + "properties": { + "name": { + "description": "Gets the name of a count type", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/NodeCountProperties" + } + } + }, + "NodeCountProperties": { + "properties": { + "count": { + "description": "Gets the count for the name", + "type": "integer" + } + } + } + }, + "parameters": { + "CountTypeParameter": { + "name": "countType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of counts to retrieve", + "enum": [ + "status", + "nodeconfiguration" + ], + "x-ms-enum": { + "name": "CountType", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/PrivateLinkResourceListGet.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/PrivateLinkResourceListGet.json new file mode 100644 index 000000000000..2be3fcb68ff1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/PrivateLinkResourceListGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "automationAccountName": "testaccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/Default/providers/Microsoft.Automation/automationAccounts/testaccount/privateLinkResources/sql", + "name": "sql", + "type": "Microsoft.Automation/automationAccounts/privateLinkResources", + "properties": { + "groupId": "sql", + "requiredMembers": [ + "testaccount", + "ddb1-westus" + ] + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamByJobStreamId.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamByJobStreamId.json new file mode 100644 index 000000000000..0846329e315b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamByJobStreamId.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "jobId": "836d4e06-2d88-46b4-8500-7febd4906838", + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838:00636481062421684835:00000000000000000001", + "summary": "", + "time": "2017-12-05T21:30:42.1684835+00:00", + "streamType": "Output", + "streamText": "", + "value": {} + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamList.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamList.json new file mode 100644 index 000000000000..81799db98a80 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/compilationJobStreamList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "jobId": "836d4e06-2d88-46b4-8500-7febd4906838" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062355996678_00000000000000000001", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062355996678_00000000000000000001", + "summary": "836d4e06-2d88-46b4-8500-7febd4906838:[localhost]:The 'Microsoft.PowerShell.Management' module was not imported because the 'Microsoft.PowerShell.Management' snap-in was already imported.", + "time": "2017-12-05T21:30:35.5996678+00:00", + "streamType": "Warning" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062380840740_00000000000000000002", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062380840740_00000000000000000002", + "summary": "836d4e06-2d88-46b4-8500-7febd4906838:[localhost]:The configuration 'NewDscConfiguration' is loading one or more built-in resources without explicitly importing associated modules. Add Import-DscResource –ModuleName 'PSDesiredStateConfiguration' to your configuration to avoid this message.", + "time": "2017-12-05T21:30:38.084074+00:00", + "streamType": "Warning" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062384590127_00000000000000000003", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062384590127_00000000000000000003", + "summary": "836d4e06-2d88-46b4-8500-7febd4906838:[localhost]:The 'Microsoft.PowerShell.Management' module was not imported because the 'Microsoft.PowerShell.Management' snap-in was already imported.", + "time": "2017-12-05T21:30:38.4590127+00:00", + "streamType": "Warning" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062387245395_00000000000000000004", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062387245395_00000000000000000004", + "summary": "836d4e06-2d88-46b4-8500-7febd4906838:[localhost]:The configuration 'NewDscConfiguration' is loading one or more built-in resources without explicitly importing associated modules. Add Import-DscResource –ModuleName 'PSDesiredStateConfiguration' to your configuration to avoid this message.", + "time": "2017-12-05T21:30:38.7245395+00:00", + "streamType": "Warning" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062417091181_00000000000000000005", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062417091181_00000000000000000005", + "summary": "", + "time": "2017-12-05T21:30:41.7091181+00:00", + "streamType": "Output" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062418809632_00000000000000000006", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062418809632_00000000000000000006", + "summary": "", + "time": "2017-12-05T21:30:41.8809632+00:00", + "streamType": "Output" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062420371712_00000000000000000007", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062420371712_00000000000000000007", + "summary": "", + "time": "2017-12-05T21:30:42.0371712+00:00", + "streamType": "Output" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/836d4e06-2d88-46b4-8500-7febd4906838/streams/836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008", + "properties": { + "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008", + "summary": "", + "time": "2017-12-05T21:30:42.1684835+00:00", + "streamType": "Output" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createCompilationJob.json new file mode 100644 index 000000000000..0c0c8640eed3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createCompilationJob.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "compilationJobName": "TestCompilationJob", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "configuration": { + "name": "SetupServer" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/TestCompilationJob", + "name": "TestCompilationJob", + "type": "Microsoft.Automation/AutomationAccounts/compilationjobs", + "properties": { + "jobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Processing", + "status": "New", + "statusDetails": "None", + "startTime": null, + "endTime": null, + "lastModifiedTime": "2017-03-28T23:14:26.903+00:00", + "lastStatusModifiedTime": "2017-03-28T23:14:26.903+00:00", + "exception": null, + "parameters": {}, + "configuration": { + "name": "SetupServer" + }, + "runOn": null + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createJobSchedule.json new file mode 100644 index 000000000000..ef40e314c69b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createJobSchedule.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "schedule": { + "name": "ScheduleNameGoesHere332204b5-debe-4348-a5c7-6357457189f2" + }, + "runbook": { + "name": "TestRunbook" + }, + "parameters": { + "jobscheduletag01": "jobschedulevalue01", + "jobscheduletag02": "jobschedulevalue02" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "properties": { + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "runbook": { + "name": "TestRunbook" + }, + "schedule": { + "name": "ScheduleNameGoesHere332204b5-debe-4348-a5c7-6357457189f2" + }, + "runOn": null, + "parameters": { + "jobscheduletag01": "jobschedulevalue01", + "jobscheduletag02": "jobschedulevalue02" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateAutomationAccount.json new file mode 100644 index 000000000000..b8b3b17e6edf --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateAutomationAccount.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "sku": { + "name": "Free" + } + }, + "name": "myAutomationAccount9", + "location": "East US 2" + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "name": "myAutomationAccount9", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", + "type": "Microsoft.Automation/AutomationAccounts", + "location": "East US 2", + "tags": {}, + "properties": { + "sku": { + "name": "Free" + }, + "state": "Ok", + "creationTime": "2017-03-26T01:13:43.267+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "lastModifiedTime": "2017-03-26T01:13:43.267+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "name": "ContoseAutomationAccount", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", + "type": "Microsoft.Automation/AutomationAccounts", + "location": "East US 2", + "tags": {}, + "properties": { + "sku": { + "name": "Free" + }, + "state": "Ok", + "creationTime": "2017-03-28T18:21:15.187+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-28T18:21:15.187+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCertificate.json new file mode 100644 index 000000000000..864279448f5c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCertificate.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "certificateName": "testCert", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "testCert", + "properties": { + "base64Value": "base 64 value of cert", + "description": "Sample Cert", + "thumbprint": "thumbprint of cert", + "isExportable": false + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", + "name": "testCert", + "properties": { + "description": "Sample Cert", + "isExportable": false, + "thumbprint": "thumbprint of cert", + "expiryTime": "2018-03-29T17:25:45+00:00", + "creationTime": "2017-03-29T17:26:43.337+00:00", + "lastModifiedTime": "2017-03-29T17:26:43.337+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", + "name": "testCert", + "properties": { + "description": "sample certificate. Description updated", + "isExportable": false, + "thumbprint": "thumbprint of cert", + "expiryTime": "2018-03-29T17:25:45+00:00", + "creationTime": "2017-03-29T17:26:43.337+00:00", + "lastModifiedTime": "2017-03-29T17:28:55.01+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnection.json new file mode 100644 index 000000000000..b850619ff212 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnection.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "connectionName": "mysConnection", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "mysConnection", + "properties": { + "description": "my description goes here", + "connectionType": { + "name": "Azure" + }, + "fieldDefinitionValues": { + "AutomationCertificateName": "mysCertificateName", + "SubscriptionID": "subid" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/mysConnection", + "name": "mysConnection", + "properties": { + "creationTime": "2017-03-27T07:52:29.29+00:00", + "lastModifiedTime": "2017-03-27T07:52:29.29+00:00", + "description": "my description goes here", + "fieldDefinitionValues": { + "AutomationCertificateName": "mysCertificateName", + "SubscriptionID": "subid" + }, + "connectionType": { + "name": "Azure" + } + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/mysConnection", + "name": "mysConnection", + "properties": { + "creationTime": "2017-03-27T07:52:29.29+00:00", + "lastModifiedTime": "2017-03-27T07:52:29.29+00:00", + "description": "my description goes here", + "fieldDefinitionValues": { + "AutomationCertificateName": "mysCertificateName", + "SubscriptionID": "subid" + }, + "connectionType": { + "name": "Azure" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnectionType.json new file mode 100644 index 000000000000..a54842416d51 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateConnectionType.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount22", + "connectionTypeName": "myCT", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "myCT", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount22/connectionTypes/myCT", + "name": "myCT", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T03:47:53.433+00:00", + "lastModifiedTime": "2017-03-27T03:47:53.433+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCredential.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCredential.json new file mode 100644 index 000000000000..bfd1f3e8976e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateCredential.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "credentialName": "myCredential", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "password": "", + "description": "my description goes here" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount18/credentials/myCredential", + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "description": "my description goes here", + "creationTime": "2017-03-26T21:04:10.27+00:00", + "lastModifiedTime": "2017-03-26T21:04:10.27+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount18/credentials/myCredential", + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "description": "my description goes here", + "creationTime": "2017-03-26T21:04:10.27+00:00", + "lastModifiedTime": "2017-03-26T21:04:13.567+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscConfiguration.json new file mode 100644 index 000000000000..6d05fa5a2c81 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscConfiguration.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "configurationName": "SetupServer", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "source": { + "hash": { + "algorithm": "sha256", + "value": "A9E5DB56BA21513F61E0B3868816FDC6D4DF5131F5617D7FF0D769674BD5072F" + }, + "type": "embeddedContent", + "value": "Configuration SetupServer {\r\n Node localhost {\r\n WindowsFeature IIS {\r\n Name = \"Web-Server\";\r\n Ensure = \"Present\"\r\n }\r\n }\r\n}" + }, + "description": "sample configuration" + }, + "name": "SetupServer", + "location": "East US 2" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer", + "name": "SetupServer", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "provisioningState": "Succeeded", + "jobCount": 0, + "parameters": {}, + "description": "sample configuration", + "state": null, + "creationTime": "0001-01-01T00:00:00+00:00", + "lastModifiedTime": "0001-01-01T00:00:00+00:00", + "logVerbose": false + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer", + "name": "SetupServer", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "location": "East US 2", + "tags": {}, + "etag": "\"636263396635600000\"", + "properties": { + "provisioningState": "Succeeded", + "jobCount": 0, + "parameters": {}, + "description": "sample configuration", + "state": "Published", + "creationTime": "2017-03-28T23:14:23.56+00:00", + "lastModifiedTime": "2017-03-28T23:14:23.56+00:00", + "logVerbose": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscNodeConfiguration.json new file mode 100644 index 000000000000..5fd0e5be763c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateDscNodeConfiguration.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "api-version": "2023-05-15-preview", + "nodeConfigurationName": "configName.nodeConfigName", + "parameters": { + "name": "configName.nodeConfigName", + "properties": { + "source": { + "hash": { + "algorithm": "sha256", + "value": "6DE256A57F01BFA29B88696D5E77A383D6E61484C7686E8DB955FA10ACE9FFE5" + }, + "type": "embeddedContent", + "value": "\r\ninstance of MSFT_RoleResource as $MSFT_RoleResource1ref\r\n{\r\nResourceID = \"[WindowsFeature]IIS\";\r\n Ensure = \"Present\";\r\n SourceInfo = \"::3::32::WindowsFeature\";\r\n Name = \"Web-Server\";\r\n ModuleName = \"PsDesiredStateConfiguration\";\r\n\r\nModuleVersion = \"1.0\";\r\r\n ConfigurationName = \"configName\";\r\r\n};\r\ninstance of OMI_ConfigurationDocument\r\n\r\r\n {\r\n Version=\"2.0.0\";\r\n \r\r\n MinimumCompatibleVersion = \"1.0.0\";\r\n \r\r\n CompatibleVersionAdditionalProperties= {\"Omi_BaseResource:ConfigurationName\"};\r\n \r\r\n Author=\"weijiel\";\r\n \r\r\n GenerationDate=\"03/30/2017 13:40:25\";\r\n \r\r\n GenerationHost=\"TEST-BACKEND\";\r\n \r\r\n Name=\"configName\";\r\n\r\r\n };\r\n", + "version": "1.0" + }, + "incrementNodeConfigurationBuild": true, + "configuration": { + "name": "configName" + } + } + } + }, + "responses": { + "200": {}, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/nodeConfigurations/configName.nodeConfigName", + "name": "configName.nodeConfigName", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "properties": { + "lastModifiedTime": "2018-03-25T01:29:17.1205764+00:00", + "creationTime": "2018-03-25T01:29:17.1205764+00:00", + "configuration": { + "name": "configName" + }, + "source": null, + "nodeCount": 0, + "incrementNodeConfigurationBuild": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateModule.json new file mode 100644 index 000000000000..d965182d34b5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateModule.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "moduleName": "OmsCompositeResources", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython2Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython2Package.json new file mode 100644 index 000000000000..1580b214bd64 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython2Package.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + }, + "tags": {} + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/python2Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/python2Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython3Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython3Package.json new file mode 100644 index 000000000000..cff28a57d2e5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdatePython3Package.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + }, + "tags": {} + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/python3Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/python3Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateSchedule.json new file mode 100644 index 000000000000..8293df0f7c1b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateSchedule.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "scheduleName": "mySchedule", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "mySchedule", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T17:28:57.2494819Z", + "expiryTime": "2017-04-01T17:28:57.2494819Z", + "interval": 1, + "frequency": "Hour", + "advancedSchedule": {} + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T16:59:22.697+00:00", + "timeZone": "UTC" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T16:59:22.697+00:00", + "timeZone": "UTC" + } + } + }, + "409": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateVariable.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateVariable.json new file mode 100644 index 000000000000..d34e5f559bc9 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateVariable.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "variableName": "sampleVariable", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "sampleVariable", + "properties": { + "value": "\"ComputerName.domain.com\"", + "description": "my description", + "isEncrypted": false + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "isEncrypted": false, + "value": "\"ComputerName.domain.com\"", + "description": "my description" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "isEncrypted": false, + "value": "\"ComputerName2.domain.com\"", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWatcher.json new file mode 100644 index 000000000000..2d7fd1b378d8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWatcher.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "api-version": "2023-05-15-preview", + "parameters": { + "type": null, + "location": null, + "tags": {}, + "etag": null, + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcherRunbook", + "scriptParameters": null, + "description": "This is a test watcher.", + "scriptRunOn": "MyTestHybridWorkerGroup", + "lastModifiedBy": null + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher", + "name": "MyTestWatcher", + "type": null, + "location": null, + "tags": {}, + "etag": null, + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcherRunbook", + "scriptParameters": null, + "description": "This is a test watcher.", + "status": "New", + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2018-05-14T21:14:09.607+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2018-05-14T21:14:09.607+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher", + "name": "MyTestWatcher", + "type": null, + "location": null, + "tags": {}, + "etag": null, + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcherRunbook", + "scriptParameters": null, + "description": "This is a test watcher.", + "status": "New", + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2018-05-14T21:14:09.607+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2018-05-14T21:14:09.607+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWebhook.json new file mode 100644 index 000000000000..cc8424d12d06 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/createOrUpdateWebhook.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "webhookName": "TestWebhook", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "TestWebhook", + "properties": { + "isEnabled": true, + "uri": "", + "expiryTime": "2018-03-29T22:18:13.7002872Z", + "runbook": { + "name": "TestRunbook" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook", + "name": "TestWebhook", + "type": "Microsoft.Automation/AutomationAccounts/Webhooks", + "properties": { + "isEnabled": true, + "expiryTime": "2018-03-29T22:18:13.7002872+00:00", + "runbook": { + "name": "TestRunbook" + }, + "lastInvokedTime": null, + "runOn": null, + "parameters": null, + "uri": "", + "creationTime": "2017-03-29T22:18:14.6651862+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-03-29T22:18:14.6651862+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook", + "name": "TestWebhook", + "type": "Microsoft.Automation/AutomationAccounts/Webhooks", + "properties": { + "isEnabled": true, + "expiryTime": "2018-03-29T22:18:13.7002872+00:00", + "runbook": { + "name": "TestRunbook" + }, + "lastInvokedTime": null, + "runOn": null, + "parameters": null, + "uri": "", + "creationTime": "2017-03-29T22:18:14.6651862+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-03-29T22:18:14.6651862+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteAutomationAccount.json new file mode 100644 index 000000000000..76905c768f96 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteAutomationAccount.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCertificate.json new file mode 100644 index 000000000000..414ad9250e80 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCertificate.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "certificateName": "testCert", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnection.json new file mode 100644 index 000000000000..320741d0e3fd --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnection.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "connectionName": "myConnection", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnectionType.json new file mode 100644 index 000000000000..111c79cee235 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteConnectionType.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount22", + "connectionTypeName": "myCT", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCredentialExisting.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCredentialExisting.json new file mode 100644 index 000000000000..b96c9de7a4cd --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteCredentialExisting.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "credentialName": "myCredential", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscConfiguration.json new file mode 100644 index 000000000000..3be4b9c6847d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscConfiguration.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "configurationName": "TemplateBasic", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNode.json new file mode 100644 index 000000000000..668ccf20cc39 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNode.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "nodeId": "e1243a76-a9bd-432f-bde3-ad8f317ee786" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNodeConfiguration.json new file mode 100644 index 000000000000..c803d0a81f84 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteDscNodeConfiguration.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "credentialName": "myCredential", + "api-version": "2023-05-15-preview", + "nodeConfigurationName": "configName.nodeConfigName" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorker.json new file mode 100644 index 000000000000..3fc3941cd2c1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorker.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "hybridRunbookWorkerGroupName": "myGroup", + "hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..c798c79ffa69 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteHybridRunbookWorkerGroup.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "hybridRunbookWorkerGroupName": "myGroup", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteJobSchedule.json new file mode 100644 index 000000000000..474f1f49a05b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteJobSchedule.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteModule.json new file mode 100644 index 000000000000..dc03bb419062 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteModule.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "moduleName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython2Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython2Package.json new file mode 100644 index 000000000000..d656a95c1d12 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython2Package.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython3Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython3Package.json new file mode 100644 index 000000000000..28f9caadd688 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deletePython3Package.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteSchedule.json new file mode 100644 index 000000000000..95399f1b6fc4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteSchedule.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "scheduleName": "mySchedule", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteVariable.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteVariable.json new file mode 100644 index 000000000000..2a9ab3970aad --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteVariable.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "variableName": "sampleVariable", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWatcher.json new file mode 100644 index 000000000000..4bd55a2026d3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWatcher.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWebhook.json new file mode 100644 index 000000000000..3fdada8d1aaa --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deleteWebhook.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "webhookName": "TestWebhook", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deserializeGraphRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deserializeGraphRunbookContent.json new file mode 100644 index 000000000000..ba2fb045bc32 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/deserializeGraphRunbookContent.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "api-version": "2023-05-15-preview", + "parameters": { + "rawContent": { + "schemaVersion": "1.10", + "runbookDefinition": "AAEAAADAQAAAAAAAAAMAgAAAGJPcmNoZXN0cmF0b3IuR3JhcGhSdW5ib29rLk1vZGVsLCBWZXJzaW9uPTcuMy4wLjAsIEN1bHR....", + "runbookType": "GraphPowerShell" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "rawContent": { + "schemaVersion": "1.10", + "runbookDefinition": "AAEAAADAQAAAAAAAAAMAgAAAGJPcmNoZXN0cmF0b3IuR3JhcGhSdW5ib29rLk1vZGVsLCBWZXJzaW9uPTcuMy4wLjAsIEN1bHR....", + "runbookType": "GraphPowerShell" + }, + "graphRunbookJson": "" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getActivityInAModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getActivityInAModule.json new file mode 100644 index 000000000000..c84ef5153f2e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getActivityInAModule.json @@ -0,0 +1,543 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "moduleName": "OmsCompositeResources", + "activityName": "Add-AzureRmAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Add-AzureRmAccount", + "name": "Add-AzureRmAccount", + "properties": { + "definition": "", + "description": "The Add-AzureRmAcccount cmdlet adds an authenticated Azure account to use for Azure Resource Manager cmdlet requests.\n\nYou can use this authenticated account only with Azure Resource Manager cmdlets. To add an authenticated account for use with Service Management cmdlets, use the Add-AzureAccount or the Import-AzurePublishSettingsFile cmdlet.", + "parameterSets": [ + { + "name": "SubscriptionId", + "parameters": [ + { + "name": "AccessToken", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "AccountId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "ApplicationId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "CertificateThumbprint", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Credential", + "type": "System.Management.Automation.PSCredential", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "SubscriptionId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": true, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + }, + { + "name": "ServicePrincipal", + "parameters": [ + { + "name": "Credential", + "type": "System.Management.Automation.PSCredential", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "ServicePrincipal", + "type": "System.Management.Automation.SwitchParameter", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "SubscriptionId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": true, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "SubscriptionName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": true, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + }, + { + "name": "SubscriptionName", + "parameters": [ + { + "name": "AccessToken", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "AccountId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "ApplicationId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "CertificateThumbprint", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Credential", + "type": "System.Management.Automation.PSCredential", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "SubscriptionName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": true, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + }, + { + "name": "User", + "parameters": [ + { + "name": "Credential", + "type": "System.Management.Automation.PSCredential", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + }, + { + "name": "AccessToken", + "parameters": [ + { + "name": "AccessToken", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "AccountId", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + }, + { + "name": "ServicePrincipalCertificate", + "parameters": [ + { + "name": "ApplicationId", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "CertificateThumbprint", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "Environment", + "type": "Microsoft.Azure.Common.Authentication.Models.AzureEnvironment", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "EnvironmentName", + "type": "System.String", + "isMandatory": false, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "ServicePrincipal", + "type": "System.Management.Automation.SwitchParameter", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + }, + { + "name": "TenantId", + "type": "System.String", + "isMandatory": true, + "isDynamic": false, + "position": -2147483648, + "valueFromPipeline": false, + "valueFromPipelineByPropertyName": false, + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] + } + ] + } + ], + "outputTypes": [ + { + "name": "Microsoft.Azure.Commands.Profile.Models.PSAzureProfile", + "type": "Microsoft.Azure.Commands.Profile.Models.PSAzureProfile" + } + ], + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAgentRegistration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAgentRegistration.json new file mode 100644 index 000000000000..6ec8781e0c88 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAgentRegistration.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount18/agentRegistrationInformation/https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6", + "keys": { + "primary": "5ci0000000000000000000000000000000000000000000000000000000000000000000000000000Y5H/8wFg==", + "secondary": "rVp0000000000000000000000000000000000000000000000000000000000000000000000000000f8cbmrOA==" + }, + "endpoint": "https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6", + "dscMetaConfiguration": "\r\n\tinstance of MSFT_WebDownloadManager as $MSFT_WebDownloadManager1ref\r\n\t{\r\n\tResourceID = \"[ConfigurationRepositoryWeb]AzureAutomationDSC\";\r\n\t SourceInfo = \"C:\\\\OaaS-RegistrationMetaConfig2.ps1::20::9::ConfigurationRepositoryWeb\";\r\n\t RegistrationKey = \"5ci0000000000000000000000000000000000000000000000000000000000000000000000000000Y5H/8wFg==\"; \r\n\t ServerURL = \"https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6\";\r\n\t};\r\n\r\n\tinstance of MSFT_WebResourceManager as $MSFT_WebResourceManager1ref\r\n\t{\r\n\t SourceInfo = \"C:\\\\OaaS-RegistrationMetaConfig2.ps1::27::9::ResourceRepositoryWeb\";\r\n\t ServerURL = \"https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6\";\r\n\t ResourceID = \"[ResourceRepositoryWeb]AzureAutomationDSC\";\r\n\t RegistrationKey = \"5ci0000000000000000000000000000000000000000000000000000000000000000000000000000Y5H/8wFg==\"; \r\n\t};\r\n\r\n\tinstance of MSFT_WebReportManager as $MSFT_WebReportManager1ref\r\n\t{\r\n\t SourceInfo = \"C:\\\\OaaS-RegistrationMetaConfig2.ps1::34::9::ReportServerWeb\";\r\n\t ServerURL = \"https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6\";\r\n\t ResourceID = \"[ReportServerWeb]AzureAutomationDSC\";\r\n\t RegistrationKey = \"5ci0000000000000000000000000000000000000000000000000000000000000000000000000000Y5H/8wFg==\"; \r\n\t};\r\n\r\n\tinstance of MSFT_DSCMetaConfiguration as $MSFT_DSCMetaConfiguration1ref\r\n\t{\r\n\t RefreshMode = \"Pull\";\r\n\t AllowModuleOverwrite = False;\r\n\t ActionAfterReboot = \"ContinueConfiguration\";\r\n\t RefreshFrequencyMins = 30;\r\n\t RebootNodeIfNeeded = False;\r\n\t ConfigurationModeFrequencyMins = 15;\r\n\t ConfigurationMode = \"ApplyAndMonitor\";\r\n\r\n\t ResourceModuleManagers = {\r\n\t $MSFT_WebResourceManager1ref \r\n\t};\r\n\t ReportManagers = {\r\n\t $MSFT_WebReportManager1ref \r\n\t };\r\n\t ConfigurationDownloadManagers = {\r\n\t $MSFT_WebDownloadManager1ref \r\n\t };\r\n\t};\r\n\r\n\tinstance of OMI_ConfigurationDocument\r\n\t{\r\n\t Version=\"2.0.0\";\r\n\t MinimumCompatibleVersion = \"2.0.0\";\r\n\t CompatibleVersionAdditionalProperties= { \"MSFT_DSCMetaConfiguration:StatusRetentionTimeInDays\" };\r\n\t Author=\"azureautomation\";\r\n\t GenerationDate=\"04/17/2015 11:41:09\";\r\n\t GenerationHost=\"azureautomation-01\";\r\n\t Name=\"RegistrationMetaConfig\";\r\n\t};\r\n\t" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_First100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_First100.json new file mode 100644 index 000000000000..1e1dd521a657 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_First100.json @@ -0,0 +1,2618 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount25", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/Azure", + "name": "Azure", + "properties": { + "isGlobal": true, + "fieldDefinitions": { + "AutomationCertificateName": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "SubscriptionID": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + } + }, + "creationTime": "2014-03-18T23:02:40.613+00:00", + "lastModifiedTime": "2014-03-18T23:02:40.74+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/AzureClassicCertificate", + "name": "AzureClassicCertificate", + "properties": { + "isGlobal": true, + "fieldDefinitions": { + "SubscriptionName": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "SubscriptionId": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "CertificateAssetName": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + } + }, + "creationTime": "2016-04-25T23:54:02.65+00:00", + "lastModifiedTime": "2016-04-25T23:54:03.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/AzureServicePrincipal", + "name": "AzureServicePrincipal", + "properties": { + "isGlobal": true, + "fieldDefinitions": { + "ApplicationId": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "TenantId": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "CertificateThumbprint": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + }, + "SubscriptionId": { + "isEncrypted": false, + "isOptional": false, + "type": "System.String" + } + }, + "creationTime": "2016-03-16T23:08:41.853+00:00", + "lastModifiedTime": "2016-03-16T23:08:42.407+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT", + "name": "myCT", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:14.43+00:00", + "lastModifiedTime": "2017-03-27T06:25:14.51+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT0", + "name": "myCT0", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:14.837+00:00", + "lastModifiedTime": "2017-03-27T06:25:14.853+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT1", + "name": "myCT1", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:15.04+00:00", + "lastModifiedTime": "2017-03-27T06:25:15.057+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT10", + "name": "myCT10", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:17.12+00:00", + "lastModifiedTime": "2017-03-27T06:25:17.15+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT100", + "name": "myCT100", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:36.73+00:00", + "lastModifiedTime": "2017-03-27T06:25:36.76+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT101", + "name": "myCT101", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:36.963+00:00", + "lastModifiedTime": "2017-03-27T06:25:36.993+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT102", + "name": "myCT102", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:37.197+00:00", + "lastModifiedTime": "2017-03-27T06:25:37.213+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT103", + "name": "myCT103", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:37.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:37.43+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT104", + "name": "myCT104", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:37.633+00:00", + "lastModifiedTime": "2017-03-27T06:25:37.65+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT105", + "name": "myCT105", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:37.837+00:00", + "lastModifiedTime": "2017-03-27T06:25:37.883+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT106", + "name": "myCT106", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:38.073+00:00", + "lastModifiedTime": "2017-03-27T06:25:38.087+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT107", + "name": "myCT107", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:38.277+00:00", + "lastModifiedTime": "2017-03-27T06:25:38.29+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT108", + "name": "myCT108", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:38.493+00:00", + "lastModifiedTime": "2017-03-27T06:25:38.51+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT109", + "name": "myCT109", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:38.697+00:00", + "lastModifiedTime": "2017-03-27T06:25:38.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT11", + "name": "myCT11", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:17.337+00:00", + "lastModifiedTime": "2017-03-27T06:25:17.383+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT110", + "name": "myCT110", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:38.93+00:00", + "lastModifiedTime": "2017-03-27T06:25:38.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT111", + "name": "myCT111", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:39.15+00:00", + "lastModifiedTime": "2017-03-27T06:25:39.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT112", + "name": "myCT112", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:39.353+00:00", + "lastModifiedTime": "2017-03-27T06:25:39.37+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT113", + "name": "myCT113", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:39.557+00:00", + "lastModifiedTime": "2017-03-27T06:25:39.573+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT114", + "name": "myCT114", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:39.777+00:00", + "lastModifiedTime": "2017-03-27T06:25:39.79+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT115", + "name": "myCT115", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:39.98+00:00", + "lastModifiedTime": "2017-03-27T06:25:39.993+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT116", + "name": "myCT116", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:40.18+00:00", + "lastModifiedTime": "2017-03-27T06:25:40.197+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT117", + "name": "myCT117", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:40.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:40.43+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT118", + "name": "myCT118", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:40.633+00:00", + "lastModifiedTime": "2017-03-27T06:25:40.65+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT119", + "name": "myCT119", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:40.837+00:00", + "lastModifiedTime": "2017-03-27T06:25:40.853+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT12", + "name": "myCT12", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:17.587+00:00", + "lastModifiedTime": "2017-03-27T06:25:17.603+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT120", + "name": "myCT120", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:41.04+00:00", + "lastModifiedTime": "2017-03-27T06:25:41.057+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT121", + "name": "myCT121", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:41.26+00:00", + "lastModifiedTime": "2017-03-27T06:25:41.277+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT122", + "name": "myCT122", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:41.48+00:00", + "lastModifiedTime": "2017-03-27T06:25:41.557+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT123", + "name": "myCT123", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:41.743+00:00", + "lastModifiedTime": "2017-03-27T06:25:41.76+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT124", + "name": "myCT124", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:41.947+00:00", + "lastModifiedTime": "2017-03-27T06:25:41.963+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT125", + "name": "myCT125", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:42.18+00:00", + "lastModifiedTime": "2017-03-27T06:25:42.197+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT126", + "name": "myCT126", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:42.383+00:00", + "lastModifiedTime": "2017-03-27T06:25:42.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT127", + "name": "myCT127", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:42.603+00:00", + "lastModifiedTime": "2017-03-27T06:25:42.62+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT128", + "name": "myCT128", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:42.823+00:00", + "lastModifiedTime": "2017-03-27T06:25:42.837+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT129", + "name": "myCT129", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:43.027+00:00", + "lastModifiedTime": "2017-03-27T06:25:43.04+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT13", + "name": "myCT13", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:17.79+00:00", + "lastModifiedTime": "2017-03-27T06:25:17.807+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT130", + "name": "myCT130", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:43.243+00:00", + "lastModifiedTime": "2017-03-27T06:25:43.26+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT131", + "name": "myCT131", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:43.447+00:00", + "lastModifiedTime": "2017-03-27T06:25:43.463+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT132", + "name": "myCT132", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:43.65+00:00", + "lastModifiedTime": "2017-03-27T06:25:43.667+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT133", + "name": "myCT133", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:43.87+00:00", + "lastModifiedTime": "2017-03-27T06:25:43.887+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT134", + "name": "myCT134", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:44.073+00:00", + "lastModifiedTime": "2017-03-27T06:25:44.087+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT135", + "name": "myCT135", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:44.29+00:00", + "lastModifiedTime": "2017-03-27T06:25:44.307+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT136", + "name": "myCT136", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:44.493+00:00", + "lastModifiedTime": "2017-03-27T06:25:44.51+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT137", + "name": "myCT137", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:44.76+00:00", + "lastModifiedTime": "2017-03-27T06:25:44.807+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT138", + "name": "myCT138", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:45.01+00:00", + "lastModifiedTime": "2017-03-27T06:25:45.027+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT139", + "name": "myCT139", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:45.213+00:00", + "lastModifiedTime": "2017-03-27T06:25:45.23+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT14", + "name": "myCT14", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:17.993+00:00", + "lastModifiedTime": "2017-03-27T06:25:18.01+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT140", + "name": "myCT140", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:45.433+00:00", + "lastModifiedTime": "2017-03-27T06:25:45.463+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT141", + "name": "myCT141", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:45.65+00:00", + "lastModifiedTime": "2017-03-27T06:25:45.667+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT142", + "name": "myCT142", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:45.883+00:00", + "lastModifiedTime": "2017-03-27T06:25:45.917+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT143", + "name": "myCT143", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:46.103+00:00", + "lastModifiedTime": "2017-03-27T06:25:46.133+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT144", + "name": "myCT144", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:46.34+00:00", + "lastModifiedTime": "2017-03-27T06:25:46.353+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT145", + "name": "myCT145", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:46.54+00:00", + "lastModifiedTime": "2017-03-27T06:25:46.557+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT146", + "name": "myCT146", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:46.76+00:00", + "lastModifiedTime": "2017-03-27T06:25:46.777+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT147", + "name": "myCT147", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:46.963+00:00", + "lastModifiedTime": "2017-03-27T06:25:46.98+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT148", + "name": "myCT148", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:47.197+00:00", + "lastModifiedTime": "2017-03-27T06:25:47.213+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT149", + "name": "myCT149", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:47.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:47.43+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT15", + "name": "myCT15", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:18.213+00:00", + "lastModifiedTime": "2017-03-27T06:25:18.227+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT150", + "name": "myCT150", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:47.637+00:00", + "lastModifiedTime": "2017-03-27T06:25:47.65+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT151", + "name": "myCT151", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:47.853+00:00", + "lastModifiedTime": "2017-03-27T06:25:47.87+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT152", + "name": "myCT152", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:48.103+00:00", + "lastModifiedTime": "2017-03-27T06:25:48.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT153", + "name": "myCT153", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:48.37+00:00", + "lastModifiedTime": "2017-03-27T06:25:48.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT154", + "name": "myCT154", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:48.59+00:00", + "lastModifiedTime": "2017-03-27T06:25:48.667+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT155", + "name": "myCT155", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:48.887+00:00", + "lastModifiedTime": "2017-03-27T06:25:48.93+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT156", + "name": "myCT156", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:49.12+00:00", + "lastModifiedTime": "2017-03-27T06:25:49.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT157", + "name": "myCT157", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:49.37+00:00", + "lastModifiedTime": "2017-03-27T06:25:49.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT158", + "name": "myCT158", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:49.603+00:00", + "lastModifiedTime": "2017-03-27T06:25:49.637+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT159", + "name": "myCT159", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:49.84+00:00", + "lastModifiedTime": "2017-03-27T06:25:49.87+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT16", + "name": "myCT16", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:18.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:18.43+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT160", + "name": "myCT160", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:50.09+00:00", + "lastModifiedTime": "2017-03-27T06:25:50.103+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT161", + "name": "myCT161", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:50.29+00:00", + "lastModifiedTime": "2017-03-27T06:25:50.307+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT162", + "name": "myCT162", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:50.493+00:00", + "lastModifiedTime": "2017-03-27T06:25:50.51+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT163", + "name": "myCT163", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:50.697+00:00", + "lastModifiedTime": "2017-03-27T06:25:50.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT164", + "name": "myCT164", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:50.917+00:00", + "lastModifiedTime": "2017-03-27T06:25:50.933+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT165", + "name": "myCT165", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:51.12+00:00", + "lastModifiedTime": "2017-03-27T06:25:51.137+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT166", + "name": "myCT166", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:51.34+00:00", + "lastModifiedTime": "2017-03-27T06:25:51.353+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT167", + "name": "myCT167", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:51.54+00:00", + "lastModifiedTime": "2017-03-27T06:25:51.557+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT168", + "name": "myCT168", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:51.743+00:00", + "lastModifiedTime": "2017-03-27T06:25:51.76+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT169", + "name": "myCT169", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:51.98+00:00", + "lastModifiedTime": "2017-03-27T06:25:51.98+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT17", + "name": "myCT17", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:18.62+00:00", + "lastModifiedTime": "2017-03-27T06:25:18.633+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT170", + "name": "myCT170", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:52.213+00:00", + "lastModifiedTime": "2017-03-27T06:25:52.23+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT171", + "name": "myCT171", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:52.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:52.433+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT172", + "name": "myCT172", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:52.637+00:00", + "lastModifiedTime": "2017-03-27T06:25:52.65+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT173", + "name": "myCT173", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:52.84+00:00", + "lastModifiedTime": "2017-03-27T06:25:52.87+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT174", + "name": "myCT174", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:53.057+00:00", + "lastModifiedTime": "2017-03-27T06:25:53.073+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT175", + "name": "myCT175", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:53.26+00:00", + "lastModifiedTime": "2017-03-27T06:25:53.29+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT18", + "name": "myCT18", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:18.82+00:00", + "lastModifiedTime": "2017-03-27T06:25:18.837+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT19", + "name": "myCT19", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:19.04+00:00", + "lastModifiedTime": "2017-03-27T06:25:19.057+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT2", + "name": "myCT2", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:15.26+00:00", + "lastModifiedTime": "2017-03-27T06:25:15.273+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT20", + "name": "myCT20", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:19.243+00:00", + "lastModifiedTime": "2017-03-27T06:25:19.26+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT21", + "name": "myCT21", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:19.463+00:00", + "lastModifiedTime": "2017-03-27T06:25:19.477+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT22", + "name": "myCT22", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:19.667+00:00", + "lastModifiedTime": "2017-03-27T06:25:19.68+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT23", + "name": "myCT23", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:19.883+00:00", + "lastModifiedTime": "2017-03-27T06:25:19.9+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT24", + "name": "myCT24", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:20.103+00:00", + "lastModifiedTime": "2017-03-27T06:25:20.12+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT25", + "name": "myCT25", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:20.4+00:00", + "lastModifiedTime": "2017-03-27T06:25:20.417+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT26", + "name": "myCT26", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:20.65+00:00", + "lastModifiedTime": "2017-03-27T06:25:20.667+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes?api-version=2023-05-15-preview&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_Next100.json new file mode 100644 index 000000000000..2e6a8332bf6c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllConnectionTypes_Next100.json @@ -0,0 +1,2097 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount25", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT27", + "name": "myCT27", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:20.87+00:00", + "lastModifiedTime": "2017-03-27T06:25:20.883+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT28", + "name": "myCT28", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:21.07+00:00", + "lastModifiedTime": "2017-03-27T06:25:21.087+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT29", + "name": "myCT29", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:21.29+00:00", + "lastModifiedTime": "2017-03-27T06:25:21.307+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT3", + "name": "myCT3", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:15.477+00:00", + "lastModifiedTime": "2017-03-27T06:25:15.493+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT30", + "name": "myCT30", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:21.523+00:00", + "lastModifiedTime": "2017-03-27T06:25:21.54+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT31", + "name": "myCT31", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:21.727+00:00", + "lastModifiedTime": "2017-03-27T06:25:21.743+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT32", + "name": "myCT32", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:21.93+00:00", + "lastModifiedTime": "2017-03-27T06:25:21.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT33", + "name": "myCT33", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:22.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:22.15+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT34", + "name": "myCT34", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:22.353+00:00", + "lastModifiedTime": "2017-03-27T06:25:22.37+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT35", + "name": "myCT35", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:22.57+00:00", + "lastModifiedTime": "2017-03-27T06:25:22.587+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT36", + "name": "myCT36", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:22.773+00:00", + "lastModifiedTime": "2017-03-27T06:25:22.79+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT37", + "name": "myCT37", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:22.977+00:00", + "lastModifiedTime": "2017-03-27T06:25:22.993+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT38", + "name": "myCT38", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:23.197+00:00", + "lastModifiedTime": "2017-03-27T06:25:23.213+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT39", + "name": "myCT39", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:23.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:23.447+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT4", + "name": "myCT4", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:15.68+00:00", + "lastModifiedTime": "2017-03-27T06:25:15.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT40", + "name": "myCT40", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:23.633+00:00", + "lastModifiedTime": "2017-03-27T06:25:23.65+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT41", + "name": "myCT41", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:23.853+00:00", + "lastModifiedTime": "2017-03-27T06:25:23.87+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT42", + "name": "myCT42", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:24.057+00:00", + "lastModifiedTime": "2017-03-27T06:25:24.07+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT43", + "name": "myCT43", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:24.26+00:00", + "lastModifiedTime": "2017-03-27T06:25:24.273+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT44", + "name": "myCT44", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:24.477+00:00", + "lastModifiedTime": "2017-03-27T06:25:24.493+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT45", + "name": "myCT45", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:24.68+00:00", + "lastModifiedTime": "2017-03-27T06:25:24.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT46", + "name": "myCT46", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:24.883+00:00", + "lastModifiedTime": "2017-03-27T06:25:24.9+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT47", + "name": "myCT47", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:25.103+00:00", + "lastModifiedTime": "2017-03-27T06:25:25.12+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT48", + "name": "myCT48", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:25.307+00:00", + "lastModifiedTime": "2017-03-27T06:25:25.32+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT49", + "name": "myCT49", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:25.523+00:00", + "lastModifiedTime": "2017-03-27T06:25:25.54+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT5", + "name": "myCT5", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:15.9+00:00", + "lastModifiedTime": "2017-03-27T06:25:15.917+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT50", + "name": "myCT50", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:25.727+00:00", + "lastModifiedTime": "2017-03-27T06:25:25.743+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT51", + "name": "myCT51", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:25.93+00:00", + "lastModifiedTime": "2017-03-27T06:25:25.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT52", + "name": "myCT52", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:26.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:26.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT53", + "name": "myCT53", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:26.353+00:00", + "lastModifiedTime": "2017-03-27T06:25:26.37+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT54", + "name": "myCT54", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:26.57+00:00", + "lastModifiedTime": "2017-03-27T06:25:26.587+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT55", + "name": "myCT55", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:26.773+00:00", + "lastModifiedTime": "2017-03-27T06:25:26.79+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT56", + "name": "myCT56", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:26.977+00:00", + "lastModifiedTime": "2017-03-27T06:25:26.993+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT57", + "name": "myCT57", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:27.197+00:00", + "lastModifiedTime": "2017-03-27T06:25:27.213+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT58", + "name": "myCT58", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:27.477+00:00", + "lastModifiedTime": "2017-03-27T06:25:27.493+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT59", + "name": "myCT59", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:27.68+00:00", + "lastModifiedTime": "2017-03-27T06:25:27.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT6", + "name": "myCT6", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:16.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:16.167+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT60", + "name": "myCT60", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:27.917+00:00", + "lastModifiedTime": "2017-03-27T06:25:27.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT61", + "name": "myCT61", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:28.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:28.15+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT62", + "name": "myCT62", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:28.337+00:00", + "lastModifiedTime": "2017-03-27T06:25:28.353+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT63", + "name": "myCT63", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:28.587+00:00", + "lastModifiedTime": "2017-03-27T06:25:28.587+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT64", + "name": "myCT64", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:28.79+00:00", + "lastModifiedTime": "2017-03-27T06:25:28.807+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT65", + "name": "myCT65", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:28.993+00:00", + "lastModifiedTime": "2017-03-27T06:25:29.01+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT66", + "name": "myCT66", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:29.197+00:00", + "lastModifiedTime": "2017-03-27T06:25:29.213+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT67", + "name": "myCT67", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:29.417+00:00", + "lastModifiedTime": "2017-03-27T06:25:29.463+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT68", + "name": "myCT68", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:29.65+00:00", + "lastModifiedTime": "2017-03-27T06:25:29.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT69", + "name": "myCT69", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:29.883+00:00", + "lastModifiedTime": "2017-03-27T06:25:29.9+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT7", + "name": "myCT7", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:16.4+00:00", + "lastModifiedTime": "2017-03-27T06:25:16.447+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT70", + "name": "myCT70", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:30.087+00:00", + "lastModifiedTime": "2017-03-27T06:25:30.12+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT71", + "name": "myCT71", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:30.32+00:00", + "lastModifiedTime": "2017-03-27T06:25:30.353+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT72", + "name": "myCT72", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:30.557+00:00", + "lastModifiedTime": "2017-03-27T06:25:30.57+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT73", + "name": "myCT73", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:30.773+00:00", + "lastModifiedTime": "2017-03-27T06:25:30.79+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT74", + "name": "myCT74", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:30.98+00:00", + "lastModifiedTime": "2017-03-27T06:25:30.98+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT75", + "name": "myCT75", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:31.18+00:00", + "lastModifiedTime": "2017-03-27T06:25:31.2+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT76", + "name": "myCT76", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:31.383+00:00", + "lastModifiedTime": "2017-03-27T06:25:31.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT77", + "name": "myCT77", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:31.587+00:00", + "lastModifiedTime": "2017-03-27T06:25:31.62+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT78", + "name": "myCT78", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:31.837+00:00", + "lastModifiedTime": "2017-03-27T06:25:31.853+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT79", + "name": "myCT79", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:32.057+00:00", + "lastModifiedTime": "2017-03-27T06:25:32.057+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT8", + "name": "myCT8", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:16.633+00:00", + "lastModifiedTime": "2017-03-27T06:25:16.68+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT80", + "name": "myCT80", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:32.26+00:00", + "lastModifiedTime": "2017-03-27T06:25:32.277+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT81", + "name": "myCT81", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:32.493+00:00", + "lastModifiedTime": "2017-03-27T06:25:32.51+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT82", + "name": "myCT82", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:32.73+00:00", + "lastModifiedTime": "2017-03-27T06:25:32.743+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT83", + "name": "myCT83", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:32.93+00:00", + "lastModifiedTime": "2017-03-27T06:25:32.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT84", + "name": "myCT84", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:33.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:33.197+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT85", + "name": "myCT85", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:33.4+00:00", + "lastModifiedTime": "2017-03-27T06:25:33.417+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT86", + "name": "myCT86", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:33.603+00:00", + "lastModifiedTime": "2017-03-27T06:25:33.62+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT87", + "name": "myCT87", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:33.82+00:00", + "lastModifiedTime": "2017-03-27T06:25:33.837+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT88", + "name": "myCT88", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:34.027+00:00", + "lastModifiedTime": "2017-03-27T06:25:34.04+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT89", + "name": "myCT89", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:34.23+00:00", + "lastModifiedTime": "2017-03-27T06:25:34.243+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT9", + "name": "myCT9", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:16.883+00:00", + "lastModifiedTime": "2017-03-27T06:25:16.917+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT90", + "name": "myCT90", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:34.43+00:00", + "lastModifiedTime": "2017-03-27T06:25:34.48+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT91", + "name": "myCT91", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:34.667+00:00", + "lastModifiedTime": "2017-03-27T06:25:34.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT92", + "name": "myCT92", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:34.9+00:00", + "lastModifiedTime": "2017-03-27T06:25:34.947+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT93", + "name": "myCT93", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:35.133+00:00", + "lastModifiedTime": "2017-03-27T06:25:35.15+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT94", + "name": "myCT94", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:35.37+00:00", + "lastModifiedTime": "2017-03-27T06:25:35.417+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT95", + "name": "myCT95", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:35.603+00:00", + "lastModifiedTime": "2017-03-27T06:25:35.62+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT96", + "name": "myCT96", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:35.823+00:00", + "lastModifiedTime": "2017-03-27T06:25:35.837+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT97", + "name": "myCT97", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:36.027+00:00", + "lastModifiedTime": "2017-03-27T06:25:36.04+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT98", + "name": "myCT98", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:36.243+00:00", + "lastModifiedTime": "2017-03-27T06:25:36.29+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount25/connectionTypes/myCT99", + "name": "myCT99", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T06:25:36.493+00:00", + "lastModifiedTime": "2017-03-27T06:25:36.527+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllDscConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllDscConfigurations.json new file mode 100644 index 000000000000..29412d63671b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAllDscConfigurations.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer", + "location": "East US 2", + "name": "SetupServer", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAutomationAccount.json new file mode 100644 index 000000000000..fb4e42e4ed08 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getAutomationAccount.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "myAutomationAccount9", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", + "type": "Microsoft.Automation/AutomationAccounts", + "location": "East US 2", + "tags": {}, + "properties": { + "sku": { + "name": "Free" + }, + "state": "Ok", + "creationTime": "2017-03-26T01:13:43.267+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "lastModifiedTime": "2017-03-26T01:13:43.267+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCertificate.json new file mode 100644 index 000000000000..b0e6402aad69 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCertificate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "certificateName": "testCert", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", + "name": "testCert", + "properties": { + "description": "Sample Cert", + "isExportable": false, + "thumbprint": "thumbprint of cert", + "expiryTime": "2018-03-29T17:25:45+00:00", + "creationTime": "2017-03-29T17:26:43.337+00:00", + "lastModifiedTime": "2017-03-29T17:28:55.01+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCompilationJob.json new file mode 100644 index 000000000000..379915d9a3fe --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCompilationJob.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "compilationJobName": "TestCompilationJob", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/TestCompilationJob", + "name": "TestCompilationJob", + "type": "Microsoft.Automation/AutomationAccounts/compilationjobs", + "properties": { + "jobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Processing", + "status": "New", + "statusDetails": "None", + "startTime": null, + "endTime": null, + "lastModifiedTime": "2017-03-28T23:14:26.903+00:00", + "lastStatusModifiedTime": "2017-03-28T23:14:26.903+00:00", + "exception": null, + "parameters": null, + "configuration": { + "name": "SetupServer" + }, + "runOn": null + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnection.json new file mode 100644 index 000000000000..5c3c979c0bdf --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "connectionName": "myConnection", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection", + "name": "myConnection", + "properties": { + "creationTime": "2017-03-27T07:52:29.29+00:00", + "lastModifiedTime": "2017-03-27T07:52:33.617+00:00", + "description": "my description goes here", + "fieldDefinitionValues": { + "AutomationCertificateName": "myCertificateName", + "SubscriptionID": "b5e4748c-f69a-467c-8749-e2f9c8cd3007" + }, + "connectionType": { + "name": "Azure" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnectionType.json new file mode 100644 index 000000000000..4cb6d0382161 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getConnectionType.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount22", + "connectionTypeName": "myCT", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount22/connectionTypes/myCT", + "name": "myCT", + "properties": { + "isGlobal": false, + "fieldDefinitions": { + "myStringField": { + "isEncrypted": false, + "isOptional": false, + "type": "string" + }, + "myBoolField": { + "isEncrypted": false, + "isOptional": false, + "type": "bool" + }, + "myStringFieldEncrypted": { + "isEncrypted": true, + "isOptional": false, + "type": "string" + } + }, + "creationTime": "2017-03-27T03:47:53.433+00:00", + "lastModifiedTime": "2017-03-27T03:47:53.557+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCredential.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCredential.json new file mode 100644 index 000000000000..7600dda35e66 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getCredential.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "credentialName": "myCredential", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount18/credentials/myCredential", + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "description": "my description goes here", + "creationTime": "2017-03-26T21:04:10.27+00:00", + "lastModifiedTime": "2017-03-26T21:04:16.423+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDeletedAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDeletedAutomationAccount.json new file mode 100644 index 000000000000..9368d8ca27d7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDeletedAutomationAccount.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/msitest/providers/Microsoft.Automation/deletedAutomationAccounts/myAutomationAccount", + "name": "myAutomationAccount", + "type": "Microsoft.Automation/deletedAutomationAccounts", + "location": "westus", + "properties": { + "automationAccountResourceId": "/subscriptions/subid/resourceGroups/msitest/providers/Microsoft.Automation/automationAccounts/myAutomationAccount", + "automationAccountId": "cb855f13-0223-4fe4-8260-9e6583dfef24", + "location": "westus", + "deletionTime": "2018-04-24T16:30:55+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfiguration.json new file mode 100644 index 000000000000..5598e988dbeb --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfiguration.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "configurationName": "TemplateBasic", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/TemplateBasic", + "name": "TemplateBasic", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "location": "East US 2", + "tags": {}, + "etag": "\"636263396635600000\"", + "properties": { + "provisioningState": null, + "jobCount": 0, + "parameters": {}, + "description": "sample configuration", + "state": "Published", + "creationTime": "2017-03-28T23:14:23.56+00:00", + "lastModifiedTime": "2017-03-28T23:14:23.56+00:00", + "logVerbose": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfigurationContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfigurationContent.json new file mode 100644 index 000000000000..28374ead2194 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscConfigurationContent.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "configurationName": "ConfigName", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": { + "Content-Type": "text/powershell" + }, + "body": "Configuration ConfigName {\r\n Node localhost {\r\n WindowsFeature IIS {\r\n Name = \"Web-Server\";\r\n Ensure = \"Present\"\r\n }\r\n }\r\n}" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNode.json new file mode 100644 index 000000000000..6fdc98bf32d0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNode.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId", + "name": "DSCCOMP", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "nodeId", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeConfiguration.json new file mode 100644 index 000000000000..dc3e52c6f3f0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeConfiguration.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeConfigurationName": "SetupServer.localhost", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SetupServer.localhost", + "properties": { + "configuration": { + "name": "SetupServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "source": null, + "nodeCount": 0, + "incrementNodeConfigurationBuild": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReport.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReport.json new file mode 100644 index 000000000000..9219429d0fd7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReport.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/903a5ead-140c-11e7-a943-000d3a6140c9", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:16:27.587+00:00", + "endTime": "2017-03-28T23:16:27.587+00:00", + "lastModifiedTime": "2017-03-28T23:16:29.4440401+00:00", + "status": "Compliant", + "refreshMode": "Pull", + "rebootRequested": "False", + "reportFormatVersion": "2.0", + "configurationVersion": "2.0.0", + "errors": [], + "resources": [ + { + "resourceId": "[WindowsFeature]IIS", + "sourceInfo": "::4::32::WindowsFeature", + "dependsOn": [], + "moduleName": "PsDesiredStateConfiguration", + "moduleVersion": "1.1", + "resourceName": "WindowsFeature", + "error": null, + "status": "Compliant", + "durationInSeconds": 0.25, + "startDate": "2017-03-28T23:16:28.181+00:00" + } + ], + "metaConfiguration": { + "configurationModeFrequencyMins": 15, + "rebootNodeIfNeeded": false, + "configurationMode": "ApplyAndMonitor", + "actionAfterReboot": "ContinueConfiguration", + "certificateId": "certId", + "refreshFrequencyMins": 30, + "allowModuleOverwrite": false + }, + "hostName": "DSCCOMP", + "iPV4Addresses": [ + "172.16.2.5", + "127.0.0.1" + ], + "iPV6Addresses": [ + "fe80::4c51:9518:aa3c:256a%5", + "::2000:0:0:0", + "::1", + "::2000:0:0:0", + "2001:0:9d38:78cf:106b:130a:53ef:fdfa", + "fe80::106b:130a:53ef:fdfa%7" + ], + "numberOfResources": 1, + "rawErrors": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReportContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReportContent.json new file mode 100644 index 000000000000..359ba683b7d0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getDscNodeReportContent.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "api-version": "2023-05-15-preview", + "reportId": "reportId" + }, + "responses": { + "200": { + "headers": { + "content-type": "text/plain" + }, + "body": {} + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorker.json new file mode 100644 index 000000000000..62c0485ef855 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorker.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "location": "East US 2", + "name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.0", + "registeredDateTime": "2018-04-24T16:30:55+00:00", + "lastSeenDateTime": "2018-04-24T16:30:55+00:00", + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", + "workerName": "vmname", + "workerType": "HybridV2" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..a58288d4f90e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getHybridRunbookWorkerGroup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", + "location": "East US 2", + "name": "TestHybridGroup", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups", + "properties": { + "groupType": "User", + "credential": { + "name": "myRunAsCredentialName" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getJobSchedule.json new file mode 100644 index 000000000000..035ab8ad951e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getJobSchedule.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "properties": { + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "runbook": { + "name": "TestRunbook" + }, + "schedule": { + "name": "ScheduleNameGoesHere332204b5-debe-4348-a5c7-6357457189f2" + }, + "runOn": null, + "parameters": { + "jobscheduletag01": "jobschedulevalue01", + "jobscheduletag02": "jobschedulevalue02" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getLinkedWorkspace.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getLinkedWorkspace.json new file mode 100644 index 000000000000..c0e4f5e7cc31 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getLinkedWorkspace.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContosoAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/ContosoWorkspace" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getModule.json new file mode 100644 index 000000000000..712d254116dc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getModule.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "moduleName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": "" + }, + "provisioningState": "Creating", + "isComposite": true + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedDscConfigurationsWithNoFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedDscConfigurationsWithNoFilter.json new file mode 100644 index 000000000000..10601c362e08 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedDscConfigurationsWithNoFilter.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 3, + "$inlinecount": "allpages" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerBig", + "location": "East US 2", + "name": "SqlServerBig", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00", + "nodeConfigurationCount": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerLittle", + "location": "East US 2", + "name": "SqlServerLittle", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00", + "nodeConfigurationCount": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer", + "location": "East US 2", + "name": "SetupServer", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00", + "nodeConfigurationCount": 1 + } + } + ], + "totalCount": 12 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedlDscConfigurationsWithNameFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedlDscConfigurationsWithNameFilter.json new file mode 100644 index 000000000000..38be89ef0b5e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPagedlDscConfigurationsWithNameFilter.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 2, + "$inlinecount": "allpages", + "$filter": "contains(name,'server')" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerBig", + "location": "East US 2", + "name": "SqlServerBig", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00", + "nodeConfigurationCount": 1 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerLittle", + "location": "East US 2", + "name": "SqlServerLittle", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "properties": { + "state": "Published", + "creationTime": "2017-03-28T18:53:24.997+00:00", + "lastModifiedTime": "2017-03-28T18:53:24.997+00:00", + "nodeConfigurationCount": 1 + } + } + ], + "totalCount": 4 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython2Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython2Package.json new file mode 100644 index 000000000000..8aeaf23cc299 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython2Package.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Python2Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": "" + }, + "provisioningState": "Creating", + "isComposite": true + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython3Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython3Package.json new file mode 100644 index 000000000000..4ba390214528 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getPython3Package.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Python3Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": "" + }, + "provisioningState": "Creating", + "isComposite": true + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getSchedule.json new file mode 100644 index 000000000000..e43cca64c8cf --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getSchedule.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "scheduleName": "mySchedule", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T16:59:22.697+00:00", + "timeZone": "UTC" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getStatisticsOfAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getStatisticsOfAutomationAccount.json new file mode 100644 index 000000000000..fdbc4dbc21ce --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getStatisticsOfAutomationAccount.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount11", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/New", + "counterProperty": "New", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Activating", + "counterProperty": "Activating", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Running", + "counterProperty": "Running", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Completed", + "counterProperty": "Completed", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Failed", + "counterProperty": "Failed", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Stopped", + "counterProperty": "Stopped", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Blocked", + "counterProperty": "Blocked", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Suspended", + "counterProperty": "Suspended", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Disconnected", + "counterProperty": "Disconnected", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Suspending", + "counterProperty": "Suspending", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Stopping", + "counterProperty": "Stopping", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Resuming", + "counterProperty": "Resuming", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11/statistics/Removing", + "counterProperty": "Removing", + "counterValue": 0, + "startTime": "2017-03-19T02:11:49.9879197+00:00", + "endTime": "2017-03-26T02:11:49.9879197+00:00" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getUsagesOfAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getUsagesOfAutomationAccount.json new file mode 100644 index 000000000000..97ef16af8974 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getUsagesOfAutomationAccount.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount11", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": { + "value": "AccountUsage", + "localizedValue": "AccountUsage" + }, + "unit": "Minute", + "currentValue": 0.0, + "limit": 500, + "throttleStatus": "NotThrottled" + }, + { + "name": { + "value": "SubscriptionUsage", + "localizedValue": "SubscriptionUsage" + }, + "unit": "Minute", + "currentValue": 429.0, + "limit": 500, + "throttleStatus": "NotThrottled" + }, + { + "name": { + "value": "DscSubscriptionUsage", + "localizedValue": "DscSubscriptionUsage" + }, + "unit": "Count", + "currentValue": 8.0, + "limit": 5, + "throttleStatus": "ThrottledAtSubscriptionLevel" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getVariable.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getVariable.json new file mode 100644 index 000000000000..03a173b5723a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getVariable.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "variableName": "sampleVariable", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "isEncrypted": false, + "value": "\"ComputerName.domain.com\"", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWatcher.json new file mode 100644 index 000000000000..be67822e3da7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWatcher.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher", + "name": "MyTestWatcher", + "type": null, + "location": null, + "tags": {}, + "etag": null, + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcherRunbook", + "scriptParameters": {}, + "description": "", + "status": "Running", + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2017-11-30T18:50:17.163+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2017-11-30T18:50:17.163+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWebhook.json new file mode 100644 index 000000000000..f1af18a3b810 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/getWebhook.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "webhookName": "TestWebhook", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook", + "name": "TestWebhook", + "properties": { + "isEnabled": true, + "expiryTime": "2018-03-29T22:18:13.7002872+00:00", + "runbook": { + "name": "TestRunbook" + }, + "lastInvokedTime": null, + "runOn": null, + "parameters": null, + "uri": "", + "creationTime": "2017-03-29T22:18:14.6651862+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-03-29T22:18:14.6651862+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/createJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/createJob.json new file mode 100644 index 000000000000..ae8a7948df0e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/createJob.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "runbook": { + "name": "TestRunbook" + }, + "parameters": { + "key01": "value01", + "key02": "value02" + }, + "runOn": "" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName", + "name": "foo", + "type": "Microsoft.Automation/AutomationAccounts/Jobs", + "properties": { + "jobId": "5b8a3960-e8ab-45f6-bec6-567df8467d1a", + "runbook": { + "name": "TestRunbook" + }, + "provisioningState": "Processing", + "creationTime": "2018-02-01T05:53:30.243+00:00", + "endTime": null, + "exception": null, + "lastModifiedTime": "2018-02-01T05:53:30.243+00:00", + "lastStatusModifiedTime": "2018-02-01T05:53:30.243+00:00", + "startTime": null, + "status": "New", + "statusDetails": "None", + "parameters": { + "tag01": "value01", + "tag02": "value02" + }, + "runOn": "", + "jobRuntimeEnvironment": { + "runtimeEnvironmentName": "environmentName" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJob.json new file mode 100644 index 000000000000..ad2354ccdc81 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJob.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName", + "name": "foo", + "type": "Microsoft.Automation/AutomationAccounts/Jobs", + "properties": { + "jobId": "5b8a3960-e8ab-45f6-bec6-567df8467d1a", + "runbook": { + "name": "TestRunbook" + }, + "provisioningState": "Processing", + "creationTime": "2018-02-01T05:53:30.243+00:00", + "endTime": null, + "exception": null, + "lastModifiedTime": "2018-02-01T05:53:30.243+00:00", + "lastStatusModifiedTime": "2018-02-01T05:53:30.243+00:00", + "startTime": null, + "status": "New", + "statusDetails": "None", + "parameters": { + "tag01": "value01", + "tag02": "value02" + }, + "runOn": "", + "jobRuntimeEnvironment": { + "runtimeEnvironmentName": "environmentName" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobOutput.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobOutput.json new file mode 100644 index 000000000000..1ea8dd49d965 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobOutput.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": { + "Content-Type": "text/plain" + }, + "body": "Wednesday, February 7, 2018 3:47:17 PM" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobRunbookContent.json new file mode 100644 index 000000000000..2fa599a93aa5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobRunbookContent.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": { + "Content-Type": "text/powershell" + }, + "body": "get-date" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobStream.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobStream.json new file mode 100644 index 000000000000..51b218b36bb0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/getJobStream.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "jobStreamId": "851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001", + "properties": { + "jobStreamId": "851b2101-686f-40e2-8a4b-5b8df08afbd1:00636535684910693884:00000000000000000001", + "summary": null, + "time": "2018-02-07T02:48:11.0693884+00:00", + "streamType": "Output", + "streamText": "", + "value": {} + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobStreamsByJob.json new file mode 100644 index 000000000000..2306fd39a25b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobStreamsByJob.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001", + "properties": { + "jobStreamId": "24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001", + "summary": null, + "time": "2018-02-07T02:33:18.1232703+00:00", + "streamType": "Output" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002", + "properties": { + "jobStreamId": "24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002", + "summary": null, + "time": "2018-02-07T02:33:18.469135+00:00", + "streamType": "Output" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobsByAutomationAccount.json new file mode 100644 index 000000000000..bc7f8b8b6d23 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/listJobsByAutomationAccount.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContosoAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContosoAutomationAccount/jobs/job1", + "name": "job1", + "type": "Microsoft.Automation/AutomationAccounts/Jobs", + "properties": { + "jobId": "45203a94-a8cb-47c3-8ce4-4dcc3a5f7d23", + "runbook": { + "name": "TestRunbook" + }, + "provisioningState": "Succeeded", + "status": "New", + "creationTime": "2017-03-30T05:53:30.243+00:00", + "startTime": null, + "lastModifiedTime": "2017-03-30T05:53:30.243+00:00", + "endTime": null, + "jobRuntimeEnvironment": { + "runtimeEnvironmentName": "environmentName" + } + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContosoAutomationAccount/jobs/job2", + "name": "job2", + "type": "Microsoft.Automation/AutomationAccounts/Jobs", + "properties": { + "jobId": "7584055f-5118-460a-a2dd-5176c9c8efe9", + "runbook": { + "name": "TestRunbook" + }, + "provisioningState": "Succeeded", + "status": "Completed", + "creationTime": "2017-03-30T05:46:49.37+00:00", + "startTime": "2017-03-30T05:47:35.2+00:00", + "lastModifiedTime": "2017-03-30T05:48:38.857+00:00", + "endTime": "2017-03-30T05:48:38.857+00:00", + "jobRuntimeEnvironment": { + "runtimeEnvironmentName": "environmentName" + } + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/resumeJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/resumeJob.json new file mode 100644 index 000000000000..fecff46bbfcc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/resumeJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/stopJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/stopJob.json new file mode 100644 index 000000000000..fecff46bbfcc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/stopJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/suspendJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/suspendJob.json new file mode 100644 index 000000000000..fecff46bbfcc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/job/suspendJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "jobName": "foo", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listActivitiesByModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listActivitiesByModule.json new file mode 100644 index 000000000000..eb53082c25c5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listActivitiesByModule.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "moduleName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Add-AzureRmAccount", + "name": "Add-AzureRmAccount", + "properties": { + "definition": "", + "description": "The Add-AzureRmAcccount cmdlet adds an authenticated Azure account to use for Azure Resource Manager cmdlet requests.\n\nYou can use this authenticated account only with Azure Resource Manager cmdlets. To add an authenticated account for use with Service Management cmdlets, use the Add-AzureAccount or the Import-AzurePublishSettingsFile cmdlet.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Add-AzureRmEnvironment", + "name": "Add-AzureRmEnvironment", + "properties": { + "definition": "", + "description": "The Add-AzureRmEnvironment cmdlet adds endpoints and metadata to enable Azure Resource Manager cmdlets to connect with a new instance of Azure Resource Manager. The built-in environments AzureCloud and AzureChinaCloud target existing public instances of Azure Resource Manager.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Disable-AzureRmDataCollection", + "name": "Disable-AzureRmDataCollection", + "properties": { + "definition": "", + "description": "", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.713+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Enable-AzureRmDataCollection", + "name": "Enable-AzureRmDataCollection", + "properties": { + "definition": "", + "description": "", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.713+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Get-AzureRmContext", + "name": "Get-AzureRmContext", + "properties": { + "definition": "", + "description": "The Get-AzureRmContext cmdlet gets the current metadata used to authenticate Azure Resource Manager requests.\n\nThis cmdlet gets the Active Directory account, Active Directory tenant, Azure subscription, and the targeted Azure environment. Azure Resource Manager cmdlets use these settings by default when making Azure Resource Manager requests.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.713+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.713+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Get-AzureRmEnvironment", + "name": "Get-AzureRmEnvironment", + "properties": { + "definition": "", + "description": "The Get-AzureRmEnvironment cmdlet gets endpoints and metadata for an instance of Azure services.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Get-AzureRmSubscription", + "name": "Get-AzureRmSubscription", + "properties": { + "definition": "", + "description": "The Get-AzureRmSubscription cmdlet gets the subscription ID, subscription name, and home tenant for subscriptions that the current account can access.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Get-AzureRmTenant", + "name": "Get-AzureRmTenant", + "properties": { + "definition": "", + "description": "The Get-AzureRmTenant cmdlet gets tenants authorized for the current user.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Remove-AzureRmEnvironment", + "name": "Remove-AzureRmEnvironment", + "properties": { + "definition": "", + "description": "The Remove-AzureRmEnvironment cmdlet removes endpoints and metadata information for connecting to a given Azure instance.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Save-AzureRmProfile", + "name": "Save-AzureRmProfile", + "properties": { + "definition": "", + "description": "The Save-AzureRmProfile cmdlet saves the current authentication information for use in other PowerShell sessions.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Select-AzureRmProfile", + "name": "Select-AzureRmProfile", + "properties": { + "definition": "", + "description": "The Select-AzureRmProfile cmdlet loads authentication information from a file to set the Azure environment and context. Cmdlets that you run in the current session use this information to authenticate requests to Azure Resource Manager.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Set-AzureRmContext", + "name": "Set-AzureRmContext", + "properties": { + "definition": "", + "description": "The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile/activities/Set-AzureRmEnvironment", + "name": "Set-AzureRmEnvironment", + "properties": { + "definition": "", + "description": "The Set-AzureRMEnvironment cmdlet sets endpoints and metadata for connecting to an instance of Azure.", + "parameterSets": null, + "outputTypes": null, + "creationTime": "2017-03-17T17:05:21.697+00:00", + "lastModifiedTime": "2017-03-17T17:05:21.697+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllDscNodesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllDscNodesByAutomationAccount.json new file mode 100644 index 000000000000..4e1266a35f99 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllDscNodesByAutomationAccount.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId", + "name": "DSCCOMP", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "nodeId", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId2", + "name": "DSCCOMP2", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "nodeId2", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllJobSchedulesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllJobSchedulesByAutomationAccount.json new file mode 100644 index 000000000000..b9d373a64ba3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAllJobSchedulesByAutomationAccount.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/2f4d8f35-ecd5-44ee-a019-2382fec58fb7", + "properties": { + "jobScheduleId": "2f4d8f35-ecd5-44ee-a019-2382fec58fb7", + "runbook": { + "name": "TestRunbook" + }, + "schedule": { + "name": "JobScheduleforTestRunbook" + }, + "runOn": null, + "parameters": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/446f7a33-86ff-45a1-b71c-f998f701b443", + "properties": { + "jobScheduleId": "446f7a33-86ff-45a1-b71c-f998f701b443", + "runbook": { + "name": "TestRunbook" + }, + "schedule": { + "name": "TestSchedule" + }, + "runOn": null, + "parameters": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "properties": { + "jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc", + "runbook": { + "name": "TestRunbook" + }, + "schedule": { + "name": "ScheduleNameGoesHere332204b5-debe-4348-a5c7-6357457189f2" + }, + "runOn": null, + "parameters": null + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountDeletedRunbooks.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountDeletedRunbooks.json new file mode 100644 index 000000000000..5ef8224f1d3d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountDeletedRunbooks.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/runbooks/myrunbook1", + "location": "East US 2", + "name": "myrunbook1", + "properties": { + "runbookId": "cb855f13-0223-4fe4-8260-9e6583dfef24", + "runbookType": "PowerShell", + "creationTime": "2023-03-28T21:32:25.78+00:00", + "deletionTime": "2023-03-30T21:32:25.81+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/runbooks/myrunbook2", + "location": "East US 2", + "name": "myrunbook2", + "properties": { + "runbookId": "cb855f13-0223-4fe4-8260-9e6583dfef24", + "runbookType": "PowerShell", + "runtime": "PowerShell-7.2", + "creationTime": "2023-03-28T21:32:25.78+00:00", + "deletionTime": "2023-03-30T21:32:25.81+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/runbooks/myrunbook3", + "location": "East US 2", + "name": "myrunbook3", + "properties": { + "runbookId": "cb855f13-0223-4fe4-8260-9e6583dfef24", + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "creationTime": "2023-03-28T21:32:25.78+00:00", + "deletionTime": "2023-03-30T21:32:25.81+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountKeys.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountKeys.json new file mode 100644 index 000000000000..49be64dbe122 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountKeys.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "keys": [ + { + "KeyName": "Primary", + "Permissions": "Full", + "Value": "**************************************************************" + }, + { + "KeyName": "Secondary", + "Permissions": "Full", + "Value": "**************************************************************" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsByResourceGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsByResourceGroup.json new file mode 100644 index 000000000000..c32d551abf03 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsByResourceGroup.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myaccount", + "location": "eastus2", + "name": "myaccount", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-24T00:47:04.227+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAccount123", + "location": "eastus2", + "name": "myAccount123", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-29T00:32:32.52+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAccountasfads", + "location": "East US 2", + "name": "myAccountasfads", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:21:03.27+00:00", + "lastModifiedTime": "2017-03-24T23:21:03.27+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount1", + "location": "East US 2", + "name": "myAutomationAccount1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:22:33.26+00:00", + "lastModifiedTime": "2017-03-24T23:22:33.26+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11", + "location": "East US 2", + "name": "myAutomationAccount11", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-26T02:10:24.523+00:00", + "lastModifiedTime": "2017-03-26T02:11:12.027+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount2", + "location": "East US 2", + "name": "myAutomationAccount2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:24:20.31+00:00", + "lastModifiedTime": "2017-03-24T23:24:20.31+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount3", + "location": "East US 2", + "name": "myAutomationAccount3", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:24:43.967+00:00", + "lastModifiedTime": "2017-03-24T23:24:43.967+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount4", + "location": "East US 2", + "name": "myAutomationAccount4", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:04:56.9+00:00", + "lastModifiedTime": "2017-03-25T02:04:56.9+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount6", + "location": "East US 2", + "name": "myAutomationAccount6", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:10:44.567+00:00", + "lastModifiedTime": "2017-03-25T02:10:44.567+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount7", + "location": "East US 2", + "name": "myAutomationAccount7", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:19:17.943+00:00", + "lastModifiedTime": "2017-03-25T02:19:17.943+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "state": "Ok" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsBySubscription.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsBySubscription.json new file mode 100644 index 000000000000..4c2a93a8c729 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listAutomationAccountsBySubscription.json @@ -0,0 +1,685 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/JPEDeploy1/providers/Microsoft.Automation/automationAccounts/JPEDDeployDSC1", + "location": "japaneast", + "name": "JPEDDeployDSC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-28T23:48:25.143+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.06+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/jpeDemo1/providers/Microsoft.Automation/automationAccounts/jpeDemoAutomation1", + "location": "japaneast", + "name": "jpeDemoAutomation1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-25T02:04:10.223+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.06+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/ASERG1/providers/Microsoft.Automation/automationAccounts/ASEAutomationAccount1", + "location": "australiasoutheast", + "name": "ASEAutomationAccount1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-04-12T05:19:19.48+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.64+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/eus2Demo1/providers/Microsoft.Automation/automationAccounts/AAEU2DSCDemo", + "location": "East US 2", + "name": "AAEU2DSCDemo", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-08-04T14:44:02.397+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/eus2Demo1/providers/Microsoft.Automation/automationAccounts/AAEU2DSCDemo2", + "location": "East US 2", + "name": "AAEU2DSCDemo2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-08-04T15:03:45.977+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/aadscdemo1/providers/Microsoft.Automation/automationAccounts/AAsnoverDemo1", + "location": "East US 2", + "name": "AAsnoverDemo1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-01-29T02:29:13.18+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/oaastest/providers/Microsoft.Automation/automationAccounts/automationaccdelete", + "location": "eastus2", + "name": "automationaccdelete", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-03-29T20:30:49.97+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/aadscdemo2/providers/Microsoft.Automation/automationAccounts/mytest1212", + "location": "eastus2", + "name": "mytest1212", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-12-12T20:25:36.34+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/CIDRG/providers/Microsoft.Automation/automationAccounts/deleteacc", + "location": "eastus2", + "name": "deleteacc", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-12T22:13:39.79+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Automation/automationAccounts/deleteme", + "location": "eastus2", + "name": "deleteme", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-12T21:56:10.267+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/tst/providers/Microsoft.Automation/automationAccounts/deleteme3", + "location": "eastus2", + "name": "deleteme3", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-12T22:00:51.333+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/OaaSCSXASVNLMD6CUTP2UKUNHMCSLLJRVOSRAS2HOBKX4B3A3UBNLZWZEA-East-US/providers/Microsoft.Automation/automationAccounts/Eus2Account1", + "location": "East US 2", + "name": "Eus2Account1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-05-19T19:07:43.2+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/EUS2Deploy1/providers/Microsoft.Automation/automationAccounts/EUS2DDeployDSC1", + "location": "eastus2", + "name": "EUS2DDeployDSC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-28T23:50:56.16+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/OaaSCSXASVNLMD6CUTP2UKUNHMCSLLJRVOSRAS2HOBKX4B3A3UBNLZWZEA-East-US/providers/Microsoft.Automation/automationAccounts/eusAccount2", + "location": "eastus2", + "name": "eusAccount2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-05-19T19:12:19.853+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/myProdAutomation1", + "location": "eastus2", + "name": "myProdAutomation1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-02-16T21:31:06.333+00:00", + "lastModifiedTime": "2017-02-16T21:31:06.333+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/myProdDevAutomation", + "location": "eastus2", + "name": "myProdDevAutomation", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-10-27T21:11:16.71+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/myProdPublicAutomation", + "location": "eastus2", + "name": "myProdPublicAutomation", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-11-18T19:49:08.893+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myTestaccount", + "location": "eastus2", + "name": "myTestaccount", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-24T00:47:04.227+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/kjohn-sandbox-eus", + "location": "eastus2", + "name": "kjohn-sandbox-eus", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-19T17:29:18.493+00:00", + "lastModifiedTime": "2017-03-19T17:29:18.493+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/kjohn-sandbox-eus-proddev", + "location": "eastus2", + "name": "kjohn-sandbox-eus-proddev", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-06T02:33:10.29+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/kjohn-rg/providers/Microsoft.Automation/automationAccounts/kjohn-sandbox-eus-prodtest", + "location": "eastus2", + "name": "kjohn-sandbox-eus-prodtest", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-10T23:40:13.103+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/kjohn-rg/providers/Microsoft.Automation/automationAccounts/kjohn-sandbox-eus-prodtest2", + "location": "eastus2", + "name": "kjohn-sandbox-eus-prodtest2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-11T00:20:50.463+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/LinuxPatchingOpsEUS-AA2", + "location": "eastus2", + "name": "LinuxPatchingOpsEUS-AA2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-24T03:17:00.043+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/LinuxTestNewAA", + "location": "eastus2", + "name": "LinuxTestNewAA", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-23T18:50:54.887+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/OaasCSsubid-east-us/providers/Microsoft.Automation/automationAccounts/psrdfeAccount2", + "location": "East US 2", + "name": "psrdfeAccount2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-05-05T00:26:49.02+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/myrg/providers/Microsoft.Automation/automationAccounts/my-account-one", + "location": "eastus2", + "name": "my-account-one", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-10-27T17:54:31.007+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/myku-no-vms", + "location": "eastus2", + "name": "myku-no-vms", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-30T01:12:00.853+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/myku-win-vms", + "location": "eastus2", + "name": "myku-win-vms", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-30T01:17:07.613+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/aadscdemo2/providers/Microsoft.Automation/automationAccounts/SVCPrnAcctTest1", + "location": "eastus2", + "name": "SVCPrnAcctTest1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-03-28T20:12:48.163+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/tesdbgfvfhgjghjgh/providers/Microsoft.Automation/automationAccounts/testfgbhfghfgh", + "location": "eastus2", + "name": "testfgbhfghfgh", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-12-12T20:48:59.3+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/test-linux-linuxopsworkspace", + "location": "eastus2", + "name": "test-linux-linuxopsworkspace", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-23T18:59:56.99+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-dev/providers/Microsoft.Automation/automationAccounts/my-dsc-test-1", + "location": "eastus2", + "name": "my-dsc-test-1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-11-10T00:21:05.133+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-dev/providers/Microsoft.Automation/automationAccounts/my-test-automation-1", + "location": "eastus2", + "name": "my-test-automation-1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-11-09T19:57:50.043+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/myresourcegroupeus/providers/Microsoft.Automation/automationAccounts/myAccount", + "location": "eastus2", + "name": "myAccount", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-10T19:10:30.453+00:00", + "lastModifiedTime": "2017-03-10T19:10:30.453+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAccount123", + "location": "eastus2", + "name": "myAccount123", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-29T00:32:32.52+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAccountasfads", + "location": "East US 2", + "name": "myAccountasfads", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:21:03.27+00:00", + "lastModifiedTime": "2017-03-24T23:21:03.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/myResourceGroupEUS/providers/Microsoft.Automation/automationAccounts/myAccountEUS", + "location": "eastus2", + "name": "myAccountEUS", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-29T23:13:38.873+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.4+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount1", + "location": "East US 2", + "name": "myAutomationAccount1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:22:33.26+00:00", + "lastModifiedTime": "2017-03-24T23:22:33.26+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount11", + "location": "East US 2", + "name": "myAutomationAccount11", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-26T02:10:24.523+00:00", + "lastModifiedTime": "2017-03-26T02:11:12.027+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount2", + "location": "East US 2", + "name": "myAutomationAccount2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:24:20.31+00:00", + "lastModifiedTime": "2017-03-24T23:24:20.31+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount3", + "location": "East US 2", + "name": "myAutomationAccount3", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-24T23:24:43.967+00:00", + "lastModifiedTime": "2017-03-24T23:24:43.967+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount4", + "location": "East US 2", + "name": "myAutomationAccount4", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:04:56.9+00:00", + "lastModifiedTime": "2017-03-25T02:04:56.9+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount6", + "location": "East US 2", + "name": "myAutomationAccount6", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:10:44.567+00:00", + "lastModifiedTime": "2017-03-25T02:10:44.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount7", + "location": "East US 2", + "name": "myAutomationAccount7", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-25T02:19:17.943+00:00", + "lastModifiedTime": "2017-03-25T02:19:17.943+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/WEURG1/providers/Microsoft.Automation/automationAccounts/CSSCase1", + "location": "westeurope", + "name": "CSSCase1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-08-18T05:53:58.91+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/deleteme", + "location": "westeurope", + "name": "deleteme", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-01-12T21:48:47.98+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/mms-weu/providers/Microsoft.Automation/automationAccounts/LinuxPatchingOpsWEU-AA2", + "location": "westeurope", + "name": "LinuxPatchingOpsWEU-AA2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-24T02:27:35.713+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my-dev/providers/Microsoft.Automation/automationAccounts/LinuxPatchJobs", + "location": "westeurope", + "name": "LinuxPatchJobs", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-14T22:02:28.223+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/IgnniteRG/providers/Microsoft.Automation/automationAccounts/MyCoolAAC1", + "location": "westeurope", + "name": "MyCoolAAC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-22T05:59:22.443+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/IgnniteRG/providers/Microsoft.Automation/automationAccounts/MyCoolACT1", + "location": "westeurope", + "name": "MyCoolACT1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-22T06:05:18.5+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/OaaSCSXASVNLMD6CUTP2UKUNHMCSLLJRVOSRAS2HOBKX4B3A3UBNLZWZEA-West-Europe/providers/Microsoft.Automation/automationAccounts/MyTestmyTest-WEU", + "location": "West Europe", + "name": "MyTestmyTest-WEU", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2014-11-12T02:48:51.473+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.373+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/WEDeploy1/providers/Microsoft.Automation/automationAccounts/WEDDeployDSC1", + "location": "westeurope", + "name": "WEDDeployDSC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-28T23:20:01.73+00:00", + "lastModifiedTime": "2017-03-13T08:43:47.36+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/SEADeploy1/providers/Microsoft.Automation/automationAccounts/SEADDeployDSC1", + "location": "southeamyia", + "name": "SEADDeployDSC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-28T19:06:39.1+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.683+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/seaDemo1/providers/Microsoft.Automation/automationAccounts/seaDemoAutomation1", + "location": "southeamyia", + "name": "seaDemoAutomation1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-04-25T01:31:32.15+00:00", + "lastModifiedTime": "2017-02-09T21:35:16.683+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/aadscdemo1/providers/Microsoft.Automation/automationAccounts/AAsnoverDemo2", + "location": "South Central US", + "name": "AAsnoverDemo2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-01-29T02:30:05.84+00:00", + "lastModifiedTime": "2017-02-09T21:35:17.107+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/SCUSDeploy1/providers/Microsoft.Automation/automationAccounts/SCUSDDeployDSC1", + "location": "southcentralus", + "name": "SCUSDDeployDSC1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-06-04T23:06:44.897+00:00", + "lastModifiedTime": "2017-02-09T21:35:17.107+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/eus2Demo1/providers/Microsoft.Automation/automationAccounts/scusposthydtest1", + "location": "South Central US", + "name": "scusposthydtest1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-06-04T16:44:18.823+00:00", + "lastModifiedTime": "2017-02-09T21:35:17.107+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/OaaSCSXASVNLMD6CUTP2UKUNHMCSLLJRVOSRAS2HOBKX4B3A3UBNLZWZEA-South-Central-US/providers/Microsoft.Automation/automationAccounts/scustestaccount1", + "location": "South Central US", + "name": "scustestaccount1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2015-05-30T01:54:57.313+00:00", + "lastModifiedTime": "2017-02-09T21:35:17.107+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/UKSRG1/providers/Microsoft.Automation/automationAccounts/AAUKSmyTest1", + "location": "uksouth", + "name": "AAUKSmyTest1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-02-15T02:31:03.19+00:00", + "lastModifiedTime": "2017-02-15T02:31:03.19+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/Gaurav_machines/providers/Microsoft.Automation/automationAccounts/Tip-WCUS-AutomationAccount", + "location": "westcentralus", + "name": "Tip-WCUS-AutomationAccount", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-08T19:53:36.2933333+00:00", + "lastModifiedTime": "2017-03-08T19:53:36.2933333+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/myRG/providers/Microsoft.Automation/automationAccounts/aa-my", + "location": "northeurope", + "name": "aa-my", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-09-21T18:59:56.26+00:00", + "lastModifiedTime": "2017-02-09T21:35:15.457+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/CIDRG/providers/Microsoft.Automation/automationAccounts/CIDAccout1", + "location": "Central India", + "name": "CIDAccout1", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-02-24T20:04:58.867+00:00", + "lastModifiedTime": "2017-02-09T21:35:19.003+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/aaspntest", + "location": "northcentralus", + "name": "aaspntest", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-12-06T17:18:51.88+00:00", + "lastModifiedTime": "2017-02-09T21:35:19.37+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/dsccomposite", + "location": "northcentralus", + "name": "dsccomposite", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-02-13T17:37:55.163+00:00", + "lastModifiedTime": "2017-03-06T17:19:15.09+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/dsclinux", + "location": "northcentralus", + "name": "dsclinux", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2017-03-06T21:50:05.493+00:00", + "lastModifiedTime": "2017-03-06T21:50:05.493+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/mydsc", + "location": "northcentralus", + "name": "mydsc", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-11-01T17:28:36.197+00:00", + "lastModifiedTime": "2017-02-09T21:35:19.37+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/my/providers/Microsoft.Automation/automationAccounts/mydsc2", + "location": "northcentralus", + "name": "mydsc2", + "type": "Microsoft.Automation/AutomationAccounts", + "properties": { + "creationTime": "2016-11-01T18:50:06.063+00:00", + "lastModifiedTime": "2017-03-11T01:33:13.113+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCertificatesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCertificatesByAutomationAccount.json new file mode 100644 index 000000000000..0e4bdc9a6f9f --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCertificatesByAutomationAccount.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", + "name": "testCert", + "properties": { + "description": "Sample Cert", + "isExportable": false, + "thumbprint": "thumbprint of cert", + "expiryTime": "2018-03-29T17:25:45+00:00", + "creationTime": "2017-03-29T17:26:43.337+00:00", + "lastModifiedTime": "2017-03-29T17:28:55.01+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCompilationJobsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCompilationJobsByAutomationAccount.json new file mode 100644 index 000000000000..3cae39e36604 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCompilationJobsByAutomationAccount.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/CompilationConfiguration1", + "name": "CompilationConfiguration1", + "type": "Microsoft.Automation/AutomationAccounts/compilationjobs", + "properties": { + "jobId": "e6e7fbab-183c-405a-afe6-9eb5db97921a", + "configuration": { + "name": "TestDscConfiguration" + }, + "status": "Suspended", + "creationTime": "2017-11-17T19:45:24.59+00:00", + "startTime": "2017-11-17T19:45:52.9833333+00:00", + "lastModifiedTime": "2017-11-17T19:45:58.5933333+00:00", + "endTime": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/compilationjobs/CompilationConfiguration2", + "name": "CompilationConfiguration2", + "type": "Microsoft.Automation/AutomationAccounts/compilationjobs", + "properties": { + "jobId": "111d4e06-2d88-46b4-8500-7febd4906838", + "configuration": { + "name": "NewDscConfiguration" + }, + "status": "Completed", + "creationTime": "2017-12-05T21:29:07.74+00:00", + "startTime": "2017-12-05T21:30:26.48+00:00", + "lastModifiedTime": "2017-12-05T21:30:42.6+00:00", + "endTime": "2017-12-05T21:30:42.6+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_First100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_First100.json new file mode 100644 index 000000000000..fd6c57d58707 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_First100.json @@ -0,0 +1,1318 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection", + "name": "myConnection", + "properties": { + "creationTime": "2017-03-27T07:52:29.29+00:00", + "lastModifiedTime": "2017-03-27T07:52:33.617+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection0", + "name": "myConnection0", + "properties": { + "creationTime": "2017-03-27T07:52:36.493+00:00", + "lastModifiedTime": "2017-03-27T07:52:36.493+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection1", + "name": "myConnection1", + "properties": { + "creationTime": "2017-03-27T07:52:36.76+00:00", + "lastModifiedTime": "2017-03-27T07:52:36.76+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection10", + "name": "myConnection10", + "properties": { + "creationTime": "2017-03-27T07:52:39.117+00:00", + "lastModifiedTime": "2017-03-27T07:52:39.117+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection100", + "name": "myConnection100", + "properties": { + "creationTime": "2017-03-27T07:53:04.527+00:00", + "lastModifiedTime": "2017-03-27T07:53:04.527+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection101", + "name": "myConnection101", + "properties": { + "creationTime": "2017-03-27T07:53:04.777+00:00", + "lastModifiedTime": "2017-03-27T07:53:04.777+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection102", + "name": "myConnection102", + "properties": { + "creationTime": "2017-03-27T07:53:05.027+00:00", + "lastModifiedTime": "2017-03-27T07:53:05.027+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection103", + "name": "myConnection103", + "properties": { + "creationTime": "2017-03-27T07:53:05.277+00:00", + "lastModifiedTime": "2017-03-27T07:53:05.277+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection104", + "name": "myConnection104", + "properties": { + "creationTime": "2017-03-27T07:53:05.527+00:00", + "lastModifiedTime": "2017-03-27T07:53:05.527+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection105", + "name": "myConnection105", + "properties": { + "creationTime": "2017-03-27T07:53:05.82+00:00", + "lastModifiedTime": "2017-03-27T07:53:05.82+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection106", + "name": "myConnection106", + "properties": { + "creationTime": "2017-03-27T07:53:06.07+00:00", + "lastModifiedTime": "2017-03-27T07:53:06.07+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection107", + "name": "myConnection107", + "properties": { + "creationTime": "2017-03-27T07:53:06.37+00:00", + "lastModifiedTime": "2017-03-27T07:53:06.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection108", + "name": "myConnection108", + "properties": { + "creationTime": "2017-03-27T07:53:06.62+00:00", + "lastModifiedTime": "2017-03-27T07:53:06.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection109", + "name": "myConnection109", + "properties": { + "creationTime": "2017-03-27T07:53:06.87+00:00", + "lastModifiedTime": "2017-03-27T07:53:06.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection11", + "name": "myConnection11", + "properties": { + "creationTime": "2017-03-27T07:52:39.367+00:00", + "lastModifiedTime": "2017-03-27T07:52:39.367+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection110", + "name": "myConnection110", + "properties": { + "creationTime": "2017-03-27T07:53:07.167+00:00", + "lastModifiedTime": "2017-03-27T07:53:07.167+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection111", + "name": "myConnection111", + "properties": { + "creationTime": "2017-03-27T07:53:07.463+00:00", + "lastModifiedTime": "2017-03-27T07:53:07.463+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection112", + "name": "myConnection112", + "properties": { + "creationTime": "2017-03-27T07:53:07.73+00:00", + "lastModifiedTime": "2017-03-27T07:53:07.73+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection113", + "name": "myConnection113", + "properties": { + "creationTime": "2017-03-27T07:53:07.963+00:00", + "lastModifiedTime": "2017-03-27T07:53:07.963+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection114", + "name": "myConnection114", + "properties": { + "creationTime": "2017-03-27T07:53:08.213+00:00", + "lastModifiedTime": "2017-03-27T07:53:08.213+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection115", + "name": "myConnection115", + "properties": { + "creationTime": "2017-03-27T07:53:08.527+00:00", + "lastModifiedTime": "2017-03-27T07:53:08.527+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection116", + "name": "myConnection116", + "properties": { + "creationTime": "2017-03-27T07:53:08.76+00:00", + "lastModifiedTime": "2017-03-27T07:53:08.76+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection117", + "name": "myConnection117", + "properties": { + "creationTime": "2017-03-27T07:53:09.103+00:00", + "lastModifiedTime": "2017-03-27T07:53:09.103+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection118", + "name": "myConnection118", + "properties": { + "creationTime": "2017-03-27T07:53:09.37+00:00", + "lastModifiedTime": "2017-03-27T07:53:09.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection119", + "name": "myConnection119", + "properties": { + "creationTime": "2017-03-27T07:53:09.65+00:00", + "lastModifiedTime": "2017-03-27T07:53:09.65+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection12", + "name": "myConnection12", + "properties": { + "creationTime": "2017-03-27T07:52:39.617+00:00", + "lastModifiedTime": "2017-03-27T07:52:39.617+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection120", + "name": "myConnection120", + "properties": { + "creationTime": "2017-03-27T07:53:09.883+00:00", + "lastModifiedTime": "2017-03-27T07:53:09.883+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection121", + "name": "myConnection121", + "properties": { + "creationTime": "2017-03-27T07:53:10.167+00:00", + "lastModifiedTime": "2017-03-27T07:53:10.167+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection122", + "name": "myConnection122", + "properties": { + "creationTime": "2017-03-27T07:53:10.43+00:00", + "lastModifiedTime": "2017-03-27T07:53:10.43+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection123", + "name": "myConnection123", + "properties": { + "creationTime": "2017-03-27T07:53:10.68+00:00", + "lastModifiedTime": "2017-03-27T07:53:10.68+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection124", + "name": "myConnection124", + "properties": { + "creationTime": "2017-03-27T07:53:10.93+00:00", + "lastModifiedTime": "2017-03-27T07:53:10.93+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection125", + "name": "myConnection125", + "properties": { + "creationTime": "2017-03-27T07:53:11.18+00:00", + "lastModifiedTime": "2017-03-27T07:53:11.18+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection126", + "name": "myConnection126", + "properties": { + "creationTime": "2017-03-27T07:53:11.43+00:00", + "lastModifiedTime": "2017-03-27T07:53:11.43+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection127", + "name": "myConnection127", + "properties": { + "creationTime": "2017-03-27T07:53:11.667+00:00", + "lastModifiedTime": "2017-03-27T07:53:11.667+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection128", + "name": "myConnection128", + "properties": { + "creationTime": "2017-03-27T07:53:11.917+00:00", + "lastModifiedTime": "2017-03-27T07:53:11.917+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection129", + "name": "myConnection129", + "properties": { + "creationTime": "2017-03-27T07:53:12.18+00:00", + "lastModifiedTime": "2017-03-27T07:53:12.18+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection13", + "name": "myConnection13", + "properties": { + "creationTime": "2017-03-27T07:52:39.883+00:00", + "lastModifiedTime": "2017-03-27T07:52:39.883+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection130", + "name": "myConnection130", + "properties": { + "creationTime": "2017-03-27T07:53:12.43+00:00", + "lastModifiedTime": "2017-03-27T07:53:12.43+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection131", + "name": "myConnection131", + "properties": { + "creationTime": "2017-03-27T07:53:12.667+00:00", + "lastModifiedTime": "2017-03-27T07:53:12.667+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection132", + "name": "myConnection132", + "properties": { + "creationTime": "2017-03-27T07:53:12.917+00:00", + "lastModifiedTime": "2017-03-27T07:53:12.917+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection133", + "name": "myConnection133", + "properties": { + "creationTime": "2017-03-27T07:53:13.213+00:00", + "lastModifiedTime": "2017-03-27T07:53:13.213+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection134", + "name": "myConnection134", + "properties": { + "creationTime": "2017-03-27T07:53:13.463+00:00", + "lastModifiedTime": "2017-03-27T07:53:13.463+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection135", + "name": "myConnection135", + "properties": { + "creationTime": "2017-03-27T07:53:13.73+00:00", + "lastModifiedTime": "2017-03-27T07:53:13.73+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection136", + "name": "myConnection136", + "properties": { + "creationTime": "2017-03-27T07:53:14.01+00:00", + "lastModifiedTime": "2017-03-27T07:53:14.01+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection137", + "name": "myConnection137", + "properties": { + "creationTime": "2017-03-27T07:53:14.29+00:00", + "lastModifiedTime": "2017-03-27T07:53:14.29+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection138", + "name": "myConnection138", + "properties": { + "creationTime": "2017-03-27T07:53:14.54+00:00", + "lastModifiedTime": "2017-03-27T07:53:14.54+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection139", + "name": "myConnection139", + "properties": { + "creationTime": "2017-03-27T07:53:14.807+00:00", + "lastModifiedTime": "2017-03-27T07:53:14.807+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection14", + "name": "myConnection14", + "properties": { + "creationTime": "2017-03-27T07:52:40.133+00:00", + "lastModifiedTime": "2017-03-27T07:52:40.133+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection140", + "name": "myConnection140", + "properties": { + "creationTime": "2017-03-27T07:53:15.057+00:00", + "lastModifiedTime": "2017-03-27T07:53:15.057+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection141", + "name": "myConnection141", + "properties": { + "creationTime": "2017-03-27T07:53:15.307+00:00", + "lastModifiedTime": "2017-03-27T07:53:15.307+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection142", + "name": "myConnection142", + "properties": { + "creationTime": "2017-03-27T07:53:15.603+00:00", + "lastModifiedTime": "2017-03-27T07:53:15.603+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection143", + "name": "myConnection143", + "properties": { + "creationTime": "2017-03-27T07:53:15.853+00:00", + "lastModifiedTime": "2017-03-27T07:53:15.853+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection144", + "name": "myConnection144", + "properties": { + "creationTime": "2017-03-27T07:53:16.12+00:00", + "lastModifiedTime": "2017-03-27T07:53:16.12+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection145", + "name": "myConnection145", + "properties": { + "creationTime": "2017-03-27T07:53:16.37+00:00", + "lastModifiedTime": "2017-03-27T07:53:16.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection146", + "name": "myConnection146", + "properties": { + "creationTime": "2017-03-27T07:53:16.633+00:00", + "lastModifiedTime": "2017-03-27T07:53:16.633+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection147", + "name": "myConnection147", + "properties": { + "creationTime": "2017-03-27T07:53:16.9+00:00", + "lastModifiedTime": "2017-03-27T07:53:16.9+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection148", + "name": "myConnection148", + "properties": { + "creationTime": "2017-03-27T07:53:17.167+00:00", + "lastModifiedTime": "2017-03-27T07:53:17.167+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection149", + "name": "myConnection149", + "properties": { + "creationTime": "2017-03-27T07:53:17.43+00:00", + "lastModifiedTime": "2017-03-27T07:53:17.43+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection15", + "name": "myConnection15", + "properties": { + "creationTime": "2017-03-27T07:52:40.37+00:00", + "lastModifiedTime": "2017-03-27T07:52:40.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection150", + "name": "myConnection150", + "properties": { + "creationTime": "2017-03-27T07:53:17.68+00:00", + "lastModifiedTime": "2017-03-27T07:53:17.68+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection151", + "name": "myConnection151", + "properties": { + "creationTime": "2017-03-27T07:53:17.963+00:00", + "lastModifiedTime": "2017-03-27T07:53:17.963+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection152", + "name": "myConnection152", + "properties": { + "creationTime": "2017-03-27T07:53:18.527+00:00", + "lastModifiedTime": "2017-03-27T07:53:18.527+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection153", + "name": "myConnection153", + "properties": { + "creationTime": "2017-03-27T07:53:18.79+00:00", + "lastModifiedTime": "2017-03-27T07:53:18.79+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection154", + "name": "myConnection154", + "properties": { + "creationTime": "2017-03-27T07:53:19.073+00:00", + "lastModifiedTime": "2017-03-27T07:53:19.073+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection155", + "name": "myConnection155", + "properties": { + "creationTime": "2017-03-27T07:53:19.353+00:00", + "lastModifiedTime": "2017-03-27T07:53:19.353+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection156", + "name": "myConnection156", + "properties": { + "creationTime": "2017-03-27T07:53:19.68+00:00", + "lastModifiedTime": "2017-03-27T07:53:19.68+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection157", + "name": "myConnection157", + "properties": { + "creationTime": "2017-03-27T07:53:19.93+00:00", + "lastModifiedTime": "2017-03-27T07:53:19.93+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection158", + "name": "myConnection158", + "properties": { + "creationTime": "2017-03-27T07:53:20.243+00:00", + "lastModifiedTime": "2017-03-27T07:53:20.243+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection159", + "name": "myConnection159", + "properties": { + "creationTime": "2017-03-27T07:53:20.557+00:00", + "lastModifiedTime": "2017-03-27T07:53:20.557+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection16", + "name": "myConnection16", + "properties": { + "creationTime": "2017-03-27T07:52:40.62+00:00", + "lastModifiedTime": "2017-03-27T07:52:40.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection160", + "name": "myConnection160", + "properties": { + "creationTime": "2017-03-27T07:53:20.823+00:00", + "lastModifiedTime": "2017-03-27T07:53:20.823+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection161", + "name": "myConnection161", + "properties": { + "creationTime": "2017-03-27T07:53:21.15+00:00", + "lastModifiedTime": "2017-03-27T07:53:21.15+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection162", + "name": "myConnection162", + "properties": { + "creationTime": "2017-03-27T07:53:21.417+00:00", + "lastModifiedTime": "2017-03-27T07:53:21.417+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection163", + "name": "myConnection163", + "properties": { + "creationTime": "2017-03-27T07:53:21.65+00:00", + "lastModifiedTime": "2017-03-27T07:53:21.65+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection164", + "name": "myConnection164", + "properties": { + "creationTime": "2017-03-27T07:53:21.993+00:00", + "lastModifiedTime": "2017-03-27T07:53:21.993+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection165", + "name": "myConnection165", + "properties": { + "creationTime": "2017-03-27T07:53:22.323+00:00", + "lastModifiedTime": "2017-03-27T07:53:22.323+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection166", + "name": "myConnection166", + "properties": { + "creationTime": "2017-03-27T07:53:22.68+00:00", + "lastModifiedTime": "2017-03-27T07:53:22.68+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection167", + "name": "myConnection167", + "properties": { + "creationTime": "2017-03-27T07:53:23.057+00:00", + "lastModifiedTime": "2017-03-27T07:53:23.057+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection168", + "name": "myConnection168", + "properties": { + "creationTime": "2017-03-27T07:53:23.417+00:00", + "lastModifiedTime": "2017-03-27T07:53:23.417+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection169", + "name": "myConnection169", + "properties": { + "creationTime": "2017-03-27T07:53:23.697+00:00", + "lastModifiedTime": "2017-03-27T07:53:23.697+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection17", + "name": "myConnection17", + "properties": { + "creationTime": "2017-03-27T07:52:40.87+00:00", + "lastModifiedTime": "2017-03-27T07:52:40.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection170", + "name": "myConnection170", + "properties": { + "creationTime": "2017-03-27T07:53:23.963+00:00", + "lastModifiedTime": "2017-03-27T07:53:23.963+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection171", + "name": "myConnection171", + "properties": { + "creationTime": "2017-03-27T07:53:24.243+00:00", + "lastModifiedTime": "2017-03-27T07:53:24.243+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection172", + "name": "myConnection172", + "properties": { + "creationTime": "2017-03-27T07:53:24.51+00:00", + "lastModifiedTime": "2017-03-27T07:53:24.51+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection173", + "name": "myConnection173", + "properties": { + "creationTime": "2017-03-27T07:53:24.777+00:00", + "lastModifiedTime": "2017-03-27T07:53:24.777+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection174", + "name": "myConnection174", + "properties": { + "creationTime": "2017-03-27T07:53:25.057+00:00", + "lastModifiedTime": "2017-03-27T07:53:25.057+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection175", + "name": "myConnection175", + "properties": { + "creationTime": "2017-03-27T07:53:25.34+00:00", + "lastModifiedTime": "2017-03-27T07:53:25.34+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection18", + "name": "myConnection18", + "properties": { + "creationTime": "2017-03-27T07:52:41.197+00:00", + "lastModifiedTime": "2017-03-27T07:52:41.197+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection19", + "name": "myConnection19", + "properties": { + "creationTime": "2017-03-27T07:52:41.57+00:00", + "lastModifiedTime": "2017-03-27T07:52:41.57+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection2", + "name": "myConnection2", + "properties": { + "creationTime": "2017-03-27T07:52:37.01+00:00", + "lastModifiedTime": "2017-03-27T07:52:37.01+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection20", + "name": "myConnection20", + "properties": { + "creationTime": "2017-03-27T07:52:41.913+00:00", + "lastModifiedTime": "2017-03-27T07:52:41.913+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection21", + "name": "myConnection21", + "properties": { + "creationTime": "2017-03-27T07:52:42.273+00:00", + "lastModifiedTime": "2017-03-27T07:52:42.273+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection22", + "name": "myConnection22", + "properties": { + "creationTime": "2017-03-27T07:52:42.663+00:00", + "lastModifiedTime": "2017-03-27T07:52:42.663+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection23", + "name": "myConnection23", + "properties": { + "creationTime": "2017-03-27T07:52:42.993+00:00", + "lastModifiedTime": "2017-03-27T07:52:42.993+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection24", + "name": "myConnection24", + "properties": { + "creationTime": "2017-03-27T07:52:43.26+00:00", + "lastModifiedTime": "2017-03-27T07:52:43.26+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection25", + "name": "myConnection25", + "properties": { + "creationTime": "2017-03-27T07:52:43.587+00:00", + "lastModifiedTime": "2017-03-27T07:52:43.587+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection26", + "name": "myConnection26", + "properties": { + "creationTime": "2017-03-27T07:52:43.87+00:00", + "lastModifiedTime": "2017-03-27T07:52:43.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection27", + "name": "myConnection27", + "properties": { + "creationTime": "2017-03-27T07:52:44.227+00:00", + "lastModifiedTime": "2017-03-27T07:52:44.227+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection28", + "name": "myConnection28", + "properties": { + "creationTime": "2017-03-27T07:52:44.557+00:00", + "lastModifiedTime": "2017-03-27T07:52:44.557+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection29", + "name": "myConnection29", + "properties": { + "creationTime": "2017-03-27T07:52:44.807+00:00", + "lastModifiedTime": "2017-03-27T07:52:44.807+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections?api-version=2023-05-15-preview&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_Next100.json new file mode 100644 index 000000000000..df0b318b8724 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listConnectionsByAutomationAccount_Next100.json @@ -0,0 +1,1019 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "api-version": "2023-05-15-preview", + "$skip": 100 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection3", + "name": "myConnection3", + "properties": { + "creationTime": "2017-03-27T07:52:37.29+00:00", + "lastModifiedTime": "2017-03-27T07:52:37.29+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection30", + "name": "myConnection30", + "properties": { + "creationTime": "2017-03-27T07:52:45.04+00:00", + "lastModifiedTime": "2017-03-27T07:52:45.04+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection31", + "name": "myConnection31", + "properties": { + "creationTime": "2017-03-27T07:52:45.307+00:00", + "lastModifiedTime": "2017-03-27T07:52:45.307+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection32", + "name": "myConnection32", + "properties": { + "creationTime": "2017-03-27T07:52:45.557+00:00", + "lastModifiedTime": "2017-03-27T07:52:45.557+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection33", + "name": "myConnection33", + "properties": { + "creationTime": "2017-03-27T07:52:45.853+00:00", + "lastModifiedTime": "2017-03-27T07:52:45.853+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection34", + "name": "myConnection34", + "properties": { + "creationTime": "2017-03-27T07:52:46.087+00:00", + "lastModifiedTime": "2017-03-27T07:52:46.087+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection35", + "name": "myConnection35", + "properties": { + "creationTime": "2017-03-27T07:52:46.353+00:00", + "lastModifiedTime": "2017-03-27T07:52:46.353+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection36", + "name": "myConnection36", + "properties": { + "creationTime": "2017-03-27T07:52:46.603+00:00", + "lastModifiedTime": "2017-03-27T07:52:46.603+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection37", + "name": "myConnection37", + "properties": { + "creationTime": "2017-03-27T07:52:46.853+00:00", + "lastModifiedTime": "2017-03-27T07:52:46.853+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection38", + "name": "myConnection38", + "properties": { + "creationTime": "2017-03-27T07:52:47.103+00:00", + "lastModifiedTime": "2017-03-27T07:52:47.103+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection39", + "name": "myConnection39", + "properties": { + "creationTime": "2017-03-27T07:52:47.353+00:00", + "lastModifiedTime": "2017-03-27T07:52:47.353+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection4", + "name": "myConnection4", + "properties": { + "creationTime": "2017-03-27T07:52:37.54+00:00", + "lastModifiedTime": "2017-03-27T07:52:37.54+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection40", + "name": "myConnection40", + "properties": { + "creationTime": "2017-03-27T07:52:47.62+00:00", + "lastModifiedTime": "2017-03-27T07:52:47.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection41", + "name": "myConnection41", + "properties": { + "creationTime": "2017-03-27T07:52:47.883+00:00", + "lastModifiedTime": "2017-03-27T07:52:47.883+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection42", + "name": "myConnection42", + "properties": { + "creationTime": "2017-03-27T07:52:48.167+00:00", + "lastModifiedTime": "2017-03-27T07:52:48.167+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection43", + "name": "myConnection43", + "properties": { + "creationTime": "2017-03-27T07:52:48.43+00:00", + "lastModifiedTime": "2017-03-27T07:52:48.43+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection44", + "name": "myConnection44", + "properties": { + "creationTime": "2017-03-27T07:52:48.82+00:00", + "lastModifiedTime": "2017-03-27T07:52:48.82+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection45", + "name": "myConnection45", + "properties": { + "creationTime": "2017-03-27T07:52:49.18+00:00", + "lastModifiedTime": "2017-03-27T07:52:49.18+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection46", + "name": "myConnection46", + "properties": { + "creationTime": "2017-03-27T07:52:49.477+00:00", + "lastModifiedTime": "2017-03-27T07:52:49.477+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection47", + "name": "myConnection47", + "properties": { + "creationTime": "2017-03-27T07:52:49.773+00:00", + "lastModifiedTime": "2017-03-27T07:52:49.773+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection48", + "name": "myConnection48", + "properties": { + "creationTime": "2017-03-27T07:52:50.197+00:00", + "lastModifiedTime": "2017-03-27T07:52:50.197+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection49", + "name": "myConnection49", + "properties": { + "creationTime": "2017-03-27T07:52:50.603+00:00", + "lastModifiedTime": "2017-03-27T07:52:50.603+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection5", + "name": "myConnection5", + "properties": { + "creationTime": "2017-03-27T07:52:37.79+00:00", + "lastModifiedTime": "2017-03-27T07:52:37.79+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection50", + "name": "myConnection50", + "properties": { + "creationTime": "2017-03-27T07:52:50.837+00:00", + "lastModifiedTime": "2017-03-27T07:52:50.837+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection51", + "name": "myConnection51", + "properties": { + "creationTime": "2017-03-27T07:52:51.087+00:00", + "lastModifiedTime": "2017-03-27T07:52:51.087+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection52", + "name": "myConnection52", + "properties": { + "creationTime": "2017-03-27T07:52:51.337+00:00", + "lastModifiedTime": "2017-03-27T07:52:51.337+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection53", + "name": "myConnection53", + "properties": { + "creationTime": "2017-03-27T07:52:51.587+00:00", + "lastModifiedTime": "2017-03-27T07:52:51.587+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection54", + "name": "myConnection54", + "properties": { + "creationTime": "2017-03-27T07:52:51.87+00:00", + "lastModifiedTime": "2017-03-27T07:52:51.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection55", + "name": "myConnection55", + "properties": { + "creationTime": "2017-03-27T07:52:52.15+00:00", + "lastModifiedTime": "2017-03-27T07:52:52.15+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection56", + "name": "myConnection56", + "properties": { + "creationTime": "2017-03-27T07:52:52.4+00:00", + "lastModifiedTime": "2017-03-27T07:52:52.4+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection57", + "name": "myConnection57", + "properties": { + "creationTime": "2017-03-27T07:52:52.667+00:00", + "lastModifiedTime": "2017-03-27T07:52:52.667+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection58", + "name": "myConnection58", + "properties": { + "creationTime": "2017-03-27T07:52:52.917+00:00", + "lastModifiedTime": "2017-03-27T07:52:52.917+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection59", + "name": "myConnection59", + "properties": { + "creationTime": "2017-03-27T07:52:53.167+00:00", + "lastModifiedTime": "2017-03-27T07:52:53.167+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection6", + "name": "myConnection6", + "properties": { + "creationTime": "2017-03-27T07:52:38.103+00:00", + "lastModifiedTime": "2017-03-27T07:52:38.103+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection60", + "name": "myConnection60", + "properties": { + "creationTime": "2017-03-27T07:52:53.463+00:00", + "lastModifiedTime": "2017-03-27T07:52:53.463+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection61", + "name": "myConnection61", + "properties": { + "creationTime": "2017-03-27T07:52:53.727+00:00", + "lastModifiedTime": "2017-03-27T07:52:53.727+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection62", + "name": "myConnection62", + "properties": { + "creationTime": "2017-03-27T07:52:54.01+00:00", + "lastModifiedTime": "2017-03-27T07:52:54.01+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection63", + "name": "myConnection63", + "properties": { + "creationTime": "2017-03-27T07:52:54.273+00:00", + "lastModifiedTime": "2017-03-27T07:52:54.273+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection64", + "name": "myConnection64", + "properties": { + "creationTime": "2017-03-27T07:52:54.523+00:00", + "lastModifiedTime": "2017-03-27T07:52:54.523+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection65", + "name": "myConnection65", + "properties": { + "creationTime": "2017-03-27T07:52:54.807+00:00", + "lastModifiedTime": "2017-03-27T07:52:54.807+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection66", + "name": "myConnection66", + "properties": { + "creationTime": "2017-03-27T07:52:55.103+00:00", + "lastModifiedTime": "2017-03-27T07:52:55.103+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection67", + "name": "myConnection67", + "properties": { + "creationTime": "2017-03-27T07:52:55.37+00:00", + "lastModifiedTime": "2017-03-27T07:52:55.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection68", + "name": "myConnection68", + "properties": { + "creationTime": "2017-03-27T07:52:55.62+00:00", + "lastModifiedTime": "2017-03-27T07:52:55.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection69", + "name": "myConnection69", + "properties": { + "creationTime": "2017-03-27T07:52:55.883+00:00", + "lastModifiedTime": "2017-03-27T07:52:55.883+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection7", + "name": "myConnection7", + "properties": { + "creationTime": "2017-03-27T07:52:38.353+00:00", + "lastModifiedTime": "2017-03-27T07:52:38.353+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection70", + "name": "myConnection70", + "properties": { + "creationTime": "2017-03-27T07:52:56.133+00:00", + "lastModifiedTime": "2017-03-27T07:52:56.133+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection71", + "name": "myConnection71", + "properties": { + "creationTime": "2017-03-27T07:52:56.383+00:00", + "lastModifiedTime": "2017-03-27T07:52:56.383+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection72", + "name": "myConnection72", + "properties": { + "creationTime": "2017-03-27T07:52:56.633+00:00", + "lastModifiedTime": "2017-03-27T07:52:56.633+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection73", + "name": "myConnection73", + "properties": { + "creationTime": "2017-03-27T07:52:56.87+00:00", + "lastModifiedTime": "2017-03-27T07:52:56.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection74", + "name": "myConnection74", + "properties": { + "creationTime": "2017-03-27T07:52:57.12+00:00", + "lastModifiedTime": "2017-03-27T07:52:57.12+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection75", + "name": "myConnection75", + "properties": { + "creationTime": "2017-03-27T07:52:57.37+00:00", + "lastModifiedTime": "2017-03-27T07:52:57.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection76", + "name": "myConnection76", + "properties": { + "creationTime": "2017-03-27T07:52:57.62+00:00", + "lastModifiedTime": "2017-03-27T07:52:57.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection77", + "name": "myConnection77", + "properties": { + "creationTime": "2017-03-27T07:52:57.87+00:00", + "lastModifiedTime": "2017-03-27T07:52:57.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection78", + "name": "myConnection78", + "properties": { + "creationTime": "2017-03-27T07:52:58.12+00:00", + "lastModifiedTime": "2017-03-27T07:52:58.12+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection79", + "name": "myConnection79", + "properties": { + "creationTime": "2017-03-27T07:52:58.37+00:00", + "lastModifiedTime": "2017-03-27T07:52:58.37+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection8", + "name": "myConnection8", + "properties": { + "creationTime": "2017-03-27T07:52:38.587+00:00", + "lastModifiedTime": "2017-03-27T07:52:38.587+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection80", + "name": "myConnection80", + "properties": { + "creationTime": "2017-03-27T07:52:58.633+00:00", + "lastModifiedTime": "2017-03-27T07:52:58.633+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection81", + "name": "myConnection81", + "properties": { + "creationTime": "2017-03-27T07:52:58.917+00:00", + "lastModifiedTime": "2017-03-27T07:52:58.917+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection82", + "name": "myConnection82", + "properties": { + "creationTime": "2017-03-27T07:52:59.18+00:00", + "lastModifiedTime": "2017-03-27T07:52:59.18+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection83", + "name": "myConnection83", + "properties": { + "creationTime": "2017-03-27T07:52:59.477+00:00", + "lastModifiedTime": "2017-03-27T07:52:59.477+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection84", + "name": "myConnection84", + "properties": { + "creationTime": "2017-03-27T07:52:59.713+00:00", + "lastModifiedTime": "2017-03-27T07:52:59.713+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection85", + "name": "myConnection85", + "properties": { + "creationTime": "2017-03-27T07:53:00.01+00:00", + "lastModifiedTime": "2017-03-27T07:53:00.01+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection86", + "name": "myConnection86", + "properties": { + "creationTime": "2017-03-27T07:53:00.26+00:00", + "lastModifiedTime": "2017-03-27T07:53:00.26+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection87", + "name": "myConnection87", + "properties": { + "creationTime": "2017-03-27T07:53:00.62+00:00", + "lastModifiedTime": "2017-03-27T07:53:00.62+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection88", + "name": "myConnection88", + "properties": { + "creationTime": "2017-03-27T07:53:00.98+00:00", + "lastModifiedTime": "2017-03-27T07:53:00.98+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection89", + "name": "myConnection89", + "properties": { + "creationTime": "2017-03-27T07:53:01.353+00:00", + "lastModifiedTime": "2017-03-27T07:53:01.353+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection9", + "name": "myConnection9", + "properties": { + "creationTime": "2017-03-27T07:52:38.867+00:00", + "lastModifiedTime": "2017-03-27T07:52:38.867+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection90", + "name": "myConnection90", + "properties": { + "creationTime": "2017-03-27T07:53:01.697+00:00", + "lastModifiedTime": "2017-03-27T07:53:01.697+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection91", + "name": "myConnection91", + "properties": { + "creationTime": "2017-03-27T07:53:01.963+00:00", + "lastModifiedTime": "2017-03-27T07:53:01.963+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection92", + "name": "myConnection92", + "properties": { + "creationTime": "2017-03-27T07:53:02.29+00:00", + "lastModifiedTime": "2017-03-27T07:53:02.29+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection93", + "name": "myConnection93", + "properties": { + "creationTime": "2017-03-27T07:53:02.587+00:00", + "lastModifiedTime": "2017-03-27T07:53:02.587+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection94", + "name": "myConnection94", + "properties": { + "creationTime": "2017-03-27T07:53:02.87+00:00", + "lastModifiedTime": "2017-03-27T07:53:02.87+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection95", + "name": "myConnection95", + "properties": { + "creationTime": "2017-03-27T07:53:03.26+00:00", + "lastModifiedTime": "2017-03-27T07:53:03.26+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection96", + "name": "myConnection96", + "properties": { + "creationTime": "2017-03-27T07:53:03.51+00:00", + "lastModifiedTime": "2017-03-27T07:53:03.51+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection97", + "name": "myConnection97", + "properties": { + "creationTime": "2017-03-27T07:53:03.76+00:00", + "lastModifiedTime": "2017-03-27T07:53:03.76+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection98", + "name": "myConnection98", + "properties": { + "creationTime": "2017-03-27T07:53:04.027+00:00", + "lastModifiedTime": "2017-03-27T07:53:04.027+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount28/connections/myConnection99", + "name": "myConnection99", + "properties": { + "creationTime": "2017-03-27T07:53:04.26+00:00", + "lastModifiedTime": "2017-03-27T07:53:04.26+00:00", + "description": null, + "fieldDefinitionValues": null, + "connectionType": { + "name": "Azure" + } + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount.json new file mode 100644 index 000000000000..3e35449b1501 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount.json @@ -0,0 +1,1018 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential", + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:38.91+00:00", + "lastModifiedTime": "2017-03-26T21:43:45.393+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential0", + "name": "myCredential0", + "properties": { + "userName": "myCredential0", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:51.77+00:00", + "lastModifiedTime": "2017-03-26T21:43:51.77+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential1", + "name": "myCredential1", + "properties": { + "userName": "myCredential1", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:52.113+00:00", + "lastModifiedTime": "2017-03-26T21:43:52.113+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential10", + "name": "myCredential10", + "properties": { + "userName": "myCredential10", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:55.3+00:00", + "lastModifiedTime": "2017-03-26T21:43:55.3+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential100", + "name": "myCredential100", + "properties": { + "userName": "myCredential100", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:25.41+00:00", + "lastModifiedTime": "2017-03-26T21:44:25.41+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential101", + "name": "myCredential101", + "properties": { + "userName": "myCredential101", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:25.69+00:00", + "lastModifiedTime": "2017-03-26T21:44:25.69+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential102", + "name": "myCredential102", + "properties": { + "userName": "myCredential102", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:26.003+00:00", + "lastModifiedTime": "2017-03-26T21:44:26.003+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential103", + "name": "myCredential103", + "properties": { + "userName": "myCredential103", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:26.337+00:00", + "lastModifiedTime": "2017-03-26T21:44:26.337+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential104", + "name": "myCredential104", + "properties": { + "userName": "myCredential104", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:26.677+00:00", + "lastModifiedTime": "2017-03-26T21:44:26.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential105", + "name": "myCredential105", + "properties": { + "userName": "myCredential105", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:27.02+00:00", + "lastModifiedTime": "2017-03-26T21:44:27.02+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential106", + "name": "myCredential106", + "properties": { + "userName": "myCredential106", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:27.35+00:00", + "lastModifiedTime": "2017-03-26T21:44:27.35+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential107", + "name": "myCredential107", + "properties": { + "userName": "myCredential107", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:27.66+00:00", + "lastModifiedTime": "2017-03-26T21:44:27.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential108", + "name": "myCredential108", + "properties": { + "userName": "myCredential108", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:27.99+00:00", + "lastModifiedTime": "2017-03-26T21:44:27.99+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential109", + "name": "myCredential109", + "properties": { + "userName": "myCredential109", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:28.3+00:00", + "lastModifiedTime": "2017-03-26T21:44:28.3+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential11", + "name": "myCredential11", + "properties": { + "userName": "myCredential11", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:55.677+00:00", + "lastModifiedTime": "2017-03-26T21:43:55.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential110", + "name": "myCredential110", + "properties": { + "userName": "myCredential110", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:28.63+00:00", + "lastModifiedTime": "2017-03-26T21:44:28.63+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential111", + "name": "myCredential111", + "properties": { + "userName": "myCredential111", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:28.943+00:00", + "lastModifiedTime": "2017-03-26T21:44:28.943+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential112", + "name": "myCredential112", + "properties": { + "userName": "myCredential112", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:29.253+00:00", + "lastModifiedTime": "2017-03-26T21:44:29.253+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential113", + "name": "myCredential113", + "properties": { + "userName": "myCredential113", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:29.567+00:00", + "lastModifiedTime": "2017-03-26T21:44:29.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential114", + "name": "myCredential114", + "properties": { + "userName": "myCredential114", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:29.88+00:00", + "lastModifiedTime": "2017-03-26T21:44:29.88+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential115", + "name": "myCredential115", + "properties": { + "userName": "myCredential115", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:30.207+00:00", + "lastModifiedTime": "2017-03-26T21:44:30.207+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential116", + "name": "myCredential116", + "properties": { + "userName": "myCredential116", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:30.52+00:00", + "lastModifiedTime": "2017-03-26T21:44:30.52+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential117", + "name": "myCredential117", + "properties": { + "userName": "myCredential117", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:30.833+00:00", + "lastModifiedTime": "2017-03-26T21:44:30.833+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential118", + "name": "myCredential118", + "properties": { + "userName": "myCredential118", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:31.24+00:00", + "lastModifiedTime": "2017-03-26T21:44:31.24+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential119", + "name": "myCredential119", + "properties": { + "userName": "myCredential119", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:31.6+00:00", + "lastModifiedTime": "2017-03-26T21:44:31.6+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential12", + "name": "myCredential12", + "properties": { + "userName": "myCredential12", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:56.02+00:00", + "lastModifiedTime": "2017-03-26T21:43:56.02+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential120", + "name": "myCredential120", + "properties": { + "userName": "myCredential120", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:31.943+00:00", + "lastModifiedTime": "2017-03-26T21:44:31.943+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential121", + "name": "myCredential121", + "properties": { + "userName": "myCredential121", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:32.333+00:00", + "lastModifiedTime": "2017-03-26T21:44:32.333+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential122", + "name": "myCredential122", + "properties": { + "userName": "myCredential122", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:32.66+00:00", + "lastModifiedTime": "2017-03-26T21:44:32.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential123", + "name": "myCredential123", + "properties": { + "userName": "myCredential123", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:32.957+00:00", + "lastModifiedTime": "2017-03-26T21:44:32.957+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential124", + "name": "myCredential124", + "properties": { + "userName": "myCredential124", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:33.27+00:00", + "lastModifiedTime": "2017-03-26T21:44:33.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential125", + "name": "myCredential125", + "properties": { + "userName": "myCredential125", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:33.6+00:00", + "lastModifiedTime": "2017-03-26T21:44:33.6+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential126", + "name": "myCredential126", + "properties": { + "userName": "myCredential126", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:33.957+00:00", + "lastModifiedTime": "2017-03-26T21:44:33.957+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential127", + "name": "myCredential127", + "properties": { + "userName": "myCredential127", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:34.287+00:00", + "lastModifiedTime": "2017-03-26T21:44:34.287+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential128", + "name": "myCredential128", + "properties": { + "userName": "myCredential128", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:34.613+00:00", + "lastModifiedTime": "2017-03-26T21:44:34.613+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential129", + "name": "myCredential129", + "properties": { + "userName": "myCredential129", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:34.973+00:00", + "lastModifiedTime": "2017-03-26T21:44:34.973+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential13", + "name": "myCredential13", + "properties": { + "userName": "myCredential13", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:56.393+00:00", + "lastModifiedTime": "2017-03-26T21:43:56.393+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential130", + "name": "myCredential130", + "properties": { + "userName": "myCredential130", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:35.363+00:00", + "lastModifiedTime": "2017-03-26T21:44:35.363+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential131", + "name": "myCredential131", + "properties": { + "userName": "myCredential131", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:35.707+00:00", + "lastModifiedTime": "2017-03-26T21:44:35.707+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential132", + "name": "myCredential132", + "properties": { + "userName": "myCredential132", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:36.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:36.037+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential133", + "name": "myCredential133", + "properties": { + "userName": "myCredential133", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:36.38+00:00", + "lastModifiedTime": "2017-03-26T21:44:36.38+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential134", + "name": "myCredential134", + "properties": { + "userName": "myCredential134", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:36.74+00:00", + "lastModifiedTime": "2017-03-26T21:44:36.74+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential135", + "name": "myCredential135", + "properties": { + "userName": "myCredential135", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:37.05+00:00", + "lastModifiedTime": "2017-03-26T21:44:37.05+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential136", + "name": "myCredential136", + "properties": { + "userName": "myCredential136", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:37.41+00:00", + "lastModifiedTime": "2017-03-26T21:44:37.41+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential137", + "name": "myCredential137", + "properties": { + "userName": "myCredential137", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:37.723+00:00", + "lastModifiedTime": "2017-03-26T21:44:37.723+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential138", + "name": "myCredential138", + "properties": { + "userName": "myCredential138", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:38.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:38.037+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential139", + "name": "myCredential139", + "properties": { + "userName": "myCredential139", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:38.35+00:00", + "lastModifiedTime": "2017-03-26T21:44:38.35+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential14", + "name": "myCredential14", + "properties": { + "userName": "myCredential14", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:56.723+00:00", + "lastModifiedTime": "2017-03-26T21:43:56.723+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential140", + "name": "myCredential140", + "properties": { + "userName": "myCredential140", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:38.71+00:00", + "lastModifiedTime": "2017-03-26T21:44:38.71+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential141", + "name": "myCredential141", + "properties": { + "userName": "myCredential141", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:39.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:39.037+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential142", + "name": "myCredential142", + "properties": { + "userName": "myCredential142", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:39.35+00:00", + "lastModifiedTime": "2017-03-26T21:44:39.35+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential143", + "name": "myCredential143", + "properties": { + "userName": "myCredential143", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:39.677+00:00", + "lastModifiedTime": "2017-03-26T21:44:39.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential144", + "name": "myCredential144", + "properties": { + "userName": "myCredential144", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:39.99+00:00", + "lastModifiedTime": "2017-03-26T21:44:39.99+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential145", + "name": "myCredential145", + "properties": { + "userName": "myCredential145", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:40.317+00:00", + "lastModifiedTime": "2017-03-26T21:44:40.317+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential146", + "name": "myCredential146", + "properties": { + "userName": "myCredential146", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:40.63+00:00", + "lastModifiedTime": "2017-03-26T21:44:40.63+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential147", + "name": "myCredential147", + "properties": { + "userName": "myCredential147", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:40.943+00:00", + "lastModifiedTime": "2017-03-26T21:44:40.943+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential148", + "name": "myCredential148", + "properties": { + "userName": "myCredential148", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:41.27+00:00", + "lastModifiedTime": "2017-03-26T21:44:41.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential149", + "name": "myCredential149", + "properties": { + "userName": "myCredential149", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:41.6+00:00", + "lastModifiedTime": "2017-03-26T21:44:41.6+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential15", + "name": "myCredential15", + "properties": { + "userName": "myCredential15", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:57.033+00:00", + "lastModifiedTime": "2017-03-26T21:43:57.033+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential150", + "name": "myCredential150", + "properties": { + "userName": "myCredential150", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:41.91+00:00", + "lastModifiedTime": "2017-03-26T21:44:41.91+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential151", + "name": "myCredential151", + "properties": { + "userName": "myCredential151", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:42.24+00:00", + "lastModifiedTime": "2017-03-26T21:44:42.24+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential152", + "name": "myCredential152", + "properties": { + "userName": "myCredential152", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:42.567+00:00", + "lastModifiedTime": "2017-03-26T21:44:42.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential153", + "name": "myCredential153", + "properties": { + "userName": "myCredential153", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:42.88+00:00", + "lastModifiedTime": "2017-03-26T21:44:42.88+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential154", + "name": "myCredential154", + "properties": { + "userName": "myCredential154", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:43.193+00:00", + "lastModifiedTime": "2017-03-26T21:44:43.193+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential155", + "name": "myCredential155", + "properties": { + "userName": "myCredential155", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:43.52+00:00", + "lastModifiedTime": "2017-03-26T21:44:43.52+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential156", + "name": "myCredential156", + "properties": { + "userName": "myCredential156", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:43.833+00:00", + "lastModifiedTime": "2017-03-26T21:44:43.833+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential157", + "name": "myCredential157", + "properties": { + "userName": "myCredential157", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:44.147+00:00", + "lastModifiedTime": "2017-03-26T21:44:44.147+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential158", + "name": "myCredential158", + "properties": { + "userName": "myCredential158", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:44.473+00:00", + "lastModifiedTime": "2017-03-26T21:44:44.473+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential159", + "name": "myCredential159", + "properties": { + "userName": "myCredential159", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:44.787+00:00", + "lastModifiedTime": "2017-03-26T21:44:44.787+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential16", + "name": "myCredential16", + "properties": { + "userName": "myCredential16", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:57.363+00:00", + "lastModifiedTime": "2017-03-26T21:43:57.363+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential160", + "name": "myCredential160", + "properties": { + "userName": "myCredential160", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:45.1+00:00", + "lastModifiedTime": "2017-03-26T21:44:45.1+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential161", + "name": "myCredential161", + "properties": { + "userName": "myCredential161", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:45.427+00:00", + "lastModifiedTime": "2017-03-26T21:44:45.427+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential162", + "name": "myCredential162", + "properties": { + "userName": "myCredential162", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:45.74+00:00", + "lastModifiedTime": "2017-03-26T21:44:45.74+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential163", + "name": "myCredential163", + "properties": { + "userName": "myCredential163", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:46.067+00:00", + "lastModifiedTime": "2017-03-26T21:44:46.067+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential164", + "name": "myCredential164", + "properties": { + "userName": "myCredential164", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:46.38+00:00", + "lastModifiedTime": "2017-03-26T21:44:46.38+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential165", + "name": "myCredential165", + "properties": { + "userName": "myCredential165", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:46.71+00:00", + "lastModifiedTime": "2017-03-26T21:44:46.71+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential166", + "name": "myCredential166", + "properties": { + "userName": "myCredential166", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:47.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:47.037+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential167", + "name": "myCredential167", + "properties": { + "userName": "myCredential167", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:47.35+00:00", + "lastModifiedTime": "2017-03-26T21:44:47.35+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential168", + "name": "myCredential168", + "properties": { + "userName": "myCredential168", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:47.677+00:00", + "lastModifiedTime": "2017-03-26T21:44:47.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential169", + "name": "myCredential169", + "properties": { + "userName": "myCredential169", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:47.99+00:00", + "lastModifiedTime": "2017-03-26T21:44:47.99+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential17", + "name": "myCredential17", + "properties": { + "userName": "myCredential17", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:57.677+00:00", + "lastModifiedTime": "2017-03-26T21:43:57.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential170", + "name": "myCredential170", + "properties": { + "userName": "myCredential170", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:48.287+00:00", + "lastModifiedTime": "2017-03-26T21:44:48.287+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential171", + "name": "myCredential171", + "properties": { + "userName": "myCredential171", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:48.613+00:00", + "lastModifiedTime": "2017-03-26T21:44:48.613+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential172", + "name": "myCredential172", + "properties": { + "userName": "myCredential172", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:48.927+00:00", + "lastModifiedTime": "2017-03-26T21:44:48.927+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential173", + "name": "myCredential173", + "properties": { + "userName": "myCredential173", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:49.257+00:00", + "lastModifiedTime": "2017-03-26T21:44:49.257+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential174", + "name": "myCredential174", + "properties": { + "userName": "myCredential174", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:49.567+00:00", + "lastModifiedTime": "2017-03-26T21:44:49.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential175", + "name": "myCredential175", + "properties": { + "userName": "myCredential175", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:49.88+00:00", + "lastModifiedTime": "2017-03-26T21:44:49.88+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential176", + "name": "myCredential176", + "properties": { + "userName": "myCredential176", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:50.21+00:00", + "lastModifiedTime": "2017-03-26T21:44:50.21+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential177", + "name": "myCredential177", + "properties": { + "userName": "myCredential177", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:50.537+00:00", + "lastModifiedTime": "2017-03-26T21:44:50.537+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential178", + "name": "myCredential178", + "properties": { + "userName": "myCredential178", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:50.863+00:00", + "lastModifiedTime": "2017-03-26T21:44:50.863+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential179", + "name": "myCredential179", + "properties": { + "userName": "myCredential179", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:51.193+00:00", + "lastModifiedTime": "2017-03-26T21:44:51.193+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential18", + "name": "myCredential18", + "properties": { + "userName": "myCredential18", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:58.003+00:00", + "lastModifiedTime": "2017-03-26T21:43:58.003+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential180", + "name": "myCredential180", + "properties": { + "userName": "myCredential180", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:51.6+00:00", + "lastModifiedTime": "2017-03-26T21:44:51.6+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential181", + "name": "myCredential181", + "properties": { + "userName": "myCredential181", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:51.91+00:00", + "lastModifiedTime": "2017-03-26T21:44:51.91+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential182", + "name": "myCredential182", + "properties": { + "userName": "myCredential182", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:52.223+00:00", + "lastModifiedTime": "2017-03-26T21:44:52.223+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential183", + "name": "myCredential183", + "properties": { + "userName": "myCredential183", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:52.6+00:00", + "lastModifiedTime": "2017-03-26T21:44:52.6+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential184", + "name": "myCredential184", + "properties": { + "userName": "myCredential184", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:52.927+00:00", + "lastModifiedTime": "2017-03-26T21:44:52.927+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential185", + "name": "myCredential185", + "properties": { + "userName": "myCredential185", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:53.27+00:00", + "lastModifiedTime": "2017-03-26T21:44:53.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential186", + "name": "myCredential186", + "properties": { + "userName": "myCredential186", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:53.583+00:00", + "lastModifiedTime": "2017-03-26T21:44:53.583+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential187", + "name": "myCredential187", + "properties": { + "userName": "myCredential187", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:54.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:54.037+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials?api-version=2023-05-15-preview&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json new file mode 100644 index 000000000000..21bbedcec7ec --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json @@ -0,0 +1,1018 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount20", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential188", + "name": "myCredential188", + "properties": { + "userName": "myCredential188", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:54.397+00:00", + "lastModifiedTime": "2017-03-26T21:44:54.397+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential189", + "name": "myCredential189", + "properties": { + "userName": "myCredential189", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:54.71+00:00", + "lastModifiedTime": "2017-03-26T21:44:54.71+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential19", + "name": "myCredential19", + "properties": { + "userName": "myCredential19", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:58.33+00:00", + "lastModifiedTime": "2017-03-26T21:43:58.33+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential190", + "name": "myCredential190", + "properties": { + "userName": "myCredential190", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:55.037+00:00", + "lastModifiedTime": "2017-03-26T21:44:55.037+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential191", + "name": "myCredential191", + "properties": { + "userName": "myCredential191", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:55.35+00:00", + "lastModifiedTime": "2017-03-26T21:44:55.35+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential192", + "name": "myCredential192", + "properties": { + "userName": "myCredential192", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:55.677+00:00", + "lastModifiedTime": "2017-03-26T21:44:55.677+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential193", + "name": "myCredential193", + "properties": { + "userName": "myCredential193", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:56.007+00:00", + "lastModifiedTime": "2017-03-26T21:44:56.007+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential194", + "name": "myCredential194", + "properties": { + "userName": "myCredential194", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:56.333+00:00", + "lastModifiedTime": "2017-03-26T21:44:56.333+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential195", + "name": "myCredential195", + "properties": { + "userName": "myCredential195", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:56.66+00:00", + "lastModifiedTime": "2017-03-26T21:44:56.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential196", + "name": "myCredential196", + "properties": { + "userName": "myCredential196", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:57.007+00:00", + "lastModifiedTime": "2017-03-26T21:44:57.007+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential197", + "name": "myCredential197", + "properties": { + "userName": "myCredential197", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:57.333+00:00", + "lastModifiedTime": "2017-03-26T21:44:57.333+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential198", + "name": "myCredential198", + "properties": { + "userName": "myCredential198", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:57.66+00:00", + "lastModifiedTime": "2017-03-26T21:44:57.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential199", + "name": "myCredential199", + "properties": { + "userName": "myCredential199", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:57.973+00:00", + "lastModifiedTime": "2017-03-26T21:44:57.973+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential2", + "name": "myCredential2", + "properties": { + "userName": "myCredential2", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:52.44+00:00", + "lastModifiedTime": "2017-03-26T21:43:52.44+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential20", + "name": "myCredential20", + "properties": { + "userName": "myCredential20", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:58.66+00:00", + "lastModifiedTime": "2017-03-26T21:43:58.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential200", + "name": "myCredential200", + "properties": { + "userName": "myCredential200", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:58.303+00:00", + "lastModifiedTime": "2017-03-26T21:44:58.303+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential21", + "name": "myCredential21", + "properties": { + "userName": "myCredential21", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:59.033+00:00", + "lastModifiedTime": "2017-03-26T21:43:59.033+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential22", + "name": "myCredential22", + "properties": { + "userName": "myCredential22", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:59.363+00:00", + "lastModifiedTime": "2017-03-26T21:43:59.363+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential23", + "name": "myCredential23", + "properties": { + "userName": "myCredential23", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:59.707+00:00", + "lastModifiedTime": "2017-03-26T21:43:59.707+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential24", + "name": "myCredential24", + "properties": { + "userName": "myCredential24", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:00.02+00:00", + "lastModifiedTime": "2017-03-26T21:44:00.02+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential25", + "name": "myCredential25", + "properties": { + "userName": "myCredential25", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:00.33+00:00", + "lastModifiedTime": "2017-03-26T21:44:00.33+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential26", + "name": "myCredential26", + "properties": { + "userName": "myCredential26", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:00.707+00:00", + "lastModifiedTime": "2017-03-26T21:44:00.707+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential27", + "name": "myCredential27", + "properties": { + "userName": "myCredential27", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:01.02+00:00", + "lastModifiedTime": "2017-03-26T21:44:01.02+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential28", + "name": "myCredential28", + "properties": { + "userName": "myCredential28", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:01.347+00:00", + "lastModifiedTime": "2017-03-26T21:44:01.347+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential29", + "name": "myCredential29", + "properties": { + "userName": "myCredential29", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:01.847+00:00", + "lastModifiedTime": "2017-03-26T21:44:01.847+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential3", + "name": "myCredential3", + "properties": { + "userName": "myCredential3", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:52.863+00:00", + "lastModifiedTime": "2017-03-26T21:43:52.863+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential30", + "name": "myCredential30", + "properties": { + "userName": "myCredential30", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:02.16+00:00", + "lastModifiedTime": "2017-03-26T21:44:02.16+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential31", + "name": "myCredential31", + "properties": { + "userName": "myCredential31", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:02.503+00:00", + "lastModifiedTime": "2017-03-26T21:44:02.503+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential32", + "name": "myCredential32", + "properties": { + "userName": "myCredential32", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:02.88+00:00", + "lastModifiedTime": "2017-03-26T21:44:02.88+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential33", + "name": "myCredential33", + "properties": { + "userName": "myCredential33", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:03.177+00:00", + "lastModifiedTime": "2017-03-26T21:44:03.177+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential34", + "name": "myCredential34", + "properties": { + "userName": "myCredential34", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:03.55+00:00", + "lastModifiedTime": "2017-03-26T21:44:03.55+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential35", + "name": "myCredential35", + "properties": { + "userName": "myCredential35", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:03.893+00:00", + "lastModifiedTime": "2017-03-26T21:44:03.893+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential36", + "name": "myCredential36", + "properties": { + "userName": "myCredential36", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:04.207+00:00", + "lastModifiedTime": "2017-03-26T21:44:04.207+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential37", + "name": "myCredential37", + "properties": { + "userName": "myCredential37", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:04.55+00:00", + "lastModifiedTime": "2017-03-26T21:44:04.55+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential38", + "name": "myCredential38", + "properties": { + "userName": "myCredential38", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:04.847+00:00", + "lastModifiedTime": "2017-03-26T21:44:04.847+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential39", + "name": "myCredential39", + "properties": { + "userName": "myCredential39", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:05.177+00:00", + "lastModifiedTime": "2017-03-26T21:44:05.177+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential4", + "name": "myCredential4", + "properties": { + "userName": "myCredential4", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:53.253+00:00", + "lastModifiedTime": "2017-03-26T21:43:53.253+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential40", + "name": "myCredential40", + "properties": { + "userName": "myCredential40", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:05.49+00:00", + "lastModifiedTime": "2017-03-26T21:44:05.49+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential41", + "name": "myCredential41", + "properties": { + "userName": "myCredential41", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:05.83+00:00", + "lastModifiedTime": "2017-03-26T21:44:05.83+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential42", + "name": "myCredential42", + "properties": { + "userName": "myCredential42", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:06.143+00:00", + "lastModifiedTime": "2017-03-26T21:44:06.143+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential43", + "name": "myCredential43", + "properties": { + "userName": "myCredential43", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:06.457+00:00", + "lastModifiedTime": "2017-03-26T21:44:06.457+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential44", + "name": "myCredential44", + "properties": { + "userName": "myCredential44", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:06.94+00:00", + "lastModifiedTime": "2017-03-26T21:44:06.94+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential45", + "name": "myCredential45", + "properties": { + "userName": "myCredential45", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:07.3+00:00", + "lastModifiedTime": "2017-03-26T21:44:07.3+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential46", + "name": "myCredential46", + "properties": { + "userName": "myCredential46", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:07.63+00:00", + "lastModifiedTime": "2017-03-26T21:44:07.63+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential47", + "name": "myCredential47", + "properties": { + "userName": "myCredential47", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:07.957+00:00", + "lastModifiedTime": "2017-03-26T21:44:07.957+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential48", + "name": "myCredential48", + "properties": { + "userName": "myCredential48", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:08.27+00:00", + "lastModifiedTime": "2017-03-26T21:44:08.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential49", + "name": "myCredential49", + "properties": { + "userName": "myCredential49", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:08.58+00:00", + "lastModifiedTime": "2017-03-26T21:44:08.58+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential5", + "name": "myCredential5", + "properties": { + "userName": "myCredential5", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:53.567+00:00", + "lastModifiedTime": "2017-03-26T21:43:53.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential50", + "name": "myCredential50", + "properties": { + "userName": "myCredential50", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:09.02+00:00", + "lastModifiedTime": "2017-03-26T21:44:09.02+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential51", + "name": "myCredential51", + "properties": { + "userName": "myCredential51", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:09.33+00:00", + "lastModifiedTime": "2017-03-26T21:44:09.33+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential52", + "name": "myCredential52", + "properties": { + "userName": "myCredential52", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:09.643+00:00", + "lastModifiedTime": "2017-03-26T21:44:09.643+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential53", + "name": "myCredential53", + "properties": { + "userName": "myCredential53", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:09.973+00:00", + "lastModifiedTime": "2017-03-26T21:44:09.973+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential54", + "name": "myCredential54", + "properties": { + "userName": "myCredential54", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:10.287+00:00", + "lastModifiedTime": "2017-03-26T21:44:10.287+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential55", + "name": "myCredential55", + "properties": { + "userName": "myCredential55", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:10.66+00:00", + "lastModifiedTime": "2017-03-26T21:44:10.66+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential56", + "name": "myCredential56", + "properties": { + "userName": "myCredential56", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:10.973+00:00", + "lastModifiedTime": "2017-03-26T21:44:10.973+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential57", + "name": "myCredential57", + "properties": { + "userName": "myCredential57", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:11.33+00:00", + "lastModifiedTime": "2017-03-26T21:44:11.33+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential58", + "name": "myCredential58", + "properties": { + "userName": "myCredential58", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:11.643+00:00", + "lastModifiedTime": "2017-03-26T21:44:11.643+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential59", + "name": "myCredential59", + "properties": { + "userName": "myCredential59", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:11.99+00:00", + "lastModifiedTime": "2017-03-26T21:44:11.99+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential6", + "name": "myCredential6", + "properties": { + "userName": "myCredential6", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:53.863+00:00", + "lastModifiedTime": "2017-03-26T21:43:53.863+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential60", + "name": "myCredential60", + "properties": { + "userName": "myCredential60", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:12.3+00:00", + "lastModifiedTime": "2017-03-26T21:44:12.3+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential61", + "name": "myCredential61", + "properties": { + "userName": "myCredential61", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:12.63+00:00", + "lastModifiedTime": "2017-03-26T21:44:12.63+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential62", + "name": "myCredential62", + "properties": { + "userName": "myCredential62", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:12.957+00:00", + "lastModifiedTime": "2017-03-26T21:44:12.957+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential63", + "name": "myCredential63", + "properties": { + "userName": "myCredential63", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:13.27+00:00", + "lastModifiedTime": "2017-03-26T21:44:13.27+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential64", + "name": "myCredential64", + "properties": { + "userName": "myCredential64", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:13.583+00:00", + "lastModifiedTime": "2017-03-26T21:44:13.583+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential65", + "name": "myCredential65", + "properties": { + "userName": "myCredential65", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:13.893+00:00", + "lastModifiedTime": "2017-03-26T21:44:13.893+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential66", + "name": "myCredential66", + "properties": { + "userName": "myCredential66", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:14.207+00:00", + "lastModifiedTime": "2017-03-26T21:44:14.207+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential67", + "name": "myCredential67", + "properties": { + "userName": "myCredential67", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:14.537+00:00", + "lastModifiedTime": "2017-03-26T21:44:14.537+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential68", + "name": "myCredential68", + "properties": { + "userName": "myCredential68", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:14.847+00:00", + "lastModifiedTime": "2017-03-26T21:44:14.847+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential69", + "name": "myCredential69", + "properties": { + "userName": "myCredential69", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:15.19+00:00", + "lastModifiedTime": "2017-03-26T21:44:15.19+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential7", + "name": "myCredential7", + "properties": { + "userName": "myCredential7", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:54.19+00:00", + "lastModifiedTime": "2017-03-26T21:43:54.19+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential70", + "name": "myCredential70", + "properties": { + "userName": "myCredential70", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:15.503+00:00", + "lastModifiedTime": "2017-03-26T21:44:15.503+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential71", + "name": "myCredential71", + "properties": { + "userName": "myCredential71", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:15.91+00:00", + "lastModifiedTime": "2017-03-26T21:44:15.91+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential72", + "name": "myCredential72", + "properties": { + "userName": "myCredential72", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:16.253+00:00", + "lastModifiedTime": "2017-03-26T21:44:16.253+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential73", + "name": "myCredential73", + "properties": { + "userName": "myCredential73", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:16.567+00:00", + "lastModifiedTime": "2017-03-26T21:44:16.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential74", + "name": "myCredential74", + "properties": { + "userName": "myCredential74", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:16.927+00:00", + "lastModifiedTime": "2017-03-26T21:44:16.927+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential75", + "name": "myCredential75", + "properties": { + "userName": "myCredential75", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:17.253+00:00", + "lastModifiedTime": "2017-03-26T21:44:17.253+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential76", + "name": "myCredential76", + "properties": { + "userName": "myCredential76", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:17.567+00:00", + "lastModifiedTime": "2017-03-26T21:44:17.567+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential77", + "name": "myCredential77", + "properties": { + "userName": "myCredential77", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:17.88+00:00", + "lastModifiedTime": "2017-03-26T21:44:17.88+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential78", + "name": "myCredential78", + "properties": { + "userName": "myCredential78", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:18.19+00:00", + "lastModifiedTime": "2017-03-26T21:44:18.19+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential79", + "name": "myCredential79", + "properties": { + "userName": "myCredential79", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:18.52+00:00", + "lastModifiedTime": "2017-03-26T21:44:18.52+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential8", + "name": "myCredential8", + "properties": { + "userName": "myCredential8", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:54.503+00:00", + "lastModifiedTime": "2017-03-26T21:43:54.503+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential80", + "name": "myCredential80", + "properties": { + "userName": "myCredential80", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:18.833+00:00", + "lastModifiedTime": "2017-03-26T21:44:18.833+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential81", + "name": "myCredential81", + "properties": { + "userName": "myCredential81", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:19.177+00:00", + "lastModifiedTime": "2017-03-26T21:44:19.177+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential82", + "name": "myCredential82", + "properties": { + "userName": "myCredential82", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:19.49+00:00", + "lastModifiedTime": "2017-03-26T21:44:19.49+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential83", + "name": "myCredential83", + "properties": { + "userName": "myCredential83", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:19.833+00:00", + "lastModifiedTime": "2017-03-26T21:44:19.833+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential84", + "name": "myCredential84", + "properties": { + "userName": "myCredential84", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:20.177+00:00", + "lastModifiedTime": "2017-03-26T21:44:20.177+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential85", + "name": "myCredential85", + "properties": { + "userName": "myCredential85", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:20.503+00:00", + "lastModifiedTime": "2017-03-26T21:44:20.503+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential86", + "name": "myCredential86", + "properties": { + "userName": "myCredential86", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:20.817+00:00", + "lastModifiedTime": "2017-03-26T21:44:20.817+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential87", + "name": "myCredential87", + "properties": { + "userName": "myCredential87", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:21.143+00:00", + "lastModifiedTime": "2017-03-26T21:44:21.143+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential88", + "name": "myCredential88", + "properties": { + "userName": "myCredential88", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:21.457+00:00", + "lastModifiedTime": "2017-03-26T21:44:21.457+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential89", + "name": "myCredential89", + "properties": { + "userName": "myCredential89", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:21.787+00:00", + "lastModifiedTime": "2017-03-26T21:44:21.787+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential9", + "name": "myCredential9", + "properties": { + "userName": "myCredential9", + "description": "my description goes here", + "creationTime": "2017-03-26T21:43:54.957+00:00", + "lastModifiedTime": "2017-03-26T21:43:54.957+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential90", + "name": "myCredential90", + "properties": { + "userName": "myCredential90", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:22.1+00:00", + "lastModifiedTime": "2017-03-26T21:44:22.1+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential91", + "name": "myCredential91", + "properties": { + "userName": "myCredential91", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:22.427+00:00", + "lastModifiedTime": "2017-03-26T21:44:22.427+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential92", + "name": "myCredential92", + "properties": { + "userName": "myCredential92", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:22.77+00:00", + "lastModifiedTime": "2017-03-26T21:44:22.77+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential93", + "name": "myCredential93", + "properties": { + "userName": "myCredential93", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:23.083+00:00", + "lastModifiedTime": "2017-03-26T21:44:23.083+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential94", + "name": "myCredential94", + "properties": { + "userName": "myCredential94", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:23.41+00:00", + "lastModifiedTime": "2017-03-26T21:44:23.41+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential95", + "name": "myCredential95", + "properties": { + "userName": "myCredential95", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:23.753+00:00", + "lastModifiedTime": "2017-03-26T21:44:23.753+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential96", + "name": "myCredential96", + "properties": { + "userName": "myCredential96", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:24.1+00:00", + "lastModifiedTime": "2017-03-26T21:44:24.1+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials/myCredential97", + "name": "myCredential97", + "properties": { + "userName": "myCredential97", + "description": "my description goes here", + "creationTime": "2017-03-26T21:44:24.427+00:00", + "lastModifiedTime": "2017-03-26T21:44:24.427+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount20/credentials?api-version=2023-05-15-preview&$skip=200" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeConfigurations.json new file mode 100644 index 000000000000..469aba3ea1c7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeConfigurations.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SetupServer.localhost", + "properties": { + "configuration": { + "name": "SetupServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "source": null, + "nodeCount": 0, + "incrementNodeConfigurationBuild": false + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SetupServer.localhost", + "properties": { + "configuration": { + "name": "SetupServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "source": null, + "nodeCount": 0, + "incrementNodeConfigurationBuild": false + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeReportsByNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeReportsByNode.json new file mode 100644 index 000000000000..bb8fb9391f9b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listDscNodeReportsByNode.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/903a5ead-140c-11e7-a943-000d3a6140c9", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:16:27.587+00:00", + "endTime": "2017-03-28T23:16:27.587+00:00", + "lastModifiedTime": "2017-03-28T23:16:29.4440401+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/903a5eac-140c-11e7-a943-000d3a6140c9", + "reportId": "903a5eac-140c-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:16:26.015+00:00", + "endTime": "2017-03-28T23:16:27.015+00:00", + "lastModifiedTime": "2017-03-28T23:16:28.3813034+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/77c280c2-140a-11e7-a943-000d3a6140c9", + "reportId": "77c280c2-140a-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:01:25.986+00:00", + "endTime": "2017-03-28T23:01:26.986+00:00", + "lastModifiedTime": "2017-03-28T23:01:28.216963+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/5f4f5382-1408-11e7-a943-000d3a6140c9", + "reportId": "5f4f5382-1408-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:46:27.668+00:00", + "endTime": "2017-03-28T22:46:28.668+00:00", + "lastModifiedTime": "2017-03-28T22:46:29.0439184+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/5f4f5381-1408-11e7-a943-000d3a6140c9", + "reportId": "5f4f5381-1408-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:46:25.957+00:00", + "endTime": "2017-03-28T22:46:26.957+00:00", + "lastModifiedTime": "2017-03-28T22:46:27.9498533+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/46d97d6a-1406-11e7-a943-000d3a6140c9", + "reportId": "46d97d6a-1406-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:31:25.941+00:00", + "endTime": "2017-03-28T22:31:26.941+00:00", + "lastModifiedTime": "2017-03-28T22:31:27.6825492+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/48c8e301-1404-11e7-a943-000d3a6140c9", + "reportId": "48c8e301-1404-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:17:10.163+00:00", + "endTime": "2017-03-28T22:17:10.163+00:00", + "lastModifiedTime": "2017-03-28T22:17:11.0040472+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/2e63fdbc-1404-11e7-a943-000d3a6140c9", + "reportId": "2e63fdbc-1404-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:16:25.897+00:00", + "endTime": "2017-03-28T22:17:09.897+00:00", + "lastModifiedTime": "2017-03-28T22:16:27.3128731+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/15ee63e4-1402-11e7-a943-000d3a6140c9", + "reportId": "15ee63e4-1402-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:01:25.899+00:00", + "endTime": "2017-03-28T22:01:27.899+00:00", + "lastModifiedTime": "2017-03-28T22:01:26.6282252+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/0508f316-1400-11e7-a943-000d3a6140c9", + "reportId": "0508f316-1400-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:46:38.511+00:00", + "endTime": "2017-03-28T21:46:39.511+00:00", + "lastModifiedTime": "2017-03-28T21:46:40.577983+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/fd799a51-13ff-11e7-a943-000d3a6140c9", + "reportId": "fd799a51-13ff-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:46:25.843+00:00", + "endTime": "2017-03-28T21:46:37.843+00:00", + "lastModifiedTime": "2017-03-28T21:46:28.4660077+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/e504ae1b-13fd-11e7-a943-000d3a6140c9", + "reportId": "e504ae1b-13fd-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:31:25.818+00:00", + "endTime": "2017-03-28T21:31:27.818+00:00", + "lastModifiedTime": "2017-03-28T21:31:28.1503168+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/cd3ed224-13fb-11e7-a943-000d3a6140c9", + "reportId": "cd3ed224-13fb-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:16:35.538+00:00", + "endTime": "2017-03-28T21:16:59.538+00:00", + "lastModifiedTime": "2017-03-28T21:16:37.1768158+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/cd3ed223-13fb-11e7-a943-000d3a6140c9", + "reportId": "cd3ed223-13fb-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:16:26.956+00:00", + "endTime": "2017-03-28T21:16:34.956+00:00", + "lastModifiedTime": "2017-03-28T21:16:29.2370664+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/b6915efa-13f9-11e7-a943-000d3a6140c9", + "reportId": "b6915efa-13f9-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:01:29.916+00:00", + "endTime": "2017-03-28T21:02:02.916+00:00", + "lastModifiedTime": "2017-03-28T21:01:31.875597+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/a3560dca-13f7-11e7-a943-000d3a6140c9", + "reportId": "a3560dca-13f7-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:46:38.626+00:00", + "endTime": "2017-03-28T20:46:44.626+00:00", + "lastModifiedTime": "2017-03-28T20:46:39.749649+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/9b9bb016-13f7-11e7-a943-000d3a6140c9", + "reportId": "9b9bb016-13f7-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:46:25.676+00:00", + "endTime": "2017-03-28T20:46:37.676+00:00", + "lastModifiedTime": "2017-03-28T20:46:27.2602881+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/833bd89b-13f5-11e7-a943-000d3a6140c9", + "reportId": "833bd89b-13f5-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:31:25.805+00:00", + "endTime": "2017-03-28T20:40:24.805+00:00", + "lastModifiedTime": "2017-03-28T20:31:27.1356547+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByModuleAndType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByModuleAndType.json new file mode 100644 index 000000000000..40c56f70e6d5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByModuleAndType.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "moduleName": "MyModule", + "typeName": "MyCustomType", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Name", + "type": "System.String" + }, + { + "name": "Id", + "type": "System.Integer" + }, + { + "name": "Details", + "type": "MyModule.AnotherCustomType" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByType.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByType.json new file mode 100644 index 000000000000..607f2568a472 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listFieldsByType.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "typeName": "MyCustomType", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Name", + "type": "System.String" + }, + { + "name": "Id", + "type": "System.Integer" + }, + { + "name": "Details", + "type": "MyModule.AnotherCustomType" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorker.json new file mode 100644 index 000000000000..1368ddb417aa --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorker.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "location": "East US 2", + "name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.0", + "registeredDateTime": "2018-04-24T16:30:55+00:00", + "lastSeenDateTime": "2018-04-24T16:30:55+00:00", + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", + "workerName": "vmname", + "workerType": "HybridV2" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/e18fe971-75b1-4351-987f-6fe3604bc721", + "location": "East US 2", + "name": "e18fe971-75b1-4351-987f-6fe3604bc721", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.1", + "registeredDateTime": "2018-04-25T16:30:55+00:00", + "lastSeenDateTime": "2018-04-25T16:30:55+00:00", + "vmResourceId": "", + "workerName": "myworker", + "workerType": "HybridV1" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..38897dc23cb4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listHybridRunbookWorkerGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", + "location": "East US 2", + "name": "TestHybridGroup", + "properties": { + "groupType": "User", + "credential": { + "name": "myRunAsCredentialName" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listModulesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listModulesByAutomationAccount.json new file mode 100644 index 000000000000..b264d5ddd675 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listModulesByAutomationAccount.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/Azure", + "name": "Azure", + "location": "East US 2", + "properties": { + "isGlobal": true, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2014-03-18T23:02:40.323+00:00", + "lastModifiedTime": "2017-03-17T16:57:48.343+00:00", + "provisioningState": "Created" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/Azure.Storage", + "name": "Azure.Storage", + "location": "East US 2", + "properties": { + "isGlobal": true, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2016-01-30T01:21:44.68+00:00", + "lastModifiedTime": "2017-03-17T17:04:27.833+00:00", + "provisioningState": "Created" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Automation", + "name": "AzureRM.Automation", + "location": "East US 2", + "properties": { + "isGlobal": true, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2016-01-30T01:19:39.427+00:00", + "lastModifiedTime": "2017-03-17T17:02:24.42+00:00", + "provisioningState": "Created" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Compute", + "name": "AzureRM.Compute", + "location": "East US 2", + "properties": { + "isGlobal": true, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2015-11-24T20:24:06.1+00:00", + "lastModifiedTime": "2017-03-17T17:01:53.81+00:00", + "provisioningState": "Created" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/AzureRM.Profile", + "name": "AzureRM.Profile", + "location": "East US 2", + "properties": { + "isGlobal": true, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2015-11-24T20:23:34.723+00:00", + "lastModifiedTime": "2017-03-17T17:01:22.993+00:00", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationCounts.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationCounts.json new file mode 100644 index 000000000000..3a940ae9faea --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationCounts.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "countType": "nodeconfiguration", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 2, + "$inlinecount": "allpages" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "client.localhost", + "properties": { + "count": 24 + } + }, + { + "name": "server.localhost", + "properties": { + "count": 3 + } + } + ], + "totalCount": 16 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNameFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNameFilter.json new file mode 100644 index 000000000000..d0b91f3a8f45 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNameFilter.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 2, + "$inlinecount": "allpages", + "$filter": "contains('.localhost',name)" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "server.localhost", + "properties": { + "configuration": { + "name": "SetupServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 2 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupClient.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SetupClient.localhost", + "properties": { + "configuration": { + "name": "SetupClient" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 6 + } + } + ], + "totalCount": 6 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNoFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNoFilter.json new file mode 100644 index 000000000000..59178fccda1b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeConfigurationsWithNoFilter.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 4, + "$inlinecount": "allpages" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "server.localhost", + "properties": { + "configuration": { + "name": "SetupServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 2 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SetupClient.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SetupClient.localhost", + "properties": { + "configuration": { + "name": "SetupClient" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 6 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/webServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "webServer.localhost", + "properties": { + "configuration": { + "name": "webServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 5 + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodeConfigurations/SqlServer.localhost", + "type": "Microsoft.Automation/AutomationAccounts/nodeConfigurations", + "name": "SqlServer.localhost", + "properties": { + "configuration": { + "name": "SqlServer" + }, + "creationTime": "2017-03-28T23:17:06.8901968+00:00", + "lastModifiedTime": "2017-03-28T23:17:06.8901968+00:00", + "nodeCount": 1 + } + } + ], + "totalCount": 12 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeReportsByNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeReportsByNode.json new file mode 100644 index 000000000000..bb8fb9391f9b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeReportsByNode.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/903a5ead-140c-11e7-a943-000d3a6140c9", + "reportId": "903a5ead-140c-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:16:27.587+00:00", + "endTime": "2017-03-28T23:16:27.587+00:00", + "lastModifiedTime": "2017-03-28T23:16:29.4440401+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/903a5eac-140c-11e7-a943-000d3a6140c9", + "reportId": "903a5eac-140c-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:16:26.015+00:00", + "endTime": "2017-03-28T23:16:27.015+00:00", + "lastModifiedTime": "2017-03-28T23:16:28.3813034+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/77c280c2-140a-11e7-a943-000d3a6140c9", + "reportId": "77c280c2-140a-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T23:01:25.986+00:00", + "endTime": "2017-03-28T23:01:26.986+00:00", + "lastModifiedTime": "2017-03-28T23:01:28.216963+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/5f4f5382-1408-11e7-a943-000d3a6140c9", + "reportId": "5f4f5382-1408-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:46:27.668+00:00", + "endTime": "2017-03-28T22:46:28.668+00:00", + "lastModifiedTime": "2017-03-28T22:46:29.0439184+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/5f4f5381-1408-11e7-a943-000d3a6140c9", + "reportId": "5f4f5381-1408-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:46:25.957+00:00", + "endTime": "2017-03-28T22:46:26.957+00:00", + "lastModifiedTime": "2017-03-28T22:46:27.9498533+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/46d97d6a-1406-11e7-a943-000d3a6140c9", + "reportId": "46d97d6a-1406-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:31:25.941+00:00", + "endTime": "2017-03-28T22:31:26.941+00:00", + "lastModifiedTime": "2017-03-28T22:31:27.6825492+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/48c8e301-1404-11e7-a943-000d3a6140c9", + "reportId": "48c8e301-1404-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:17:10.163+00:00", + "endTime": "2017-03-28T22:17:10.163+00:00", + "lastModifiedTime": "2017-03-28T22:17:11.0040472+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/2e63fdbc-1404-11e7-a943-000d3a6140c9", + "reportId": "2e63fdbc-1404-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:16:25.897+00:00", + "endTime": "2017-03-28T22:17:09.897+00:00", + "lastModifiedTime": "2017-03-28T22:16:27.3128731+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/15ee63e4-1402-11e7-a943-000d3a6140c9", + "reportId": "15ee63e4-1402-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T22:01:25.899+00:00", + "endTime": "2017-03-28T22:01:27.899+00:00", + "lastModifiedTime": "2017-03-28T22:01:26.6282252+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/0508f316-1400-11e7-a943-000d3a6140c9", + "reportId": "0508f316-1400-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:46:38.511+00:00", + "endTime": "2017-03-28T21:46:39.511+00:00", + "lastModifiedTime": "2017-03-28T21:46:40.577983+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/fd799a51-13ff-11e7-a943-000d3a6140c9", + "reportId": "fd799a51-13ff-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:46:25.843+00:00", + "endTime": "2017-03-28T21:46:37.843+00:00", + "lastModifiedTime": "2017-03-28T21:46:28.4660077+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/e504ae1b-13fd-11e7-a943-000d3a6140c9", + "reportId": "e504ae1b-13fd-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:31:25.818+00:00", + "endTime": "2017-03-28T21:31:27.818+00:00", + "lastModifiedTime": "2017-03-28T21:31:28.1503168+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/cd3ed224-13fb-11e7-a943-000d3a6140c9", + "reportId": "cd3ed224-13fb-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:16:35.538+00:00", + "endTime": "2017-03-28T21:16:59.538+00:00", + "lastModifiedTime": "2017-03-28T21:16:37.1768158+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/cd3ed223-13fb-11e7-a943-000d3a6140c9", + "reportId": "cd3ed223-13fb-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:16:26.956+00:00", + "endTime": "2017-03-28T21:16:34.956+00:00", + "lastModifiedTime": "2017-03-28T21:16:29.2370664+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/b6915efa-13f9-11e7-a943-000d3a6140c9", + "reportId": "b6915efa-13f9-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T21:01:29.916+00:00", + "endTime": "2017-03-28T21:02:02.916+00:00", + "lastModifiedTime": "2017-03-28T21:01:31.875597+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/a3560dca-13f7-11e7-a943-000d3a6140c9", + "reportId": "a3560dca-13f7-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:46:38.626+00:00", + "endTime": "2017-03-28T20:46:44.626+00:00", + "lastModifiedTime": "2017-03-28T20:46:39.749649+00:00", + "status": "Failed", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/9b9bb016-13f7-11e7-a943-000d3a6140c9", + "reportId": "9b9bb016-13f7-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:46:25.676+00:00", + "endTime": "2017-03-28T20:46:37.676+00:00", + "lastModifiedTime": "2017-03-28T20:46:27.2602881+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId/reports/833bd89b-13f5-11e7-a943-000d3a6140c9", + "reportId": "833bd89b-13f5-11e7-a943-000d3a6140c9", + "type": "Consistency", + "startTime": "2017-03-28T20:31:25.805+00:00", + "endTime": "2017-03-28T20:40:24.805+00:00", + "lastModifiedTime": "2017-03-28T20:31:27.1356547+00:00", + "status": "Compliant", + "configurationVersion": "2.0.0", + "rebootRequested": "False", + "refreshMode": "Pull", + "reportFormatVersion": "2.0" + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeStatusCounts.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeStatusCounts.json new file mode 100644 index 000000000000..23f7e78ac5f7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodeStatusCounts.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 20, + "$inlinecount": "allpages", + "countType": "status" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Compliant", + "properties": { + "count": 10 + } + }, + { + "name": "Failed", + "properties": { + "count": 1 + } + }, + { + "name": "InProgress", + "properties": { + "count": 1 + } + }, + { + "name": "NotCompliant", + "properties": { + "count": 3 + } + }, + { + "name": "Pending", + "properties": { + "count": 0 + } + }, + { + "name": "Unresponsive", + "properties": { + "count": 4 + } + } + ], + "totalCount": 6 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json new file mode 100644 index 000000000000..545a3df11a91 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 10, + "$inlinecount": "allpages", + "$filter": "properties/extensionHandler/any(eh: eh/version gt '2.70') and contains(name,'sql') and contains(properties/nodeConfiguration/name,'$$Not$$Configured$$')" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Sql1", + "name": "Sql1", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "01D64CDE-85DD-4C9B-B8F1-2F725348FDEC", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupSqlServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.70.0.1" + } + ] + } + } + ], + "totalCount": 1 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNameFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNameFilter.json new file mode 100644 index 000000000000..33983739c7b1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNameFilter.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 6, + "$inlinecount": "allpages", + "$filter": "contains('DSCCOMP',name)" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/DSCCOMP", + "name": "DSCCOMP", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "708D250A-2169-4B54-89FF-76F5F71C252A", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/DSCCOMP2", + "name": "DSCCOMP2", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "3B4BB31A-5132-4669-A15F-A17E234D1634", + "status": "Failed", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ], + "totalCount": 2 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNoFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNoFilter.json new file mode 100644 index 000000000000..9c9d3d748a7a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNoFilter.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 2, + "$inlinecount": "allpages" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId", + "name": "DSCCOMP", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "FCC20208-E781-41C4-A757-17AA0429B3A4", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId2", + "name": "DSCCOMP2", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "A63C781C-0C50-4825-B295-B7F8ECFD0DBC", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ], + "totalCount": 152 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json new file mode 100644 index 000000000000..d7d971adcb42 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 4, + "$inlinecount": "allpages", + "$filter": "contains(properties/nodeConfiguration/name,'SetupServer.localhost,SetupClient.localhost,$$Not$$Configured$$')" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node32", + "name": "Node32", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "477F9596-92F3-479A-82F2-9EE149F2C6B0", + "status": "Compliant", + "nodeConfiguration": { + "name": "" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node33", + "name": "Node33", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "E5D5D0B5-400D-48F7-A791-612945DAC5EB", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node34", + "name": "Node34", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "Node34", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupClient.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node35", + "name": "Node35", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "Node35", + "status": "NotCompliant", + "nodeConfiguration": { + "name": "SetupClient.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ], + "totalCount": 12 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json new file mode 100644 index 000000000000..95ae96f481fc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 20, + "$inlinecount": "allpages", + "$filter": "properties/nodeConfiguration/name eq ''" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node60", + "name": "Node60", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "477F9596-92F3-479A-82F2-9EE149F2C6B0", + "status": "Compliant", + "nodeConfiguration": { + "name": "" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node61", + "name": "Node61", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "E5D5D0B5-400D-48F7-A791-612945DAC5EB", + "status": "Compliant", + "nodeConfiguration": { + "name": "" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ], + "totalCount": 2 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json new file mode 100644 index 000000000000..7dc104dd7634 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 4, + "$inlinecount": "allpages", + "$filter": "contains(properties/status,'Compliant,NotCompliant')" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node12", + "name": "Node12", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "01D64CDE-85DD-4C9B-B8F1-2F725348FDEC", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node13", + "name": "Node13", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "E13076D7-A959-4067-B02F-4F014AAD22D7", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node14", + "name": "Node14", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "4289B441-B9A0-4309-93FC-0C5100CFBE46", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node15", + "name": "Node15", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "CBD2212B-8F4C-4049-98E7-1DBCBED7343B", + "status": "NotCompliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + ], + "totalCount": 67 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json new file mode 100644 index 000000000000..8becc3bf66d8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview", + "$skip": 0, + "$top": 4, + "$inlinecount": "allpages", + "$filter": "properties/extensionHandler/any(eh: eh/version le '2.70')" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node62", + "name": "Node62", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "01D64CDE-85DD-4C9B-B8F1-2F725348FDEC", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node63", + "name": "Node63", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "E13076D7-A959-4067-B02F-4F014AAD22D7", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.70.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node64", + "name": "Node64", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "4289B441-B9A0-4309-93FC-0C5100CFBE46", + "status": "Compliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.70.0.0" + } + ] + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/Node65", + "name": "Node65", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "CBD2212B-8F4C-4049-98E7-1DBCBED7343B", + "status": "NotCompliant", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": null + } + } + ], + "totalCount": 7 + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython2PackagesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython2PackagesByAutomationAccount.json new file mode 100644 index 000000000000..60acc96d798e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython2PackagesByAutomationAccount.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/configparser", + "name": "configparser", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "3.5.0", + "sizeInBytes": 39573, + "activityCount": 0, + "creationTime": "2018-07-17T17:57:01.7866667+00:00", + "lastModifiedTime": "2018-07-24T20:30:16.4966667+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/flask", + "name": "flask", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "1.0.2", + "sizeInBytes": 91364, + "activityCount": 0, + "creationTime": "2018-07-09T18:07:44.6133333+00:00", + "lastModifiedTime": "2018-07-09T18:09:20.7733333+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python2Packages/numpy", + "name": "numpy", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "1.14.5", + "sizeInBytes": 13345673, + "activityCount": 0, + "creationTime": "2018-07-14T01:05:54.67+00:00", + "lastModifiedTime": "2018-07-17T17:58:09.8733333+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython3PackagesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython3PackagesByAutomationAccount.json new file mode 100644 index 000000000000..582d2e9957a1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listPython3PackagesByAutomationAccount.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/configparser", + "name": "configparser", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "3.5.0", + "sizeInBytes": 39573, + "activityCount": 0, + "creationTime": "2018-07-17T17:57:01.7866667+00:00", + "lastModifiedTime": "2018-07-24T20:30:16.4966667+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/flask", + "name": "flask", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "1.0.2", + "sizeInBytes": 91364, + "activityCount": 0, + "creationTime": "2018-07-09T18:07:44.6133333+00:00", + "lastModifiedTime": "2018-07-09T18:09:20.7733333+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/python3Packages/numpy", + "name": "numpy", + "location": "East US 2", + "properties": { + "isGlobal": false, + "version": "1.14.5", + "sizeInBytes": 13345673, + "activityCount": 0, + "creationTime": "2018-07-14T01:05:54.67+00:00", + "lastModifiedTime": "2018-07-17T17:58:09.8733333+00:00", + "provisioningState": "Succeeded", + "isComposite": false + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listRestAPIOperations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listRestAPIOperations.json new file mode 100644 index 000000000000..6bf1de6182d3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listRestAPIOperations.json @@ -0,0 +1,1673 @@ +{ + "parameters": { + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "Microsoft.Automation/automationAccounts/agentRegistrationInformation/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Agent Registration", + "operation": "Gets an Azure Automation DSC's registration information", + "description": "Read an Azure Automation DSC's registration information" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/agentRegistrationInformation/regenerateKey/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Agent Registration", + "operation": "Puts a request to regenerate Azure Automation DSC keys", + "description": "Writes a request to regenerate Azure Automation DSC keys" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/operations/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Available Operations Resource", + "operation": "Reads Available Operations for Azure Automation resources", + "description": "Gets Available Operations for Azure Automation resources" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/configurations/content/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Configuration Media", + "operation": "Gets the configuration media content", + "description": "Reads the configuration media content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/deletedAutomationAccounts/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Deleted Account", + "operation": "Read an Azure Automation deleted account", + "description": "Gets an Azure Automation deleted account " + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/compilationjobs/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Compilations", + "operation": "Puts an Azure Automation DSC's Compilation", + "description": "Writes an Azure Automation DSC's Compilation" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/compilationjobs/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Compilations", + "operation": "Gets an Azure Automation DSC's Compilation", + "description": "Reads an Azure Automation DSC's Compilation" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/compilationjobs/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Compilations", + "operation": "Puts an Azure Automation DSC's Compilation", + "description": "Writes an Azure Automation DSC's Compilation" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/compilationjobs/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Compilations", + "operation": "Gets an Azure Automation DSC's Compilation", + "description": "Reads an Azure Automation DSC's Compilation" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/configurations/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Desired State Configuration", + "operation": "Read an Azure Automation DSC's content", + "description": "Gets an Azure Automation DSC's content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/configurations/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Desired State Configuration", + "operation": "Gets the count of an Azure Automation DSC's content", + "description": "Reads the count of an Azure Automation DSC's content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/configurations/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Desired State Configuration", + "operation": "Puts an Azure Automation DSC's content", + "description": "Writes an Azure Automation DSC's content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/configurations/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Desired State Configuration", + "operation": "Deletes an Azure Automation DSC's content", + "description": "Deletes an Azure Automation DSC's content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodes/reports/content/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Report Contents", + "operation": "Gets Azure Automation DSC report contents", + "description": "Reads Azure Automation DSC report contents" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodes/reports/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Reports", + "operation": "Gets Azure Automation DSC reports", + "description": "Reads Azure Automation DSC reports" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Read a Hybrid Runbook Worker Group", + "description": "Reads a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Create a Hybrid Runbook Worker Group", + "description": "Creates a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Delete a Hybrid Runbook Worker Group", + "description": "Deletes a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Read a Hybrid Runbook Worker Group", + "description": "Reads a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Create a Hybrid Runbook Worker Group", + "description": "Creates a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Group Resource Type", + "operation": "Delete a Hybrid Runbook Worker Group", + "description": "Deletes a Hybrid Runbook Worker Group" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Resource Type", + "operation": "Read a Hybrid Runbook Worker", + "description": "Reads a Hybrid Runbook Worker" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Resource Type", + "operation": "Create a Hybrid Runbook Worker", + "description": "Creates a Hybrid Runbook Worker" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers/move/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Resource Type", + "operation": "Move a Hybrid Runbook Worker from one Worker Group to another", + "description": "Moves Hybrid Runbook Worker from one Worker Group to another" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Hybrid Runbook Worker Resource Type", + "operation": "Delete a Hybrid Runbook Worker", + "description": "Deletes a Hybrid Runbook Worker" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/runbookContent/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Get runbook content", + "description": "Gets the content of the Azure Automation runbook at the time of the job execution" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/output/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Get the output of a job", + "description": "Gets the output of a job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/streams/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job Stream", + "operation": "Read an Azure Automation job stream", + "description": "Gets an Azure Automation job stream" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Read an Azure Automation job", + "description": "Gets an Azure Automation job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Create an Azure Automation job", + "description": "Creates an Azure Automation job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/stop/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Stop an Azure Automation job", + "description": "Stops an Azure Automation job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/suspend/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Suspend an Azure Automation job", + "description": "Suspends an Azure Automation job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/resume/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job", + "operation": "Resume an Azure Automation job", + "description": "Resumes an Azure Automation job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/modules/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Powershell Module", + "operation": "Read an Azure Automation Powershell module", + "description": "Gets an Azure Automation Powershell module" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/modules/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Powershell Module", + "operation": "Get the count of Powershell modules within the Automation Account", + "description": "Gets the count of Powershell modules within the Automation Account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/modules/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Powershell Module", + "operation": "Create or Update an Azure Automation Powershell module", + "description": "Creates or updates an Azure Automation Powershell module" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/modules/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Powershell Module", + "operation": "Delete an Azure Automation Powershell module", + "description": "Deletes an Azure Automation Powershell module" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connections/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Asset", + "operation": "Read an Azure Automation connection asset", + "description": "Gets an Azure Automation connection asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connections/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Asset", + "operation": "Gets the count of connections", + "description": "Reads the count of connections" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connections/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Asset", + "operation": "Create or Update an Azure Automation connection asset", + "description": "Creates or updates an Azure Automation connection asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connections/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Asset", + "operation": "Delete an Azure Automation connection asset", + "description": "Deletes an Azure Automation connection asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobSchedules/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job Schedule", + "operation": "Read an Azure Automation job schedule", + "description": "Gets an Azure Automation job schedule" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobSchedules/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job Schedule", + "operation": "Create an Azure Automation job schedule", + "description": "Creates an Azure Automation job schedule" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobSchedules/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job Schedule", + "operation": "Delete an Azure Automation job schedule", + "description": "Deletes an Azure Automation job schedule" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodeConfigurations/rawContent/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Media", + "operation": "Gets an Azure Automation DSC's node configuration content", + "description": "Reads an Azure Automation DSC's node configuration content" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodeConfigurations/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Node Configurations", + "operation": "Gets an Azure Automation DSC's node configuration", + "description": "Reads an Azure Automation DSC's node configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodeConfigurations/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Node Configurations", + "operation": "Puts an Azure Automation DSC's node configuration", + "description": "Writes an Azure Automation DSC's node configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodeConfigurations/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Node Configurations", + "operation": "Deletes an Azure Automation DSC's node configuration", + "description": "Deletes an Azure Automation DSC's node configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodecounts/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Node summary counts", + "operation": "Gets node count summary for the specified type", + "description": "Reads node count summary for the specified type" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodes/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Nodes", + "operation": "Gets Azure Automation DSC nodes", + "description": "Reads Azure Automation DSC nodes" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodes/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Nodes", + "operation": "Create or update Azure Automation DSC nodes", + "description": "Creates or updates Azure Automation DSC nodes" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/nodes/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Desired State Configuration Nodes", + "operation": "Deletes Azure Automation DSC nodes", + "description": "Deletes Azure Automation DSC nodes" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/convertGraphRunbookContent/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Convert Graph Runbook Content to its raw serialized format and vice-versa", + "description": "Convert Graph Runbook Content to its raw serialized format and vice-versa" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection", + "operation": "Azure Automation Private Endpoint Connection status", + "description": "Get Azure Automation Private Endpoint Connection status" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection", + "operation": "Azure Automation Private Endpoint Connection status", + "description": "Get Azure Automation Private Endpoint Connection status" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection", + "operation": "Approve or reject an Azure Automation Private Endpoint Connection", + "description": "Approve or reject an Azure Automation Private Endpoint Connection" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection", + "operation": "Delete an Azure Automation Private Endpoint Connection", + "description": "Delete an Azure Automation Private Endpoint Connection" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateLinkResources/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Group Information", + "operation": "Reads Group Information for private endpoints", + "description": "Reads Group Information for private endpoints" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateLinkResources/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Group Information", + "operation": "Reads Group Information for private endpoints", + "description": "Reads Group Information for private endpoints" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection Proxy", + "operation": "Reads Azure Automation Private Endpoint Connection Proxy", + "description": "Reads Azure Automation Private Endpoint Connection Proxy" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection Proxy", + "operation": "Creates an Azure Automation Private Endpoint Connection Proxy", + "description": "Creates an Azure Automation Private Endpoint Connection Proxy" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection Proxy", + "operation": "Validate a Private endpoint connection request", + "description": "Validate a Private endpoint connection request (groupId Validation)" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Private Endpoint Connection Proxy", + "operation": "Delete an Azure Automation Private Endpoint Connection Proxy", + "description": "Delete an Azure Automation Private Endpoint Connection Proxy" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python2Packages/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 2 package", + "operation": "Read an Azure Automation Python 2 package", + "description": "Gets an Azure Automation Python 2 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python2Packages/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 2 package", + "operation": "Create or Update an Azure Automation Python 2 package", + "description": "Creates or updates an Azure Automation Python 2 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python2Packages/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 2 package", + "operation": "Delete an Azure Automation Python 2 package", + "description": "Deletes an Azure Automation Python 2 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python3Packages/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 3 package", + "operation": "Read an Azure Automation Python 3 package", + "description": "Gets an Azure Automation Python 3 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python3Packages/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 3 package", + "operation": "Create or Update an Azure Automation Python 3 package", + "description": "Creates or updates an Azure Automation Python 3 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/python3Packages/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Python 3 package", + "operation": "Delete an Azure Automation Python 3 package", + "description": "Deletes an Azure Automation Python 3 package" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/operationResults/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation runbook draft operation results", + "operation": "Read Azure Automation runbook draft operation results", + "description": "Gets Azure Automation runbook draft operation results" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/operationResults/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation runbook operation results", + "operation": "Read Azure Automation runbook operation results", + "description": "Gets Azure Automation runbook operation results" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/privateEndpointConnectionProxies/operationResults/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation private endpoint proxy operation results.", + "operation": "Get Azure Automation private endpoint proxy operation results.", + "description": "Get Azure Automation private endpoint proxy operation results." + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft", + "operation": "Read an Azure Automation runbook draft", + "description": "Gets an Azure Automation runbook draft" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/undoEdit/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft", + "operation": "Undo Edit to an Azure Automation runbook draft", + "description": "Undo edits to an Azure Automation runbook draft" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook", + "operation": "Read an Azure Automation Runbook", + "description": "Gets an Azure Automation runbook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook", + "operation": "Get the count of Azure Automation runbooks", + "description": "Gets the count of Azure Automation runbooks" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook", + "operation": "Create or Update an Azure Automation Runbook", + "description": "Creates or updates an Azure Automation runbook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook", + "operation": "Delete an Azure Automation Runbook", + "description": "Deletes an Azure Automation runbook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/publish/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook", + "operation": "Publish an Azure Automation runbook draft", + "description": "Publishes an Azure Automation runbook draft" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurationMachineRuns/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration Machine Run", + "operation": "Read an Azure Automation Software Update Configuration Machine Run", + "description": "Gets an Azure Automation Software Update Configuration Machine Run" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurationRuns/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration Run", + "operation": "Read an Azure Automation Software Update Configuration Run", + "description": "Gets an Azure Automation Software Update Configuration Run" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Create an Azure Automation Software Update Configuration", + "description": "Creates or updates Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Read an Azure Automation Software Update Configuration", + "description": "Gets an Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Delete an Azure Automation Software Update Configuration", + "description": "Deletes an Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/objectDataTypes/fields/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation TypeFields", + "operation": "Read Azure Automation TypeFields", + "description": "Gets Azure Automation TypeFields" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/content/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Draft Runbook Content", + "operation": "Write the content of an Azure Automation runbook draft", + "description": "Creates the content of an Azure Automation runbook draft" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/content/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Content", + "operation": "Read the content of an Azure Automation runbook", + "description": "Gets the content of an Azure Automation runbook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/schedules/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Schedule Asset", + "operation": "Read an Azure Automation schedule asset", + "description": "Gets an Azure Automation schedule asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/schedules/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Schedule Asset", + "operation": "Get the count of Azure Automation schedules", + "description": "Gets the count of Azure Automation schedules" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/schedules/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Schedule Asset", + "operation": "Create or Update an Azure Automation schedule asset", + "description": "Creates or updates an Azure Automation schedule asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/schedules/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Schedule Asset", + "operation": "Delete an Azure Automation schedule asset", + "description": "Deletes an Azure Automation schedule asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/statistics/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Statistics", + "operation": "Read Azure Automation Statistics", + "description": "Gets Azure Automation Statistics" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/testJob/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft Test Job", + "operation": "Read an Azure Automation runbook draft test job", + "description": "Gets an Azure Automation runbook draft test job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/testJob/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft Test Job", + "operation": "Create an Azure Automation runbook draft test job", + "description": "Creates an Azure Automation runbook draft test job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/testJob/stop/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft Test Job", + "operation": "Stop an Azure Automation runbook draft test job", + "description": "Stops an Azure Automation runbook draft test job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/testJob/suspend/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft Test Job", + "operation": "Suspend an Azure Automation runbook draft test job", + "description": "Suspends an Azure Automation runbook draft test job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/testJob/resume/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft Test Job", + "operation": "Resume an Azure Automation runbook draft test job", + "description": "Resumes an Azure Automation runbook draft test job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connectionTypes/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Type Asset", + "operation": "Read an Azure Automation connection asset", + "description": "Gets an Azure Automation connection type asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connectionTypes/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Type Asset", + "operation": "Create an Azure Automation connection asset", + "description": "Creates an Azure Automation connection type asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/connectionTypes/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Connection Type Asset", + "operation": "Delete an Azure Automation connection asset", + "description": "Deletes an Azure Automation connection type asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/modules/activities/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Activities", + "operation": "Read Azure Automation Activities", + "description": "Gets Azure Automation Activities" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/certificates/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Certificate Asset", + "operation": "Gets the count of certificates", + "description": "Reads the count of certificates" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/certificates/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Certificate Asset", + "operation": "Read an Azure Automation certificate", + "description": "Gets an Azure Automation certificate asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/certificates/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Certificate Asset", + "operation": "Create or Update Azure Automation certificate", + "description": "Creates or updates an Azure Automation certificate asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/certificates/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Certificate Asset", + "operation": "Delete an Azure Automation certificate", + "description": "Deletes an Azure Automation certificate asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/credentials/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Credential Asset", + "operation": "Read an Azure Automation credential asset", + "description": "Gets an Azure Automation credential asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/credentials/getCount/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Credential Asset", + "operation": "Gets the counts of credentials", + "description": "Reads the count of credentials" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/credentials/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Credential Asset", + "operation": "Create or Update an Azure Automation credential asset", + "description": "Creates or updates an Azure Automation credential asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/credentials/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Credential Asset", + "operation": "Delete an Azure Automation credential asset", + "description": "Deletes an Azure Automation credential asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/jobs/streams/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Job Stream", + "operation": "Read an Azure Automation job stream", + "description": "Gets an Azure Automation job stream" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/updateDeploymentMachineRuns/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation update deployment machine resource type", + "operation": "Get an Azure Automation update deployment machine ", + "description": "Get an Azure Automation update deployment machine" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Create an Azure Automation Software Update Configuration", + "description": "Creates or updates Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Read an Azure Automation Software Update Configuration", + "description": "Gets an Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Software Update Configuration", + "operation": "Delete an Azure Automation Software Update Configuration", + "description": "Deletes an Azure Automation Software Update Configuration" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/updateManagementPatchJob/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation update management patch job resource type", + "operation": "Gets an Azure Automation update management patch job", + "description": "Gets an Azure Automation update management patch job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/linkedWorkspace/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Workspace linked to automation account", + "operation": "Read the workspace linked to the automation account", + "description": "Gets the workspace linked to the automation account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/usages/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Usage", + "operation": "Read Azure Automation Usage", + "description": "Gets Azure Automation Usage" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/watcherActions/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job Actions resource type", + "operation": "Create an Azure Automation watcher job actions", + "description": "Create an Azure Automation watcher job actions" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/watcherActions/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job Actions resource type", + "operation": "Gets an Azure Automation watcher job actions", + "description": "Gets an Azure Automation watcher job actions" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/watcherActions/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job Actions resource type", + "operation": "Delete an Azure Automation watcher job actions", + "description": "Delete an Azure Automation watcher job actions" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/streams/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher stream", + "operation": "Read an Azure Automation watcher stream", + "description": "Gets an Azure Automation watcher job stream" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job", + "operation": "Creates an Azure Automation watcher job", + "description": "Creates an Azure Automation watcher job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job", + "operation": "Gets an Azure Automation watcher job", + "description": "Gets an Azure Automation watcher job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job", + "operation": "Delete an Azure Automation watcher job", + "description": "Delete an Azure Automation watcher job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/start/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job", + "operation": "Start an Azure Automation watcher job", + "description": "Start an Azure Automation watcher job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/watchers/stop/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation watcher job", + "operation": "Stop an Azure Automation watcher job", + "description": "Stop an Azure Automation watcher job" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/webhooks/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Webhook", + "operation": "Read an Azure Automation webhook", + "description": "Reads an Azure Automation webhook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/webhooks/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Webhook", + "operation": "Create or Update an Azure Automation webhook", + "description": "Creates or updates an Azure Automation webhook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/webhooks/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Webhook", + "operation": "Delete an Azure Automation webhook", + "description": "Deletes an Azure Automation webhook " + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/webhooks/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Webhook", + "operation": "Generate a URI for an Azure Automation webhook", + "description": "Generates a URI for an Azure Automation webhook" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Read an Azure Automation account", + "description": "Gets an Azure Automation account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Create or Update an Azure Automation account", + "description": "Creates or updates an Azure Automation account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/listKeys/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Gets the Keys for the automation account", + "description": "Reads the Keys for the automation account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Delete an Azure Automation account", + "description": "Deletes an Azure Automation account" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/variables/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Variable Asset", + "operation": "Read an Azure Automation variable asset", + "description": "Reads an Azure Automation variable asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/variables/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Variable Asset", + "operation": "Create or Update an Azure Automation variable asset", + "description": "Creates or updates an Azure Automation variable asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/variables/delete", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Variable Asset", + "operation": "Delete an Azure Automation variable asset", + "description": "Deletes an Azure Automation variable asset" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/diagnosticSettings/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Get Diagnostic setting", + "description": "Gets the diagnostic setting for the resource" + }, + "origin": "system", + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/diagnosticSettings/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account", + "operation": "Set Diagnostic setting", + "description": "Sets the diagnostic setting for the resource" + }, + "origin": "system", + "properties": null + }, + { + "name": "Microsoft.Automation/automationAccounts/logDefinitions/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Account Log Definition", + "operation": "Read automation account log definitions", + "description": "Gets the available logs for the automation account" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "JobLogs", + "displayName": "Job Logs", + "blobDuration": "PT1H" + }, + { + "name": "JobStreams", + "displayName": "Job Streams", + "blobDuration": "PT1H" + }, + { + "name": "DscNodeStatus", + "displayName": "Dsc Node Status", + "blobDuration": "PT1H" + } + ] + } + } + }, + { + "name": "Microsoft.Automation/automationAccounts/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Automation", + "resource": "Automation Metric Definitions", + "operation": "Read Automation Metric Definitions", + "description": "Gets Automation Metric Definitions" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "TotalJob", + "displayName": "Total Jobs", + "displayDescription": "The total number of jobs", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [ + { + "name": "Runbook", + "displayName": "Runbook Name" + }, + { + "name": "Status", + "displayName": "Status" + } + ] + }, + { + "name": "TotalUpdateDeploymentRuns", + "displayName": "Total Update Deployment Runs", + "displayDescription": "Total software update deployment runs", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [ + { + "name": "SoftwareUpdateConfigurationName", + "displayName": "Update Deployment Name" + }, + { + "name": "Status", + "displayName": "Status" + } + ] + }, + { + "name": "TotalUpdateDeploymentMachineRuns", + "displayName": "Total Update Deployment Machine Runs", + "displayDescription": "Total software update deployment machine runs in a software update deployment run", + "unit": "Count", + "aggregationType": "Total", + "dimensions": [ + { + "name": "SoftwareUpdateConfigurationName", + "displayName": "Update Deployment Name" + }, + { + "name": "Status", + "displayName": "Status" + }, + { + "name": "TargetComputer", + "displayName": "Target Computer" + }, + { + "name": "SoftwareUpdateConfigurationRunId", + "displayName": "Update Deployment Run Id" + } + ] + } + ], + "logSpecifications": null + } + } + }, + { + "name": "Microsoft.Automation/automationAccounts/runbooks/draft/write", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation Runbook Draft", + "operation": "Write an Azure Automation runbook draft", + "description": "Creates an Azure Automation runbook draft" + }, + "origin": null, + "properties": null + }, + { + "name": "Microsoft.Automation/register/action", + "display": { + "provider": "Microsoft Automation", + "resource": "Azure Automation subscription resource type", + "operation": "Register the subscription to Azure Automation", + "description": "Registers the subscription to Azure Automation" + }, + "origin": null, + "properties": null + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_First100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_First100.json new file mode 100644 index 000000000000..7b381fe7775a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_First100.json @@ -0,0 +1,1918 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my updated description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": false, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T17:00:14.027+00:00", + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule0", + "name": "mySchedule0", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:17.18+00:00", + "lastModifiedTime": "2017-03-27T17:00:17.18+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule1", + "name": "mySchedule1", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:17.493+00:00", + "lastModifiedTime": "2017-03-27T17:00:17.493+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule10", + "name": "mySchedule10", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:20.54+00:00", + "lastModifiedTime": "2017-03-27T17:00:20.54+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule100", + "name": "mySchedule100", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:50.103+00:00", + "lastModifiedTime": "2017-03-27T17:00:50.103+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule101", + "name": "mySchedule101", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:50.433+00:00", + "lastModifiedTime": "2017-03-27T17:00:50.433+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule102", + "name": "mySchedule102", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:50.713+00:00", + "lastModifiedTime": "2017-03-27T17:00:50.713+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule103", + "name": "mySchedule103", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:51.04+00:00", + "lastModifiedTime": "2017-03-27T17:00:51.04+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule104", + "name": "mySchedule104", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:51.323+00:00", + "lastModifiedTime": "2017-03-27T17:00:51.323+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule105", + "name": "mySchedule105", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:51.62+00:00", + "lastModifiedTime": "2017-03-27T17:00:51.62+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule106", + "name": "mySchedule106", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:51.9+00:00", + "lastModifiedTime": "2017-03-27T17:00:51.9+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule107", + "name": "mySchedule107", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:52.183+00:00", + "lastModifiedTime": "2017-03-27T17:00:52.183+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule108", + "name": "mySchedule108", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:52.48+00:00", + "lastModifiedTime": "2017-03-27T17:00:52.48+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule109", + "name": "mySchedule109", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:52.76+00:00", + "lastModifiedTime": "2017-03-27T17:00:52.76+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule11", + "name": "mySchedule11", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:20.883+00:00", + "lastModifiedTime": "2017-03-27T17:00:20.883+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule110", + "name": "mySchedule110", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:53.073+00:00", + "lastModifiedTime": "2017-03-27T17:00:53.073+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule111", + "name": "mySchedule111", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:53.48+00:00", + "lastModifiedTime": "2017-03-27T17:00:53.48+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule112", + "name": "mySchedule112", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:53.807+00:00", + "lastModifiedTime": "2017-03-27T17:00:53.807+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule113", + "name": "mySchedule113", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:54.073+00:00", + "lastModifiedTime": "2017-03-27T17:00:54.073+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule114", + "name": "mySchedule114", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:54.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:54.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule115", + "name": "mySchedule115", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:54.65+00:00", + "lastModifiedTime": "2017-03-27T17:00:54.65+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule116", + "name": "mySchedule116", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:54.933+00:00", + "lastModifiedTime": "2017-03-27T17:00:54.933+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule117", + "name": "mySchedule117", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:55.277+00:00", + "lastModifiedTime": "2017-03-27T17:00:55.277+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule118", + "name": "mySchedule118", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:55.65+00:00", + "lastModifiedTime": "2017-03-27T17:00:55.65+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule119", + "name": "mySchedule119", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:55.95+00:00", + "lastModifiedTime": "2017-03-27T17:00:55.95+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule12", + "name": "mySchedule12", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:21.213+00:00", + "lastModifiedTime": "2017-03-27T17:00:21.213+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule120", + "name": "mySchedule120", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:56.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:56.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule121", + "name": "mySchedule121", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:56.65+00:00", + "lastModifiedTime": "2017-03-27T17:00:56.65+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule122", + "name": "mySchedule122", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:56.95+00:00", + "lastModifiedTime": "2017-03-27T17:00:56.95+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule123", + "name": "mySchedule123", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:57.247+00:00", + "lastModifiedTime": "2017-03-27T17:00:57.247+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule124", + "name": "mySchedule124", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:57.573+00:00", + "lastModifiedTime": "2017-03-27T17:00:57.573+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule125", + "name": "mySchedule125", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:57.9+00:00", + "lastModifiedTime": "2017-03-27T17:00:57.9+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule126", + "name": "mySchedule126", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:58.387+00:00", + "lastModifiedTime": "2017-03-27T17:00:58.387+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule127", + "name": "mySchedule127", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:58.7+00:00", + "lastModifiedTime": "2017-03-27T17:00:58.7+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule128", + "name": "mySchedule128", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:59.4+00:00", + "lastModifiedTime": "2017-03-27T17:00:59.4+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule129", + "name": "mySchedule129", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:59.73+00:00", + "lastModifiedTime": "2017-03-27T17:00:59.73+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule13", + "name": "mySchedule13", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:21.603+00:00", + "lastModifiedTime": "2017-03-27T17:00:21.603+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule130", + "name": "mySchedule130", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:00.09+00:00", + "lastModifiedTime": "2017-03-27T17:01:00.09+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule131", + "name": "mySchedule131", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:00.4+00:00", + "lastModifiedTime": "2017-03-27T17:01:00.4+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule132", + "name": "mySchedule132", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:00.683+00:00", + "lastModifiedTime": "2017-03-27T17:01:00.683+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule133", + "name": "mySchedule133", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:01.073+00:00", + "lastModifiedTime": "2017-03-27T17:01:01.073+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule134", + "name": "mySchedule134", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:01.387+00:00", + "lastModifiedTime": "2017-03-27T17:01:01.387+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule135", + "name": "mySchedule135", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:01.667+00:00", + "lastModifiedTime": "2017-03-27T17:01:01.667+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule136", + "name": "mySchedule136", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:01.95+00:00", + "lastModifiedTime": "2017-03-27T17:01:01.95+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule137", + "name": "mySchedule137", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:02.247+00:00", + "lastModifiedTime": "2017-03-27T17:01:02.247+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule138", + "name": "mySchedule138", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:02.557+00:00", + "lastModifiedTime": "2017-03-27T17:01:02.557+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule139", + "name": "mySchedule139", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:02.853+00:00", + "lastModifiedTime": "2017-03-27T17:01:02.853+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule14", + "name": "mySchedule14", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:21.98+00:00", + "lastModifiedTime": "2017-03-27T17:00:21.98+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule140", + "name": "mySchedule140", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:03.247+00:00", + "lastModifiedTime": "2017-03-27T17:01:03.247+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule141", + "name": "mySchedule141", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:03.573+00:00", + "lastModifiedTime": "2017-03-27T17:01:03.573+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule142", + "name": "mySchedule142", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:03.87+00:00", + "lastModifiedTime": "2017-03-27T17:01:03.87+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule143", + "name": "mySchedule143", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:04.2+00:00", + "lastModifiedTime": "2017-03-27T17:01:04.2+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule144", + "name": "mySchedule144", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:04.48+00:00", + "lastModifiedTime": "2017-03-27T17:01:04.48+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule145", + "name": "mySchedule145", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:04.76+00:00", + "lastModifiedTime": "2017-03-27T17:01:04.76+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule146", + "name": "mySchedule146", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:05.027+00:00", + "lastModifiedTime": "2017-03-27T17:01:05.027+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule147", + "name": "mySchedule147", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:05.353+00:00", + "lastModifiedTime": "2017-03-27T17:01:05.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule148", + "name": "mySchedule148", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:05.65+00:00", + "lastModifiedTime": "2017-03-27T17:01:05.65+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule149", + "name": "mySchedule149", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:05.95+00:00", + "lastModifiedTime": "2017-03-27T17:01:05.95+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule15", + "name": "mySchedule15", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:22.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:22.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule150", + "name": "mySchedule150", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:06.247+00:00", + "lastModifiedTime": "2017-03-27T17:01:06.247+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule151", + "name": "mySchedule151", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:06.527+00:00", + "lastModifiedTime": "2017-03-27T17:01:06.527+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule152", + "name": "mySchedule152", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:06.81+00:00", + "lastModifiedTime": "2017-03-27T17:01:06.81+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule153", + "name": "mySchedule153", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:07.157+00:00", + "lastModifiedTime": "2017-03-27T17:01:07.157+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule154", + "name": "mySchedule154", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:07.453+00:00", + "lastModifiedTime": "2017-03-27T17:01:07.453+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule155", + "name": "mySchedule155", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:07.75+00:00", + "lastModifiedTime": "2017-03-27T17:01:07.75+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule156", + "name": "mySchedule156", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:08.093+00:00", + "lastModifiedTime": "2017-03-27T17:01:08.093+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule157", + "name": "mySchedule157", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:08.513+00:00", + "lastModifiedTime": "2017-03-27T17:01:08.513+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule158", + "name": "mySchedule158", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:08.873+00:00", + "lastModifiedTime": "2017-03-27T17:01:08.873+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule159", + "name": "mySchedule159", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:09.203+00:00", + "lastModifiedTime": "2017-03-27T17:01:09.203+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule16", + "name": "mySchedule16", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:22.697+00:00", + "lastModifiedTime": "2017-03-27T17:00:22.697+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule160", + "name": "mySchedule160", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:09.547+00:00", + "lastModifiedTime": "2017-03-27T17:01:09.547+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule161", + "name": "mySchedule161", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:09.843+00:00", + "lastModifiedTime": "2017-03-27T17:01:09.843+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule162", + "name": "mySchedule162", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:10.14+00:00", + "lastModifiedTime": "2017-03-27T17:01:10.14+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule163", + "name": "mySchedule163", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:10.437+00:00", + "lastModifiedTime": "2017-03-27T17:01:10.437+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule164", + "name": "mySchedule164", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:10.72+00:00", + "lastModifiedTime": "2017-03-27T17:01:10.72+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule165", + "name": "mySchedule165", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:11.013+00:00", + "lastModifiedTime": "2017-03-27T17:01:11.013+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule166", + "name": "mySchedule166", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:11.297+00:00", + "lastModifiedTime": "2017-03-27T17:01:11.297+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule167", + "name": "mySchedule167", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:11.61+00:00", + "lastModifiedTime": "2017-03-27T17:01:11.61+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule168", + "name": "mySchedule168", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:11.89+00:00", + "lastModifiedTime": "2017-03-27T17:01:11.89+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule169", + "name": "mySchedule169", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:12.203+00:00", + "lastModifiedTime": "2017-03-27T17:01:12.203+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule17", + "name": "mySchedule17", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:23.027+00:00", + "lastModifiedTime": "2017-03-27T17:00:23.027+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule170", + "name": "mySchedule170", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:12.453+00:00", + "lastModifiedTime": "2017-03-27T17:01:12.453+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule171", + "name": "mySchedule171", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:12.733+00:00", + "lastModifiedTime": "2017-03-27T17:01:12.733+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule172", + "name": "mySchedule172", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:13.03+00:00", + "lastModifiedTime": "2017-03-27T17:01:13.03+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule173", + "name": "mySchedule173", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:13.31+00:00", + "lastModifiedTime": "2017-03-27T17:01:13.31+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule174", + "name": "mySchedule174", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:13.623+00:00", + "lastModifiedTime": "2017-03-27T17:01:13.623+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule175", + "name": "mySchedule175", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:01:13.937+00:00", + "lastModifiedTime": "2017-03-27T17:01:13.937+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule18", + "name": "mySchedule18", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:23.337+00:00", + "lastModifiedTime": "2017-03-27T17:00:23.337+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule19", + "name": "mySchedule19", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:23.667+00:00", + "lastModifiedTime": "2017-03-27T17:00:23.667+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule2", + "name": "mySchedule2", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:17.823+00:00", + "lastModifiedTime": "2017-03-27T17:00:17.823+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule20", + "name": "mySchedule20", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:24.01+00:00", + "lastModifiedTime": "2017-03-27T17:00:24.01+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule21", + "name": "mySchedule21", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:24.337+00:00", + "lastModifiedTime": "2017-03-27T17:00:24.337+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule22", + "name": "mySchedule22", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:24.667+00:00", + "lastModifiedTime": "2017-03-27T17:00:24.667+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule23", + "name": "mySchedule23", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:24.98+00:00", + "lastModifiedTime": "2017-03-27T17:00:24.98+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule24", + "name": "mySchedule24", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:25.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:25.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule25", + "name": "mySchedule25", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:25.68+00:00", + "lastModifiedTime": "2017-03-27T17:00:25.68+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule26", + "name": "mySchedule26", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:26.01+00:00", + "lastModifiedTime": "2017-03-27T17:00:26.01+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule27", + "name": "mySchedule27", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:26.323+00:00", + "lastModifiedTime": "2017-03-27T17:00:26.323+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule28", + "name": "mySchedule28", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:26.65+00:00", + "lastModifiedTime": "2017-03-27T17:00:26.65+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule29", + "name": "mySchedule29", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:26.947+00:00", + "lastModifiedTime": "2017-03-27T17:00:26.947+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules?api-version=2023-05-15-preview&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_Next100.json new file mode 100644 index 000000000000..ce354e7e8840 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listSchedulesByAutomationAccount_Next100.json @@ -0,0 +1,1480 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule3", + "name": "mySchedule3", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:18.12+00:00", + "lastModifiedTime": "2017-03-27T17:00:18.12+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule30", + "name": "mySchedule30", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:27.277+00:00", + "lastModifiedTime": "2017-03-27T17:00:27.277+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule31", + "name": "mySchedule31", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:27.603+00:00", + "lastModifiedTime": "2017-03-27T17:00:27.603+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule32", + "name": "mySchedule32", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:28.04+00:00", + "lastModifiedTime": "2017-03-27T17:00:28.04+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule33", + "name": "mySchedule33", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:28.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:28.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule34", + "name": "mySchedule34", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:28.667+00:00", + "lastModifiedTime": "2017-03-27T17:00:28.667+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule35", + "name": "mySchedule35", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:29.01+00:00", + "lastModifiedTime": "2017-03-27T17:00:29.01+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule36", + "name": "mySchedule36", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:29.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:29.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule37", + "name": "mySchedule37", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:29.68+00:00", + "lastModifiedTime": "2017-03-27T17:00:29.68+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule38", + "name": "mySchedule38", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:29.993+00:00", + "lastModifiedTime": "2017-03-27T17:00:29.993+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule39", + "name": "mySchedule39", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:30.307+00:00", + "lastModifiedTime": "2017-03-27T17:00:30.307+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule4", + "name": "mySchedule4", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:18.417+00:00", + "lastModifiedTime": "2017-03-27T17:00:18.417+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule40", + "name": "mySchedule40", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:30.62+00:00", + "lastModifiedTime": "2017-03-27T17:00:30.62+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule41", + "name": "mySchedule41", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:30.93+00:00", + "lastModifiedTime": "2017-03-27T17:00:30.93+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule42", + "name": "mySchedule42", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:31.26+00:00", + "lastModifiedTime": "2017-03-27T17:00:31.26+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule43", + "name": "mySchedule43", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:31.573+00:00", + "lastModifiedTime": "2017-03-27T17:00:31.573+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule44", + "name": "mySchedule44", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:31.947+00:00", + "lastModifiedTime": "2017-03-27T17:00:31.947+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule45", + "name": "mySchedule45", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:32.29+00:00", + "lastModifiedTime": "2017-03-27T17:00:32.29+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule46", + "name": "mySchedule46", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:32.603+00:00", + "lastModifiedTime": "2017-03-27T17:00:32.603+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule47", + "name": "mySchedule47", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:32.93+00:00", + "lastModifiedTime": "2017-03-27T17:00:32.93+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule48", + "name": "mySchedule48", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:33.51+00:00", + "lastModifiedTime": "2017-03-27T17:00:33.51+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule49", + "name": "mySchedule49", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:33.823+00:00", + "lastModifiedTime": "2017-03-27T17:00:33.823+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule5", + "name": "mySchedule5", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:18.743+00:00", + "lastModifiedTime": "2017-03-27T17:00:18.743+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule50", + "name": "mySchedule50", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:34.15+00:00", + "lastModifiedTime": "2017-03-27T17:00:34.15+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule51", + "name": "mySchedule51", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:34.447+00:00", + "lastModifiedTime": "2017-03-27T17:00:34.447+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule52", + "name": "mySchedule52", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:34.743+00:00", + "lastModifiedTime": "2017-03-27T17:00:34.743+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule53", + "name": "mySchedule53", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:35.057+00:00", + "lastModifiedTime": "2017-03-27T17:00:35.057+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule54", + "name": "mySchedule54", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:35.37+00:00", + "lastModifiedTime": "2017-03-27T17:00:35.37+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule55", + "name": "mySchedule55", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:35.683+00:00", + "lastModifiedTime": "2017-03-27T17:00:35.683+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule56", + "name": "mySchedule56", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:35.98+00:00", + "lastModifiedTime": "2017-03-27T17:00:35.98+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule57", + "name": "mySchedule57", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:36.277+00:00", + "lastModifiedTime": "2017-03-27T17:00:36.277+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule58", + "name": "mySchedule58", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:36.603+00:00", + "lastModifiedTime": "2017-03-27T17:00:36.603+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule59", + "name": "mySchedule59", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:36.947+00:00", + "lastModifiedTime": "2017-03-27T17:00:36.947+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule6", + "name": "mySchedule6", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:19.103+00:00", + "lastModifiedTime": "2017-03-27T17:00:19.103+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule60", + "name": "mySchedule60", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:37.26+00:00", + "lastModifiedTime": "2017-03-27T17:00:37.26+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule61", + "name": "mySchedule61", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:37.557+00:00", + "lastModifiedTime": "2017-03-27T17:00:37.557+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule62", + "name": "mySchedule62", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:37.963+00:00", + "lastModifiedTime": "2017-03-27T17:00:37.963+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule63", + "name": "mySchedule63", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:38.29+00:00", + "lastModifiedTime": "2017-03-27T17:00:38.29+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule64", + "name": "mySchedule64", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:38.603+00:00", + "lastModifiedTime": "2017-03-27T17:00:38.603+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule65", + "name": "mySchedule65", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:38.917+00:00", + "lastModifiedTime": "2017-03-27T17:00:38.917+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule66", + "name": "mySchedule66", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:39.307+00:00", + "lastModifiedTime": "2017-03-27T17:00:39.307+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule67", + "name": "mySchedule67", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:39.59+00:00", + "lastModifiedTime": "2017-03-27T17:00:39.59+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule68", + "name": "mySchedule68", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:39.947+00:00", + "lastModifiedTime": "2017-03-27T17:00:39.947+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule69", + "name": "mySchedule69", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:40.307+00:00", + "lastModifiedTime": "2017-03-27T17:00:40.307+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule7", + "name": "mySchedule7", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:19.51+00:00", + "lastModifiedTime": "2017-03-27T17:00:19.51+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule70", + "name": "mySchedule70", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:40.667+00:00", + "lastModifiedTime": "2017-03-27T17:00:40.667+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule71", + "name": "mySchedule71", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:41.01+00:00", + "lastModifiedTime": "2017-03-27T17:00:41.01+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule72", + "name": "mySchedule72", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:41.323+00:00", + "lastModifiedTime": "2017-03-27T17:00:41.323+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule73", + "name": "mySchedule73", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:41.637+00:00", + "lastModifiedTime": "2017-03-27T17:00:41.637+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule74", + "name": "mySchedule74", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:41.933+00:00", + "lastModifiedTime": "2017-03-27T17:00:41.933+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule75", + "name": "mySchedule75", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:42.26+00:00", + "lastModifiedTime": "2017-03-27T17:00:42.26+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule76", + "name": "mySchedule76", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:42.573+00:00", + "lastModifiedTime": "2017-03-27T17:00:42.573+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule77", + "name": "mySchedule77", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:42.9+00:00", + "lastModifiedTime": "2017-03-27T17:00:42.9+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule78", + "name": "mySchedule78", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:43.213+00:00", + "lastModifiedTime": "2017-03-27T17:00:43.213+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule79", + "name": "mySchedule79", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:43.573+00:00", + "lastModifiedTime": "2017-03-27T17:00:43.573+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule8", + "name": "mySchedule8", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:19.837+00:00", + "lastModifiedTime": "2017-03-27T17:00:19.837+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule80", + "name": "mySchedule80", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:43.87+00:00", + "lastModifiedTime": "2017-03-27T17:00:43.87+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule81", + "name": "mySchedule81", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:44.197+00:00", + "lastModifiedTime": "2017-03-27T17:00:44.197+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule82", + "name": "mySchedule82", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:44.493+00:00", + "lastModifiedTime": "2017-03-27T17:00:44.493+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule83", + "name": "mySchedule83", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:44.807+00:00", + "lastModifiedTime": "2017-03-27T17:00:44.807+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule84", + "name": "mySchedule84", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:45.183+00:00", + "lastModifiedTime": "2017-03-27T17:00:45.183+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule85", + "name": "mySchedule85", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:45.493+00:00", + "lastModifiedTime": "2017-03-27T17:00:45.493+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule86", + "name": "mySchedule86", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:45.79+00:00", + "lastModifiedTime": "2017-03-27T17:00:45.79+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule87", + "name": "mySchedule87", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:46.09+00:00", + "lastModifiedTime": "2017-03-27T17:00:46.09+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule88", + "name": "mySchedule88", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:46.37+00:00", + "lastModifiedTime": "2017-03-27T17:00:46.37+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule89", + "name": "mySchedule89", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:46.887+00:00", + "lastModifiedTime": "2017-03-27T17:00:46.887+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule9", + "name": "mySchedule9", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:20.15+00:00", + "lastModifiedTime": "2017-03-27T17:00:20.15+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule90", + "name": "mySchedule90", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:47.183+00:00", + "lastModifiedTime": "2017-03-27T17:00:47.183+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule91", + "name": "mySchedule91", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:47.493+00:00", + "lastModifiedTime": "2017-03-27T17:00:47.493+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule92", + "name": "mySchedule92", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:47.76+00:00", + "lastModifiedTime": "2017-03-27T17:00:47.76+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule93", + "name": "mySchedule93", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:48.073+00:00", + "lastModifiedTime": "2017-03-27T17:00:48.073+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule94", + "name": "mySchedule94", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:48.353+00:00", + "lastModifiedTime": "2017-03-27T17:00:48.353+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule95", + "name": "mySchedule95", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:48.683+00:00", + "lastModifiedTime": "2017-03-27T17:00:48.683+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule96", + "name": "mySchedule96", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:48.963+00:00", + "lastModifiedTime": "2017-03-27T17:00:48.963+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule97", + "name": "mySchedule97", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:49.243+00:00", + "lastModifiedTime": "2017-03-27T17:00:49.243+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule98", + "name": "mySchedule98", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:49.51+00:00", + "lastModifiedTime": "2017-03-27T17:00:49.51+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule99", + "name": "mySchedule99", + "properties": { + "description": "my description of schedule goes here", + "startTime": "2017-03-27T18:59:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": true, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T17:00:49.79+00:00", + "lastModifiedTime": "2017-03-27T17:00:49.79+00:00", + "nextRun": "2017-03-27T18:59:00+00:00", + "nextRunOffsetMinutes": 0.0, + "timeZone": "UTC" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_First100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_First100.json new file mode 100644 index 000000000000..0e16a82decb3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_First100.json @@ -0,0 +1,1117 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T23:00:53.363+00:00", + "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", + "isEncrypted": false, + "value": "\"ComputerName3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0", + "name": "sampleVariable0", + "properties": { + "creationTime": "2017-03-28T23:00:58.847+00:00", + "lastModifiedTime": "2017-03-28T23:00:58.847+00:00", + "isEncrypted": false, + "value": "\"server0.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1", + "name": "sampleVariable1", + "properties": { + "creationTime": "2017-03-28T23:00:59.69+00:00", + "lastModifiedTime": "2017-03-28T23:00:59.69+00:00", + "isEncrypted": false, + "value": "\"server1.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10", + "name": "sampleVariable10", + "properties": { + "creationTime": "2017-03-28T23:01:08.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:08.393+00:00", + "isEncrypted": false, + "value": "\"server10.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100", + "name": "sampleVariable100", + "properties": { + "creationTime": "2017-03-28T23:02:27.38+00:00", + "lastModifiedTime": "2017-03-28T23:02:27.38+00:00", + "isEncrypted": false, + "value": "\"server100.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101", + "name": "sampleVariable101", + "properties": { + "creationTime": "2017-03-28T23:02:28.223+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.223+00:00", + "isEncrypted": false, + "value": "\"server101.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102", + "name": "sampleVariable102", + "properties": { + "creationTime": "2017-03-28T23:02:28.99+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.99+00:00", + "isEncrypted": false, + "value": "\"server102.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103", + "name": "sampleVariable103", + "properties": { + "creationTime": "2017-03-28T23:02:29.77+00:00", + "lastModifiedTime": "2017-03-28T23:02:29.77+00:00", + "isEncrypted": false, + "value": "\"server103.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104", + "name": "sampleVariable104", + "properties": { + "creationTime": "2017-03-28T23:02:30.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:30.647+00:00", + "isEncrypted": false, + "value": "\"server104.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105", + "name": "sampleVariable105", + "properties": { + "creationTime": "2017-03-28T23:02:31.49+00:00", + "lastModifiedTime": "2017-03-28T23:02:31.49+00:00", + "isEncrypted": false, + "value": "\"server105.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106", + "name": "sampleVariable106", + "properties": { + "creationTime": "2017-03-28T23:02:32.303+00:00", + "lastModifiedTime": "2017-03-28T23:02:32.303+00:00", + "isEncrypted": false, + "value": "\"server106.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107", + "name": "sampleVariable107", + "properties": { + "creationTime": "2017-03-28T23:02:34.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:34.583+00:00", + "isEncrypted": false, + "value": "\"server107.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108", + "name": "sampleVariable108", + "properties": { + "creationTime": "2017-03-28T23:02:35.367+00:00", + "lastModifiedTime": "2017-03-28T23:02:35.367+00:00", + "isEncrypted": false, + "value": "\"server108.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109", + "name": "sampleVariable109", + "properties": { + "creationTime": "2017-03-28T23:02:36.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:36.147+00:00", + "isEncrypted": false, + "value": "\"server109.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11", + "name": "sampleVariable11", + "properties": { + "creationTime": "2017-03-28T23:01:09.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:09.27+00:00", + "isEncrypted": false, + "value": "\"server11.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12", + "name": "sampleVariable12", + "properties": { + "creationTime": "2017-03-28T23:01:10.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:10.16+00:00", + "isEncrypted": false, + "value": "\"server12.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13", + "name": "sampleVariable13", + "properties": { + "creationTime": "2017-03-28T23:01:11.003+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.003+00:00", + "isEncrypted": false, + "value": "\"server13.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14", + "name": "sampleVariable14", + "properties": { + "creationTime": "2017-03-28T23:01:11.863+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.863+00:00", + "isEncrypted": false, + "value": "\"server14.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15", + "name": "sampleVariable15", + "properties": { + "creationTime": "2017-03-28T23:01:12.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:12.74+00:00", + "isEncrypted": false, + "value": "\"server15.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16", + "name": "sampleVariable16", + "properties": { + "creationTime": "2017-03-28T23:01:13.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:13.597+00:00", + "isEncrypted": false, + "value": "\"server16.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17", + "name": "sampleVariable17", + "properties": { + "creationTime": "2017-03-28T23:01:16.287+00:00", + "lastModifiedTime": "2017-03-28T23:01:16.287+00:00", + "isEncrypted": false, + "value": "\"server17.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18", + "name": "sampleVariable18", + "properties": { + "creationTime": "2017-03-28T23:01:17.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:17.16+00:00", + "isEncrypted": false, + "value": "\"server18.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19", + "name": "sampleVariable19", + "properties": { + "creationTime": "2017-03-28T23:01:18.02+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.02+00:00", + "isEncrypted": false, + "value": "\"server19.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2", + "name": "sampleVariable2", + "properties": { + "creationTime": "2017-03-28T23:01:00.567+00:00", + "lastModifiedTime": "2017-03-28T23:01:00.567+00:00", + "isEncrypted": false, + "value": "\"server2.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20", + "name": "sampleVariable20", + "properties": { + "creationTime": "2017-03-28T23:01:18.847+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.847+00:00", + "isEncrypted": false, + "value": "\"server20.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21", + "name": "sampleVariable21", + "properties": { + "creationTime": "2017-03-28T23:01:19.723+00:00", + "lastModifiedTime": "2017-03-28T23:01:19.723+00:00", + "isEncrypted": false, + "value": "\"server21.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22", + "name": "sampleVariable22", + "properties": { + "creationTime": "2017-03-28T23:01:21.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:21.597+00:00", + "isEncrypted": false, + "value": "\"server22.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23", + "name": "sampleVariable23", + "properties": { + "creationTime": "2017-03-28T23:01:22.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:22.393+00:00", + "isEncrypted": false, + "value": "\"server23.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24", + "name": "sampleVariable24", + "properties": { + "creationTime": "2017-03-28T23:01:23.207+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.207+00:00", + "isEncrypted": false, + "value": "\"server24.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25", + "name": "sampleVariable25", + "properties": { + "creationTime": "2017-03-28T23:01:23.973+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.973+00:00", + "isEncrypted": false, + "value": "\"server25.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26", + "name": "sampleVariable26", + "properties": { + "creationTime": "2017-03-28T23:01:24.8+00:00", + "lastModifiedTime": "2017-03-28T23:01:24.8+00:00", + "isEncrypted": false, + "value": "\"server26.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27", + "name": "sampleVariable27", + "properties": { + "creationTime": "2017-03-28T23:01:25.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:25.597+00:00", + "isEncrypted": false, + "value": "\"server27.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28", + "name": "sampleVariable28", + "properties": { + "creationTime": "2017-03-28T23:01:26.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:26.55+00:00", + "isEncrypted": false, + "value": "\"server28.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29", + "name": "sampleVariable29", + "properties": { + "creationTime": "2017-03-28T23:01:27.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:27.457+00:00", + "isEncrypted": false, + "value": "\"server29.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3", + "name": "sampleVariable3", + "properties": { + "creationTime": "2017-03-28T23:01:01.427+00:00", + "lastModifiedTime": "2017-03-28T23:01:01.427+00:00", + "isEncrypted": false, + "value": "\"server3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30", + "name": "sampleVariable30", + "properties": { + "creationTime": "2017-03-28T23:01:28.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:28.253+00:00", + "isEncrypted": false, + "value": "\"server30.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31", + "name": "sampleVariable31", + "properties": { + "creationTime": "2017-03-28T23:01:29.05+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.05+00:00", + "isEncrypted": false, + "value": "\"server31.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32", + "name": "sampleVariable32", + "properties": { + "creationTime": "2017-03-28T23:01:29.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.817+00:00", + "isEncrypted": false, + "value": "\"server32.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33", + "name": "sampleVariable33", + "properties": { + "creationTime": "2017-03-28T23:01:30.643+00:00", + "lastModifiedTime": "2017-03-28T23:01:30.643+00:00", + "isEncrypted": false, + "value": "\"server33.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34", + "name": "sampleVariable34", + "properties": { + "creationTime": "2017-03-28T23:01:31.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:31.473+00:00", + "isEncrypted": false, + "value": "\"server34.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35", + "name": "sampleVariable35", + "properties": { + "creationTime": "2017-03-28T23:01:32.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:32.253+00:00", + "isEncrypted": false, + "value": "\"server35.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36", + "name": "sampleVariable36", + "properties": { + "creationTime": "2017-03-28T23:01:33.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:33.27+00:00", + "isEncrypted": false, + "value": "\"server36.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37", + "name": "sampleVariable37", + "properties": { + "creationTime": "2017-03-28T23:01:34.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.037+00:00", + "isEncrypted": false, + "value": "\"server37.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38", + "name": "sampleVariable38", + "properties": { + "creationTime": "2017-03-28T23:01:34.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.817+00:00", + "isEncrypted": false, + "value": "\"server38.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39", + "name": "sampleVariable39", + "properties": { + "creationTime": "2017-03-28T23:01:35.613+00:00", + "lastModifiedTime": "2017-03-28T23:01:35.613+00:00", + "isEncrypted": false, + "value": "\"server39.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4", + "name": "sampleVariable4", + "properties": { + "creationTime": "2017-03-28T23:01:02.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:02.38+00:00", + "isEncrypted": false, + "value": "\"server4.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40", + "name": "sampleVariable40", + "properties": { + "creationTime": "2017-03-28T23:01:36.397+00:00", + "lastModifiedTime": "2017-03-28T23:01:36.397+00:00", + "isEncrypted": false, + "value": "\"server40.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41", + "name": "sampleVariable41", + "properties": { + "creationTime": "2017-03-28T23:01:37.19+00:00", + "lastModifiedTime": "2017-03-28T23:01:37.19+00:00", + "isEncrypted": false, + "value": "\"server41.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42", + "name": "sampleVariable42", + "properties": { + "creationTime": "2017-03-28T23:01:38.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.037+00:00", + "isEncrypted": false, + "value": "\"server42.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43", + "name": "sampleVariable43", + "properties": { + "creationTime": "2017-03-28T23:01:38.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.88+00:00", + "isEncrypted": false, + "value": "\"server43.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44", + "name": "sampleVariable44", + "properties": { + "creationTime": "2017-03-28T23:01:39.707+00:00", + "lastModifiedTime": "2017-03-28T23:01:39.707+00:00", + "isEncrypted": false, + "value": "\"server44.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45", + "name": "sampleVariable45", + "properties": { + "creationTime": "2017-03-28T23:01:41.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:41.457+00:00", + "isEncrypted": false, + "value": "\"server45.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46", + "name": "sampleVariable46", + "properties": { + "creationTime": "2017-03-28T23:01:42.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:42.253+00:00", + "isEncrypted": false, + "value": "\"server46.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47", + "name": "sampleVariable47", + "properties": { + "creationTime": "2017-03-28T23:01:43.083+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.083+00:00", + "isEncrypted": false, + "value": "\"server47.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48", + "name": "sampleVariable48", + "properties": { + "creationTime": "2017-03-28T23:01:43.957+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.957+00:00", + "isEncrypted": false, + "value": "\"server48.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49", + "name": "sampleVariable49", + "properties": { + "creationTime": "2017-03-28T23:01:44.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:44.74+00:00", + "isEncrypted": false, + "value": "\"server49.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5", + "name": "sampleVariable5", + "properties": { + "creationTime": "2017-03-28T23:01:03.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:03.253+00:00", + "isEncrypted": false, + "value": "\"server5.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50", + "name": "sampleVariable50", + "properties": { + "creationTime": "2017-03-28T23:01:46.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:46.35+00:00", + "isEncrypted": false, + "value": "\"server50.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51", + "name": "sampleVariable51", + "properties": { + "creationTime": "2017-03-28T23:01:47.1+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.1+00:00", + "isEncrypted": false, + "value": "\"server51.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52", + "name": "sampleVariable52", + "properties": { + "creationTime": "2017-03-28T23:01:47.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.88+00:00", + "isEncrypted": false, + "value": "\"server52.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53", + "name": "sampleVariable53", + "properties": { + "creationTime": "2017-03-28T23:01:48.677+00:00", + "lastModifiedTime": "2017-03-28T23:01:48.677+00:00", + "isEncrypted": false, + "value": "\"server53.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54", + "name": "sampleVariable54", + "properties": { + "creationTime": "2017-03-28T23:01:49.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:49.473+00:00", + "isEncrypted": false, + "value": "\"server54.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55", + "name": "sampleVariable55", + "properties": { + "creationTime": "2017-03-28T23:01:51.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.16+00:00", + "isEncrypted": false, + "value": "\"server55.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56", + "name": "sampleVariable56", + "properties": { + "creationTime": "2017-03-28T23:01:51.927+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.927+00:00", + "isEncrypted": false, + "value": "\"server56.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57", + "name": "sampleVariable57", + "properties": { + "creationTime": "2017-03-28T23:01:52.757+00:00", + "lastModifiedTime": "2017-03-28T23:01:52.757+00:00", + "isEncrypted": false, + "value": "\"server57.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58", + "name": "sampleVariable58", + "properties": { + "creationTime": "2017-03-28T23:01:53.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:53.55+00:00", + "isEncrypted": false, + "value": "\"server58.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59", + "name": "sampleVariable59", + "properties": { + "creationTime": "2017-03-28T23:01:54.317+00:00", + "lastModifiedTime": "2017-03-28T23:01:54.317+00:00", + "isEncrypted": false, + "value": "\"server59.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6", + "name": "sampleVariable6", + "properties": { + "creationTime": "2017-03-28T23:01:04.143+00:00", + "lastModifiedTime": "2017-03-28T23:01:04.143+00:00", + "isEncrypted": false, + "value": "\"server6.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60", + "name": "sampleVariable60", + "properties": { + "creationTime": "2017-03-28T23:01:55.177+00:00", + "lastModifiedTime": "2017-03-28T23:01:55.177+00:00", + "isEncrypted": false, + "value": "\"server60.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61", + "name": "sampleVariable61", + "properties": { + "creationTime": "2017-03-28T23:01:56.583+00:00", + "lastModifiedTime": "2017-03-28T23:01:56.583+00:00", + "isEncrypted": false, + "value": "\"server61.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62", + "name": "sampleVariable62", + "properties": { + "creationTime": "2017-03-28T23:01:57.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.27+00:00", + "isEncrypted": false, + "value": "\"server62.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63", + "name": "sampleVariable63", + "properties": { + "creationTime": "2017-03-28T23:01:57.943+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.943+00:00", + "isEncrypted": false, + "value": "\"server63.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64", + "name": "sampleVariable64", + "properties": { + "creationTime": "2017-03-28T23:01:58.66+00:00", + "lastModifiedTime": "2017-03-28T23:01:58.66+00:00", + "isEncrypted": false, + "value": "\"server64.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65", + "name": "sampleVariable65", + "properties": { + "creationTime": "2017-03-28T23:01:59.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:59.35+00:00", + "isEncrypted": false, + "value": "\"server65.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66", + "name": "sampleVariable66", + "properties": { + "creationTime": "2017-03-28T23:02:00.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:00.02+00:00", + "isEncrypted": false, + "value": "\"server66.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67", + "name": "sampleVariable67", + "properties": { + "creationTime": "2017-03-28T23:02:01.507+00:00", + "lastModifiedTime": "2017-03-28T23:02:01.507+00:00", + "isEncrypted": false, + "value": "\"server67.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68", + "name": "sampleVariable68", + "properties": { + "creationTime": "2017-03-28T23:02:02.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.177+00:00", + "isEncrypted": false, + "value": "\"server68.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69", + "name": "sampleVariable69", + "properties": { + "creationTime": "2017-03-28T23:02:02.863+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.863+00:00", + "isEncrypted": false, + "value": "\"server69.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7", + "name": "sampleVariable7", + "properties": { + "creationTime": "2017-03-28T23:01:05.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:05.393+00:00", + "isEncrypted": false, + "value": "\"server7.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70", + "name": "sampleVariable70", + "properties": { + "creationTime": "2017-03-28T23:02:03.6+00:00", + "lastModifiedTime": "2017-03-28T23:02:03.6+00:00", + "isEncrypted": false, + "value": "\"server70.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71", + "name": "sampleVariable71", + "properties": { + "creationTime": "2017-03-28T23:02:04.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:04.333+00:00", + "isEncrypted": false, + "value": "\"server71.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72", + "name": "sampleVariable72", + "properties": { + "creationTime": "2017-03-28T23:02:05.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.1+00:00", + "isEncrypted": false, + "value": "\"server72.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73", + "name": "sampleVariable73", + "properties": { + "creationTime": "2017-03-28T23:02:05.833+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.833+00:00", + "isEncrypted": false, + "value": "\"server73.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74", + "name": "sampleVariable74", + "properties": { + "creationTime": "2017-03-28T23:02:06.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:06.647+00:00", + "isEncrypted": false, + "value": "\"server74.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75", + "name": "sampleVariable75", + "properties": { + "creationTime": "2017-03-28T23:02:07.363+00:00", + "lastModifiedTime": "2017-03-28T23:02:07.363+00:00", + "isEncrypted": false, + "value": "\"server75.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76", + "name": "sampleVariable76", + "properties": { + "creationTime": "2017-03-28T23:02:08.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.1+00:00", + "isEncrypted": false, + "value": "\"server76.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77", + "name": "sampleVariable77", + "properties": { + "creationTime": "2017-03-28T23:02:08.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.82+00:00", + "isEncrypted": false, + "value": "\"server77.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78", + "name": "sampleVariable78", + "properties": { + "creationTime": "2017-03-28T23:02:09.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:09.553+00:00", + "isEncrypted": false, + "value": "\"server78.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79", + "name": "sampleVariable79", + "properties": { + "creationTime": "2017-03-28T23:02:10.63+00:00", + "lastModifiedTime": "2017-03-28T23:02:10.63+00:00", + "isEncrypted": false, + "value": "\"server79.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8", + "name": "sampleVariable8", + "properties": { + "creationTime": "2017-03-28T23:01:06.52+00:00", + "lastModifiedTime": "2017-03-28T23:01:06.52+00:00", + "isEncrypted": false, + "value": "\"server8.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80", + "name": "sampleVariable80", + "properties": { + "creationTime": "2017-03-28T23:02:11.32+00:00", + "lastModifiedTime": "2017-03-28T23:02:11.32+00:00", + "isEncrypted": false, + "value": "\"server80.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81", + "name": "sampleVariable81", + "properties": { + "creationTime": "2017-03-28T23:02:12.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.02+00:00", + "isEncrypted": false, + "value": "\"server81.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82", + "name": "sampleVariable82", + "properties": { + "creationTime": "2017-03-28T23:02:12.723+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.723+00:00", + "isEncrypted": false, + "value": "\"server82.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83", + "name": "sampleVariable83", + "properties": { + "creationTime": "2017-03-28T23:02:13.443+00:00", + "lastModifiedTime": "2017-03-28T23:02:13.443+00:00", + "isEncrypted": false, + "value": "\"server83.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84", + "name": "sampleVariable84", + "properties": { + "creationTime": "2017-03-28T23:02:14.16+00:00", + "lastModifiedTime": "2017-03-28T23:02:14.16+00:00", + "isEncrypted": false, + "value": "\"server84.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85", + "name": "sampleVariable85", + "properties": { + "creationTime": "2017-03-28T23:02:15.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:15.177+00:00", + "isEncrypted": false, + "value": "\"server85.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86", + "name": "sampleVariable86", + "properties": { + "creationTime": "2017-03-28T23:02:16.053+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.053+00:00", + "isEncrypted": false, + "value": "\"server86.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87", + "name": "sampleVariable87", + "properties": { + "creationTime": "2017-03-28T23:02:16.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.82+00:00", + "isEncrypted": false, + "value": "\"server87.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88", + "name": "sampleVariable88", + "properties": { + "creationTime": "2017-03-28T23:02:17.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:17.583+00:00", + "isEncrypted": false, + "value": "\"server88.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89", + "name": "sampleVariable89", + "properties": { + "creationTime": "2017-03-28T23:02:18.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:18.333+00:00", + "isEncrypted": false, + "value": "\"server89.domain.com\"", + "description": null + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2023-05-15-preview&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_Next100.json new file mode 100644 index 000000000000..9fbbdd687b0e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listVariables_Next100.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "api-version": "2023-05-15-preview", + "$skip": 100 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9", + "name": "sampleVariable9", + "properties": { + "creationTime": "2017-03-28T23:01:07.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:07.38+00:00", + "isEncrypted": false, + "value": "\"server9.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90", + "name": "sampleVariable90", + "properties": { + "creationTime": "2017-03-28T23:02:19.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:19.147+00:00", + "isEncrypted": false, + "value": "\"server90.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91", + "name": "sampleVariable91", + "properties": { + "creationTime": "2017-03-28T23:02:20.257+00:00", + "lastModifiedTime": "2017-03-28T23:02:20.257+00:00", + "isEncrypted": false, + "value": "\"server91.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92", + "name": "sampleVariable92", + "properties": { + "creationTime": "2017-03-28T23:02:21.037+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.037+00:00", + "isEncrypted": false, + "value": "\"server92.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93", + "name": "sampleVariable93", + "properties": { + "creationTime": "2017-03-28T23:02:21.803+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.803+00:00", + "isEncrypted": false, + "value": "\"server93.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94", + "name": "sampleVariable94", + "properties": { + "creationTime": "2017-03-28T23:02:22.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:22.583+00:00", + "isEncrypted": false, + "value": "\"server94.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95", + "name": "sampleVariable95", + "properties": { + "creationTime": "2017-03-28T23:02:23.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:23.333+00:00", + "isEncrypted": false, + "value": "\"server95.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96", + "name": "sampleVariable96", + "properties": { + "creationTime": "2017-03-28T23:02:24.163+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.163+00:00", + "isEncrypted": false, + "value": "\"server96.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97", + "name": "sampleVariable97", + "properties": { + "creationTime": "2017-03-28T23:02:24.973+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.973+00:00", + "isEncrypted": false, + "value": "\"server97.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98", + "name": "sampleVariable98", + "properties": { + "creationTime": "2017-03-28T23:02:25.757+00:00", + "lastModifiedTime": "2017-03-28T23:02:25.757+00:00", + "isEncrypted": false, + "value": "\"server98.domain.com\"" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99", + "name": "sampleVariable99", + "properties": { + "creationTime": "2017-03-28T23:02:26.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:26.553+00:00", + "isEncrypted": false, + "value": "\"server99.domain.com\"" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWatchersByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWatchersByAutomationAccount.json new file mode 100644 index 000000000000..cc58827a5bff --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWatchersByAutomationAccount.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher", + "name": "MyTestWatcher", + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcher", + "scriptParameters": null, + "description": "This is a test watcher.", + "status": null, + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2016-12-20T21:36:48.597+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2016-12-20T21:36:48.597+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher01", + "name": "MyTestWatcher01", + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcher", + "scriptParameters": null, + "description": "This is a test watcher.", + "status": null, + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2016-12-20T20:47:24.697+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2016-12-20T20:47:24.697+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher02", + "name": "MyTestWatcher02", + "properties": { + "executionFrequencyInSeconds": 60, + "scriptName": "MyTestWatcher", + "scriptParameters": null, + "description": "This is a test watcher.", + "status": null, + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2016-12-20T21:26:35.647+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2016-12-20T21:26:35.647+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWebhooksByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWebhooksByAutomationAccount.json new file mode 100644 index 000000000000..13c4e54b60a7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/listWebhooksByAutomationAccount.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook", + "name": "TestWebhook", + "properties": { + "isEnabled": true, + "expiryTime": "2018-03-29T22:18:13.7002872+00:00", + "runbook": { + "name": "TestRunbook" + }, + "lastInvokedTime": null, + "runOn": null, + "parameters": null, + "uri": null, + "creationTime": "2017-03-29T22:18:14.6651862+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-03-29T22:18:14.6651862+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/moveHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/moveHybridRunbookWorker.json new file mode 100644 index 000000000000..585887258cd4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/moveHybridRunbookWorker.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "api-version": "2023-05-15-preview", + "HybridRunbookWorkerMoveParameters": { + "hybridRunbookWorkerGroupName": "TestHybridGroup2" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/createOrUpdatePackage.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/createOrUpdatePackage.json new file mode 100644 index 000000000000..6d0f8d75c1da --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/createOrUpdatePackage.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "runtimeEnvironmentName": "runtimeEnvironmentName", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/deletePackage.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/deletePackage.json new file mode 100644 index 000000000000..9128b305b152 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/deletePackage.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "runtimeEnvironmentName": "runtimeEnvironmentName", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/getPackage.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/getPackage.json new file mode 100644 index 000000000000..062c3b70f0cc --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/getPackage.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "runtimeEnvironmentName": "runtimeEnvironmentName", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/listPackagesByRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/listPackagesByRuntimeEnvironment.json new file mode 100644 index 000000000000..e2c5e798503f --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/listPackagesByRuntimeEnvironment.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "runtimeEnvironmentName": "runtimeEnvironmentName", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "error": { + "code": null, + "message": "" + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/runtimeEnvironments/myEnv/packages/OmsCompositeResources2", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironmentss/Package", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "error": { + "code": null, + "message": "" + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/updatePackage.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/updatePackage.json new file mode 100644 index 000000000000..408c93ae05db --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/package/updatePackage.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "runtimeEnvironmentName": "runtimeEnvironmentName", + "packageName": "OmsCompositeResources", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/modules/OmsCompositeResources", + "name": "OmsCompositeResources", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "properties": { + "default": false, + "version": null, + "sizeInBytes": 0, + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/patchHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/patchHybridRunbookWorker.json new file mode 100644 index 000000000000..156e813862f7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/patchHybridRunbookWorker.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "api-version": "2023-05-15-preview", + "HybridRunbookWorkerCreationParameters": { + "properties": { + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "location": "East US 2", + "name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.0", + "registeredDateTime": "2018-04-24T16:30:55+00:00", + "lastSeenDateTime": "2018-04-24T16:30:55+00:00", + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", + "workerName": "vmname", + "workerType": "HybridV2" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionDelete.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..2ccf70f10275 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionDelete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg1", + "automationAccountName": "automationAccountName", + "api-version": "2023-05-15-preview", + "privateEndpointConnectionName": "privateEndpointConnectionName" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName/operationResults/9bd70be2-cf73-49b4-9467-5261d48c2b3d?api-version=2023-05-15-preview" + } + }, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionGet.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..4748505414a6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg1", + "automationAccountName": "automationAccountName", + "api-version": "2023-05-15-preview", + "privateEndpointConnectionName": "privateEndpointConnectionName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName", + "name": "privateEndpointConnectionName", + "type": "Microsoft.Automation/automationAccounts/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName" + }, + "groupIds": [ + "sql" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionListGet.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionListGet.json new file mode 100644 index 000000000000..7b66e1a77846 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionListGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg1", + "automationAccountName": "automationAccountName", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName", + "name": "privateEndpointConnectionName", + "type": "Microsoft.Automation/automationAccounts/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName" + }, + "groupIds": [ + "sql" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName2", + "name": "privateEndpointConnectionName", + "type": "Microsoft.Automation/automationAccounts/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName2" + }, + "groupIds": [ + "sql" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionUpdate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionUpdate.json new file mode 100644 index 000000000000..6aa4fa922e74 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/privateEndpointConnection/PrivateEndpointConnectionUpdate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg1", + "automationAccountName": "automationAccountName", + "api-version": "2023-05-15-preview", + "privateEndpointConnectionName": "privateEndpointConnectionName", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccountName/privateEndpointConnections/privateEndpointConnectionName", + "name": "privateEndpointConnectionName", + "type": "Microsoft.Automation/automationAccounts/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName" + }, + "groupIds": [ + "sql" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + }, + "202": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorker.json new file mode 100644 index 000000000000..56533c98ac87 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorker.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "hybridRunbookWorkerId": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "api-version": "2023-05-15-preview", + "HybridRunbookWorkerCreationParameters": { + "properties": { + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "location": "East US 2", + "name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.0", + "registeredDateTime": "2018-04-24T16:30:55+00:00", + "lastSeenDateTime": "2018-04-24T16:30:55+00:00", + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", + "workerName": "vmname", + "workerType": "HybridV2" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup/hybridRunbookWorkers/c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "location": "East US 2", + "name": "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd", + "type": "Microsoft.Automation/AutomationAccounts/HybridRunbookWorkerGroups/HybridRunbookWorkers", + "properties": { + "ip": "10.0.0.0", + "registeredDateTime": "2018-04-24T16:30:55+00:00", + "lastSeenDateTime": "2018-04-24T16:30:55+00:00", + "vmResourceId": "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname", + "workerName": "vmname", + "workerType": "HybridV2" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..a4386d9b97c1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/putHybridRunbookWorkerGroup.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "api-version": "2023-05-15-preview", + "HybridRunbookWorkerGroupCreationParameters": { + "properties": { + "credential": { + "name": "myRunAsCredentialName" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", + "location": "East US 2", + "name": "TestHybridGroup", + "properties": { + "groupType": "User", + "credential": { + "name": "myRunAsCredentialName" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", + "location": "East US 2", + "name": "TestHybridGroup", + "properties": { + "groupType": "User", + "credential": { + "name": "myRunAsCredentialName" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/regenerateAgentRegistrationKey.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/regenerateAgentRegistrationKey.json new file mode 100644 index 000000000000..07c9ba5a9938 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/regenerateAgentRegistrationKey.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "api-version": "2023-05-15-preview", + "parameters": { + "keyName": "primary" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": null, + "keys": { + "primary": "5ci0000000000000000000000000000000000000000000000000000000000000000000000000000Y5H/8wFg==", + "secondary": "rVp0000000000000000000000000000000000000000000000000000000000000000000000000000f8cbmrOA==" + }, + "endpoint": "https://eus2-agentservice-prod-1.azure-automation.net/accounts/bd8fac9e-0000-0000-0000-0000f474fbf6", + "dscMetaConfiguration": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createOrUpdateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createOrUpdateRunbook.json new file mode 100644 index 000000000000..40d28c4aebf2 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createOrUpdateRunbook.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "logVerbose": false, + "logProgress": true, + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "publishContentLink": { + "uri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1", + "contentHash": { + "algorithm": "SHA256", + "value": "115775B8FF2BE672D8A946BD0B489918C724DDE15A440373CA54461D53010A80" + } + }, + "description": "Description of the Runbook", + "logActivityTrace": 1 + }, + "name": "Get-AzureVMTutorial", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636263318837230000\"", + "properties": { + "description": "Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-28T21:04:43.66+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-28T21:04:43.723+00:00" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636263318866000000\"", + "properties": { + "description": "Description of the Runbook", + "logVerbose": true, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-28T21:04:43.66+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-28T21:04:46.6+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createRunbookAsDraft.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createRunbookAsDraft.json new file mode 100644 index 000000000000..37e79d365c69 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createRunbookAsDraft.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "logVerbose": false, + "logProgress": false, + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "description": "Description of the Runbook", + "draft": {} + }, + "name": "Get-AzureVMTutorial", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636263318837230000\"", + "properties": { + "description": "Description of the Runbook", + "logVerbose": false, + "logProgress": false, + "logActivityTrace": 0, + "parameters": {}, + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "state": "New", + "jobCount": 0, + "provisioningState": "Succeeded", + "creationTime": "2018-02-09T03:25:59.097+00:00", + "lastModifiedTime": "2018-02-09T03:25:59.097+00:00", + "outputTypes": [] + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636263318866000000\"", + "properties": { + "description": "Description of the Runbook", + "logVerbose": false, + "logProgress": false, + "logActivityTrace": 0, + "parameters": {}, + "runbookType": "PowerShell", + "runtimeEnvironment": "environmentName", + "state": "New", + "jobCount": 0, + "provisioningState": "Succeeded", + "creationTime": "2018-02-09T03:25:59.097+00:00", + "lastModifiedTime": "2018-02-09T03:25:59.097+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createTestJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createTestJob.json new file mode 100644 index 000000000000..c315506f2417 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/createTestJob.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview", + "parameters": { + "parameters": { + "key01": "value01", + "key02": "value02" + }, + "runOn": "", + "runtimeEnvironment": "runtimeEnvironmentName" + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "creationTime": "2018-02-09T05:51:59.82+00:00", + "status": "New", + "statusDetails": "None", + "startTime": null, + "endTime": null, + "lastModifiedTime": "2018-02-09T05:51:59.82+00:00", + "lastStatusModifiedTime": "2018-02-09T05:51:59.82+00:00", + "exception": null, + "parameters": {}, + "runOn": null, + "logActivityTrace": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/deleteRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/deleteRunbook.json new file mode 100644 index 000000000000..9f9a5d4d19bd --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/deleteRunbook.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbook.json new file mode 100644 index 000000000000..a7d0fcf12488 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbook.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636263335437500000\"", + "properties": { + "description": "Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-28T21:32:23.75+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-28T21:32:23.75+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookContent.json new file mode 100644 index 000000000000..54d28dfbc4f6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookContent.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": { + "Content-Type": "text/powershell" + }, + "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraft.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraft.json new file mode 100644 index 000000000000..ebc0696dfb6a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraft.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "creationTime": "2018-02-09T03:25:59.11+00:00", + "lastModifiedTime": "2018-02-09T04:48:56.43+00:00", + "inEdit": true, + "parameters": {}, + "outputTypes": [] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraftContent.json new file mode 100644 index 000000000000..edd8178e77a5 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getRunbookDraftContent.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": { + "Content-Type": "text/powershell" + }, + "body": "<#\r\n .DESCRIPTION \r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJob.json new file mode 100644 index 000000000000..22157c5f3bb2 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJob.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "creationTime": "2018-02-09T05:52:00.9344172+00:00", + "status": "Completed", + "statusDetails": "None", + "startTime": "2018-02-09T05:55:10.8344743+00:00", + "endTime": "2018-02-09T05:55:16.7827254+00:00", + "lastModifiedTime": "2018-02-09T05:55:16.7827254+00:00", + "lastStatusModifiedTime": "2018-02-09T05:55:16.7827254+00:00", + "exception": null, + "parameters": {}, + "runOn": null, + "logActivityTrace": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJobStream.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJobStream.json new file mode 100644 index 000000000000..4ca7580164c6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/getTestJobStream.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "jobStreamId": "851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/foo/draft/testJob/streams/851b2101-686f-40e2-8a4b-5b8df08afbd1_00636535684910693884_00000000000000000001", + "properties": { + "jobStreamId": "851b2101-686f-40e2-8a4b-5b8df08afbd1:00636535684910693884:00000000000000000001", + "summary": null, + "time": "2018-02-07T02:48:11.0693884+00:00", + "streamType": "Output", + "streamText": "", + "value": {} + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listRunbooksByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listRunbooksByAutomationAccount.json new file mode 100644 index 000000000000..f7fbb758d7b6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listRunbooksByAutomationAccount.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/ASR-AddPublicIp", + "location": "East US 2", + "name": "ASR-AddPublicIp", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "properties": { + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "state": "Published", + "logVerbose": true, + "logProgress": true, + "logActivityTrace": 1, + "creationTime": "2017-03-28T21:32:25.78+00:00", + "lastModifiedTime": "2017-03-28T21:32:25.81+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/AutoExport", + "location": "East US 2", + "name": "AutoExport", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "properties": { + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "state": "Published", + "logVerbose": true, + "logProgress": true, + "logActivityTrace": 1, + "creationTime": "2017-03-28T21:32:27.327+00:00", + "lastModifiedTime": "2017-03-28T21:32:27.327+00:00" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "location": "East US 2", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "properties": { + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "state": "Published", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "creationTime": "2017-03-28T21:32:23.75+00:00", + "lastModifiedTime": "2017-03-28T21:32:23.75+00:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listTestJobStreamsByJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listTestJobStreamsByJob.json new file mode 100644 index 000000000000..352691d90e6f --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/listTestJobStreamsByJob.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001", + "properties": { + "jobStreamId": "24456a8a-2857-4af6-932c-3455f38bd05e_00636535675981232703_00000000000000000001", + "summary": null, + "time": "2018-02-07T02:33:18.1232703+00:00", + "streamType": "Output" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourcegroups/mygroup/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobs/jobName/streams/24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002", + "properties": { + "jobStreamId": "24456a8a-2857-4af6-932c-3455f38bd05e_00636535675984691350_00000000000000000002", + "summary": null, + "time": "2018-02-07T02:33:18.469135+00:00", + "streamType": "Output" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/publishRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/publishRunbook.json new file mode 100644 index 000000000000..60eef8d54a30 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/publishRunbook.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourcegroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial/publish/operationResults/9bd70be2-cf73-49b4-9467-5261d48c2b3d?api-version=2023-05-15-preview" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/replaceRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/replaceRunbookDraftContent.json new file mode 100644 index 000000000000..efb33b2c53ae --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/replaceRunbookDraftContent.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview", + "runbookContent": "<#\r\n .DESCRIPTION \r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourcegroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial/draft/content/operationResults/9bd70be2-cf73-49b4-9467-5261d48c2b3d?api-version=2023-05-15-preview" + } + }, + "200": { + "body": {} + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/resumeTestJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/resumeTestJob.json new file mode 100644 index 000000000000..5c01b890564d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/resumeTestJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/stopTestJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/stopTestJob.json new file mode 100644 index 000000000000..5c01b890564d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/stopTestJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/suspendTestJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/suspendTestJob.json new file mode 100644 index 000000000000..5c01b890564d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/suspendTestJob.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/undoDraftEditToLastKnownPublishedState.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/undoDraftEditToLastKnownPublishedState.json new file mode 100644 index 000000000000..b682d3b7a944 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/undoDraftEditToLastKnownPublishedState.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/updateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/updateRunbook.json new file mode 100644 index 000000000000..d1ade32b6663 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runbook/updateRunbook.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "runbookName": "Get-AzureVMTutorial", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "description": "Updated Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636265044994500000\"", + "properties": { + "description": "Updated Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShellWorkflow", + "runtimeEnvironment": "environmentName", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-30T21:01:33.777+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-30T21:01:39.45+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json new file mode 100644 index 000000000000..9e43d707e457 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "runtimeEnvironmentName": "myRuntimeEnvironmentName", + "parameters": { + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + } + }, + "location": "East US 2" + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "name": "myRuntimeEnvironmentName", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + } + } + } + }, + "200": { + "headers": {}, + "body": { + "name": "myRuntimeEnvironmentName", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/deleteRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/deleteRuntimeEnvironment.json new file mode 100644 index 000000000000..ce0a8e010ba4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/deleteRuntimeEnvironment.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "runtimeEnvironmentName": "myRuntimeEnvironmentName" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json new file mode 100644 index 000000000000..e5ee6d9e4b66 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "runtimeEnvironmentName": "myRuntimeEnvironmentName" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "myRuntimeEnvironmentName", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + }, + "description": "Description of the Runtime Environment" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json new file mode 100644 index 000000000000..19f91cade2db --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "ContoseAutomationAccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "myRuntimeEnvironmentName", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + }, + "description": "Description of the Runtime Environment" + } + }, + { + "name": "myRuntimeEnvironmentName2", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName2", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + }, + "description": "Description of the Runtime Environment" + } + }, + { + "name": "myRuntimeEnvironmentName3", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName3", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + }, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + }, + "description": "Description of the Runtime Environment" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json new file mode 100644 index 000000000000..7e902ff893f2 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "runtimeEnvironmentName": "myRuntimeEnvironmentName", + "parameters": { + "properties": { + "defaultPackages": { + "Az": "6.*" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "myRuntimeEnvironmentName", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName", + "type": "Microsoft.Automation/AutomationAccounts/runtimeEnvironments", + "location": "East US 2", + "tags": {}, + "properties": { + "runtime": { + "language": "PowerShell", + "version": "7.1" + }, + "defaultPackages": { + "Az": "6.*" + }, + "description": "Description of the Runtime Environment" + }, + "systemData": { + "createdAt": "2023-07-05T07:32:41.4389914+00:00", + "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/serializeGraphRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/serializeGraphRunbookContent.json new file mode 100644 index 000000000000..42fd6f51ac30 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/serializeGraphRunbookContent.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "api-version": "2023-05-15-preview", + "parameters": { + "graphRunbookJson": "" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "rawContent": { + "schemaVersion": "1.10", + "runbookDefinition": "AAEAAADAQAAAAAAAAAMAgAAAGJPcmNoZXN0cmF0b3IuR3JhcGhSdW5ib29rLk1vZGVsLCBWZXJzaW9uPTcuMy4wLjAsIEN1bHR....", + "runbookType": "GraphPowerShell" + }, + "graphRunbookJson": "" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json new file mode 100644 index 000000000000..fca3912c3c23 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json @@ -0,0 +1,280 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationName": "testpatch", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "duration": "PT2H0M", + "windows": { + "excludedKbNumbers": [ + "168934", + "168973" + ], + "includedUpdateClassifications": "Critical", + "rebootSetting": "IfRequired" + }, + "azureVirtualMachines": [ + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": [ + "box1.contoso.com", + "box2.contoso.com" + ], + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + ], + "nonAzureQueries": [ + { + "functionAlias": "SavedSearch1", + "workspaceId": "WorkspaceId1" + }, + { + "functionAlias": "SavedSearch2", + "workspaceId": "WorkspaceId2" + } + ] + } + }, + "scheduleInfo": { + "frequency": "Hour", + "startTime": "2017-10-19T12:22:57+00:00", + "timeZone": "America/Los_Angeles", + "interval": 1, + "expiryTime": "2018-11-09T11:22:57+00:00", + "advancedSchedule": { + "weekDays": [ + "Monday", + "Thursday" + ] + } + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "testpatch", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurations/testpatch", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical", + "excludedKbNumbers": [ + "168934", + "168973" + ] + }, + "linux": {}, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": [ + "box1.contoso.com", + "box2.contoso.com" + ] + }, + "scheduleInfo": { + "description": "", + "startTime": "2017-10-19T12:22:00-07:00", + "startTimeOffsetMinutes": -420, + "expiryTime": "2018-11-09T11:22:00-08:00", + "expiryTimeOffsetMinutes": -480, + "isEnabled": true, + "nextRun": "2017-10-19T12:22:00-07:00", + "nextRunOffsetMinutes": -420, + "interval": 1, + "frequency": "Week", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.5233333+00:00", + "timeZone": "America/Los_Angeles", + "advancedSchedule": {} + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "provisioningState": "Provisioning", + "error": {}, + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "createdBy": "adam@contoso.com", + "lastModifiedBy": "adam@contoso.com", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00" + } + } + }, + "201": { + "headers": {}, + "body": { + "name": "testpatch", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurations/testpatch", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical", + "excludedKbNumbers": [ + "168934", + "168973" + ] + }, + "linux": {}, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": [ + "box1.contoso.com", + "box2.contoso.com" + ] + }, + "scheduleInfo": { + "description": "", + "startTime": "2017-10-19T12:22:00-07:00", + "startTimeOffsetMinutes": -420, + "expiryTime": "2018-11-09T11:22:00-08:00", + "expiryTimeOffsetMinutes": -480, + "isEnabled": true, + "nextRun": "2017-10-19T12:22:00-07:00", + "nextRunOffsetMinutes": -420, + "interval": 1, + "frequency": "Week", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.5233333+00:00", + "timeZone": "America/Los_Angeles" + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "provisioningState": "Provisioning", + "error": {}, + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json new file mode 100644 index 000000000000..3e2d4518637e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationName": "mypatch", + "api-version": "2023-05-15-preview", + "body": {} + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json new file mode 100644 index 000000000000..ea137d5002b0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationName": "mypatch", + "api-version": "2023-05-15-preview", + "body": {} + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "testpatch", + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurations/testpatch", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical", + "excludedKbNumbers": [ + "168934", + "168973" + ] + }, + "linux": {}, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" + }, + "locations": null + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/5ae68d89-69a4-454f-b5ce-e443cc4e0067/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": [ + "box1.contoso.com", + "box2.contoso.com" + ] + }, + "scheduleInfo": { + "description": "", + "startTime": "2017-10-19T12:22:00-07:00", + "startTimeOffsetMinutes": -420, + "expiryTime": "2018-11-09T11:22:00-08:00", + "expiryTimeOffsetMinutes": -480, + "isEnabled": true, + "nextRun": "2017-10-19T12:22:00-07:00", + "nextRunOffsetMinutes": -420, + "interval": 1, + "frequency": "Week", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.5233333+00:00", + "timeZone": "America/Los_Angeles" + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "provisioningState": "Provisioning", + "createdBy": "eve@contoso.com", + "error": {}, + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json new file mode 100644 index 000000000000..41116e1c91b8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "subscriptionId": "1a7d4044-286c-4acb-969a-96639265bf2e", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "api-version": "2023-05-15-preview", + "body": {} + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" + }, + "locations": null + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + ] + }, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json new file mode 100644 index 000000000000..d198d7c93743 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "1a7d4044-286c-4acb-969a-96639265bf2e", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "$filter": "properties/updateConfiguration/azureVirtualMachines/any(m: m eq '/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01')", + "api-version": "2023-05-15-preview", + "body": {} + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null + }, + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null + } + }, + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json new file mode 100644 index 000000000000..e39c43c05ad8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationMachineRunId": "ca440719-34a4-4234-a1a9-3f84faf7788f", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationMachineRuns/ca440719-34a4-4234-a1a9-3f84faf7788f", + "name": "ca440719-34a4-4234-a1a9-3f84faf7788f", + "properties": { + "targetComputer": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Compute/virtualMachines/myvm", + "targetComputerType": "AzureVirtualMachines", + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "osType": "Windows", + "correlationId": "0b943e57-44d3-4f05-898c-6e92aa617e59", + "sourceComputerId": "3d3f24bf-7037-424e-bfba-aae3b9752f8e", + "startTime": "2017-10-23T02:33:30.7484961+00:00", + "endTime": "2017-10-23T02:33:36.4166667+00:00", + "configuredDuration": "PT2H", + "job": {}, + "error": {}, + "creationTime": "2017-10-23T02:33:30.7484961+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:34:32.4366667+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json new file mode 100644 index 000000000000..1135ce41bce0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationMachineRuns/ca440719-34a4-4234-a1a9-3f84faf7788f", + "name": "ca440719-34a4-4234-a1a9-3f84faf7788f", + "properties": { + "targetComputer": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Compute/virtualMachines/myvm", + "targetComputerType": "AzureVirtualMachines", + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "osType": "Windows", + "correlationId": "0b943e57-44d3-4f05-898c-6e92aa617e59", + "sourceComputerId": "3d3f24bf-7037-424e-bfba-aae3b9752f8e", + "startTime": "2017-10-23T02:33:30.7484961+00:00", + "endTime": "2017-10-23T02:33:36.4166667+00:00", + "configuredDuration": "PT2H", + "job": {}, + "error": {}, + "creationTime": "2017-10-23T02:33:30.7484961+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:34:32.4366667+00:00" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationMachineRuns/ca440719-34a4-4234-a1a9-3f84faf7789f", + "name": "ca440719-34a4-4234-a1a9-3f84faf7789f", + "properties": { + "targetComputer": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Compute/virtualMachines/myvm2", + "targetComputerType": "AzureVirtualMachines", + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "osType": "Windows", + "correlationId": "0b943e57-44d3-4f05-898c-6e92aa617e59", + "sourceComputerId": "3d3f24bf-7037-424e-bfba-aae3b9752f8e", + "startTime": "2017-10-23T02:33:30.7484961+00:00", + "endTime": "2017-10-23T02:33:36.4166667+00:00", + "configuredDuration": "PT2H", + "job": {}, + "error": {}, + "creationTime": "2017-10-23T02:33:30.7484961+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:34:32.4366667+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns?api-version=2023-05-15-preview&_=1508725900015&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json new file mode 100644 index 000000000000..9d3a9a177398 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "$filter": "$filter=properties/correlationId%20eq%200b943e57-44d3-4f05-898c-6e92aa617e59", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationMachineRuns/ca440719-34a4-4234-a1a9-3f84faf7788f", + "name": "ca440719-34a4-4234-a1a9-3f84faf7788f", + "properties": { + "targetComputer": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Compute/virtualMachines/myvm", + "targetComputerType": "AzureVirtualMachines", + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "osType": "Windows", + "correlationId": "0b943e57-44d3-4f05-898c-6e92aa617e59", + "sourceComputerId": "3d3f24bf-7037-424e-bfba-aae3b9752f8e", + "startTime": "2017-10-23T02:33:30.7484961+00:00", + "endTime": "2017-10-23T02:33:36.4166667+00:00", + "configuredDuration": "PT2H", + "job": {}, + "error": {}, + "creationTime": "2017-10-23T02:33:30.7484961+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:34:32.4366667+00:00" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationMachineRuns/ca440719-34a4-4234-a1a9-3f84faf7789f", + "name": "ca440719-34a4-4234-a1a9-3f84faf7789f", + "properties": { + "targetComputer": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Compute/virtualMachines/myvm2", + "targetComputerType": "AzureVirtualMachines", + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "osType": "Windows", + "correlationId": "0b943e57-44d3-4f05-898c-6e92aa617e59", + "sourceComputerId": "3d3f24bf-7037-424e-bfba-aae3b9752f8e", + "startTime": "2017-10-23T02:33:30.7484961+00:00", + "endTime": "2017-10-23T02:33:36.4166667+00:00", + "configuredDuration": "PT2H", + "job": {}, + "error": {}, + "creationTime": "2017-10-23T02:33:30.7484961+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:34:32.4366667+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns?api-version=2023-05-15-preview&_=1508725900015&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json new file mode 100644 index 000000000000..25f385a7091f --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationRunId": "2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns/2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "name": "2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "properties": { + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "tasks": { + "preTask": { + "jobId": "be430e9e-2290-462e-8f86-686407c35fab", + "source": "preRunbook", + "status": "Completed" + }, + "postTask": null + }, + "configuredDuration": "PT2H", + "osType": "Windows", + "startTime": "2017-10-23T02:30:36.2401233+00:00", + "endTime": "2017-10-23T02:30:42.8466667+00:00", + "computerCount": 1, + "failedCount": 0, + "creationTime": "2017-10-23T02:30:36.2401233+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:31:39.3966667+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json new file mode 100644 index 000000000000..b2cb637ab161 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationRunId": "a2c7c4b8-55d6-4505-bea7-756e93b18a35", + "$filter": "properties/status%20eq%20'Failed'", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns/2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "name": "2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "properties": { + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Failed", + "configuredDuration": "PT2H", + "osType": "Windows", + "startTime": "2017-10-23T02:30:36.2401233+00:00", + "endTime": "2017-10-23T02:30:42.8466667+00:00", + "computerCount": 1, + "failedCount": 0, + "tasks": { + "preTask": { + "jobId": "be430e9e-2290-462e-8f86-686407c35fab", + "source": "preRunbook", + "status": "Completed" + }, + "postTask": null + }, + "creationTime": "2017-10-23T02:30:36.2401233+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:31:39.3966667+00:00" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns/5dabff55-9812-4a58-af16-b0cb1d9384e8", + "name": "5dabff55-9812-4a58-af16-b0cb1d9384e8", + "properties": { + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Failed", + "configuredDuration": "PT2H", + "osType": "Windows", + "startTime": "2017-10-23T01:33:01.8818952+00:00", + "endTime": "2017-10-23T01:33:08.1133333+00:00", + "computerCount": 1, + "failedCount": 0, + "tasks": { + "preTask": { + "jobId": "be430e9e-2290-462e-8f86-686407c35fab", + "source": "preRunbook", + "status": "Completed" + }, + "postTask": null + }, + "creationTime": "2017-10-23T01:33:01.8818952+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T01:34:03.94+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/stas-wcus/softwareUpdateConfigurationRuns?api-version=2023-05-15-preview&_=1508725900015&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json new file mode 100644 index 000000000000..cdf9c0899f80 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "51766542-3ed7-4a72-a187-0c8ab644ddab", + "resourceGroupName": "mygroup", + "automationAccountName": "myaccount", + "softwareUpdateConfigurationRunId": "a2c7c4b8-55d6-4505-bea7-756e93b18a35", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns/2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "name": "2bd77cfa-2e9c-41b4-a45b-684a77cfeca9", + "properties": { + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "configuredDuration": "PT2H", + "osType": "Windows", + "startTime": "2017-10-23T02:30:36.2401233+00:00", + "endTime": "2017-10-23T02:30:42.8466667+00:00", + "computerCount": 1, + "failedCount": 0, + "tasks": { + "preTask": { + "jobId": "be430e9e-2290-462e-8f86-686407c35fab", + "source": "preRunbook", + "status": "Completed" + }, + "postTask": null + }, + "creationTime": "2017-10-23T02:30:36.2401233+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T02:31:39.3966667+00:00" + } + }, + { + "id": "/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/myaccount/softwareUpdateConfigurationRuns/5dabff55-9812-4a58-af16-b0cb1d9384e8", + "name": "5dabff55-9812-4a58-af16-b0cb1d9384e8", + "properties": { + "softwareUpdateConfiguration": { + "name": "mypatch" + }, + "status": "Succeeded", + "configuredDuration": "PT2H", + "osType": "Windows", + "startTime": "2017-10-23T01:33:01.8818952+00:00", + "endTime": "2017-10-23T01:33:08.1133333+00:00", + "computerCount": 1, + "failedCount": 0, + "tasks": { + "preTask": { + "jobId": "be430e9e-2290-462e-8f86-686407c35fab", + "source": "preRunbook", + "status": "Completed" + }, + "postTask": null + }, + "creationTime": "2017-10-23T01:33:01.8818952+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-10-23T01:34:03.94+00:00" + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/mygroup/providers/Microsoft.Automation/automationAccounts/stas-wcus/softwareUpdateConfigurationRuns?api-version=2023-05-15-preview&_=1508725900015&$skip=100" + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/createOrUpdateSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/createOrUpdateSourceControl.json new file mode 100644 index 000000000000..754156ed9323 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/createOrUpdateSourceControl.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "sourceControlName": "sampleSourceControl", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "repoUrl": "https://sampleUser.visualstudio.com/myProject/_git/myRepository", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "VsoGit", + "securityToken": { + "accessToken": "******", + "tokenType": "PersonalAccessToken" + }, + "description": "my description" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://sampleUser.visualstudio.com/myProject/_git/myRepository", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "VsoGit", + "description": "my description" + } + } + }, + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://sampleUser.visualstudio.com/myProject/_git/myRepository", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "VsoGit", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/deleteSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/deleteSourceControl.json new file mode 100644 index 000000000000..d555e4c4b8f6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/deleteSourceControl.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "sourceControlName": "sampleSourceControl", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getAllSourceControls.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getAllSourceControls.json new file mode 100644 index 000000000000..a66ae40e4dfa --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getAllSourceControls.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1", + "name": "sampleSourceControl1", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2", + "name": "sampleSourceControl2", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3", + "name": "sampleSourceControl3", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4", + "name": "sampleSourceControl4", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5", + "name": "sampleSourceControl5", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getSourceControl.json new file mode 100644 index 000000000000..38d4eaffbac1 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/getSourceControl.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "sourceControlName": "sampleSourceControl", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/updateSourceControl_patch.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/updateSourceControl_patch.json new file mode 100644 index 000000000000..8ef812b8b611 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControl/updateSourceControl_patch.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "sourceControlName": "sampleSourceControl", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "securityToken": { + "accessToken": "******", + "tokenType": "PersonalAccessToken" + }, + "description": "my description" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://sampleUser.visualstudio.com/myProject/_git/myRepository", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "VsoGit", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json new file mode 100644 index 000000000000..95720efdfe8a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "sourceControlName": "MySourceControl", + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "commitId": "9de0980bfb45026a3d97a1b0522d98a9f604226e" + } + } + }, + "responses": { + "201": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json new file mode 100644 index 000000000000..0b1fb487c5d3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "sourceControlName": "MySourceControl", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync" + } + } + ] + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json new file mode 100644 index 000000000000..6c35022d413e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "sourceControlName": "MySourceControl", + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "properties": { + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a", + "creationTime": "2017-03-28T23:14:26.903+00:00", + "provisioningState": "Completed", + "startTime": "2017-03-28T23:14:27.903+00:00", + "endTime": "2017-03-28T23:14:28.903+00:00", + "syncType": "PartialSync", + "exception": "" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json new file mode 100644 index 000000000000..f402e977b9c7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "sourceControlName": "MySourceControl", + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855134810785_00000000000000000005", + "properties": { + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855134810785_00000000000000000005", + "summary": "ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.", + "time": "2017-03-28T23:14:26.903+00:00", + "streamType": "Error" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855136998262_00000000000000000006", + "properties": { + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855136998262_00000000000000000006", + "summary": "System.Management.Automation.RuntimeException: Cannot index into a null array.\r\n at CallSite.Target(Closure , CallSite , Object , Int32 )\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)\r\n at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)", + "time": "2017-03-28T23:14:27.903+00:00", + "streamType": "Error" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "properties": { + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "summary": "System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'Location'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.\r\n at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)", + "time": "2017-03-28T23:14:28.903+00:00", + "streamType": "Error" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json new file mode 100644 index 000000000000..bc171a27f237 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "sourceControlName": "MySourceControl", + "sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b", + "streamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "properties": { + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "summary": "", + "time": "2017-03-28T23:14:26.903+00:00", + "streamType": "Error", + "streamText": "New-AzureAffinityGroup : Cannot validate argument on parameter 'Location'. The argument is null or empty. Provide an \r\nargument that is not null or empty, and then try the command again.\r\nAt DatabaseExportImport1fba401e-0:69 char:69\r\n+ \r\n + CategoryInfo : InvalidData: . . . .", + "value": { + "Exception": { + "Message": "System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'Location'. The argument is null or empty . . .} }" + } + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/startWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/startWatcher.json new file mode 100644 index 000000000000..4bd55a2026d3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/startWatcher.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/stopWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/stopWatcher.json new file mode 100644 index 000000000000..4bd55a2026d3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/stopWatcher.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateAutomationAccount.json new file mode 100644 index 000000000000..2d7e1a60acc6 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateAutomationAccount.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount9", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "sku": { + "name": "Free" + } + }, + "name": "myAutomationAccount9", + "location": "East US 2" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "name": "myAutomationAccount9", + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9", + "type": "Microsoft.Automation/AutomationAccounts", + "location": "East US 2", + "tags": {}, + "properties": { + "sku": { + "name": "Free" + }, + "state": "Ok", + "creationTime": "2017-03-26T01:13:43.267+00:00", + "lastModifiedBy": "myEmailId@microsoft.com", + "lastModifiedTime": "2017-03-26T01:13:43.267+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCertificate.json new file mode 100644 index 000000000000..67e058c22d86 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCertificate.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "certificateName": "testCert", + "parameters": { + "name": "testCert", + "properties": { + "description": "sample certificate. Description updated" + } + }, + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", + "name": "testCert", + "properties": { + "description": "sample certificate. Description updated", + "isExportable": false, + "thumbprint": "thumbprint of cert", + "expiryTime": "2018-03-29T17:25:45+00:00", + "creationTime": "2017-03-29T17:26:43.337+00:00", + "lastModifiedTime": "2017-03-29T17:28:55.01+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateConnection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateConnection.json new file mode 100644 index 000000000000..bea115f2075a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount28", + "connectionName": "myConnection", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "myConnection", + "properties": { + "description": "my description goes here", + "fieldDefinitionValues": { + "AutomationCertificateName": "myCertificateName", + "SubscriptionID": "b5e4748c-f69a-467c-8749-e2f9c8cd3009" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount29/connections/myConnection", + "name": "myConnection", + "properties": { + "creationTime": "2017-03-27T08:21:29.313+00:00", + "lastModifiedTime": "2017-03-27T08:21:30.093+00:00", + "description": "my description goes here", + "fieldDefinitionValues": { + "AutomationCertificateName": "myCertificateName", + "SubscriptionID": "b5e4748c-f69a-467c-8749-e2f9c8cd3009" + }, + "connectionType": { + "name": "Azure" + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCredential_patch.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCredential_patch.json new file mode 100644 index 000000000000..660d0f0c1c5e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateCredential_patch.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "credentialName": "myCredential", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "password": "", + "description": "my description goes here" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount18/credentials/myCredential", + "name": "myCredential", + "properties": { + "userName": "mylingaiah", + "description": "my description goes here", + "creationTime": "2017-03-26T21:04:10.27+00:00", + "lastModifiedTime": "2017-03-26T21:04:13.567+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscConfiguration.json new file mode 100644 index 000000000000..fc3ad7808c0a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscConfiguration.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount18", + "configurationName": "SetupServer", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "SetupServer", + "tags": { + "Hello": "World" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer", + "name": "SetupServer", + "type": "Microsoft.Automation/AutomationAccounts/Configurations", + "location": "eastus2", + "tags": { + "Hello": "World" + }, + "etag": "\"636572843399170000\"", + "properties": { + "provisioningState": "Succeeded", + "jobCount": 0, + "parameters": {}, + "description": "sample configuration", + "state": null, + "creationTime": "0001-01-01T00:00:00+00:00", + "lastModifiedTime": "0001-01-01T00:00:00+00:00", + "logVerbose": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscNode.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscNode.json new file mode 100644 index 000000000000..f9f344b138c3 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateDscNode.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "nodeId": "nodeId", + "api-version": "2023-05-15-preview", + "dscNodeUpdateParameters": { + "nodeId": "nodeId", + "properties": { + "nodeConfiguration": { + "name": "SetupServer.localhost" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/nodes/nodeId", + "name": "DSCCOMP", + "type": "Microsoft.Automation/AutomationAccounts/Nodes", + "properties": { + "lastSeen": "2018-03-22T22:25:39.0963773+00:00", + "registrationTime": "2018-03-10T00:51:12.5393083+00:00", + "ip": "ip", + "nodeId": "nodeId", + "status": "Pending", + "nodeConfiguration": { + "name": "SetupServer.localhost" + }, + "extensionHandler": [ + { + "name": "Microsoft.Powershell.DSC", + "version": "2.75.0.0" + } + ] + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateHybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..4e0288683e87 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateHybridRunbookWorkerGroup.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "testaccount", + "hybridRunbookWorkerGroupName": "TestHybridGroup", + "api-version": "2023-05-15-preview", + "HybridRunbookWorkerGroupUpdationParameters": { + "properties": { + "credential": { + "name": "myRunAsCredentialUpdatedName" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup", + "location": "East US 2", + "name": "TestHybridGroup", + "properties": { + "groupType": "User", + "credential": { + "name": "myRunAsCredentialUpdatedName" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateModule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateModule.json new file mode 100644 index 000000000000..354c4f0a7269 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateModule.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "moduleName": "MyModule", + "api-version": "2023-05-15-preview", + "parameters": { + "properties": { + "contentLink": { + "uri": "https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip", + "contentHash": { + "algorithm": "sha265", + "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A" + }, + "version": "1.0.0.0" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/modules/MyModule", + "name": "MyModule", + "type": "Microsoft.Automation/AutomationAccounts/Modules", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython2Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython2Package.json new file mode 100644 index 000000000000..927865b66d65 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython2Package.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "packageName": "MyPython2Package", + "api-version": "2023-05-15-preview", + "parameters": { + "tags": {} + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/python2Packages/MyPython2Package", + "name": "MyPython2Package", + "type": "Microsoft.Automation/AutomationAccounts/python2Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython3Package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython3Package.json new file mode 100644 index 000000000000..fa5db760fae4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updatePython3Package.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyAutomationAccount", + "packageName": "MyPython3Package", + "api-version": "2023-05-15-preview", + "parameters": { + "tags": {} + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/python3Packages/MyPython3Package", + "name": "MyPython3Package", + "type": "Microsoft.Automation/AutomationAccounts/python3Packages", + "location": "East US 2", + "tags": {}, + "etag": null, + "properties": { + "isGlobal": false, + "version": null, + "sizeInBytes": 0, + "activityCount": 0, + "creationTime": "2017-03-29T15:41:47.003+00:00", + "lastModifiedTime": "2017-03-29T15:42:10.567+00:00", + "error": { + "code": null, + "message": null + }, + "provisioningState": "Creating", + "isComposite": false + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateSchedule.json new file mode 100644 index 000000000000..b7dc2e79fbdb --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateSchedule.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "scheduleName": "mySchedule", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "mySchedule", + "properties": { + "description": "my updated description of schedule goes here", + "isEnabled": false + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule", + "name": "mySchedule", + "properties": { + "description": "my updated description of schedule goes here", + "startTime": "2017-03-27T17:28:00+00:00", + "startTimeOffsetMinutes": 0.0, + "expiryTime": "2017-04-01T17:28:00+00:00", + "expiryTimeOffsetMinutes": 0.0, + "isEnabled": false, + "nextRun": "2017-03-27T17:28:00+00:00", + "nextRunOffsetMinutes": 0.0, + "interval": 1, + "frequency": "Hour", + "creationTime": "2017-03-27T16:59:22.697+00:00", + "lastModifiedTime": "2017-03-27T16:59:22.697+00:00", + "timeZone": "UTC" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateVariable_patch.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateVariable_patch.json new file mode 100644 index 000000000000..46b28bb75a44 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateVariable_patch.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "sampleAccount9", + "variableName": "sampleVariable", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "sampleVariable", + "properties": { + "value": "\"ComputerName3.domain.com\"" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T23:00:53.363+00:00", + "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", + "isEncrypted": false, + "value": "\"ComputerName3.domain.com\"", + "description": "my description" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWatcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWatcher.json new file mode 100644 index 000000000000..79114d6dec5c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWatcher.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "MyTestAutomationAccount", + "watcherName": "MyTestWatcher", + "parameters": { + "name": "MyTestWatcher", + "properties": { + "executionFrequencyInSeconds": 600 + } + }, + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyTestAutomationAccount/watchers/MyTestWatcher", + "name": "MyTestWatcher", + "type": null, + "location": null, + "tags": {}, + "etag": null, + "properties": { + "executionFrequencyInSeconds": 600, + "scriptName": "MyTestWatcherRunbook", + "scriptParameters": {}, + "description": "This is a test watcher.", + "status": "New", + "scriptRunOn": "MyTestHybridWorkerGroup", + "creationTime": "2018-05-14T21:33:02.197+00:00", + "lastModifiedBy": null, + "lastModifiedTime": "2018-05-14T22:29:57.65+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWebhook.json new file mode 100644 index 000000000000..69e6e12515fe --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/updateWebhook.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "webhookName": "TestWebhook", + "api-version": "2023-05-15-preview", + "parameters": { + "name": "TestWebhook", + "properties": { + "isEnabled": false, + "description": "updated webhook" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook", + "name": "TestWebhook", + "properties": { + "isEnabled": false, + "expiryTime": "2018-03-30T23:03:14.5752078+00:00", + "runbook": { + "name": "TestRunbook" + }, + "lastInvokedTime": null, + "runOn": null, + "parameters": null, + "uri": "", + "creationTime": "2017-03-30T21:52:01.272378+00:00", + "lastModifiedBy": "", + "lastModifiedTime": "2017-03-30T23:03:14.9069441+00:00" + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/webhookGenerateUri.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/webhookGenerateUri.json new file mode 100644 index 000000000000..eedf6c074d2f --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/webhookGenerateUri.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg", + "automationAccountName": "myAutomationAccount33", + "api-version": "2023-05-15-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": "" + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorker.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorker.json new file mode 100644 index 000000000000..2f1c15e51251 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorker.json @@ -0,0 +1,538 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}": { + "delete": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_Delete", + "description": "Delete a hybrid runbook worker.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "Delete a V2 hybrid runbook worker": { + "$ref": "./examples/deleteHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "hybridRunbookWorkerId", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker id" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_Get", + "description": "Retrieve a hybrid runbook worker.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "Get a V2 hybrid runbook worker": { + "$ref": "./examples/getHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "hybridRunbookWorkerId", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker id" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorker" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_Create", + "description": "Create a hybrid runbook worker.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "Create a V2 hybrid runbook worker": { + "$ref": "./examples/putHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "hybridRunbookWorkerId", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker id" + }, + { + "name": "HybridRunbookWorkerCreationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerCreateParameters" + }, + "description": "The create or update parameters for hybrid runbook worker." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorker" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/HybridRunbookWorker" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_Patch", + "description": "Update a hybrid runbook worker.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "Create a V2 hybrid runbook worker": { + "$ref": "./examples/patchHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "hybridRunbookWorkerId", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker id" + }, + { + "name": "HybridRunbookWorkerCreationParameters", + "in": "body", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerCreateParameters" + }, + "description": "The create or update parameters for hybrid runbook worker." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorker" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}/move": { + "post": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_Move", + "description": "Move a hybrid worker to a different group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "Move a V2 hybrid worker to a different group": { + "$ref": "./examples/moveHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "hybridRunbookWorkerId", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker id" + }, + { + "name": "HybridRunbookWorkerMoveParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerMoveParameters" + }, + "description": "The hybrid runbook worker move parameters" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers": { + "get": { + "tags": [ + "HybridRunbookWorker" + ], + "operationId": "HybridRunbookWorkers_ListByHybridRunbookWorkerGroup", + "description": "Retrieve a list of hybrid runbook workers.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkeroperations" + }, + "x-ms-examples": { + "List hybrid workers by hybrid runbook worker group": { + "$ref": "./examples/listHybridRunbookWorker.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkersListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/HybridRunbookWorker" + } + } + }, + "definitions": { + "HybridRunbookWorker": { + "properties": { + "properties": { + "$ref": "#/definitions/HybridRunbookWorkerProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the hybrid worker group properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of hybrid runbook worker." + }, + "HybridRunbookWorkerProperties": { + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "Gets or sets the assigned machine IP address." + }, + "registeredDateTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the registration time of the worker machine.", + "x-nullable": false + }, + "lastSeenDateTime": { + "type": "string", + "format": "date-time", + "description": "Last Heartbeat from the Worker", + "x-nullable": false + }, + "vmResourceId": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + }, + "workerType": { + "type": "string", + "description": "Type of the HybridWorker.", + "enum": [ + "HybridV1", + "HybridV2" + ], + "x-ms-enum": { + "name": "WorkerType", + "modelAsString": true + } + }, + "workerName": { + "type": "string", + "description": "Name of the HybridWorker." + } + }, + "description": "Definition of hybrid runbook worker property." + }, + "HybridRunbookWorkersListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/HybridRunbookWorker" + }, + "description": "Gets or sets a list of hybrid runbook workers." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list hybrid runbook workers." + }, + "HybridRunbookWorkerMoveParameters": { + "type": "object", + "properties": { + "hybridRunbookWorkerGroupName": { + "type": "string", + "description": "Gets or sets the target hybrid runbook worker group." + } + }, + "description": "Parameters supplied to move hybrid worker operation." + }, + "HybridRunbookWorkerCreateOrUpdateParameters": { + "type": "object", + "properties": { + "vmResourceId": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + } + }, + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "HybridRunbookWorkerCreateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters", + "x-ms-client-flatten": true, + "description": "Gets or sets hybrid runbook worker group create or update properties." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets or sets the name of the resource." + } + }, + "description": "The parameters supplied to the create hybrid runbook worker operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorkerGroup.json new file mode 100644 index 000000000000..e412ed4c1f64 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorkerGroup.json @@ -0,0 +1,413 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}": { + "delete": { + "tags": [ + "ListAllHybridRunbookWorkerGroupInAutomationAccount" + ], + "operationId": "HybridRunbookWorkerGroup_Delete", + "description": "Delete a hybrid runbook worker group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations" + }, + "x-ms-examples": { + "Delete a hybrid worker group": { + "$ref": "./examples/deleteHybridRunbookWorkerGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "HybridRunbookWorkerGroup" + ], + "operationId": "HybridRunbookWorkerGroup_Get", + "description": "Retrieve a hybrid runbook worker group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations" + }, + "x-ms-examples": { + "Get a hybrid worker group": { + "$ref": "./examples/getHybridRunbookWorkerGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "HybridRunbookWorkerGroup" + ], + "operationId": "HybridRunbookWorkerGroup_Create", + "description": "Create a hybrid runbook worker group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations" + }, + "x-ms-examples": { + "Create a hybrid worker group": { + "$ref": "./examples/putHybridRunbookWorkerGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "HybridRunbookWorkerGroupCreationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroupCreateOrUpdateParameters" + }, + "description": "The create or update parameters for hybrid runbook worker group." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "HybridRunbookWorkerGroup" + ], + "operationId": "HybridRunbookWorkerGroup_Update", + "description": "Update a hybrid runbook worker group.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations" + }, + "x-ms-examples": { + "Update hybrid worker group": { + "$ref": "./examples/updateHybridRunbookWorkerGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "hybridRunbookWorkerGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The hybrid runbook worker group name" + }, + { + "name": "HybridRunbookWorkerGroupUpdationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroupCreateOrUpdateParameters" + }, + "description": "The hybrid runbook worker group" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroup" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups": { + "get": { + "tags": [ + "HybridRunbookWorkerGroup" + ], + "operationId": "HybridRunbookWorkerGroup_ListByAutomationAccount", + "description": "Retrieve a list of hybrid runbook worker groups.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations" + }, + "x-ms-examples": { + "List hybrid worker groups by Automation Account": { + "$ref": "./examples/listHybridRunbookWorkerGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridRunbookWorkerGroupsListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/HybridRunbookWorkerGroup" + } + } + }, + "definitions": { + "RunAsCredentialAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the credential." + } + }, + "description": "Definition of RunAs credential to use for hybrid worker." + }, + "HybridRunbookWorkerGroupProperties": { + "type": "object", + "properties": { + "groupType": { + "type": "string", + "description": "Type of the HybridWorkerGroup.", + "enum": [ + "User", + "System" + ], + "x-ms-enum": { + "name": "GroupTypeEnum", + "modelAsString": true + } + }, + "credential": { + "$ref": "#/definitions/RunAsCredentialAssociationProperty", + "description": "Sets the credential of a worker group." + } + }, + "description": "Definition of hybrid runbook worker group property." + }, + "HybridRunbookWorkerGroup": { + "properties": { + "properties": { + "$ref": "#/definitions/HybridRunbookWorkerGroupProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the hybrid worker group properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of hybrid runbook worker group." + }, + "HybridRunbookWorkerGroupsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/HybridRunbookWorkerGroup" + }, + "description": "Gets or sets a list of hybrid runbook worker groups." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list hybrid runbook worker groups." + }, + "HybridRunbookWorkerGroupCreateOrUpdateProperties": { + "type": "object", + "properties": { + "credential": { + "$ref": "#/definitions/RunAsCredentialAssociationProperty", + "description": "Sets the credential of a worker group." + } + }, + "description": "The hybrid runbook worker group properties." + }, + "HybridRunbookWorkerGroupCreateOrUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/HybridRunbookWorkerGroupCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets hybrid runbook worker group create or update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + } + }, + "description": "The parameters supplied to the create hybrid runbook worker group operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/job.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/job.json new file mode 100644 index 000000000000..297902f65b5c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/job.json @@ -0,0 +1,1009 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/output": { + "get": { + "tags": [ + "Job" + ], + "operationId": "Job_GetOutput", + "description": "Retrieve the job output identified by job name.", + "produces": [ + "text/plain" + ], + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Get Job Output": { + "$ref": "./examples/job/getJobOutput.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The name of the job to be created.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/runbookContent": { + "get": { + "tags": [ + "Job" + ], + "operationId": "Job_GetRunbookContent", + "description": "Retrieve the runbook content of the job identified by job name.", + "produces": [ + "text/powershell" + ], + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Get Job Runbook Content": { + "$ref": "./examples/job/getJobRunbookContent.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/suspend": { + "post": { + "tags": [ + "Job" + ], + "operationId": "Job_Suspend", + "description": "Suspend the job identified by job name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Suspend job": { + "$ref": "./examples/job/suspendJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/stop": { + "post": { + "tags": [ + "Job" + ], + "operationId": "Job_Stop", + "description": "Stop the job identified by jobName.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Stop job": { + "$ref": "./examples/job/stopJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}": { + "get": { + "tags": [ + "Job" + ], + "operationId": "Job_Get", + "description": "Retrieve the job identified by job name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Get job": { + "$ref": "./examples/job/getJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Job" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Job" + ], + "operationId": "Job_Create", + "description": "Create a job of the runbook.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Create job": { + "$ref": "./examples/job/createJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobCreateParameters" + }, + "description": "The parameters supplied to the create job operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Job" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs": { + "get": { + "tags": [ + "Job" + ], + "operationId": "Job_ListByAutomationAccount", + "description": "Retrieve a list of jobs.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "List jobs by automation account": { + "$ref": "./examples/job/listJobsByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobListResultV2" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/JobCollectionItem" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/resume": { + "post": { + "tags": [ + "Job" + ], + "operationId": "Job_Resume", + "description": "Resume the job identified by jobName.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/joboperations" + }, + "x-ms-examples": { + "Resume job": { + "$ref": "./examples/job/resumeJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams/{jobStreamId}": { + "get": { + "tags": [ + "JobStream" + ], + "operationId": "JobStream_Get", + "description": "Retrieve the job stream identified by job stream id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "Get job stream": { + "$ref": "./examples/job/getJobStream.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "name": "jobStreamId", + "in": "path", + "required": true, + "type": "string", + "description": "The job stream id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStream" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams": { + "get": { + "tags": [ + "JobStream" + ], + "operationId": "JobStream_ListByJob", + "description": "Retrieve a list of jobs streams identified by job name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "List job streams by job name": { + "$ref": "./examples/job/listJobStreamsByJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobName", + "description": "The job name.", + "type": "string", + "required": true, + "in": "path" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStreamListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "JobStream": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "properties": { + "$ref": "#/definitions/JobStreamProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the id of the job stream." + } + }, + "description": "Definition of the job stream." + }, + "JobStreamProperties": { + "type": "object", + "properties": { + "jobStreamId": { + "type": "string", + "description": "Gets or sets the id of the job stream." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the job.", + "x-nullable": false + }, + "streamType": { + "type": "string", + "description": "Gets or sets the stream type.", + "enum": [ + "Progress", + "Output", + "Warning", + "Error", + "Debug", + "Verbose", + "Any" + ], + "x-ms-enum": { + "name": "JobStreamType", + "modelAsString": true + } + }, + "streamText": { + "type": "string", + "description": "Gets or sets the stream text." + }, + "summary": { + "type": "string", + "x-nullable": true, + "description": "Gets or sets the summary." + }, + "value": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "description": "Gets or sets the values of the job stream." + } + }, + "x-ms-client-flatten": true, + "description": "Definition of the job stream." + }, + "JobStreamListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobStream" + }, + "description": "A list of job streams." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list job stream operation." + }, + "Job": { + "description": "Definition of the job.", + "x-ms-mutability": [ + "read", + "create" + ], + "properties": { + "properties": { + "$ref": "#/definitions/JobProperties", + "x-ms-client-flatten": true, + "description": "The properties of the job." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "JobListResultV2": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobCollectionItem", + "readOnly": true + }, + "description": "List of jobs." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link to the next page." + } + }, + "description": "The response model for the list job operation." + }, + "JobCollectionItem": { + "description": "Job collection item properties.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Job properties.", + "$ref": "#/definitions/JobCollectionItemProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ] + }, + "JobProperties": { + "properties": { + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook." + }, + "startedBy": { + "type": "string", + "description": "Gets or sets the job started by." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "jobRuntimeEnvironment": { + "$ref": "#/definitions/JobRuntimeEnvironment", + "description": "Runtime Environment Property" + }, + "jobId": { + "type": "string", + "format": "uuid", + "description": "Gets or sets the id of the job.", + "x-nullable": false + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Gets or sets the creation time of the job." + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the job.", + "enum": [ + "New", + "Activating", + "Running", + "Completed", + "Failed", + "Stopped", + "Blocked", + "Suspended", + "Disconnected", + "Suspending", + "Stopping", + "Resuming", + "Removing" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true + } + }, + "statusDetails": { + "type": "string", + "description": "Gets or sets the status details of the job." + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the start time of the job." + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the end time of the job." + }, + "exception": { + "type": "string", + "description": "Gets or sets the exception of the job." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the last modified time of the job." + }, + "lastStatusModifiedTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the last status modified time of the job." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + }, + "provisioningState": { + "$ref": "#/definitions/JobProvisioningStateProperty", + "description": "The current provisioning state of the job." + } + }, + "description": "Definition of job properties." + }, + "JobRuntimeEnvironment": { + "type": "object", + "properties": { + "runtimeEnvironmentName": { + "type": "string", + "description": "Name of Runtime Environment." + } + }, + "description": "The runbook property associated with the entity." + }, + "RunbookAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "The runbook property associated with the entity." + }, + "JobCreateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/JobCreateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the list of job properties." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create job operation." + }, + "JobCollectionItemProperties": { + "description": "Job collection item properties.", + "properties": { + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "readOnly": true, + "description": "The runbook association." + }, + "jobId": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "The id of the job.", + "x-nullable": false + }, + "startedBy": { + "type": "string", + "description": "Gets or sets the job started by.", + "readOnly": true, + "x-nullable": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "readOnly": true, + "description": "The creation time of the job." + }, + "status": { + "type": "string", + "readOnly": true, + "description": "The status of the job.", + "enum": [ + "New", + "Activating", + "Running", + "Completed", + "Failed", + "Stopped", + "Blocked", + "Suspended", + "Disconnected", + "Suspending", + "Stopping", + "Resuming", + "Removing" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The start time of the job." + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The end time of the job." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The last modified time of the job." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of a resource.", + "readOnly": true + }, + "jobRuntimeEnvironment": { + "$ref": "#/definitions/JobRuntimeEnvironment", + "description": "Runtime Environment Property" + }, + "runOn": { + "type": "string", + "description": "Specifies the runOn group name where the job was executed." + } + } + }, + "JobCreateProperties": { + "properties": { + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + } + } + }, + "JobProvisioningStateProperty": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the resource.", + "enum": [ + "Failed", + "Succeeded", + "Suspended", + "Processing" + ], + "x-ms-enum": { + "name": "JobProvisioningState", + "modelAsString": true + } + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/jobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/jobSchedule.json new file mode 100644 index 000000000000..43fd08e8c6d4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/jobSchedule.json @@ -0,0 +1,388 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}": { + "delete": { + "tags": [ + "JobSchedule" + ], + "operationId": "JobSchedule_Delete", + "description": "Delete the job schedule identified by job schedule name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobscheduleoperations" + }, + "x-ms-examples": { + "Delete a job schedule": { + "$ref": "./examples/deleteJobSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The job schedule name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "JobSchedule" + ], + "operationId": "JobSchedule_Get", + "description": "Retrieve the job schedule identified by job schedule name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobscheduleoperations" + }, + "x-ms-examples": { + "Get a job schedule": { + "$ref": "./examples/getJobSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The job schedule name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobSchedule" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "JobSchedule" + ], + "operationId": "JobSchedule_Create", + "description": "Create a job schedule.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobscheduleoperations" + }, + "x-ms-examples": { + "Create a job schedule": { + "$ref": "./examples/createJobSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "jobScheduleId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The job schedule name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobScheduleCreateParameters" + }, + "description": "The parameters supplied to the create job schedule operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/JobSchedule" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules": { + "get": { + "tags": [ + "JobSchedule" + ], + "operationId": "JobSchedule_ListByAutomationAccount", + "description": "Retrieve a list of job schedules.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobscheduleoperations" + }, + "x-ms-examples": { + "List all job schedules by automation account": { + "$ref": "./examples/listAllJobSchedulesByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobScheduleListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/JobSchedule" + } + } + }, + "definitions": { + "JobScheduleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobSchedule" + }, + "description": "Gets or sets a list of job schedules." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list job schedule operation." + }, + "JobSchedule": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Gets the id of the resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name of the variable." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "properties": { + "$ref": "#/definitions/JobScheduleProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the job schedule." + } + }, + "description": "Definition of the job schedule." + }, + "ScheduleAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Schedule." + } + }, + "description": "The schedule property associated with the entity." + }, + "RunbookAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "The runbook property associated with the entity." + }, + "JobScheduleProperties": { + "properties": { + "jobScheduleId": { + "type": "string", + "description": "Gets or sets the id of job schedule." + }, + "schedule": { + "$ref": "#/definitions/ScheduleAssociationProperty", + "description": "Gets or sets the schedule." + }, + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the hybrid worker group that the scheduled job should run on." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job schedule." + } + }, + "description": "Definition of job schedule parameters." + }, + "JobScheduleCreateProperties": { + "properties": { + "schedule": { + "$ref": "#/definitions/ScheduleAssociationProperty", + "description": "Gets or sets the schedule." + }, + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the hybrid worker group that the scheduled job should run on." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets a list of job properties." + } + }, + "required": [ + "schedule", + "runbook" + ], + "description": "The parameters supplied to the create job schedule operation." + }, + "JobScheduleCreateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/JobScheduleCreateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the list of job schedule properties." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create job schedule operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/linkedWorkspace.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/linkedWorkspace.json new file mode 100644 index 000000000000..d6bd7b71d1b8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/linkedWorkspace.json @@ -0,0 +1,98 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/linkedWorkspace": { + "get": { + "tags": [ + "LinkedWorkspace" + ], + "operationId": "LinkedWorkspace_Get", + "description": "Retrieve the linked workspace for the account id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/linkedworkspaceoperations" + }, + "x-ms-examples": { + "Get the linked workspace of an automation account": { + "$ref": "./examples/getLinkedWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LinkedWorkspace" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "LinkedWorkspace": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Gets the id of the linked workspace." + } + }, + "description": "Definition of the linked workspace." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/module.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/module.json new file mode 100644 index 000000000000..60f5bd8f6d89 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/module.json @@ -0,0 +1,1050 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/activities/{activityName}": { + "get": { + "tags": [ + "Activity" + ], + "operationId": "Activity_Get", + "description": "Retrieve the activity in the module identified by module name and activity name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/activityoperations" + }, + "x-ms-examples": { + "Get Activity in a module": { + "$ref": "./examples/getActivityInAModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "name": "activityName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of activity." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Activity" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/activities": { + "get": { + "tags": [ + "Activity" + ], + "operationId": "Activity_ListByModule", + "description": "Retrieve a list of activities in the module identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/activityoperations" + }, + "x-ms-examples": { + "List activities by a module": { + "$ref": "./examples/listActivitiesByModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ActivityListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}": { + "delete": { + "tags": [ + "Module" + ], + "operationId": "Module_Delete", + "description": "Delete the module by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Delete a module": { + "$ref": "./examples/deleteModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The module name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Module" + ], + "operationId": "Module_Get", + "description": "Retrieve the module identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Get a module": { + "$ref": "./examples/getModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The module name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Module" + ], + "operationId": "Module_CreateOrUpdate", + "description": "Create or Update the module identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Create or update a module": { + "$ref": "./examples/createOrUpdateModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ModuleCreateOrUpdateParameters" + }, + "description": "The create or update parameters for module." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Module" + ], + "operationId": "Module_Update", + "description": "Update the module identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Update a module": { + "$ref": "./examples/updateModule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ModuleUpdateParameters" + }, + "description": "The update parameters for module." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules": { + "get": { + "tags": [ + "Module" + ], + "operationId": "Module_ListByAutomationAccount", + "description": "Retrieve a list of modules.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "List modules by automation account": { + "$ref": "./examples/listModulesByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ModuleListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/objectDataTypes/{typeName}/fields": { + "get": { + "tags": [ + "ObjectDataTypes" + ], + "operationId": "ObjectDataTypes_ListFieldsByModuleAndType", + "description": "Retrieve a list of fields of a given type identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/objectdatatypeoperations" + }, + "x-ms-examples": { + "Get a list of fields of a given type": { + "$ref": "./examples/listFieldsByModuleAndType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "name": "typeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of type." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TypeFieldListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/objectDataTypes/{typeName}/fields": { + "get": { + "tags": [ + "ObjectDataTypes" + ], + "operationId": "ObjectDataTypes_ListFieldsByType", + "description": "Retrieve a list of fields of a given type across all accessible modules.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/objectdatatypeoperations" + }, + "x-ms-examples": { + "Get a list of fields of a given type across all accessible modules": { + "$ref": "./examples/listFieldsByType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "typeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of type." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TypeFieldListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}/types/{typeName}/fields": { + "get": { + "tags": [ + "TypeFields" + ], + "operationId": "Fields_ListByType", + "description": "Retrieve a list of fields of a given type identified by module name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/typefieldoperations" + }, + "x-ms-examples": { + "Get a list of fields of a given type": { + "$ref": "./examples/listFieldsByModuleAndType.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "moduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of module." + }, + { + "name": "typeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of type." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TypeFieldListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "ActivityParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity parameter." + }, + "isMandatory": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional." + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is dynamic." + }, + "position": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the position of the activity parameter." + }, + "valueFromPipeline": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object." + }, + "valueFromPipelineByPropertyName": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name. " + }, + "valueFromRemainingArguments": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the activity parameter." + }, + "validationSet": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ActivityParameterValidationSet" + }, + "description": "Gets or sets the validation set of activity parameter." + } + }, + "description": "Definition of the activity parameter." + }, + "ActivityParameterSet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter set." + }, + "parameters": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ActivityParameter" + }, + "description": "Gets or sets the parameters of the activity parameter set." + } + }, + "description": "Definition of the activity parameter set." + }, + "ActivityParameterValidationSet": { + "type": "object", + "properties": { + "memberValue": { + "type": "string", + "description": "Gets or sets the name of the activity parameter validation set member." + } + }, + "description": "Definition of the activity parameter validation set." + }, + "ActivityOutputType": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity output type." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity output type." + } + }, + "description": "Definition of the activity output type." + }, + "ActivityProperties": { + "type": "object", + "properties": { + "definition": { + "type": "string", + "description": "Gets or sets the user name of the activity." + }, + "parameterSets": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "items": { + "$ref": "#/definitions/ActivityParameterSet" + }, + "description": "Gets or sets the parameter sets of the activity." + }, + "outputTypes": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "items": { + "$ref": "#/definitions/ActivityOutputType" + }, + "description": "Gets or sets the output types of the activity." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Properties of the activity." + }, + "Activity": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name of the activity." + }, + "properties": { + "$ref": "#/definitions/ActivityProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the activity." + } + }, + "description": "Definition of the activity." + }, + "ActivityListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + }, + "description": "Gets or sets a list of activities." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list activity operation." + }, + "ModuleErrorInfo": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Definition of the module error info type." + }, + "ModuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Module" + }, + "description": "Gets or sets a list of modules." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list module operation." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "ModuleCreateOrUpdateProperties": { + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the module content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module properties." + }, + "ModuleCreateOrUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/ModuleCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module create properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update module operation." + }, + "ModuleProperties": { + "type": "object", + "properties": { + "isGlobal": { + "type": "boolean", + "description": "Gets or sets the isGlobal flag of the module." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the module." + }, + "sizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the size in bytes of the module." + }, + "activityCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity count of the module." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the module.", + "enum": [ + "Created", + "Creating", + "StartingImportModuleRunbook", + "RunningImportModuleRunbook", + "ContentRetrieved", + "ContentDownloaded", + "ContentValidated", + "ConnectionTypeImported", + "ContentStored", + "ModuleDataStored", + "ActivitiesStored", + "ModuleImportRunbookComplete", + "Succeeded", + "Failed", + "Cancelled", + "Updating" + ], + "x-ms-enum": { + "name": "ModuleProvisioningState", + "modelAsString": true + } + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the contentLink of the module." + }, + "error": { + "$ref": "#/definitions/ModuleErrorInfo", + "description": "Gets or sets the error info of the module." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "isComposite": { + "type": "boolean", + "description": "Gets or sets type of module, if its composite or not." + } + }, + "description": "Definition of the module property type." + }, + "ModuleUpdateProperties": { + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the module content link." + } + }, + "description": "The parameters supplied to the update properties." + }, + "ModuleUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/ModuleUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the update module operation." + }, + "Module": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ModuleProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the module type." + }, + "TypeField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the field." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the field." + } + }, + "description": "Information about a field of a type." + }, + "TypeFieldListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/TypeField" + }, + "description": "Gets or sets a list of fields." + } + }, + "description": "The response model for the list fields operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/operations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/operations.json new file mode 100644 index 000000000000..731e88ce29d9 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/operations.json @@ -0,0 +1,323 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Automation/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available Automation REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Lists all of the available Automation REST API operations.": { + "$ref": "./examples/listRestAPIOperations.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent": { + "post": { + "tags": [ + "Operations" + ], + "description": "Post operation to serialize or deserialize GraphRunbookContent", + "operationId": "convertGraphRunbookContent", + "x-ms-examples": { + "Get Graphical raw runbook content from graphical runbook JSON object": { + "$ref": "./examples/serializeGraphRunbookContent.json" + }, + "Get Graphical runbook content from raw content": { + "$ref": "./examples/deserializeGraphRunbookContent.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "Input data describing the graphical runbook.", + "required": true, + "schema": { + "$ref": "#/definitions/GraphicalRunbookContent" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GraphicalRunbookContent" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "List of Automation operations supported by the Automation resource provider." + } + }, + "description": "The response model for the list of Automation operations" + }, + "Operation": { + "description": "Automation REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "properties": { + "provider": { + "description": "Service provider: Microsoft.Automation", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed: Runbooks, Jobs etc.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation.", + "type": "string" + } + }, + "description": "Provider, Resource and Operation values" + }, + "origin": { + "description": "Origin of the operation.", + "type": "string" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/OperationPropertiesFormat", + "description": "Operation properties format." + } + } + }, + "OperationPropertiesFormat": { + "description": "Description of operation properties format.", + "type": "object", + "properties": { + "serviceSpecification": { + "description": "Specification of the service.", + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "description": "Operation service specification." + }, + "logSpecifications": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "description": "Operation log specification." + } + } + } + } + }, + "LogSpecification": { + "description": "Description of logging specification.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the specification." + }, + "displayName": { + "type": "string", + "description": "The display name of the specification." + }, + "blobDuration": { + "type": "string", + "description": "Duration of the blob." + } + } + }, + "MetricSpecification": { + "description": "Description of metrics specification.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric." + }, + "displayName": { + "type": "string", + "description": "The display name of the metric." + }, + "displayDescription": { + "type": "string", + "description": "The description of the metric." + }, + "unit": { + "type": "string", + "description": "Units the metric to be displayed in." + }, + "aggregationType": { + "type": "string", + "description": "The aggregation type." + }, + "dimensions": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/Dimension" + }, + "description": "List of dimensions." + } + } + }, + "Dimension": { + "description": "Dimension of the metric.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the dimension." + }, + "displayName": { + "type": "string", + "description": "The display name of the dimension." + } + } + }, + "GraphicalRunbookContent": { + "type": "object", + "description": "Graphical Runbook Content", + "properties": { + "rawContent": { + "x-nullable": true, + "description": "Raw graphical Runbook content.", + "$ref": "#/definitions/RawGraphicalRunbookContent" + }, + "graphRunbookJson": { + "type": "string", + "x-nullable": true, + "description": "Graphical Runbook content as JSON" + } + } + }, + "RawGraphicalRunbookContent": { + "type": "object", + "description": "Raw Graphical Runbook content", + "properties": { + "schemaVersion": { + "type": "string", + "description": "Schema version of the serializer." + }, + "runbookDefinition": { + "type": "string", + "description": "Serialized Graphical runbook" + }, + "runbookType": { + "type": "string", + "description": "Runbook Type", + "enum": [ + "GraphPowerShell", + "GraphPowerShellWorkflow" + ], + "x-ms-enum": { + "name": "GraphRunbookType", + "modelAsString": true + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json new file mode 100644 index 000000000000..6f5adc4eeb40 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json @@ -0,0 +1,525 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName}": { + "delete": { + "tags": [ + "Package" + ], + "operationId": "Package_Delete", + "description": "Delete the package by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/packageoperations" + }, + "x-ms-examples": { + "Delete a package": { + "$ref": "./examples/package/deletePackage.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The Package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Package" + ], + "operationId": "Package_Get", + "description": "Retrieve the Package identified by Package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/packageoperations" + }, + "x-ms-examples": { + "Get a package": { + "$ref": "./examples/package/getPackage.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The Package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Package" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Package" + ], + "operationId": "Package_CreateOrUpdate", + "description": "Create or update the package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/packageoperations" + }, + "x-ms-examples": { + "Create or update a package": { + "$ref": "./examples/package/createOrUpdatePackage.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of Package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PackageCreateOrUpdateParameters" + }, + "description": "The create or update parameters for Package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Package" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Package" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Package" + ], + "operationId": "Package_Update", + "description": "Update the Package identified by Package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/packageoperations" + }, + "x-ms-examples": { + "Update a package": { + "$ref": "./examples/package/updatePackage.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of Package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PackageUpdateParameters" + }, + "description": "The update parameters for Package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Package" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages": { + "get": { + "tags": [ + "Package" + ], + "operationId": "Packages_ListByRuntimeEnvironment", + "description": "Retrieve the a list of Packages", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/packageoperations" + }, + "x-ms-examples": { + "Get a package": { + "$ref": "./examples/package/listPackagesByRuntimeEnvironment.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PackageListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PackageErrorInfo": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Package import error code." + }, + "message": { + "type": "string", + "description": "Package import error message." + } + }, + "description": "Definition of the package error info type." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "PackageCreateOrUpdateProperties": { + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the package content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update package properties." + }, + "PackageCreateOrUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/PackageCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the package create properties." + }, + "allOf": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update package operation." + }, + "PackageProperties": { + "type": "object", + "properties": { + "default": { + "type": "boolean", + "description": "Gets or sets the isGlobal flag of the package." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the Package." + }, + "sizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the size in bytes of the Package." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the Package.", + "enum": [ + "Created", + "Creating", + "StartingImportModuleRunbook", + "RunningImportModuleRunbook", + "ContentRetrieved", + "ContentDownloaded", + "ContentValidated", + "ConnectionTypeImported", + "ContentStored", + "ModuleDataStored", + "ActivitiesStored", + "ModuleImportRunbookComplete", + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "PackageProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the contentLink of the Package." + }, + "error": { + "$ref": "#/definitions/PackageErrorInfo", + "description": "Gets or sets the error info of the Package." + }, + "allOf": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData" + } + }, + "description": "Definition of the package property type." + }, + "PackageUpdateProperties": { + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the package content link." + } + }, + "description": "The parameters supplied to the update properties." + }, + "PackageUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/PackageUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the package update properties." + }, + "allOf": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + }, + "description": "The parameters supplied to the update package operation." + }, + "Package": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PackageProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the Package properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the Package type." + }, + "PackageListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Package" + }, + "description": "list of the Packages of the runtime environment." + }, + "nextLink": { + "type": "string", + "description": "Gets the next link." + } + }, + "description": "The response model for the list runtime environments operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateEndpointConnection.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateEndpointConnection.json new file mode 100644 index 000000000000..705745eb1da7 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateEndpointConnection.json @@ -0,0 +1,245 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all private endpoint connections on a Automation account.", + "operationId": "PrivateEndpointConnections_ListByAutomationAccount", + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpointConnection/PrivateEndpointConnectionListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private endpoint connection.", + "schema": { + "$ref": "../../common/v5/definitions.json#/definitions/PrivateEndpointConnection" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpointConnection/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "../../common/v5/definitions.json#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Successfully approved or rejected private endpoint connection.", + "schema": { + "$ref": "../../common/v5/definitions.json#/definitions/PrivateEndpointConnection" + } + }, + "202": { + "description": "Accepted. The private endpoint connection update will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpointConnection/PrivateEndpointConnectionUpdate.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The private endpoint connection delete will complete asynchronously.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpointConnection/PrivateEndpointConnectionDelete.json" + } + } + } + } + }, + "definitions": { + "PrivateEndpointConnectionListResult": { + "description": "A list of private endpoint connections", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "../../common/v5/definitions.json#/definitions/PrivateEndpointConnection" + } + } + } + } + }, + "parameters": { + "PrivateEndpointConnectionNameParameter": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The name of the private endpoint connection." + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateLinkResources.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateLinkResources.json new file mode 100644 index 000000000000..5e5cf3a74dc8 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/privateLinkResources.json @@ -0,0 +1,127 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for Automation account.", + "operationId": "PrivateLinkResources_Automation", + "x-ms-pageable": { + "nextLinkName": null + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/PrivateLinkResourceListGet.json" + } + } + } + } + }, + "definitions": { + "PrivateLinkResourceListResult": { + "description": "A list of private link resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + } + }, + "PrivateLinkResource": { + "description": "A private link resource", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "description": "Properties of a private link resource.", + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python2package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python2package.json new file mode 100644 index 000000000000..8ca750373c41 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python2package.json @@ -0,0 +1,730 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}": { + "delete": { + "tags": [ + "Python2Package" + ], + "operationId": "Python2Package_Delete", + "description": "Delete the python 2 package by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Delete a python 2 package": { + "$ref": "./examples/deletePython2Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The python package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Python2Package" + ], + "operationId": "Python2Package_Get", + "description": "Retrieve the python 2 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Get a python 2 package": { + "$ref": "./examples/getPython2Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The python package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Python2Package" + ], + "operationId": "Python2Package_CreateOrUpdate", + "description": "Create or Update the python 2 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Create or update a python 2 package": { + "$ref": "./examples/createOrUpdatePython2Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of python package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PythonPackageCreateParameters" + }, + "description": "The create or update parameters for python package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Python2Package" + ], + "operationId": "Python2Package_Update", + "description": "Update the python 2 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Update a module": { + "$ref": "./examples/updatePython2Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of python package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PythonPackageUpdateParameters" + }, + "description": "The update parameters for python package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages": { + "get": { + "tags": [ + "Python2Package" + ], + "operationId": "Python2Package_ListByAutomationAccount", + "description": "Retrieve a list of python 2 packages.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "List python 2 packages by automation account": { + "$ref": "./examples/listPython2PackagesByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ModuleListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ActivityParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity parameter." + }, + "isMandatory": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional." + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is dynamic." + }, + "position": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the position of the activity parameter." + }, + "valueFromPipeline": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object." + }, + "valueFromPipelineByPropertyName": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name. " + }, + "valueFromRemainingArguments": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the activity parameter." + }, + "validationSet": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ActivityParameterValidationSet" + }, + "description": "Gets or sets the validation set of activity parameter." + } + }, + "description": "Definition of the activity parameter." + }, + "ActivityParameterSet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter set." + }, + "parameters": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ActivityParameter" + }, + "description": "Gets or sets the parameters of the activity parameter set." + } + }, + "description": "Definition of the activity parameter set." + }, + "ActivityParameterValidationSet": { + "type": "object", + "properties": { + "memberValue": { + "type": "string", + "description": "Gets or sets the name of the activity parameter validation set member." + } + }, + "description": "Definition of the activity parameter validation set." + }, + "ActivityOutputType": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity output type." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity output type." + } + }, + "description": "Definition of the activity output type." + }, + "ActivityProperties": { + "type": "object", + "properties": { + "definition": { + "type": "string", + "description": "Gets or sets the user name of the activity." + }, + "parameterSets": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "items": { + "$ref": "#/definitions/ActivityParameterSet" + }, + "description": "Gets or sets the parameter sets of the activity." + }, + "outputTypes": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "items": { + "$ref": "#/definitions/ActivityOutputType" + }, + "description": "Gets or sets the output types of the activity." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Properties of the activity." + }, + "Activity": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name of the activity." + }, + "properties": { + "$ref": "#/definitions/ActivityProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the activity." + } + }, + "description": "Definition of the activity." + }, + "ActivityListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + }, + "description": "Gets or sets a list of activities." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list activity operation." + }, + "ModuleErrorInfo": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Definition of the module error info type." + }, + "ModuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Module" + }, + "description": "Gets or sets a list of modules." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list module operation." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "PythonPackageCreateProperties": { + "type": "object", + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the module content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module properties." + }, + "PythonPackageCreateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PythonPackageCreateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module create properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update module operation." + }, + "ModuleProperties": { + "type": "object", + "properties": { + "isGlobal": { + "type": "boolean", + "description": "Gets or sets the isGlobal flag of the module." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the module." + }, + "sizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the size in bytes of the module." + }, + "activityCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity count of the module." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the module.", + "enum": [ + "Created", + "Creating", + "StartingImportModuleRunbook", + "RunningImportModuleRunbook", + "ContentRetrieved", + "ContentDownloaded", + "ContentValidated", + "ConnectionTypeImported", + "ContentStored", + "ModuleDataStored", + "ActivitiesStored", + "ModuleImportRunbookComplete", + "Succeeded", + "Failed", + "Cancelled", + "Updating" + ], + "x-ms-enum": { + "name": "ModuleProvisioningState", + "modelAsString": true + } + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the contentLink of the module." + }, + "error": { + "$ref": "#/definitions/ModuleErrorInfo", + "description": "Gets or sets the error info of the module." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "isComposite": { + "type": "boolean", + "description": "Gets or sets type of module, if its composite or not." + } + }, + "description": "Definition of the module property type." + }, + "PythonPackageUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the update module operation." + }, + "Module": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ModuleProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the module type." + }, + "TypeField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the field." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the field." + } + }, + "description": "Information about a field of a type." + }, + "TypeFieldListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/TypeField" + }, + "description": "Gets or sets a list of fields." + } + }, + "description": "The response model for the list fields operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python3package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python3package.json new file mode 100644 index 000000000000..c629d80e7d4c --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/python3package.json @@ -0,0 +1,733 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}": { + "delete": { + "tags": [ + "Python3Package" + ], + "operationId": "Python3Package_Delete", + "description": "Delete the python 3 package by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Delete a python 3 package": { + "$ref": "./examples/deletePython3Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The python package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Python3Package" + ], + "operationId": "Python3Package_Get", + "description": "Retrieve the python 3 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Get a python 3 package": { + "$ref": "./examples/getPython3Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The python package name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Python3Package" + ], + "operationId": "Python3Package_CreateOrUpdate", + "description": "Create or Update the python 3 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Create or update a python 3 package": { + "$ref": "./examples/createOrUpdatePython3Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of python package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PythonPackageCreateParameters" + }, + "description": "The create or update parameters for python package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Python3Package" + ], + "operationId": "Python3Package_Update", + "description": "Update the python 3 package identified by package name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "Update a module": { + "$ref": "./examples/updatePython3Package.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "packageName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of python package." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PythonPackageUpdateParameters" + }, + "description": "The update parameters for python package." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Module" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages": { + "get": { + "tags": [ + "Python3Package" + ], + "operationId": "Python3Package_ListByAutomationAccount", + "description": "Retrieve a list of python 3 packages.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/moduleoperations" + }, + "x-ms-examples": { + "List python 3 packages by automation account": { + "$ref": "./examples/listPython3PackagesByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ModuleListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ActivityParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity parameter." + }, + "isMandatory": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional." + }, + "isDynamic": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter is dynamic." + }, + "position": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the position of the activity parameter." + }, + "valueFromPipeline": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object." + }, + "valueFromPipelineByPropertyName": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name. " + }, + "valueFromRemainingArguments": { + "type": "boolean", + "description": "Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the activity parameter." + }, + "validationSet": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityParameterValidationSet" + }, + "x-ms-identifiers": [], + "description": "Gets or sets the validation set of activity parameter." + } + }, + "description": "Definition of the activity parameter." + }, + "ActivityParameterSet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity parameter set." + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityParameter" + }, + "x-ms-identifiers": [], + "description": "Gets or sets the parameters of the activity parameter set." + } + }, + "description": "Definition of the activity parameter set." + }, + "ActivityParameterValidationSet": { + "type": "object", + "properties": { + "memberValue": { + "type": "string", + "description": "Gets or sets the name of the activity parameter validation set member." + } + }, + "description": "Definition of the activity parameter validation set." + }, + "ActivityOutputType": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the activity output type." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the activity output type." + } + }, + "description": "Definition of the activity output type." + }, + "ActivityProperties": { + "type": "object", + "properties": { + "definition": { + "type": "string", + "description": "Gets or sets the user name of the activity." + }, + "parameterSets": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityParameterSet" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "Gets or sets the parameter sets of the activity." + }, + "outputTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityOutputType" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "Gets or sets the output types of the activity." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Properties of the activity." + }, + "Activity": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Gets the name of the activity." + }, + "properties": { + "$ref": "#/definitions/ActivityProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the activity." + } + }, + "description": "Definition of the activity." + }, + "ActivityListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + }, + "description": "Gets or sets a list of activities." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list activity operation." + }, + "ModuleErrorInfo": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Definition of the module error info type." + }, + "ModuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Module" + }, + "description": "Gets or sets a list of modules." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list module operation." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "PythonPackageCreateProperties": { + "type": "object", + "properties": { + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the module content link." + } + }, + "required": [ + "contentLink" + ], + "description": "The parameters supplied to the create or update module properties." + }, + "PythonPackageCreateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PythonPackageCreateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module create properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update module operation." + }, + "ModuleProperties": { + "type": "object", + "properties": { + "isGlobal": { + "type": "boolean", + "description": "Gets or sets the isGlobal flag of the module." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the module." + }, + "sizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the size in bytes of the module." + }, + "activityCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity count of the module." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the module.", + "enum": [ + "Created", + "Creating", + "StartingImportModuleRunbook", + "RunningImportModuleRunbook", + "ContentRetrieved", + "ContentDownloaded", + "ContentValidated", + "ConnectionTypeImported", + "ContentStored", + "ModuleDataStored", + "ActivitiesStored", + "ModuleImportRunbookComplete", + "Succeeded", + "Failed", + "Cancelled", + "Updating" + ], + "x-ms-enum": { + "name": "ModuleProvisioningState", + "modelAsString": true + } + }, + "contentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the contentLink of the module." + }, + "error": { + "$ref": "#/definitions/ModuleErrorInfo", + "description": "Gets or sets the error info of the module." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + }, + "isComposite": { + "type": "boolean", + "description": "Gets or sets type of module, if its composite or not." + } + }, + "description": "Definition of the module property type." + }, + "PythonPackageUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the update module operation." + }, + "Module": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ModuleProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the module properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the module type." + }, + "TypeField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the field." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the field." + } + }, + "description": "Information about a field of a type." + }, + "TypeFieldListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/TypeField" + }, + "description": "Gets or sets a list of fields." + } + }, + "description": "The response model for the list fields operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runbook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runbook.json new file mode 100644 index 000000000000..39b9922cd738 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runbook.json @@ -0,0 +1,1749 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content": { + "get": { + "tags": [ + "RunbookDraft" + ], + "operationId": "RunbookDraft_GetContent", + "description": "Retrieve the content of runbook draft identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookdraftoperations" + }, + "x-ms-examples": { + "Get runbook draft content": { + "$ref": "./examples/runbook/getRunbookDraftContent.json" + } + }, + "produces": [ + "text/powershell" + ], + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "RunbookDraft" + ], + "operationId": "RunbookDraft_ReplaceContent", + "description": "Replaces the runbook draft content.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookdraftoperations" + }, + "x-ms-examples": { + "Create or update runbook draft": { + "$ref": "./examples/runbook/replaceRunbookDraftContent.json" + } + }, + "consumes": [ + "text/powershell" + ], + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "runbookContent", + "in": "body", + "required": true, + "schema": { + "type": "object", + "format": "file" + }, + "description": "The runbook draft content." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft": { + "get": { + "tags": [ + "RunbookDraft" + ], + "operationId": "RunbookDraft_Get", + "description": "Retrieve the runbook draft identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookdraftoperations" + }, + "x-ms-examples": { + "Get runbook draft": { + "$ref": "./examples/runbook/getRunbookDraft.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RunbookDraft" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/publish": { + "post": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_Publish", + "description": "Publish runbook draft.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookdraftoperations" + }, + "x-ms-examples": { + "Publish runbook draft": { + "$ref": "./examples/runbook/publishRunbook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the publish runbook operation.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/undoEdit": { + "post": { + "tags": [ + "RunbookDraft" + ], + "operationId": "RunbookDraft_UndoEdit", + "description": "Undo draft edit to last known published state identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookdraftoperations" + }, + "x-ms-examples": { + "Undo draft edit to last known published state": { + "$ref": "./examples/runbook/undoDraftEditToLastKnownPublishedState.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RunbookDraftUndoEditResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/content": { + "get": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_GetContent", + "description": "Retrieve the content of runbook identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "Get runbook content": { + "$ref": "./examples/runbook/getRunbookContent.json" + } + }, + "produces": [ + "text/powershell" + ], + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "file" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}": { + "get": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_Get", + "description": "Retrieve the runbook identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "Get runbook": { + "$ref": "./examples/runbook/getRunbook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Runbook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_CreateOrUpdate", + "description": "Create the runbook identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "Create or update runbook and publish it": { + "$ref": "./examples/runbook/createOrUpdateRunbook.json" + }, + "Create runbook as draft": { + "$ref": "./examples/runbook/createRunbookAsDraft.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RunbookCreateOrUpdateParameters" + }, + "description": "The create or update parameters for runbook. Provide either content link for a published runbook or draft, not both." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Runbook" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Runbook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_Update", + "description": "Update the runbook identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "Update runbook": { + "$ref": "./examples/runbook/updateRunbook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RunbookUpdateParameters" + }, + "description": "The update parameters for runbook." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Runbook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_Delete", + "description": "Delete the runbook by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "Delete a runbook": { + "$ref": "./examples/runbook/deleteRunbook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks": { + "get": { + "tags": [ + "Runbook" + ], + "operationId": "Runbook_ListByAutomationAccount", + "description": "Retrieve a list of runbooks.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "List runbooks by automation account": { + "$ref": "./examples/runbook/listRunbooksByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RunbookListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/streams/{jobStreamId}": { + "get": { + "tags": [ + "TestJobStream" + ], + "operationId": "TestJobStreams_Get", + "description": "Retrieve a test job stream of the test job identified by runbook name and stream id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "Get test job stream": { + "$ref": "./examples/runbook/getTestJobStream.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "jobStreamId", + "in": "path", + "required": true, + "type": "string", + "description": "The job stream id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStream" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/streams": { + "get": { + "tags": [ + "TestJobStream" + ], + "operationId": "TestJobStreams_ListByTestJob", + "description": "Retrieve a list of test job streams identified by runbook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/jobstreamoperations" + }, + "x-ms-examples": { + "List job streams by job name": { + "$ref": "./examples/runbook/listTestJobStreamsByJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/JobStreamListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob": { + "put": { + "tags": [ + "TestJob" + ], + "operationId": "TestJob_Create", + "description": "Create a test job of the runbook.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/testjoboperations" + }, + "x-ms-examples": { + "Create test job": { + "$ref": "./examples/runbook/createTestJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The parameters supplied to the create test job operation.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TestJobCreateParameters" + }, + "description": "The parameters supplied to the create test job operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/TestJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "TestJob" + ], + "operationId": "TestJob_Get", + "description": "Retrieve the test job for the specified runbook.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/testjoboperations" + }, + "x-ms-examples": { + "Get test job": { + "$ref": "./examples/runbook/getTestJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TestJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/resume": { + "post": { + "tags": [ + "TestJob" + ], + "operationId": "TestJob_Resume", + "description": "Resume the test job.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/testjoboperations" + }, + "x-ms-examples": { + "Resume test job": { + "$ref": "./examples/runbook/resumeTestJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/stop": { + "post": { + "tags": [ + "TestJob" + ], + "operationId": "TestJob_Stop", + "description": "Stop the test job.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/testjoboperations" + }, + "x-ms-examples": { + "Stop test job": { + "$ref": "./examples/runbook/stopTestJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/suspend": { + "post": { + "tags": [ + "TestJob" + ], + "operationId": "TestJob_Suspend", + "description": "Suspend the test job.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/testjoboperations" + }, + "x-ms-examples": { + "Suspend test job": { + "$ref": "./examples/runbook/suspendTestJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "runbookName", + "in": "path", + "required": true, + "type": "string", + "description": "The runbook name.", + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "JobStream": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Gets or sets the id of the resource." + }, + "properties": { + "$ref": "#/definitions/JobStreamProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the id of the job stream." + } + }, + "description": "Definition of the job stream." + }, + "JobStreamProperties": { + "type": "object", + "properties": { + "jobStreamId": { + "type": "string", + "description": "Gets or sets the id of the job stream." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the job.", + "x-nullable": false + }, + "streamType": { + "type": "string", + "description": "Gets or sets the stream type.", + "enum": [ + "Progress", + "Output", + "Warning", + "Error", + "Debug", + "Verbose", + "Any" + ], + "x-ms-enum": { + "name": "JobStreamType", + "modelAsString": true + } + }, + "streamText": { + "type": "string", + "description": "Gets or sets the stream text." + }, + "summary": { + "type": "string", + "x-nullable": true, + "description": "Gets or sets the summary." + }, + "value": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "description": "Gets or sets the values of the job stream." + } + }, + "x-ms-client-flatten": true, + "description": "Definition of the job stream." + }, + "JobStreamListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobStream" + }, + "description": "A list of job streams." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list job stream operation." + }, + "ContentHash": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Gets or sets the content hash algorithm used to hash the content." + }, + "value": { + "type": "string", + "description": "Gets or sets expected hash value of the content." + } + }, + "required": [ + "algorithm", + "value" + ], + "description": "Definition of the runbook property type." + }, + "ContentLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Gets or sets the uri of content." + }, + "contentHash": { + "$ref": "#/definitions/ContentHash", + "description": "Gets or sets the hash." + }, + "version": { + "type": "string", + "description": "Gets or sets the version of the content." + } + }, + "description": "Definition of the content link." + }, + "RunbookProperties": { + "type": "object", + "properties": { + "runtimeEnvironment": { + "type": "string", + "description": "Runtime Environment of the runbook execution." + }, + "runbookType": { + "type": "string", + "description": "Gets or sets the type of the runbook.", + "enum": [ + "Script", + "Graph", + "PowerShellWorkflow", + "PowerShell", + "GraphPowerShellWorkflow", + "GraphPowerShell", + "Python2", + "Python3", + "Python" + ], + "x-ms-enum": { + "name": "RunbookTypeEnum", + "modelAsString": true + } + }, + "publishContentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the published runbook content link." + }, + "state": { + "type": "string", + "description": "Gets or sets the state of the runbook.", + "enum": [ + "New", + "Edit", + "Published" + ], + "x-ms-enum": { + "name": "RunbookState", + "modelAsString": true + } + }, + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "logProgress": { + "type": "boolean", + "description": "Gets or sets progress log option." + }, + "logActivityTrace": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the option to log activity trace of the runbook." + }, + "jobCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the job count of the runbook." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/RunbookParameter" + }, + "description": "Gets or sets the runbook parameters." + }, + "outputTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the runbook output types." + }, + "draft": { + "$ref": "#/definitions/RunbookDraft", + "description": "Gets or sets the draft runbook properties." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state of the runbook.", + "enum": [ + "Succeeded" + ], + "x-ms-enum": { + "name": "RunbookProvisioningState", + "modelAsString": false + } + }, + "lastModifiedBy": { + "type": "string", + "description": "Gets or sets the last modified by." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the runbook property type." + }, + "Runbook": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RunbookProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the runbook properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the runbook type." + }, + "RunbookListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Runbook" + }, + "description": "Gets or sets a list of runbooks." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list runbook operation." + }, + "RunbookCreateOrUpdateProperties": { + "type": "object", + "properties": { + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "logProgress": { + "type": "boolean", + "description": "Gets or sets progress log option." + }, + "runtimeEnvironment": { + "type": "string", + "description": "Environment of the runbook." + }, + "runbookType": { + "type": "string", + "description": "Gets or sets the type of the runbook.", + "enum": [ + "Script", + "Graph", + "PowerShellWorkflow", + "PowerShell", + "GraphPowerShellWorkflow", + "GraphPowerShell", + "Python2", + "Python3", + "Python" + ], + "x-ms-enum": { + "name": "RunbookTypeEnum", + "modelAsString": true + } + }, + "draft": { + "$ref": "#/definitions/RunbookDraft", + "description": "Gets or sets the draft runbook properties." + }, + "publishContentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the published runbook content link." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the runbook." + }, + "logActivityTrace": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity-level tracing options of the runbook." + } + }, + "required": [ + "runbookType" + ], + "description": "The parameters supplied to the create or update runbook properties." + }, + "RunbookCreateOrUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RunbookCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets runbook create or update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update runbook operation." + }, + "RunbookUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the runbook." + }, + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "logProgress": { + "type": "boolean", + "description": "Gets or sets progress log option." + }, + "logActivityTrace": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity-level tracing options of the runbook." + } + }, + "description": "The parameters supplied to the update runbook properties." + }, + "RunbookUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RunbookUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the runbook update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "description": "The parameters supplied to the update runbook operation." + }, + "RunbookDraftUndoEditResult": { + "type": "object", + "properties": { + "statusCode": { + "type": "string", + "enum": [ + "Continue", + "SwitchingProtocols", + "OK", + "Created", + "Accepted", + "NonAuthoritativeInformation", + "NoContent", + "ResetContent", + "PartialContent", + "MultipleChoices", + "Ambiguous", + "MovedPermanently", + "Moved", + "Found", + "Redirect", + "SeeOther", + "RedirectMethod", + "NotModified", + "UseProxy", + "Unused", + "TemporaryRedirect", + "RedirectKeepVerb", + "BadRequest", + "Unauthorized", + "PaymentRequired", + "Forbidden", + "NotFound", + "MethodNotAllowed", + "NotAcceptable", + "ProxyAuthenticationRequired", + "RequestTimeout", + "Conflict", + "Gone", + "LengthRequired", + "PreconditionFailed", + "RequestEntityTooLarge", + "RequestUriTooLong", + "UnsupportedMediaType", + "RequestedRangeNotSatisfiable", + "ExpectationFailed", + "UpgradeRequired", + "InternalServerError", + "NotImplemented", + "BadGateway", + "ServiceUnavailable", + "GatewayTimeout", + "HttpVersionNotSupported" + ], + "x-ms-enum": { + "name": "HttpStatusCode", + "modelAsString": true + } + }, + "requestId": { + "type": "string" + } + }, + "description": "The response model for the undo edit runbook operation." + }, + "RunbookDraft": { + "type": "object", + "properties": { + "inEdit": { + "type": "boolean", + "description": "Gets or sets whether runbook is in edit mode." + }, + "draftContentLink": { + "$ref": "#/definitions/ContentLink", + "description": "Gets or sets the draft runbook content link." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the runbook draft.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time of the runbook draft.", + "x-nullable": false + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/RunbookParameter" + }, + "description": "Gets or sets the runbook draft parameters." + }, + "outputTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the runbook output types." + } + } + }, + "RunbookParameter": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Gets or sets the type of the parameter." + }, + "isMandatory": { + "type": "boolean", + "description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not." + }, + "position": { + "type": "integer", + "format": "int32", + "description": "Get or sets the position of the parameter." + }, + "defaultValue": { + "type": "string", + "description": "Gets or sets the default value of parameter." + } + }, + "description": "Definition of the runbook parameter type." + }, + "TestJobCreateParameters": { + "type": "object", + "properties": { + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "runtimeEnvironment": { + "type": "string", + "description": "The runtime Environment Name on which job needs to be tested" + } + }, + "description": "The parameters supplied to the create test job operation." + }, + "TestJob": { + "type": "object", + "x-ms-mutability": [ + "read", + "create" + ], + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time of the test job.", + "x-nullable": false + }, + "status": { + "type": "string", + "description": "Gets or sets the status of the test job." + }, + "statusDetails": { + "type": "string", + "description": "Gets or sets the status details of the test job." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the runOn which specifies the group name where the job is to be executed." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the test job.", + "x-nullable": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the test job.", + "x-nullable": true + }, + "exception": { + "type": "string", + "description": "Gets or sets the exception of the test job." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time of the test job.", + "x-nullable": false + }, + "lastStatusModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last status modified time of the test job.", + "x-nullable": true + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the test job." + }, + "logActivityTrace": { + "type": "integer", + "format": "int32", + "description": "The activity-level tracing options of the runbook." + } + }, + "description": "Definition of the test job." + }, + "RunbookCreateOrUpdateDraftProperties": { + "type": "object", + "properties": { + "logVerbose": { + "type": "boolean", + "description": "Gets or sets verbose log option." + }, + "logProgress": { + "type": "boolean", + "description": "Gets or sets progress log option." + }, + "runtimeEnvironment": { + "type": "string", + "description": "Environment of the runbook." + }, + "runbookType": { + "type": "string", + "description": "Gets or sets the type of the runbook.", + "enum": [ + "Script", + "Graph", + "PowerShellWorkflow", + "PowerShell", + "GraphPowerShellWorkflow", + "GraphPowerShell", + "Python2", + "Python3", + "Python" + ], + "x-ms-enum": { + "name": "RunbookTypeEnum", + "modelAsString": true + } + }, + "draft": { + "$ref": "#/definitions/RunbookDraft", + "description": "Gets or sets the draft runbook properties." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the runbook." + }, + "logActivityTrace": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the activity-level tracing options of the runbook." + } + }, + "required": [ + "runbookType", + "draft" + ], + "description": "The parameters supplied to the create or update draft runbook properties." + }, + "RunbookCreateOrUpdateDraftParameters": { + "type": "object", + "properties": { + "runbookContent": { + "type": "string", + "description": "Content of the Runbook." + } + }, + "x-ms-client-flatten": true, + "required": [ + "runbookContent" + ], + "description": "The parameters supplied to the create or update runbook operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runtimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runtimeEnvironment.json new file mode 100644 index 000000000000..8fd7f6df1522 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/runtimeEnvironment.json @@ -0,0 +1,399 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}": { + "patch": { + "tags": [ + "RuntimeEnvironment" + ], + "operationId": "RuntimeEnvironments_Update", + "description": "Update an Runtime Environment.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/automationaccountoperations" + }, + "x-ms-examples": { + "Update an automation account": { + "$ref": "./examples/runtimeEnvironment/updateRuntimeEnvironment.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RuntimeEnvironmentUpdateParameters" + }, + "description": "Parameters supplied to the Runtime Environment" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RuntimeEnvironment" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "RuntimeEnvironment" + ], + "operationId": "RuntimeEnvironments_Create", + "description": "Create or update Runtime Environment", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runtimeEnvironmentOperations" + }, + "x-ms-examples": { + "Create or update automation account": { + "$ref": "./examples/runtimeEnvironment/createRuntimeEnvironment.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RuntimeEnvironment" + }, + "description": "Parameters supplied to the create the runtime environment." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/RuntimeEnvironment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/RuntimeEnvironment" + } + }, + "default": { + "description": "Automation error response describing why the operation failed. ", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "RuntimeEnvironment" + ], + "operationId": "RuntimeEnvironments_Delete", + "description": "Delete the Runtime Environment.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runtimeEnvironmentOperations" + }, + "x-ms-examples": { + "Delete Runtime Environment": { + "$ref": "./examples/runtimeEnvironment/deleteRuntimeEnvironment.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "RuntimeEnvironment" + ], + "operationId": "RuntimeEnvironments_Get", + "description": "Get information about the Runtime Environment", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runtimeEnvironmentOperations" + }, + "x-ms-examples": { + "Get automation account": { + "$ref": "./examples/runtimeEnvironment/getRuntimeEnvironment.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v5/definitions.json#/parameters/RuntimeEnvironmentNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RuntimeEnvironment" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments": { + "get": { + "tags": [ + "RuntimeEnvironment" + ], + "operationId": "RuntimeEnvironments_ListByAutomationAccount", + "description": "Retrieve a list of RuntimeEnvironments.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/runbookoperations" + }, + "x-ms-examples": { + "List runbooks by automation account": { + "$ref": "./examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RuntimeEnvironmentListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "RuntimeEnvironment": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RuntimeEnvironmentProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the Runtime Environment properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Definition of the Runtime Environment type." + }, + "RuntimeEnvironmentUpdateProperties": { + "type": "object", + "properties": { + "defaultPackages": { + "$ref": "#/definitions/DefaultPackages", + "description": "List of Default packages for Environment" + } + }, + "description": "Gets or sets Runtime update properties." + }, + "RuntimeProperties": { + "type": "object", + "properties": { + "language": { + "type": "string", + "description": "Language of Runtime Environment" + }, + "version": { + "type": "string", + "description": "Version of Language" + } + }, + "description": "Runtime properties." + }, + "RuntimeEnvironmentUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RuntimeEnvironmentUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets Runtime update properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData" + } + }, + "description": "The parameters supplied to the update automation account operation." + }, + "RuntimeEnvironmentProperties": { + "type": "object", + "properties": { + "runtime": { + "$ref": "#/definitions/RuntimeProperties", + "x-ms-client-flatten": true, + "description": " Runtime properties." + }, + "defaultPackages": { + "$ref": "#/definitions/DefaultPackages", + "description": "List of Default packages for Environment" + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Runtime Environment properties." + }, + "DefaultPackages": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets default packages of Runtime Environment." + }, + "RuntimeEnvironmentListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeEnvironment" + }, + "description": "list of RuntimeEnvironment." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "List of all the Runtime Environments of automation account." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/schedule.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/schedule.json new file mode 100644 index 000000000000..1068ee82621a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/schedule.json @@ -0,0 +1,609 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}": { + "put": { + "tags": [ + "Schedule" + ], + "operationId": "Schedule_CreateOrUpdate", + "description": "Create a schedule.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/scheduleoperations" + }, + "x-ms-examples": { + "Create or update a schedule": { + "$ref": "./examples/createOrUpdateSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "scheduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The schedule name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScheduleCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update schedule operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "409": { + "description": "Conflict" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Schedule" + ], + "operationId": "Schedule_Update", + "description": "Update the schedule identified by schedule name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/scheduleoperations" + }, + "x-ms-examples": { + "Update a schedule": { + "$ref": "./examples/updateSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "scheduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The schedule name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScheduleUpdateParameters" + }, + "description": "The parameters supplied to the update schedule operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Schedule" + ], + "operationId": "Schedule_Get", + "description": "Retrieve the schedule identified by schedule name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/scheduleoperations" + }, + "x-ms-examples": { + "Get a schedule": { + "$ref": "./examples/getSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "scheduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The schedule name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Schedule" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Schedule" + ], + "operationId": "Schedule_Delete", + "description": "Delete the schedule identified by schedule name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/scheduleoperations" + }, + "x-ms-examples": { + "Delete schedule": { + "$ref": "./examples/deleteSchedule.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "scheduleName", + "in": "path", + "required": true, + "type": "string", + "description": "The schedule name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules": { + "get": { + "tags": [ + "Schedule" + ], + "operationId": "Schedule_ListByAutomationAccount", + "description": "Retrieve a list of schedules.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/scheduleoperations" + }, + "x-ms-examples": { + "List schedules by automation account, first 100": { + "$ref": "./examples/listSchedulesByAutomationAccount_First100.json" + }, + "List schedules by automation account, next 100": { + "$ref": "./examples/listSchedulesByAutomationAccount_Next100.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ScheduleListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AdvancedSchedule": { + "properties": { + "weekDays": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Days of the week that the job should execute on." + }, + "monthDays": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "x-nullable": false + }, + "description": "Days of the month that the job should execute on. Must be between 1 and 31." + }, + "monthlyOccurrences": { + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence" + }, + "x-ms-identifiers": [], + "description": "Occurrences of days within a month." + } + }, + "description": "The properties of the create Advanced Schedule." + }, + "AdvancedScheduleMonthlyOccurrence": { + "properties": { + "occurrence": { + "type": "integer", + "format": "int32", + "description": "Occurrence of the week within the month. Must be between 1 and 5" + }, + "day": { + "type": "string", + "description": "Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "x-ms-enum": { + "name": "ScheduleDay", + "modelAsString": true + } + } + }, + "description": "The properties of the create advanced schedule monthly occurrence." + }, + "ScheduleCreateOrUpdateProperties": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the schedule." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the schedule.", + "x-nullable": false + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the schedule.", + "x-nullable": true + }, + "interval": { + "description": "Gets or sets the interval of the schedule." + }, + "frequency": { + "type": "string", + "description": "Gets or sets the frequency of the schedule.", + "$ref": "#/definitions/scheduleFrequency" + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + }, + "advancedSchedule": { + "$ref": "#/definitions/AdvancedSchedule", + "description": "Gets or sets the AdvancedSchedule." + } + }, + "required": [ + "startTime", + "frequency" + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "scheduleFrequency": { + "type": "string", + "description": "Gets or sets the frequency of the schedule.", + "enum": [ + "OneTime", + "Day", + "Hour", + "Week", + "Month", + "Minute" + ], + "x-ms-enum": { + "name": "ScheduleFrequency", + "modelAsString": true, + "values": [ + { + "value": "OneTime" + }, + { + "value": "Day" + }, + { + "value": "Hour" + }, + { + "value": "Week" + }, + { + "value": "Month" + }, + { + "value": "Minute", + "description": "The minimum allowed interval for Minute schedules is 15 minutes." + } + ] + } + }, + "ScheduleCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Schedule." + }, + "properties": { + "$ref": "#/definitions/ScheduleCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the list of schedule properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update schedule operation." + }, + "Schedule": { + "properties": { + "properties": { + "$ref": "#/definitions/ScheduleProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the schedule." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the schedule." + }, + "ScheduleProperties": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the start time of the schedule.", + "x-nullable": false + }, + "startTimeOffsetMinutes": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets the start time's offset in minutes.", + "x-nullable": false + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the end time of the schedule.", + "x-nullable": true + }, + "expiryTimeOffsetMinutes": { + "type": "number", + "format": "double", + "description": "Gets or sets the expiry time's offset in minutes.", + "x-nullable": false + }, + "isEnabled": { + "type": "boolean", + "default": false, + "description": "Gets or sets a value indicating whether this schedule is enabled." + }, + "nextRun": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the next run time of the schedule.", + "x-nullable": true + }, + "nextRunOffsetMinutes": { + "type": "number", + "format": "double", + "description": "Gets or sets the next run time's offset in minutes.", + "x-nullable": false + }, + "interval": { + "description": "Gets or sets the interval of the schedule." + }, + "frequency": { + "type": "string", + "description": "Gets or sets the frequency of the schedule.", + "$ref": "#/definitions/scheduleFrequency" + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + }, + "advancedSchedule": { + "$ref": "#/definitions/AdvancedSchedule", + "description": "Gets or sets the advanced schedule." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of schedule parameters." + }, + "ScheduleUpdateProperties": { + "properties": { + "description": { + "type": "string", + "description": "Gets or sets the description of the schedule." + }, + "isEnabled": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this schedule is enabled." + } + }, + "description": "The parameters supplied to the update schedule operation." + }, + "ScheduleUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the Schedule." + }, + "properties": { + "$ref": "#/definitions/ScheduleUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the list of schedule properties." + } + }, + "description": "The parameters supplied to the update schedule operation." + }, + "ScheduleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Schedule" + }, + "description": "Gets or sets a list of schedules." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list schedule operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfiguration.json new file mode 100644 index 000000000000..6ae56edfdc9b --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfiguration.json @@ -0,0 +1,853 @@ +{ + "swagger": "2.0", + "info": { + "title": "Update Management API", + "description": "APIs for managing software update configurations.", + "contact": { + "name": "Mohamed Enein" + }, + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "basePath": "/", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}": { + "put": { + "tags": [ + "Software Update Configuration" + ], + "description": "Create a new software update configuration with the name given in the URI.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "Create software update configuration": { + "$ref": "./examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json" + } + }, + "operationId": "SoftwareUpdateConfigurations_Create", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "softwareUpdateConfigurationName", + "description": "The name of the software update configuration to be created.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + }, + { + "name": "parameters", + "description": "Request body.", + "required": true, + "in": "body", + "schema": { + "$ref": "#/definitions/softwareUpdateConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Software update configuration with the same name and properties already exists.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfiguration" + } + }, + "201": { + "description": "Software update configuration is created.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Software Update Configuration" + ], + "description": "Get a single software update configuration by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "Get software update configuration by name": { + "$ref": "./examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json" + } + }, + "operationId": "SoftwareUpdateConfigurations_GetByName", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "softwareUpdateConfigurationName", + "description": "The name of the software update configuration to be created.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "A single software update configuration.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfiguration" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Software Update Configuration" + ], + "description": "delete a specific software update configuration.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "Delete software update configuration": { + "$ref": "./examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json" + } + }, + "operationId": "SoftwareUpdateConfigurations_Delete", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "softwareUpdateConfigurationName", + "description": "The name of the software update configuration to be created.", + "type": "string", + "required": true, + "in": "path" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "The software update configuration has been deleted." + }, + "204": { + "description": "The software update configuration does not exist." + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations": { + "get": { + "tags": [ + "Software Update Configuration" + ], + "description": "Get all software update configurations for the account.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "List software update configurations": { + "$ref": "./examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json" + }, + "List software update configurations Targeting a specific azure virtual machine": { + "$ref": "./examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json" + } + }, + "operationId": "SoftwareUpdateConfigurations_List", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + } + ], + "responses": { + "200": { + "description": "Return list of software update configurations.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfigurationListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "softwareUpdateConfiguration": { + "x-ms-azure-resource": true, + "description": "Software update configuration properties.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Software update configuration properties.", + "$ref": "#/definitions/softwareUpdateConfigurationProperties" + } + }, + "required": [ + "properties" + ] + }, + "softwareUpdateConfigurationProperties": { + "description": "Software update configuration properties.", + "properties": { + "updateConfiguration": { + "description": "update specific properties for the Software update configuration", + "$ref": "#/definitions/updateConfiguration" + }, + "scheduleInfo": { + "description": "Schedule information for the Software update configuration", + "$ref": "#/definitions/SUCScheduleProperties" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state for the software update configuration, which only appears in the response.", + "readOnly": true + }, + "error": { + "description": "Details of provisioning error", + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + }, + "creationTime": { + "type": "string", + "description": "Creation time of the resource, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "createdBy": { + "type": "string", + "description": "CreatedBy property, which only appears in the response.", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "description": "Last time resource was modified, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "lastModifiedBy": { + "type": "string", + "description": "LastModifiedBy property, which only appears in the response.", + "readOnly": true + }, + "tasks": { + "description": "Tasks information for the Software update configuration.", + "$ref": "#/definitions/softwareUpdateConfigurationTasks" + } + }, + "required": [ + "updateConfiguration", + "scheduleInfo" + ] + }, + "softwareUpdateConfigurationTasks": { + "type": "object", + "description": "Task properties of the software update configuration.", + "properties": { + "preTask": { + "description": "Pre task properties.", + "$ref": "#/definitions/taskProperties" + }, + "postTask": { + "description": "Post task properties.", + "$ref": "#/definitions/taskProperties" + } + } + }, + "taskProperties": { + "type": "object", + "description": "Task properties of the software update configuration.", + "properties": { + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the task." + }, + "source": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + } + }, + "WindowsProperties": { + "type": "object", + "description": "Windows specific update configuration.", + "properties": { + "includedUpdateClassifications": { + "description": "Update classification included in the software update configuration. A comma separated string with required values", + "type": "string", + "enum": [ + "Unclassified", + "Critical", + "Security", + "UpdateRollup", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ], + "x-ms-enum": { + "name": "WindowsUpdateClasses", + "modelAsString": true + } + }, + "excludedKbNumbers": { + "type": "array", + "description": "KB numbers excluded from the software update configuration.", + "items": { + "type": "string" + } + }, + "includedKbNumbers": { + "type": "array", + "description": "KB numbers included from the software update configuration.", + "items": { + "type": "string" + } + }, + "rebootSetting": { + "description": "Reboot setting for the software update configuration.", + "type": "string" + } + } + }, + "operatingSystemType": { + "type": "string", + "description": "Target operating system for the software update configuration.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OperatingSystemType" + } + }, + "updateConfiguration": { + "type": "object", + "description": "Update specific properties of the software update configuration.", + "properties": { + "operatingSystem": { + "description": "operating system of target machines", + "$ref": "#/definitions/operatingSystemType" + }, + "windows": { + "description": "Windows specific update configuration.", + "$ref": "#/definitions/WindowsProperties" + }, + "linux": { + "description": "Linux specific update configuration.", + "$ref": "#/definitions/LinuxProperties" + }, + "duration": { + "type": "string", + "format": "duration", + "description": "Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601" + }, + "azureVirtualMachines": { + "type": "array", + "description": "List of azure resource Ids for azure virtual machines targeted by the software update configuration.", + "items": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + } + }, + "nonAzureComputerNames": { + "type": "array", + "description": "List of names of non-azure machines targeted by the software update configuration.", + "items": { + "type": "string", + "description": "Name of Non-Azure OMS Computer." + } + }, + "targets": { + "description": "Group targets for the software update configuration.", + "$ref": "#/definitions/TargetProperties" + } + }, + "required": [ + "operatingSystem" + ] + }, + "LinuxProperties": { + "type": "object", + "description": "Linux specific update configuration.", + "properties": { + "includedPackageClassifications": { + "description": "Update classifications included in the software update configuration.", + "type": "string", + "enum": [ + "Unclassified", + "Critical", + "Security", + "Other" + ], + "x-ms-enum": { + "name": "LinuxUpdateClasses", + "modelAsString": true + } + }, + "excludedPackageNameMasks": { + "type": "array", + "description": "packages excluded from the software update configuration.", + "items": { + "type": "string" + } + }, + "includedPackageNameMasks": { + "type": "array", + "description": "packages included from the software update configuration.", + "items": { + "type": "string" + } + }, + "rebootSetting": { + "description": "Reboot setting for the software update configuration.", + "type": "string" + } + } + }, + "SUCScheduleProperties": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Gets or sets the start time of the schedule." + }, + "startTimeOffsetMinutes": { + "readOnly": true, + "type": "number", + "format": "double", + "description": "Gets the start time's offset in minutes.", + "x-nullable": false + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the end time of the schedule." + }, + "expiryTimeOffsetMinutes": { + "type": "number", + "format": "double", + "description": "Gets or sets the expiry time's offset in minutes.", + "x-nullable": false + }, + "isEnabled": { + "type": "boolean", + "default": false, + "description": "Gets or sets a value indicating whether this schedule is enabled." + }, + "nextRun": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "Gets or sets the next run time of the schedule." + }, + "nextRunOffsetMinutes": { + "type": "number", + "format": "double", + "description": "Gets or sets the next run time's offset in minutes.", + "x-nullable": false + }, + "interval": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the interval of the schedule." + }, + "frequency": { + "type": "string", + "description": "Gets or sets the frequency of the schedule.", + "$ref": "../../stable/2015-10-31/schedule.json#/definitions/scheduleFrequency" + }, + "timeZone": { + "type": "string", + "description": "Gets or sets the time zone of the schedule." + }, + "advancedSchedule": { + "$ref": "#/definitions/AdvancedSchedule", + "description": "Gets or sets the advanced schedule." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Gets or sets the creation time." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Gets or sets the last modified time." + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of schedule parameters." + }, + "AdvancedSchedule": { + "properties": { + "weekDays": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Days of the week that the job should execute on." + }, + "monthDays": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "x-nullable": false + }, + "description": "Days of the month that the job should execute on. Must be between 1 and 31." + }, + "monthlyOccurrences": { + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence" + }, + "x-ms-identifiers": [], + "description": "Occurrences of days within a month." + } + }, + "description": "The properties of the create Advanced Schedule." + }, + "AdvancedScheduleMonthlyOccurrence": { + "properties": { + "occurrence": { + "type": "integer", + "format": "int32", + "description": "Occurrence of the week within the month. Must be between 1 and 5" + }, + "day": { + "type": "string", + "description": "Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "x-ms-enum": { + "name": "ScheduleDay", + "modelAsString": true + } + } + }, + "description": "The properties of the create advanced schedule monthly occurrence." + }, + "softwareUpdateConfigurationListResult": { + "description": "result of listing all software update configuration", + "properties": { + "value": { + "description": "outer object returned when listing all software update configurations", + "type": "array", + "items": { + "$ref": "#/definitions/softwareUpdateConfigurationCollectionItem" + } + } + } + }, + "softwareUpdateConfigurationCollectionItem": { + "description": "Software update configuration collection item properties.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the software update configuration." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id of the software update configuration" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Software update configuration properties.", + "$ref": "#/definitions/softwareUpdateConfigurationCollectionItemProperties" + } + }, + "required": [ + "properties" + ] + }, + "softwareUpdateConfigurationCollectionItemProperties": { + "description": "Software update configuration collection item properties.", + "properties": { + "updateConfiguration": { + "description": "Update specific properties of the software update configuration.", + "$ref": "#/definitions/updateConfiguration" + }, + "tasks": { + "description": "Pre and Post Tasks defined", + "$ref": "#/definitions/softwareUpdateConfigurationTasks" + }, + "frequency": { + "description": "execution frequency of the schedule associated with the software update configuration", + "type": "string", + "$ref": "../../stable/2015-10-31/schedule.json#/definitions/scheduleFrequency" + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "the start time of the update." + }, + "creationTime": { + "type": "string", + "description": "Creation time of the software update configuration, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "description": "Last time software update configuration was modified, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state for the software update configuration, which only appears in the response.", + "readOnly": true + }, + "nextRun": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "ext run time of the update." + } + } + }, + "TargetProperties": { + "type": "object", + "description": "Group specific to the update configuration.", + "properties": { + "azureQueries": { + "description": "List of Azure queries in the software update configuration.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/AzureQueryProperties" + }, + "x-ms-identifiers": [] + }, + "nonAzureQueries": { + "description": "List of non Azure queries in the software update configuration.", + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/NonAzureQueryProperties" + }, + "x-ms-identifiers": [ + "workspaceId" + ] + } + } + }, + "NonAzureQueryProperties": { + "type": "object", + "description": "Non Azure query for the update configuration.", + "properties": { + "functionAlias": { + "type": "string", + "description": "Log Analytics Saved Search name." + }, + "workspaceId": { + "type": "string", + "description": "Workspace Id for Log Analytics in which the saved Search is resided." + } + } + }, + "AzureQueryProperties": { + "type": "object", + "description": "Azure query for the update configuration.", + "properties": { + "scope": { + "type": "array", + "description": "List of Subscription or Resource Group ARM Ids.", + "items": { + "type": "string", + "description": "Subscription or Resource Group ARM Id." + } + }, + "locations": { + "type": "array", + "description": "List of locations to scope the query to.", + "items": { + "type": "string", + "description": "Location to scope the query to." + } + }, + "tagSettings": { + "type": "object", + "description": "Tag settings for the VM.", + "$ref": "#/definitions/TagSettingsProperties" + } + } + }, + "TagSettingsProperties": { + "type": "object", + "description": "Tag filter information for the VM.", + "properties": { + "tags": { + "type": "object", + "description": "Dictionary of tags with its list of values.", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "List of tag values for a tag." + } + } + }, + "filterOperator": { + "type": "string", + "description": "Filter VMs by Any or All specified tags.", + "enum": [ + "All", + "Any" + ], + "x-ms-enum": { + "name": "TagOperators", + "modelAsString": false + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationMachineRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationMachineRun.json new file mode 100644 index 000000000000..4f16d7d164c4 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationMachineRun.json @@ -0,0 +1,327 @@ +{ + "swagger": "2.0", + "info": { + "title": "Update Management API", + "description": "APIs for managing software update configurations.", + "contact": { + "name": "Mohamed Enein" + }, + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "basePath": "/", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns/{softwareUpdateConfigurationMachineRunId}": { + "get": { + "tags": [ + "Software Update Configuration Machine Run" + ], + "description": "Get a single software update configuration machine run by Id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "Get software update configuration machine run": { + "$ref": "./examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json" + } + }, + "operationId": "SoftwareUpdateConfigurationMachineRuns_GetById", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "softwareUpdateConfigurationMachineRunId", + "description": "The Id of the software update configuration machine run.", + "type": "string", + "required": true, + "in": "path", + "format": "uuid" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "A single software update configuration machine run.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfigurationMachineRun" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns": { + "get": { + "tags": [ + "Software Update Configuration Machine Run" + ], + "description": "Return list of software update configuration machine runs", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "List software update configuration machine runs": { + "$ref": "./examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json" + }, + "List software update configuration machine runs for a specific software update configuration run": { + "$ref": "./examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json" + } + }, + "operationId": "SoftwareUpdateConfigurationMachineRuns_List", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name'" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "string", + "description": "number of entries you skip before returning results" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "string", + "description": "Maximum number of entries returned in the results collection" + } + ], + "responses": { + "200": { + "description": "Return list of software update configuration machine runs.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfigurationMachineRunListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "softwareUpdateConfigurationMachineRun": { + "description": "Software update configuration machine run model.", + "x-ms-azure-resource": false, + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the software update configuration machine run" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id of the software update configuration machine run" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Software update configuration machine run properties.", + "$ref": "#/definitions/updateConfigurationMachineRunProperties" + } + } + }, + "softwareUpdateConfigurationMachineRunListResult": { + "description": "result of listing all software update configuration machine runs", + "properties": { + "value": { + "description": "outer object returned when listing all software update configuration machine runs", + "type": "array", + "items": { + "$ref": "#/definitions/softwareUpdateConfigurationMachineRun" + } + }, + "nextLink": { + "type": "string", + "description": "link to next page of results." + } + } + }, + "updateConfigurationMachineRunProperties": { + "description": "Software update configuration machine run properties.", + "properties": { + "targetComputer": { + "type": "string", + "description": "name of the updated computer", + "readOnly": true + }, + "targetComputerType": { + "type": "string", + "description": "type of the updated computer.", + "readOnly": true + }, + "softwareUpdateConfiguration": { + "description": "software update configuration triggered this run", + "$ref": "#/definitions/updateConfigurationNavigation" + }, + "status": { + "type": "string", + "description": "Status of the software update configuration machine run.", + "readOnly": true + }, + "osType": { + "type": "string", + "description": "Operating system target of the software update configuration triggered this run", + "readOnly": true + }, + "correlationId": { + "type": "string", + "format": "uuid", + "description": "correlation id of the software update configuration machine run", + "readOnly": true + }, + "sourceComputerId": { + "type": "string", + "format": "uuid", + "description": "source computer id of the software update configuration machine run", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Start time of the software update configuration machine run.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "End time of the software update configuration machine run.", + "readOnly": true + }, + "configuredDuration": { + "type": "string", + "description": "configured duration for the software update configuration run.", + "readOnly": true + }, + "job": { + "description": "Job associated with the software update configuration machine run", + "$ref": "#/definitions/jobNavigation" + }, + "creationTime": { + "type": "string", + "description": "Creation time of the resource, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "createdBy": { + "type": "string", + "description": "createdBy property, which only appears in the response.", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "description": "Last time resource was modified, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "lastModifiedBy": { + "type": "string", + "description": "lastModifiedBy property, which only appears in the response.", + "readOnly": true + }, + "error": { + "description": "Details of provisioning error", + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "updateConfigurationNavigation": { + "description": "Software update configuration Run Navigation model.", + "type": "object", + "properties": { + "name": { + "description": "Name of the software update configuration triggered the software update configuration run", + "type": "string", + "readOnly": true + } + } + }, + "jobNavigation": { + "description": "Software update configuration machine run job navigation properties.", + "type": "object", + "properties": { + "id": { + "description": "Id of the job associated with the software update configuration run", + "type": "string", + "readOnly": true + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationRun.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationRun.json new file mode 100644 index 000000000000..b2d76f05947d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationRun.json @@ -0,0 +1,332 @@ +{ + "swagger": "2.0", + "info": { + "title": "Update Management API", + "description": "APIs for managing software update configurations.", + "contact": { + "name": "Mohamed Enein" + }, + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "basePath": "/", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns/{softwareUpdateConfigurationRunId}": { + "get": { + "tags": [ + "Software Update Configuration Run" + ], + "description": "Get a single software update configuration Run by Id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationrunoperations" + }, + "x-ms-examples": { + "Get software update configuration runs by Id": { + "$ref": "./examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json" + } + }, + "operationId": "SoftwareUpdateConfigurationRuns_GetById", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "softwareUpdateConfigurationRunId", + "description": "The Id of the software update configuration run.", + "type": "string", + "required": true, + "in": "path", + "format": "uuid" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + } + ], + "responses": { + "200": { + "description": "A single software update configuration Run.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfigurationRun" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns": { + "get": { + "tags": [ + "Software Update Configuration Run" + ], + "description": "Return list of software update configuration runs", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations" + }, + "x-ms-examples": { + "List software update configuration machine runs": { + "$ref": "./examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json" + }, + "List software update configuration machine run with status equal to 'Failed'": { + "$ref": "./examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json" + } + }, + "operationId": "SoftwareUpdateConfigurationRuns_List", + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/clientRequestId" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name'" + }, + { + "name": "$skip", + "in": "query", + "required": false, + "type": "string", + "description": "Number of entries you skip before returning results" + }, + { + "name": "$top", + "in": "query", + "required": false, + "type": "string", + "description": "Maximum number of entries returned in the results collection" + } + ], + "responses": { + "200": { + "description": "Return list of software update configurations runs.", + "schema": { + "$ref": "#/definitions/softwareUpdateConfigurationRunListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "softwareUpdateConfigurationRun": { + "description": "Software update configuration Run properties.", + "x-ms-azure-resource": false, + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of the software update configuration run." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id of the software update configuration run" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Software update configuration Run properties.", + "$ref": "#/definitions/softwareUpdateConfigurationRunProperties" + } + } + }, + "softwareUpdateConfigurationRunProperties": { + "description": "Software update configuration properties.", + "properties": { + "softwareUpdateConfiguration": { + "description": "software update configuration triggered this run", + "$ref": "#/definitions/updateConfigurationNavigation" + }, + "status": { + "type": "string", + "description": "Status of the software update configuration run.", + "readOnly": true + }, + "configuredDuration": { + "type": "string", + "description": "Configured duration for the software update configuration run.", + "readOnly": true + }, + "osType": { + "type": "string", + "description": "Operating system target of the software update configuration triggered this run", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Start time of the software update configuration run.", + "readOnly": true + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "description": "End time of the software update configuration run.", + "readOnly": true + }, + "computerCount": { + "type": "integer", + "description": "Number of computers in the software update configuration run.", + "readOnly": true + }, + "failedCount": { + "type": "integer", + "description": "Number of computers with failed status.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "description": "Creation time of the resource, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "createdBy": { + "type": "string", + "description": "CreatedBy property, which only appears in the response.", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "description": "Last time resource was modified, which only appears in the response.", + "format": "date-time", + "x-nullable": false, + "readOnly": true + }, + "lastModifiedBy": { + "type": "string", + "description": "LastModifiedBy property, which only appears in the response.", + "readOnly": true + }, + "tasks": { + "description": "Software update configuration tasks triggered in this run", + "$ref": "#/definitions/softwareUpdateConfigurationRunTasks" + } + } + }, + "softwareUpdateConfigurationRunTasks": { + "description": "Software update configuration run tasks model.", + "type": "object", + "properties": { + "preTask": { + "description": "Pre task properties.", + "$ref": "#/definitions/softwareUpdateConfigurationRunTaskProperties" + }, + "postTask": { + "description": "Post task properties.", + "$ref": "#/definitions/softwareUpdateConfigurationRunTaskProperties" + } + } + }, + "softwareUpdateConfigurationRunTaskProperties": { + "type": "object", + "description": "Task properties of the software update configuration.", + "properties": { + "status": { + "type": "string", + "description": "The status of the task." + }, + "source": { + "type": "string", + "description": "The name of the source of the task." + }, + "jobId": { + "type": "string", + "description": "The job id of the task." + } + } + }, + "updateConfigurationNavigation": { + "description": "Software update configuration Run Navigation model.", + "type": "object", + "properties": { + "name": { + "description": "Name of the software update configuration triggered the software update configuration run", + "type": "string", + "readOnly": true + } + } + }, + "softwareUpdateConfigurationRunListResult": { + "description": "result of listing all software update configuration runs", + "properties": { + "value": { + "description": "outer object returned when listing all software update configuration runs", + "type": "array", + "items": { + "$ref": "#/definitions/softwareUpdateConfigurationRun" + } + }, + "nextLink": { + "type": "string", + "description": "link to next page of results." + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControl.json new file mode 100644 index 000000000000..1cb03eaf6241 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControl.json @@ -0,0 +1,533 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}": { + "put": { + "tags": [ + "SourceControl" + ], + "operationId": "SourceControl_CreateOrUpdate", + "description": "Create a source control.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontroloperations" + }, + "x-ms-examples": { + "Create or update a source control": { + "$ref": "./examples/sourceControl/createOrUpdateSourceControl.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SourceControlCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update source control operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "SourceControl" + ], + "operationId": "SourceControl_Update", + "description": "Update a source control.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontroloperations" + }, + "x-ms-examples": { + "Update a source control": { + "$ref": "./examples/sourceControl/updateSourceControl_patch.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SourceControlUpdateParameters" + }, + "description": "The parameters supplied to the update source control operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SourceControl" + ], + "operationId": "SourceControl_Delete", + "description": "Delete the source control.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontroloperations" + }, + "x-ms-examples": { + "Delete a source control": { + "$ref": "./examples/sourceControl/deleteSourceControl.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of source control." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "SourceControl" + ], + "operationId": "SourceControl_Get", + "description": "Retrieve the source control identified by source control name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontroloperations" + }, + "x-ms-examples": { + "Get a source control": { + "$ref": "./examples/sourceControl/getSourceControl.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of source control." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControl" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls": { + "get": { + "tags": [ + "SourceControl" + ], + "operationId": "SourceControl_ListByAutomationAccount", + "description": "Retrieve a list of source controls.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontroloperations" + }, + "x-ms-examples": { + "List sourceControls": { + "$ref": "./examples/sourceControl/getAllSourceControls.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControlListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SourceControlListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceControl" + }, + "description": "The list of source controls." + }, + "nextLink": { + "type": "string", + "description": "The next link." + } + }, + "description": "The response model for the list source controls operation." + }, + "SourceControlUpdateProperties": { + "properties": { + "branch": { + "type": "string", + "description": "The repo branch of the source control." + }, + "folderPath": { + "type": "string", + "description": "The folder path of the source control. Path must be relative." + }, + "autoSync": { + "type": "boolean", + "description": "The auto sync of the source control. Default is false." + }, + "publishRunbook": { + "type": "boolean", + "description": "The auto publish of the source control. Default is true." + }, + "securityToken": { + "description": "The authorization token for the repo of the source control.", + "$ref": "#/definitions/SourceControlSecurityTokenProperties" + }, + "description": { + "type": "string", + "description": "The user description of the source control." + } + }, + "description": "The properties of the update source control" + }, + "SourceControlUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/SourceControlUpdateProperties", + "x-ms-client-flatten": true, + "description": "The value of the source control." + } + }, + "description": "The parameters supplied to the update source control operation." + }, + "SourceControl": { + "properties": { + "properties": { + "$ref": "#/definitions/SourceControlProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the source control." + }, + "SourceControlProperties": { + "properties": { + "repoUrl": { + "type": "string", + "description": "The repo url of the source control." + }, + "branch": { + "type": "string", + "description": "The repo branch of the source control. Include branch as empty string for VsoTfvc." + }, + "folderPath": { + "type": "string", + "description": "The folder path of the source control." + }, + "autoSync": { + "type": "boolean", + "description": "The auto sync of the source control. Default is false." + }, + "publishRunbook": { + "type": "boolean", + "description": "The auto publish of the source control. Default is true." + }, + "sourceType": { + "type": "string", + "description": "The source type. Must be one of VsoGit, VsoTfvc, GitHub.", + "enum": [ + "VsoGit", + "VsoTfvc", + "GitHub" + ], + "x-ms-enum": { + "name": "sourceType", + "modelAsString": true + } + }, + "description": { + "type": "string", + "description": "The description." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "The creation time." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "The last modified time." + } + }, + "description": "Definition of the source control properties" + }, + "SourceControlCreateOrUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/SourceControlCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create or update source control operation." + }, + "SourceControlCreateOrUpdateProperties": { + "properties": { + "repoUrl": { + "type": "string", + "maxLength": 2000, + "description": "The repo url of the source control." + }, + "branch": { + "type": "string", + "maxLength": 255, + "description": "The repo branch of the source control. Include branch as empty string for VsoTfvc." + }, + "folderPath": { + "type": "string", + "maxLength": 255, + "description": "The folder path of the source control. Path must be relative." + }, + "autoSync": { + "type": "boolean", + "description": "The auto async of the source control. Default is false." + }, + "publishRunbook": { + "type": "boolean", + "description": "The auto publish of the source control. Default is true." + }, + "sourceType": { + "type": "string", + "description": "The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive.", + "enum": [ + "VsoGit", + "VsoTfvc", + "GitHub" + ], + "x-ms-enum": { + "name": "sourceType", + "modelAsString": true + } + }, + "securityToken": { + "description": "The authorization token for the repo of the source control.", + "$ref": "#/definitions/SourceControlSecurityTokenProperties" + }, + "description": { + "type": "string", + "maxLength": 512, + "description": "The user description of the source control." + } + }, + "description": "The properties of the create source control operation." + }, + "SourceControlSecurityTokenProperties": { + "properties": { + "accessToken": { + "type": "string", + "maxLength": 1024, + "description": "The access token." + }, + "refreshToken": { + "type": "string", + "maxLength": 1024, + "description": "The refresh token." + }, + "tokenType": { + "type": "string", + "description": "The token type. Must be either PersonalAccessToken or Oauth.", + "enum": [ + "PersonalAccessToken", + "Oauth" + ], + "x-ms-enum": { + "name": "tokenType", + "modelAsString": true + } + } + } + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJob.json new file mode 100644 index 000000000000..ce38964d7d1a --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJob.json @@ -0,0 +1,426 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}": { + "put": { + "tags": [ + "SourceControlSyncJob" + ], + "operationId": "SourceControlSyncJob_Create", + "description": "Creates the sync job for a source control.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations" + }, + "x-ms-examples": { + "Create or update a source control sync job": { + "$ref": "./examples/sourceControlSyncJob/createSourceControlSyncJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "sourceControlSyncJobId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The source control sync job id." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SourceControlSyncJobCreateParameters" + }, + "description": "The parameters supplied to the create source control sync job operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SourceControlSyncJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "SourceControlSyncJob" + ], + "operationId": "SourceControlSyncJob_Get", + "description": "Retrieve the source control sync job identified by job id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations" + }, + "x-ms-examples": { + "Get a source control sync job by job id": { + "$ref": "./examples/sourceControlSyncJob/getSourceControlSyncJob.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "sourceControlSyncJobId", + "in": "path", + "required": true, + "format": "uuid", + "type": "string", + "description": "The source control sync job id." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControlSyncJobById" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs": { + "get": { + "tags": [ + "SourceControlSyncJob" + ], + "operationId": "SourceControlSyncJob_ListByAutomationAccount", + "description": "Retrieve a list of source control sync jobs.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations" + }, + "x-ms-examples": { + "Get a list of source control sync jobs": { + "$ref": "./examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControlSyncJobListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SourceControlSyncJobListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceControlSyncJob" + }, + "description": "The list of source control sync jobs." + }, + "nextLink": { + "type": "string", + "description": "The next link." + } + }, + "description": "The response model for the list source control sync jobs operation." + }, + "SourceControlSyncJobCreateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/SourceControlSyncJobCreateProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control sync job." + } + }, + "required": [ + "properties" + ], + "description": "The parameters supplied to the create source control sync job operation." + }, + "SourceControlSyncJobCreateProperties": { + "properties": { + "commitId": { + "type": "string", + "description": "The commit id of the source control sync job. If not syncing to a commitId, enter an empty string.", + "minLength": 0 + } + }, + "required": [ + "commitId" + ], + "description": "Definition of create source control sync job properties." + }, + "SourceControlSyncJobById": { + "properties": { + "id": { + "type": "string", + "description": "The id of the job." + }, + "properties": { + "$ref": "#/definitions/SourceControlSyncJobByIdProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control sync job." + } + }, + "description": "Definition of the source control sync job." + }, + "SourceControlSyncJobByIdProperties": { + "properties": { + "sourceControlSyncJobId": { + "type": "string", + "description": "The source control sync job id." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "readOnly": true, + "description": "The creation time of the job." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the job.", + "enum": [ + "Completed", + "Failed", + "Running" + ], + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The start time of the job." + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The end time of the job." + }, + "syncType": { + "type": "string", + "description": "The sync type.", + "enum": [ + "PartialSync", + "FullSync" + ], + "x-ms-enum": { + "name": "syncType", + "modelAsString": true + } + }, + "exception": { + "type": "string", + "description": "The exceptions that occurred while running the sync job." + } + }, + "description": "Definition of source control sync job properties." + }, + "SourceControlSyncJob": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource id." + }, + "properties": { + "$ref": "#/definitions/SourceControlSyncJobProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control sync job." + } + }, + "description": "Definition of the source control sync job." + }, + "SourceControlSyncJobProperties": { + "properties": { + "sourceControlSyncJobId": { + "type": "string", + "description": "The source control sync job id." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "readOnly": true, + "description": "The creation time of the job." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the job.", + "enum": [ + "Completed", + "Failed", + "Running" + ], + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The start time of the job." + }, + "endTime": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The end time of the job." + }, + "syncType": { + "type": "string", + "description": "The sync type.", + "enum": [ + "PartialSync", + "FullSync" + ], + "x-ms-enum": { + "name": "syncType", + "modelAsString": true + } + } + }, + "description": "Definition of source control sync job properties." + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJobStreams.json new file mode 100644 index 000000000000..a73481f7d90d --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJobStreams.json @@ -0,0 +1,301 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}/streams": { + "get": { + "tags": [ + "SourceControlSyncJobStreams" + ], + "operationId": "SourceControlSyncJobStreams_ListBySyncJob", + "description": "Retrieve a list of sync job streams identified by sync job id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations" + }, + "x-ms-examples": { + "Get a list of sync job streams identified by sync job id": { + "$ref": "./examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "sourceControlSyncJobId", + "in": "path", + "required": true, + "format": "uuid", + "type": "string", + "description": "The source control sync job id." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControlSyncJobStreamsListBySyncJob" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}/streams/{streamId}": { + "get": { + "tags": [ + "SourceControlSyncJobStreams" + ], + "operationId": "SourceControlSyncJobStreams_Get", + "description": "Retrieve a sync job stream identified by stream id.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations" + }, + "x-ms-examples": { + "Get a sync job stream identified by sync job stream id.": { + "$ref": "./examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "sourceControlName", + "in": "path", + "required": true, + "type": "string", + "description": "The source control name." + }, + { + "name": "sourceControlSyncJobId", + "in": "path", + "required": true, + "format": "uuid", + "type": "string", + "description": "The source control sync job id." + }, + { + "name": "streamId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the sync job stream." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SourceControlSyncJobStreamById" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "SourceControlSyncJobStreamsListBySyncJob": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SourceControlSyncJobStream" + }, + "description": "The list of source control sync job streams." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The next link." + } + }, + "description": "The response model for the list source control sync job streams operation." + }, + "SourceControlSyncJobStream": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource id." + }, + "properties": { + "$ref": "#/definitions/SourceControlSyncJobStreamProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control sync job stream." + } + }, + "description": "Definition of the source control sync job stream." + }, + "SourceControlSyncJobStreamProperties": { + "properties": { + "sourceControlSyncJobStreamId": { + "type": "string", + "description": "The sync job stream id." + }, + "summary": { + "type": "string", + "description": "The summary of the sync job stream." + }, + "time": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The time of the sync job stream." + }, + "streamType": { + "type": "string", + "description": "The type of the sync job stream.", + "enum": [ + "Error", + "Output" + ], + "x-ms-enum": { + "name": "streamType", + "modelAsString": true + } + } + }, + "description": "Definition of source control sync job stream properties." + }, + "SourceControlSyncJobStreamById": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource id." + }, + "properties": { + "$ref": "#/definitions/SourceControlSyncJobStreamByIdProperties", + "x-ms-client-flatten": true, + "description": "The properties of the source control sync job stream." + } + }, + "description": "Definition of the source control sync job stream by id." + }, + "SourceControlSyncJobStreamByIdProperties": { + "properties": { + "sourceControlSyncJobStreamId": { + "type": "string", + "description": "The sync job stream id." + }, + "summary": { + "type": "string", + "description": "The summary of the sync job stream." + }, + "time": { + "type": "string", + "format": "date-time", + "x-nullable": true, + "readOnly": true, + "description": "The time of the sync job stream." + }, + "streamType": { + "type": "string", + "description": "The type of the sync job stream.", + "enum": [ + "Error", + "Output" + ], + "x-ms-enum": { + "name": "streamType", + "modelAsString": true + } + }, + "streamText": { + "type": "string", + "description": "The text of the sync job stream." + }, + "value": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "description": "The values of the job stream." + } + }, + "description": "Definition of source control sync job stream by id properties." + } + } +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/variable.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/variable.json new file mode 100644 index 000000000000..9597d8192bf2 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/variable.json @@ -0,0 +1,440 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}": { + "put": { + "tags": [ + "Variable" + ], + "operationId": "Variable_CreateOrUpdate", + "description": "Create a variable.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/variableoperations" + }, + "x-ms-examples": { + "Create or update a variable": { + "$ref": "./examples/createOrUpdateVariable.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "variableName", + "in": "path", + "required": true, + "type": "string", + "description": "The variable name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VariableCreateOrUpdateParameters" + }, + "description": "The parameters supplied to the create or update variable operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Variable" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Variable" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Variable" + ], + "operationId": "Variable_Update", + "description": "Update a variable.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/variableoperations" + }, + "x-ms-examples": { + "Update a variable": { + "$ref": "./examples/updateVariable_patch.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "variableName", + "in": "path", + "required": true, + "type": "string", + "description": "The variable name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VariableUpdateParameters" + }, + "description": "The parameters supplied to the update variable operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Variable" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Variable" + ], + "operationId": "Variable_Delete", + "description": "Delete the variable.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/variableoperations" + }, + "x-ms-examples": { + "Delete a variable": { + "$ref": "./examples/deleteVariable.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "variableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of variable." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Variable" + ], + "operationId": "Variable_Get", + "description": "Retrieve the variable identified by variable name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/variableoperations" + }, + "x-ms-examples": { + "Get a variable": { + "$ref": "./examples/getVariable.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "variableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of variable." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Variable" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables": { + "get": { + "tags": [ + "Variable" + ], + "operationId": "Variable_ListByAutomationAccount", + "description": "Retrieve a list of variables.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/variableoperations" + }, + "x-ms-examples": { + "List variables, First 100": { + "$ref": "./examples/listVariables_First100.json" + }, + "List variables, Next 100": { + "$ref": "./examples/listVariables_Next100.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VariableListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VariableCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the variable." + }, + "properties": { + "$ref": "#/definitions/VariableCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the variable." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update variable operation." + }, + "VariableCreateOrUpdateProperties": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets the value of the variable." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the variable." + }, + "isEncrypted": { + "type": "boolean", + "description": "Gets or sets the encrypted flag of the variable." + } + }, + "description": "The properties of the create variable operation." + }, + "Variable": { + "properties": { + "properties": { + "$ref": "#/definitions/VariableProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the variable." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Definition of the variable." + }, + "VariableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Variable" + }, + "description": "Gets or sets a list of variables." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list variables operation." + }, + "VariableUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the variable." + }, + "properties": { + "$ref": "#/definitions/VariableUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the value of the variable." + } + }, + "description": "The parameters supplied to the update variable operation." + }, + "VariableUpdateProperties": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets the value of the variable." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the variable." + } + }, + "description": "The properties of the update variable" + }, + "VariableProperties": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets the value of the variable." + }, + "isEncrypted": { + "type": "boolean", + "description": "Gets or sets the encrypted flag of the variable.", + "x-nullable": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the variable properties" + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/watcher.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/watcher.json new file mode 100644 index 000000000000..9c64817ccd5e --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/watcher.json @@ -0,0 +1,551 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagement", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}": { + "put": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_CreateOrUpdate", + "description": "Create the watcher identified by watcher name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Create or update watcher": { + "$ref": "./examples/createOrUpdateWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Watcher" + }, + "description": "The create or update parameters for watcher." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Watcher" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Watcher" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_Get", + "description": "Retrieve the watcher identified by watcher name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Get watcher": { + "$ref": "./examples/getWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Watcher" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_Update", + "description": "Update the watcher identified by watcher name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Update watcher": { + "$ref": "./examples/updateWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WatcherUpdateParameters" + }, + "description": "The update parameters for watcher." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Watcher" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_Delete", + "description": "Delete the watcher by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Delete watcher": { + "$ref": "./examples/deleteWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/start": { + "post": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_Start", + "description": "Resume the watcher identified by watcher name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Start Watcher": { + "$ref": "./examples/startWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/stop": { + "post": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_Stop", + "description": "Resume the watcher identified by watcher name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "Start Watcher": { + "$ref": "./examples/stopWatcher.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "watcherName", + "in": "path", + "required": true, + "type": "string", + "description": "The watcher name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers": { + "get": { + "tags": [ + "Watcher" + ], + "operationId": "Watcher_ListByAutomationAccount", + "description": "Retrieve a list of watchers.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/watcheroperations" + }, + "x-ms-examples": { + "List watchers by Automation Account": { + "$ref": "./examples/listWatchersByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WatcherListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Watcher" + } + } + }, + "definitions": { + "Watcher": { + "properties": { + "properties": { + "$ref": "#/definitions/WatcherProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the watcher properties." + }, + "etag": { + "type": "string", + "description": "Gets or sets the etag of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + } + }, + "description": "Definition of the watcher type.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "WatcherProperties": { + "properties": { + "executionFrequencyInSeconds": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the frequency at which the watcher is invoked." + }, + "scriptName": { + "type": "string", + "description": "Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook." + }, + "scriptParameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the script." + }, + "scriptRunOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the watcher will run on." + }, + "status": { + "type": "string", + "readOnly": true, + "description": "Gets the current status of the watcher." + }, + "creationTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "lastModifiedBy": { + "type": "string", + "readOnly": true, + "description": "Details of the user who last modified the watcher." + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the watcher properties" + }, + "WatcherUpdateParameters": { + "properties": { + "properties": { + "$ref": "#/definitions/WatcherUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the watcher update properties." + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + } + } + }, + "WatcherUpdateProperties": { + "properties": { + "executionFrequencyInSeconds": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the frequency at which the watcher is invoked." + } + }, + "description": "The properties of the update watcher operation." + }, + "WatcherListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Watcher" + }, + "description": "Gets or sets a list of watchers." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list watcher operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/webhook.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/webhook.json new file mode 100644 index 000000000000..3826ddcf86b0 --- /dev/null +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/webhook.json @@ -0,0 +1,558 @@ +{ + "swagger": "2.0", + "info": { + "title": "AutomationManagementClient", + "version": "2023-05-15-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/generateUri": { + "post": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_GenerateUri", + "description": "Generates a Uri for use in creating a webhook.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "Generate webhook uri": { + "$ref": "./examples/webhookGenerateUri.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}": { + "delete": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_Delete", + "description": "Delete the webhook by name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "Delete webhook": { + "$ref": "./examples/deleteWebhook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "description": "The webhook name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_Get", + "description": "Retrieve the webhook identified by webhook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "Get webhook": { + "$ref": "./examples/getWebhook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "description": "The webhook name." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_CreateOrUpdate", + "description": "Create the webhook identified by webhook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "Create or update webhook": { + "$ref": "./examples/createOrUpdateWebhook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "description": "The webhook name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateOrUpdateParameters" + }, + "description": "The create or update parameters for webhook." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_Update", + "description": "Update the webhook identified by webhook name.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "Update webhook": { + "$ref": "./examples/updateWebhook.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "description": "The webhook name." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + }, + "description": "The update parameters for webhook." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks": { + "get": { + "tags": [ + "Webhook" + ], + "operationId": "Webhook_ListByAutomationAccount", + "description": "Retrieve a list of webhooks.", + "externalDocs": { + "url": "http://aka.ms/azureautomationsdk/webhookoperations" + }, + "x-ms-examples": { + "List webhooks by Automation Account": { + "$ref": "./examples/listWebhooksByAutomationAccount.json" + } + }, + "parameters": [ + { + "$ref": "../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + }, + "default": { + "description": "Automation error response describing why the operation failed.", + "schema": { + "$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Webhook" + } + } + }, + "definitions": { + "WebhookProperties": { + "properties": { + "isEnabled": { + "type": "boolean", + "default": false, + "description": "Gets or sets the value of the enabled flag of the webhook." + }, + "uri": { + "type": "string", + "description": "Gets or sets the webhook uri." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the expiry time.", + "x-nullable": false + }, + "lastInvokedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last invoked time.", + "x-nullable": true + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with." + }, + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook the webhook is associated with." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the webhook job will run on." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the creation time.", + "x-nullable": false + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the last modified time.", + "x-nullable": false + }, + "lastModifiedBy": { + "type": "string", + "description": "Details of the user who last modified the Webhook" + }, + "description": { + "type": "string", + "description": "Gets or sets the description." + } + }, + "description": "Definition of the webhook properties" + }, + "Webhook": { + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the webhook properties." + } + }, + "description": "Definition of the webhook type.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "WebhookListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + }, + "description": "Gets or sets a list of webhooks." + }, + "nextLink": { + "type": "string", + "description": "Gets or sets the next link." + } + }, + "description": "The response model for the list webhook operation." + }, + "WebhookUpdateProperties": { + "properties": { + "isEnabled": { + "type": "boolean", + "description": "Gets or sets the value of the enabled flag of webhook." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the webhook job will run on." + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the webhook." + } + }, + "description": "The properties of the update webhook." + }, + "WebhookUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the webhook." + }, + "properties": { + "$ref": "#/definitions/WebhookUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the value of the webhook." + } + }, + "description": "The parameters supplied to the update webhook operation." + }, + "RunbookAssociationProperty": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the runbook." + } + }, + "description": "The runbook property associated with the entity." + }, + "WebhookCreateOrUpdateParameters": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the webhook." + }, + "properties": { + "$ref": "#/definitions/WebhookCreateOrUpdateProperties", + "x-ms-client-flatten": true, + "description": "Gets or sets the properties of the webhook." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters supplied to the create or update webhook operation." + }, + "WebhookCreateOrUpdateProperties": { + "properties": { + "isEnabled": { + "type": "boolean", + "description": "Gets or sets the value of the enabled flag of webhook." + }, + "uri": { + "type": "string", + "description": "Gets or sets the uri." + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the expiry time.", + "x-nullable": false + }, + "parameters": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the parameters of the job." + }, + "runbook": { + "$ref": "#/definitions/RunbookAssociationProperty", + "description": "Gets or sets the runbook." + }, + "runOn": { + "type": "string", + "description": "Gets or sets the name of the hybrid worker group the webhook job will run on." + } + }, + "description": "The properties of the create webhook operation." + } + }, + "parameters": {} +} diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index 67346150c9f5..2e310a88ed3e 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -25,7 +25,7 @@ These are the global settings for the Automation API. title: AutomationClient description: Automation Client openapi-type: arm -tag: package-2022-08-08 +tag: package-2023-05-15-preview ``` ### Tag: package-2015-10 @@ -392,6 +392,50 @@ input-file: - Microsoft.Automation/stable/2022-08-08/variable.json ``` + +### Tag: package-2023-05-15-preview + +These settings apply only when `--tag=package-2023-05-15-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2023-05-15-preview' +input-file: +- Microsoft.Automation/preview/2023-05-15-preview/dscNodeCounts.json +- Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfiguration.json +- Microsoft.Automation/preview/2023-05-15-preview/deletedAutomationAccount.json +- Microsoft.Automation/preview/2023-05-15-preview/privateLinkResources.json +- Microsoft.Automation/preview/2023-05-15-preview/dscNode.json +- Microsoft.Automation/preview/2023-05-15-preview/account.json +- Microsoft.Automation/preview/2023-05-15-preview/certificate.json +- Microsoft.Automation/preview/2023-05-15-preview/connection.json +- Microsoft.Automation/preview/2023-05-15-preview/connectionType.json +- Microsoft.Automation/preview/2023-05-15-preview/credential.json +- Microsoft.Automation/preview/2023-05-15-preview/dscCompilationJob.json +- Microsoft.Automation/preview/2023-05-15-preview/dscConfiguration.json +- Microsoft.Automation/preview/2023-05-15-preview/dscNodeConfiguration.json +- Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorker.json +- Microsoft.Automation/preview/2023-05-15-preview/hybridRunbookWorkerGroup.json +- Microsoft.Automation/preview/2023-05-15-preview/job.json +- Microsoft.Automation/preview/2023-05-15-preview/jobSchedule.json +- Microsoft.Automation/preview/2023-05-15-preview/linkedWorkspace.json +- Microsoft.Automation/preview/2023-05-15-preview/module.json +- Microsoft.Automation/preview/2023-05-15-preview/operations.json +- Microsoft.Automation/preview/2023-05-15-preview/package.json +- Microsoft.Automation/preview/2023-05-15-preview/privateEndpointConnection.json +- Microsoft.Automation/preview/2023-05-15-preview/python2package.json +- Microsoft.Automation/preview/2023-05-15-preview/python3package.json +- Microsoft.Automation/preview/2023-05-15-preview/runbook.json +- Microsoft.Automation/preview/2023-05-15-preview/runtimeEnvironment.json +- Microsoft.Automation/preview/2023-05-15-preview/schedule.json +- Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationMachineRun.json +- Microsoft.Automation/preview/2023-05-15-preview/softwareUpdateConfigurationRun.json +- Microsoft.Automation/preview/2023-05-15-preview/sourceControl.json +- Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJob.json +- Microsoft.Automation/preview/2023-05-15-preview/sourceControlSyncJobStreams.json +- Microsoft.Automation/preview/2023-05-15-preview/variable.json +- Microsoft.Automation/preview/2023-05-15-preview/watcher.json +- Microsoft.Automation/preview/2023-05-15-preview/webhook.json +``` + --- ## Suppression ``` yaml @@ -499,7 +543,13 @@ directive: reason: This error format is already part of the previous api, cannot change it as it will result in breaking change. - suppress: DefaultErrorResponseSchema from: runbook.json - reason: This error format is already part of the previous api, cannot change it as it will result in breaking change. + reason: This error format is already part of the previous api, cannot change it as it will result in breaking change. + - suppress: DefaultErrorResponseSchema + from: runtimeEnvironment.json + reason: This error format is already part of the previous api, cannot change it as it will result in breaking change. + - suppress: ResourceNameRestriction + from: runtimeEnvironment.json + reason: This Automation account name is part of the previous api, cannot change it as it will result in breaking change. - suppress: DeleteOperationResponses from: credential.json reason: This error format is already part of the previous api, cannot change it as it will result in breaking change. @@ -616,3 +666,4 @@ generate-interface: true +