From 83f73a6a46206b7e1cef908d677e9dd4ca24f691 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 6 Sep 2021 10:53:11 +0000 Subject: [PATCH] CodeGen from PR 15927 in Azure/azure-rest-api-specs Merge 45b049a6d48bba09f1af0c026ee3644babefc975 into 17c68996ed7e30574adb5a51311954990932f768 --- sdk/automation/arm-automation/LICENSE.txt | 2 +- sdk/automation/arm-automation/README.md | 16 +- sdk/automation/arm-automation/package.json | 2 +- .../arm-automation/rollup.config.js | 4 +- .../arm-automation/src/automationClient.ts | 150 +- .../src/automationClientContext.ts | 16 +- .../src/models/activityOperationsMappers.ts | 4 +- .../agentRegistrationInformationMappers.ts | 4 +- .../automationAccountOperationsMappers.ts | 20 +- .../models/certificateOperationsMappers.ts | 20 +- .../src/models/connectionOperationsMappers.ts | 20 +- .../models/connectionTypeOperationsMappers.ts | 4 +- .../src/models/credentialOperationsMappers.ts | 20 +- .../dscCompilationJobOperationsMappers.ts | 20 +- .../models/dscCompilationJobStreamMappers.ts | 4 +- .../dscConfigurationOperationsMappers.ts | 20 +- .../dscNodeConfigurationOperationsMappers.ts | 20 +- .../src/models/dscNodeOperationsMappers.ts | 20 +- .../src/models/fieldsMappers.ts | 4 +- ...bridRunbookWorkerGroupOperationsMappers.ts | 65 +- .../src/models/hybridRunbookWorkersMappers.ts | 74 + .../arm-automation/src/models/index.ts | 6297 +++++++------- .../src/models/jobOperationsMappers.ts | 20 +- .../models/jobScheduleOperationsMappers.ts | 4 +- .../src/models/jobStreamOperationsMappers.ts | 4 +- .../arm-automation/src/models/keysMappers.ts | 4 +- .../linkedWorkspaceOperationsMappers.ts | 4 +- .../arm-automation/src/models/mappers.ts | 7232 +++++++++-------- .../src/models/moduleOperationsMappers.ts | 20 +- .../src/models/nodeCountInformationMappers.ts | 4 +- .../src/models/nodeReportsMappers.ts | 4 +- .../src/models/objectDataTypesMappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../arm-automation/src/models/parameters.ts | 43 +- .../privateEndpointConnectionsMappers.ts | 73 + .../src/models/privateLinkResourcesMappers.ts | 73 + .../src/models/python2PackageMappers.ts | 20 +- .../models/runbookDraftOperationsMappers.ts | 4 +- .../src/models/runbookOperationsMappers.ts | 20 +- .../src/models/scheduleOperationsMappers.ts | 20 +- ...reUpdateConfigurationMachineRunsMappers.ts | 4 +- .../softwareUpdateConfigurationRunsMappers.ts | 8 +- .../softwareUpdateConfigurationsMappers.ts | 21 +- .../models/sourceControlOperationsMappers.ts | 20 +- .../sourceControlSyncJobOperationsMappers.ts | 4 +- .../sourceControlSyncJobStreamsMappers.ts | 4 +- .../src/models/statisticsOperationsMappers.ts | 4 +- .../src/models/testJobOperationsMappers.ts | 4 +- .../src/models/testJobStreamsMappers.ts | 4 +- .../src/models/usagesMappers.ts | 4 +- .../src/models/variableOperationsMappers.ts | 20 +- .../src/models/watcherOperationsMappers.ts | 20 +- .../src/models/webhookOperationsMappers.ts | 20 +- .../src/operations/activityOperations.ts | 8 +- .../agentRegistrationInformation.ts | 9 +- .../operations/automationAccountOperations.ts | 23 +- .../src/operations/certificateOperations.ts | 8 +- .../src/operations/connectionOperations.ts | 24 +- .../operations/connectionTypeOperations.ts | 11 +- .../src/operations/credentialOperations.ts | 8 +- .../operations/dscCompilationJobOperations.ts | 33 +- .../src/operations/dscCompilationJobStream.ts | 7 +- .../operations/dscConfigurationOperations.ts | 38 +- .../dscNodeConfigurationOperations.ts | 26 +- .../src/operations/dscNodeOperations.ts | 42 +- .../arm-automation/src/operations/fields.ts | 5 +- .../hybridRunbookWorkerGroupOperations.ts | 109 +- .../src/operations/hybridRunbookWorkers.ts | 435 + .../arm-automation/src/operations/index.ts | 40 +- .../src/operations/jobOperations.ts | 43 +- .../src/operations/jobScheduleOperations.ts | 15 +- .../src/operations/jobStreamOperations.ts | 13 +- .../arm-automation/src/operations/keys.ts | 7 +- .../operations/linkedWorkspaceOperations.ts | 5 +- .../src/operations/moduleOperations.ts | 8 +- .../src/operations/nodeCountInformation.ts | 22 +- .../src/operations/nodeReports.ts | 21 +- .../src/operations/objectDataTypes.ts | 5 +- .../src/operations/operations.ts | 7 +- .../operations/privateEndpointConnections.ts | 277 + .../src/operations/privateLinkResources.ts | 86 + .../src/operations/python2Package.ts | 18 +- .../src/operations/runbookDraftOperations.ts | 8 +- .../src/operations/runbookOperations.ts | 11 +- .../src/operations/scheduleOperations.ts | 8 +- .../softwareUpdateConfigurationMachineRuns.ts | 9 +- .../softwareUpdateConfigurationRuns.ts | 9 +- .../softwareUpdateConfigurations.ts | 13 +- .../src/operations/sourceControlOperations.ts | 25 +- .../sourceControlSyncJobOperations.ts | 21 +- .../operations/sourceControlSyncJobStreams.ts | 19 +- .../src/operations/statisticsOperations.ts | 7 +- .../src/operations/testJobOperations.ts | 5 +- .../src/operations/testJobStreams.ts | 15 +- .../arm-automation/src/operations/usages.ts | 7 +- .../src/operations/variableOperations.ts | 8 +- .../src/operations/watcherOperations.ts | 15 +- .../src/operations/webhookOperations.ts | 27 +- 98 files changed, 9528 insertions(+), 6532 deletions(-) create mode 100644 sdk/automation/arm-automation/src/models/hybridRunbookWorkersMappers.ts create mode 100644 sdk/automation/arm-automation/src/models/privateEndpointConnectionsMappers.ts create mode 100644 sdk/automation/arm-automation/src/models/privateLinkResourcesMappers.ts create mode 100644 sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts create mode 100644 sdk/automation/arm-automation/src/operations/privateEndpointConnections.ts create mode 100644 sdk/automation/arm-automation/src/operations/privateLinkResources.ts diff --git a/sdk/automation/arm-automation/LICENSE.txt b/sdk/automation/arm-automation/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/automation/arm-automation/LICENSE.txt +++ b/sdk/automation/arm-automation/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/automation/arm-automation/README.md b/sdk/automation/arm-automation/README.md index d7548d60e4c8..d162dd68e9e8 100644 --- a/sdk/automation/arm-automation/README.md +++ b/sdk/automation/arm-automation/README.md @@ -1,11 +1,11 @@ ## Azure AutomationClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AutomationClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for AutomationClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-automation @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,8 +36,7 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - -#### nodejs - Authentication, client creation, and get automationAccount as an example written in JavaScript. +#### nodejs - Authentication, client creation, and listByAutomationAccount privateEndpointConnections as an example written in JavaScript. ##### Sample code @@ -53,7 +51,7 @@ const creds = new DefaultAzureCredential(); const client = new AutomationClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const automationAccountName = "testautomationAccountName"; -client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { +client.privateEndpointConnections.listByAutomationAccount(resourceGroupName, automationAccountName).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -62,7 +60,7 @@ client.automationAccount.get(resourceGroupName, automationAccountName).then((res }); ``` -#### browser - Authentication, client creation, and get automationAccount as an example written in JavaScript. +#### browser - Authentication, client creation, and listByAutomationAccount privateEndpointConnections as an example written in JavaScript. In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. @@ -87,12 +85,12 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmAutomation.AutomationClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const automationAccountName = "testautomationAccountName"; - client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { + client.privateEndpointConnections.listByAutomationAccount(resourceGroupName, automationAccountName).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { diff --git a/sdk/automation/arm-automation/package.json b/sdk/automation/arm-automation/package.json index b19bf75eeff6..97df65b91ed1 100644 --- a/sdk/automation/arm-automation/package.json +++ b/sdk/automation/arm-automation/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/automation/arm-automation", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/automation/arm-automation", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/automation/arm-automation/rollup.config.js b/sdk/automation/arm-automation/rollup.config.js index 7097ac2c5479..a99734ee4013 100644 --- a/sdk/automation/arm-automation/rollup.config.js +++ b/sdk/automation/arm-automation/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/automationClient.ts b/sdk/automation/arm-automation/src/automationClient.ts index 20f3495cf384..d7900ad61050 100644 --- a/sdk/automation/arm-automation/src/automationClient.ts +++ b/sdk/automation/arm-automation/src/automationClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -12,14 +11,27 @@ import * as msRest from "@azure/ms-rest-js"; import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; +import * as Parameters from "./models/parameters"; import * as operations from "./operations"; import { AutomationClientContext } from "./automationClientContext"; class AutomationClient extends AutomationClientContext { // Operation groups + privateEndpointConnections: operations.PrivateEndpointConnections; + privateLinkResources: operations.PrivateLinkResources; + python2Package: operations.Python2Package; + agentRegistrationInformation: operations.AgentRegistrationInformation; + dscNode: operations.DscNodeOperations; + nodeReports: operations.NodeReports; + dscNodeConfiguration: operations.DscNodeConfigurationOperations; + dscCompilationJob: operations.DscCompilationJobOperations; + dscCompilationJobStream: operations.DscCompilationJobStream; + nodeCountInformation: operations.NodeCountInformation; + sourceControl: operations.SourceControlOperations; + sourceControlSyncJob: operations.SourceControlSyncJobOperations; + sourceControlSyncJobStreams: operations.SourceControlSyncJobStreams; automationAccount: operations.AutomationAccountOperations; - operations: operations.Operations; statistics: operations.StatisticsOperations; usages: operations.Usages; keys: operations.Keys; @@ -27,7 +39,6 @@ class AutomationClient extends AutomationClientContext { connection: operations.ConnectionOperations; connectionType: operations.ConnectionTypeOperations; credential: operations.CredentialOperations; - dscConfiguration: operations.DscConfigurationOperations; hybridRunbookWorkerGroup: operations.HybridRunbookWorkerGroupOperations; jobSchedule: operations.JobScheduleOperations; linkedWorkspace: operations.LinkedWorkspaceOperations; @@ -37,28 +48,20 @@ class AutomationClient extends AutomationClientContext { fields: operations.Fields; schedule: operations.ScheduleOperations; variable: operations.VariableOperations; - webhook: operations.WebhookOperations; watcher: operations.WatcherOperations; + dscConfiguration: operations.DscConfigurationOperations; + job: operations.JobOperations; + jobStream: operations.JobStreamOperations; + operations: operations.Operations; softwareUpdateConfigurations: operations.SoftwareUpdateConfigurations; softwareUpdateConfigurationRuns: operations.SoftwareUpdateConfigurationRuns; softwareUpdateConfigurationMachineRuns: operations.SoftwareUpdateConfigurationMachineRuns; - sourceControl: operations.SourceControlOperations; - sourceControlSyncJob: operations.SourceControlSyncJobOperations; - sourceControlSyncJobStreams: operations.SourceControlSyncJobStreams; - job: operations.JobOperations; - jobStream: operations.JobStreamOperations; - agentRegistrationInformation: operations.AgentRegistrationInformation; - dscNode: operations.DscNodeOperations; - nodeReports: operations.NodeReports; - dscCompilationJob: operations.DscCompilationJobOperations; - dscCompilationJobStream: operations.DscCompilationJobStream; - dscNodeConfiguration: operations.DscNodeConfigurationOperations; - nodeCountInformation: operations.NodeCountInformation; runbookDraft: operations.RunbookDraftOperations; runbook: operations.RunbookOperations; testJobStreams: operations.TestJobStreams; testJob: operations.TestJobOperations; - python2Package: operations.Python2Package; + webhook: operations.WebhookOperations; + hybridRunbookWorkers: operations.HybridRunbookWorkers; /** * Initializes a new instance of the AutomationClient class. @@ -70,14 +73,24 @@ class AutomationClient extends AutomationClientContext { * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { - super(credentials, subscriptionId, countType1, options); + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AutomationClientOptions) { + super(credentials, subscriptionId, options); + this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.python2Package = new operations.Python2Package(this); + this.agentRegistrationInformation = new operations.AgentRegistrationInformation(this); + this.dscNode = new operations.DscNodeOperations(this); + this.nodeReports = new operations.NodeReports(this); + this.dscNodeConfiguration = new operations.DscNodeConfigurationOperations(this); + this.dscCompilationJob = new operations.DscCompilationJobOperations(this); + this.dscCompilationJobStream = new operations.DscCompilationJobStream(this); + this.nodeCountInformation = new operations.NodeCountInformation(this); + this.sourceControl = new operations.SourceControlOperations(this); + this.sourceControlSyncJob = new operations.SourceControlSyncJobOperations(this); + this.sourceControlSyncJobStreams = new operations.SourceControlSyncJobStreams(this); this.automationAccount = new operations.AutomationAccountOperations(this); - this.operations = new operations.Operations(this); this.statistics = new operations.StatisticsOperations(this); this.usages = new operations.Usages(this); this.keys = new operations.Keys(this); @@ -85,7 +98,6 @@ class AutomationClient extends AutomationClientContext { this.connection = new operations.ConnectionOperations(this); this.connectionType = new operations.ConnectionTypeOperations(this); this.credential = new operations.CredentialOperations(this); - this.dscConfiguration = new operations.DscConfigurationOperations(this); this.hybridRunbookWorkerGroup = new operations.HybridRunbookWorkerGroupOperations(this); this.jobSchedule = new operations.JobScheduleOperations(this); this.linkedWorkspace = new operations.LinkedWorkspaceOperations(this); @@ -95,32 +107,92 @@ class AutomationClient extends AutomationClientContext { this.fields = new operations.Fields(this); this.schedule = new operations.ScheduleOperations(this); this.variable = new operations.VariableOperations(this); - this.webhook = new operations.WebhookOperations(this); this.watcher = new operations.WatcherOperations(this); + this.dscConfiguration = new operations.DscConfigurationOperations(this); + this.job = new operations.JobOperations(this); + this.jobStream = new operations.JobStreamOperations(this); + this.operations = new operations.Operations(this); this.softwareUpdateConfigurations = new operations.SoftwareUpdateConfigurations(this); this.softwareUpdateConfigurationRuns = new operations.SoftwareUpdateConfigurationRuns(this); this.softwareUpdateConfigurationMachineRuns = new operations.SoftwareUpdateConfigurationMachineRuns(this); - this.sourceControl = new operations.SourceControlOperations(this); - this.sourceControlSyncJob = new operations.SourceControlSyncJobOperations(this); - this.sourceControlSyncJobStreams = new operations.SourceControlSyncJobStreams(this); - this.job = new operations.JobOperations(this); - this.jobStream = new operations.JobStreamOperations(this); - this.agentRegistrationInformation = new operations.AgentRegistrationInformation(this); - this.dscNode = new operations.DscNodeOperations(this); - this.nodeReports = new operations.NodeReports(this); - this.dscCompilationJob = new operations.DscCompilationJobOperations(this); - this.dscCompilationJobStream = new operations.DscCompilationJobStream(this); - this.dscNodeConfiguration = new operations.DscNodeConfigurationOperations(this); - this.nodeCountInformation = new operations.NodeCountInformation(this); this.runbookDraft = new operations.RunbookDraftOperations(this); this.runbook = new operations.RunbookOperations(this); this.testJobStreams = new operations.TestJobStreams(this); this.testJob = new operations.TestJobOperations(this); - this.python2Package = new operations.Python2Package(this); + this.webhook = new operations.WebhookOperations(this); + this.hybridRunbookWorkers = new operations.HybridRunbookWorkers(this); + } + + /** + * Post operation to serialize or deserialize GraphRunbookContent + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param parameters Input data describing the graphical runbook. + * @param [options] The optional parameters + * @returns Promise + */ + convertGraphRunbookContent(resourceGroupName: string, automationAccountName: string, parameters: Models.GraphicalRunbookContent, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param parameters Input data describing the graphical runbook. + * @param callback The callback + */ + convertGraphRunbookContent(resourceGroupName: string, automationAccountName: string, parameters: Models.GraphicalRunbookContent, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param parameters Input data describing the graphical runbook. + * @param options The optional parameters + * @param callback The callback + */ + convertGraphRunbookContent(resourceGroupName: string, automationAccountName: string, parameters: Models.GraphicalRunbookContent, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + convertGraphRunbookContent(resourceGroupName: string, automationAccountName: string, parameters: Models.GraphicalRunbookContent, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + parameters, + options + }, + convertGraphRunbookContentOperationSpec, + callback) as Promise; } } // Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const convertGraphRunbookContentOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.GraphicalRunbookContent, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GraphicalRunbookContent + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; export { AutomationClient, diff --git a/sdk/automation/arm-automation/src/automationClientContext.ts b/sdk/automation/arm-automation/src/automationClientContext.ts index 6d38cbc87d1c..b6f812ff46bd 100644 --- a/sdk/automation/arm-automation/src/automationClientContext.ts +++ b/sdk/automation/arm-automation/src/automationClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-automation"; const packageVersion = "10.1.1"; @@ -19,7 +18,6 @@ const packageVersion = "10.1.1"; export class AutomationClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; - countType1: Models.CountType; /** * Initializes a new instance of the AutomationClient class. @@ -31,20 +29,15 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AutomationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { throw new Error('\'subscriptionId\' cannot be null.'); } - if (countType1 == undefined) { - throw new Error('\'countType1\' cannot be null.'); - } if (!options) { options = {}; @@ -62,7 +55,6 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; this.subscriptionId = subscriptionId; - this.countType1 = countType1; if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; diff --git a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts b/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts index bb6adcb61b3a..d9c1a4fe58b5 100644 --- a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts index a818750efdea..15af9d036bdd 100644 --- a/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts index 9db210f872d7..8eea3f5d2be3 100644 --- a/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -29,25 +29,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts index 45e0e9b28568..49f15d4971ce 100644 --- a/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -29,25 +29,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts index 59ddcbcc2d76..b0baad922047 100644 --- a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -29,25 +29,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts index 1898c204b472..ddc4456877ee 100644 --- a/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts index 822830b5526a..d952e0a6ce9f 100644 --- a/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -30,25 +30,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts index 34bf9bd707cc..aaf33c4f76e4 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -28,26 +28,40 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, JobStream, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts index e47dd3138098..9b4c61ceb3a3 100644 --- a/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -30,25 +30,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts index 3639503eafb1..119c41b5dc7b 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -28,25 +28,39 @@ export { DscNodeConfigurationCreateOrUpdateParameters, DscNodeConfigurationListResult, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts index a460c95c74da..f8b8ae01492c 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -29,25 +29,39 @@ export { DscNodeListResult, DscNodeUpdateParameters, DscNodeUpdateParametersProperties, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/fieldsMappers.ts b/sdk/automation/arm-automation/src/models/fieldsMappers.ts index c7bfc9962409..8e53ef7ca338 100644 --- a/sdk/automation/arm-automation/src/models/fieldsMappers.ts +++ b/sdk/automation/arm-automation/src/models/fieldsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts index 970994a2278e..98414c4de893 100644 --- a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts @@ -1,16 +1,73 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, + BaseResource, + Certificate, + Connection, + ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + DscCompilationJob, + DscConfiguration, + DscConfigurationAssociationProperty, + DscConfigurationParameter, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, HybridRunbookWorker, HybridRunbookWorkerGroup, + HybridRunbookWorkerGroupCreateOrUpdateParameters, HybridRunbookWorkerGroupsListResult, - HybridRunbookWorkerGroupUpdateParameters, - RunAsCredentialAssociationProperty + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + RunAsCredentialAssociationProperty, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + SystemData, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; diff --git a/sdk/automation/arm-automation/src/models/hybridRunbookWorkersMappers.ts b/sdk/automation/arm-automation/src/models/hybridRunbookWorkersMappers.ts new file mode 100644 index 000000000000..814017fc8d96 --- /dev/null +++ b/sdk/automation/arm-automation/src/models/hybridRunbookWorkersMappers.ts @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, + BaseResource, + Certificate, + Connection, + ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + DscCompilationJob, + DscConfiguration, + DscConfigurationAssociationProperty, + DscConfigurationParameter, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, + ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerCreateParameters, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + HybridRunbookWorkerMoveParameters, + HybridRunbookWorkersListResult, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + RunAsCredentialAssociationProperty, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + SystemData, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties +} from "../models/mappers"; diff --git a/sdk/automation/arm-automation/src/models/index.ts b/sdk/automation/arm-automation/src/models/index.ts index 82d6caabc48f..11dbf3db56e8 100644 --- a/sdk/automation/arm-automation/src/models/index.ts +++ b/sdk/automation/arm-automation/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -12,21 +12,32 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** - * The account SKU. + * Private endpoint which the connection belongs to. */ -export interface Sku { +export interface PrivateEndpointProperty { /** - * Gets or sets the SKU name of the account. Possible values include: 'Free', 'Basic' + * Resource id of the private endpoint. */ - name: SkuNameEnum; + id?: string; +} + +/** + * Connection State of the Private Endpoint Connection. + */ +export interface PrivateLinkServiceConnectionStateProperty { /** - * Gets or sets the SKU family. + * The private link service connection status. */ - family?: string; + status?: string; /** - * Gets or sets the SKU capacity. + * The private link service connection description. */ - capacity?: number; + description?: string; + /** + * Any action that is required beyond basic workflow (approve/ reject/ disconnect) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly actionsRequired?: string; } /** @@ -50,6 +61,26 @@ export interface Resource extends BaseResource { readonly type?: string; } +/** + * ARM proxy resource. + */ +export interface ProxyResource extends Resource { +} + +/** + * A private endpoint connection + */ +export interface PrivateEndpointConnection extends ProxyResource { + /** + * Private endpoint which the connection belongs to. + */ + privateEndpoint?: PrivateEndpointProperty; + /** + * Connection State of the Private Endpoint Connection. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; +} + /** * The resource model definition for a ARM tracked top level resource */ @@ -65,3085 +96,3551 @@ export interface TrackedResource extends Resource { } /** - * Definition of the automation account type. + * Error response of an operation failure */ -export interface AutomationAccount extends TrackedResource { - /** - * Gets or sets the SKU of account. - */ - sku?: Sku; +export interface ErrorResponse { /** - * Gets or sets the last modified by. + * Error code */ - lastModifiedBy?: string; + code?: string; /** - * Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Error message indicating why the operation failed. */ - readonly state?: AutomationAccountState; + message?: string; +} + +/** + * A private link resource + */ +export interface PrivateLinkResource extends ProxyResource { /** - * Gets the creation time. + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationTime?: Date; + readonly groupId?: string; /** - * Gets the last modified time. + * The private link resource required member names. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastModifiedTime?: Date; - /** - * Gets or sets the description. - */ - description?: string; + readonly requiredMembers?: string[]; +} + +/** + * Definition of the activity parameter validation set. + */ +export interface ActivityParameterValidationSet { /** - * Gets or sets the etag of the resource. + * Gets or sets the name of the activity parameter validation set member. */ - etag?: string; + memberValue?: string; } /** - * The parameters supplied to the create or update automation account operation. + * Definition of the activity parameter. */ -export interface AutomationAccountCreateOrUpdateParameters { +export interface ActivityParameter { /** - * Gets or sets account SKU. + * Gets or sets the name of the activity parameter. */ - sku?: Sku; + name?: string; /** - * Gets or sets name of the resource. + * Gets or sets the type of the activity parameter. */ - name?: string; + type?: string; /** - * Gets or sets the location of the resource. + * Gets or sets a Boolean value that indicates true if the parameter is required. If the value is + * false, the parameter is optional. */ - location?: string; + isMandatory?: boolean; /** - * Gets or sets the tags attached to the resource. + * Gets or sets a Boolean value that indicates true if the parameter is dynamic. */ - tags?: { [propertyName: string]: string }; -} - -/** - * Provider, Resource and Operation values - */ -export interface OperationDisplay { + isDynamic?: boolean; /** - * Service provider: Microsoft.Automation + * Gets or sets the position of the activity parameter. */ - provider?: string; + position?: number; /** - * Resource on which the operation is performed: Runbooks, Jobs etc. + * 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. */ - resource?: string; + valueFromPipeline?: boolean; /** - * Operation type: Read, write, delete, etc. + * 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. */ - operation?: string; -} - -/** - * Automation REST API operation - */ -export interface Operation { + valueFromPipelineByPropertyName?: boolean; /** - * Operation name: {provider}/{resource}/{operation} + * 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. */ - name?: string; + valueFromRemainingArguments?: boolean; /** - * Provider, Resource and Operation values + * Gets or sets the description of the activity parameter. */ - display?: OperationDisplay; + description?: string; + /** + * Gets or sets the validation set of activity parameter. + */ + validationSet?: ActivityParameterValidationSet[]; } /** - * Definition of the statistic. + * Definition of the activity parameter set. */ -export interface Statistics { - /** - * Gets the property value of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly counterProperty?: string; - /** - * Gets the value of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly counterValue?: number; - /** - * Gets the startTime of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startTime?: Date; +export interface ActivityParameterSet { /** - * Gets the endTime of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the name of the activity parameter set. */ - readonly endTime?: Date; + name?: string; /** - * Gets the id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the parameters of the activity parameter set. */ - readonly id?: string; + parameters?: ActivityParameter[]; } /** - * Definition of usage counter name. + * Definition of the activity output type. */ -export interface UsageCounterName { +export interface ActivityOutputType { /** - * Gets or sets the usage counter name. + * Gets or sets the name of the activity output type. */ - value?: string; + name?: string; /** - * Gets or sets the localized usage counter name. + * Gets or sets the type of the activity output type. */ - localizedValue?: string; + type?: string; } /** - * Definition of Usage. + * Definition of the activity. */ -export interface Usage { +export interface Activity { /** * Gets or sets the id of the resource. */ id?: string; /** - * Gets or sets the usage counter name. + * Gets the name of the activity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: UsageCounterName; + readonly name?: string; /** - * Gets or sets the usage unit name. + * Gets or sets the user name of the activity. */ - unit?: string; + definition?: string; /** - * Gets or sets the current usage value. + * Gets or sets the parameter sets of the activity. */ - currentValue?: number; + parameterSets?: ActivityParameterSet[]; /** - * Gets or sets max limit. -1 for unlimited + * Gets or sets the output types of the activity. */ - limit?: number; + outputTypes?: ActivityOutputType[]; /** - * Gets or sets the throttle status. + * Gets or sets the creation time. */ - throttleStatus?: string; + creationTime?: Date; + /** + * Gets or sets the last modified time. + */ + lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; } /** - * Automation key which is used to register a DSC Node + * Definition of the module error info type. */ -export interface Key { - /** - * Automation key name. Possible values include: 'Primary', 'Secondary' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly keyName?: AutomationKeyName; +export interface ModuleErrorInfo { /** - * Automation key permissions. Possible values include: 'Read', 'Full' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error code. */ - readonly permissions?: AutomationKeyPermissions; + code?: string; /** - * Value of the Automation Key used for registration. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error message. */ - readonly value?: string; + message?: string; } /** - * An interface representing KeyListResult. + * Definition of the runbook property type. */ -export interface KeyListResult { +export interface ContentHash { /** - * Lists the automation keys. + * Gets or sets the content hash algorithm used to hash the content. */ - keys?: Key[]; + algorithm: string; + /** + * Gets or sets expected hash value of the content. + */ + value: string; } /** - * The parameters supplied to the update automation account operation. + * Definition of the content link. */ -export interface AutomationAccountUpdateParameters { +export interface ContentLink { /** - * Gets or sets account SKU. + * Gets or sets the uri of the runbook content. */ - sku?: Sku; + uri?: string; /** - * Gets or sets the name of the resource. + * Gets or sets the hash. */ - name?: string; + contentHash?: ContentHash; /** - * Gets or sets the location of the resource. + * Gets or sets the version of the content. */ - location?: string; - /** - * Gets or sets the tags attached to the resource. - */ - tags?: { [propertyName: string]: string }; -} - -/** - * ARM proxy resource. - */ -export interface ProxyResource extends Resource { + version?: string; } /** - * Error response of an operation failure + * Definition of the module type. */ -export interface ErrorResponse { - /** - * Error code - */ - code?: string; +export interface Module extends TrackedResource { /** - * Error message indicating why the operation failed. + * Gets or sets the isGlobal flag of the module. */ - message?: string; -} - -/** - * The parameters supplied to the create or update or replace certificate operation. - */ -export interface CertificateCreateOrUpdateParameters { + isGlobal?: boolean; /** - * Gets or sets the name of the certificate. + * Gets or sets the version of the module. */ - name: string; + version?: string; /** - * Gets or sets the base64 encoded value of the certificate. + * Gets or sets the size in bytes of the module. */ - base64Value: string; + sizeInBytes?: number; /** - * Gets or sets the description of the certificate. + * Gets or sets the activity count of the module. */ - description?: string; + activityCount?: number; /** - * Gets or sets the thumbprint of the certificate. + * Gets or sets the provisioning state of the module. Possible values include: 'Created', + * 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', + * 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', + * 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', + * 'Cancelled', 'Updating' */ - thumbprint?: string; + provisioningState?: ModuleProvisioningState; /** - * Gets or sets the is exportable flag of the certificate. + * Gets or sets the contentLink of the module. */ - isExportable?: boolean; -} - -/** - * Definition of the certificate. - */ -export interface Certificate extends ProxyResource { + contentLink?: ContentLink; /** - * Gets the thumbprint of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error info of the module. */ - readonly thumbprint?: string; + error?: ModuleErrorInfo; /** - * Gets the expiry time of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the creation time. */ - readonly expiryTime?: Date; + creationTime?: Date; /** - * Gets the is exportable flag of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last modified time. */ - readonly isExportable?: boolean; + lastModifiedTime?: Date; /** - * Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the description. */ - readonly creationTime?: Date; + description?: string; /** - * Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets type of module, if its composite or not. */ - readonly lastModifiedTime?: Date; + isComposite?: boolean; /** - * Gets or sets the description. + * Gets or sets the etag of the resource. */ - description?: string; + etag?: string; } /** - * The parameters supplied to the update certificate operation. + * The parameters supplied to the create or update module operation. */ -export interface CertificateUpdateParameters { +export interface PythonPackageCreateParameters { /** - * Gets or sets the name of the certificate. + * Gets or sets the module content link. */ - name?: string; + contentLink: ContentLink; /** - * Gets or sets the description of the certificate. + * Gets or sets the tags attached to the resource. */ - description?: string; + tags?: { [propertyName: string]: string }; } /** - * The connection type property associated with the entity. + * The parameters supplied to the update module operation. */ -export interface ConnectionTypeAssociationProperty { +export interface PythonPackageUpdateParameters { /** - * Gets or sets the name of the connection type. + * Gets or sets the tags attached to the resource. */ - name?: string; + tags?: { [propertyName: string]: string }; } /** - * The parameters supplied to the create or update connection operation. + * Information about a field of a type. */ -export interface ConnectionCreateOrUpdateParameters { - /** - * Gets or sets the name of the connection. - */ - name: string; - /** - * Gets or sets the description of the connection. - */ - description?: string; +export interface TypeField { /** - * Gets or sets the connectionType of the connection. + * Gets or sets the name of the field. */ - connectionType: ConnectionTypeAssociationProperty; + name?: string; /** - * Gets or sets the field definition properties of the connection. + * Gets or sets the type of the field. */ - fieldDefinitionValues?: { [propertyName: string]: string }; + type?: string; } /** - * Definition of the connection. + * Definition of the dsc node report error type. */ -export interface Connection extends ProxyResource { +export interface DscReportError { /** - * Gets or sets the connectionType of the connection. + * Gets or sets the source of the error. */ - connectionType?: ConnectionTypeAssociationProperty; + errorSource?: string; /** - * Gets the field definition values of the connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the resource ID which generated the error. */ - readonly fieldDefinitionValues?: { [propertyName: string]: string }; + resourceId?: string; /** - * Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error code. */ - readonly creationTime?: Date; + errorCode?: string; /** - * Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error message. */ - readonly lastModifiedTime?: Date; + errorMessage?: string; /** - * Gets or sets the description. + * Gets or sets the locale of the error. */ - description?: string; + locale?: string; + /** + * Gets or sets the error details. + */ + errorDetails?: string; } /** - * The parameters supplied to the update connection operation. + * Navigation for DSC Report Resource. */ -export interface ConnectionUpdateParameters { - /** - * Gets or sets the name of the connection. - */ - name?: string; - /** - * Gets or sets the description of the connection. - */ - description?: string; +export interface DscReportResourceNavigation { /** - * Gets or sets the field definition values of the connection. + * Gets or sets the ID of the resource to navigate to. */ - fieldDefinitionValues?: { [propertyName: string]: string }; + resourceId?: string; } /** - * Definition of the connection fields. + * Definition of the DSC Report Resource. */ -export interface FieldDefinition { - /** - * Gets or sets the isEncrypted flag of the connection field definition. - */ - isEncrypted?: boolean; +export interface DscReportResource { /** - * Gets or sets the isOptional flag of the connection field definition. + * Gets or sets the ID of the resource. */ - isOptional?: boolean; + resourceId?: string; /** - * Gets or sets the type of the connection field definition. + * Gets or sets the source info of the resource. */ - type: string; -} - -/** - * Definition of the connection type. - */ -export interface ConnectionType { + sourceInfo?: string; /** - * Gets the id of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the Resource Navigation values for resources the resource depends on. */ - readonly id?: string; + dependsOn?: DscReportResourceNavigation[]; /** - * Gets the name of the connection type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the module name of the resource. */ - readonly name?: string; + moduleName?: string; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the module version of the resource. */ - readonly type?: string; + moduleVersion?: string; /** - * Gets or sets a Boolean value to indicate if the connection type is global. + * Gets or sets the name of the resource. */ - isGlobal?: boolean; + resourceName?: string; /** - * Gets the field definitions of the connection type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the error of the resource. */ - readonly fieldDefinitions?: { [propertyName: string]: FieldDefinition }; + error?: string; /** - * Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the status of the resource. */ - readonly creationTime?: Date; + status?: string; /** - * Gets or sets the last modified time. + * Gets or sets the duration in seconds for the resource. */ - lastModifiedTime?: Date; + durationInSeconds?: number; /** - * Gets or sets the description. + * Gets or sets the start date of the resource. */ - description?: string; + startDate?: Date; } /** - * The parameters supplied to the create or update connection type operation. + * Definition of the DSC Meta Configuration. */ -export interface ConnectionTypeCreateOrUpdateParameters { +export interface DscMetaConfiguration { /** - * Gets or sets the name of the connection type. + * Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration. */ - name: string; + configurationModeFrequencyMins?: number; /** - * Gets or sets a Boolean value to indicate if the connection type is global. + * Gets or sets the RebootNodeIfNeeded value of the meta configuration. */ - isGlobal?: boolean; + rebootNodeIfNeeded?: boolean; /** - * Gets or sets the field definitions of the connection type. + * Gets or sets the ConfigurationMode value of the meta configuration. */ - fieldDefinitions: { [propertyName: string]: FieldDefinition }; -} - -/** - * The parameters supplied to the create or update credential operation. - */ -export interface CredentialCreateOrUpdateParameters { + configurationMode?: string; /** - * Gets or sets the name of the credential. + * Gets or sets the ActionAfterReboot value of the meta configuration. */ - name: string; + actionAfterReboot?: string; /** - * Gets or sets the user name of the credential. + * Gets or sets the CertificateId value of the meta configuration. */ - userName: string; + certificateId?: string; /** - * Gets or sets the password of the credential. + * Gets or sets the RefreshFrequencyMins value of the meta configuration. */ - password: string; + refreshFrequencyMins?: number; /** - * Gets or sets the description of the credential. + * Gets or sets the AllowModuleOverwrite value of the meta configuration. */ - description?: string; + allowModuleOverwrite?: boolean; } /** - * Definition of the credential. + * Definition of the dsc node report type. */ -export interface Credential extends ProxyResource { +export interface DscNodeReport { /** - * Gets the user name of the credential. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the end time of the node report. */ - readonly userName?: string; + endTime?: Date; /** - * Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the lastModifiedTime of the node report. */ - readonly creationTime?: Date; + lastModifiedTime?: Date; /** - * Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the start time of the node report. */ - readonly lastModifiedTime?: Date; + startTime?: Date; /** - * Gets or sets the description. + * Gets or sets the type of the node report. */ - description?: string; -} - -/** - * The parameters supplied to the Update credential operation. - */ -export interface CredentialUpdateParameters { + type?: string; /** - * Gets or sets the name of the credential. + * Gets or sets the id of the node report. */ - name?: string; + reportId?: string; /** - * Gets or sets the user name of the credential. + * Gets or sets the status of the node report. */ - userName?: string; + status?: string; /** - * Gets or sets the password of the credential. + * Gets or sets the refreshMode of the node report. */ - password?: string; + refreshMode?: string; /** - * Gets or sets the description of the credential. + * Gets or sets the rebootRequested of the node report. */ - description?: string; -} - -/** - * Definition of the runbook property type. - */ -export interface ContentHash { + rebootRequested?: string; /** - * Gets or sets the content hash algorithm used to hash the content. + * Gets or sets the reportFormatVersion of the node report. */ - algorithm: string; + reportFormatVersion?: string; /** - * Gets or sets expected hash value of the content. + * Gets or sets the configurationVersion of the node report. */ - value: string; -} - -/** - * Definition of the content source. - */ -export interface ContentSource { + configurationVersion?: string; /** - * Gets or sets the hash. + * Gets or sets the id. */ - hash?: ContentHash; + id?: string; /** - * Gets or sets the content source type. Possible values include: 'embeddedContent', 'uri' + * Gets or sets the errors for the node report. */ - type?: ContentSourceType; + errors?: DscReportError[]; /** - * Gets or sets the value of the content. This is based on the content source type. + * Gets or sets the resource for the node report. */ - value?: string; + resources?: DscReportResource[]; /** - * Gets or sets the version of the content. + * Gets or sets the metaConfiguration of the node at the time of the report. */ - version?: string; -} - -/** - * Definition of the configuration parameter type. - */ -export interface DscConfigurationParameter { + metaConfiguration?: DscMetaConfiguration; /** - * Gets or sets the type of the parameter. + * Gets or sets the hostname of the node that sent the report. */ - type?: string; + hostName?: string; /** - * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. + * Gets or sets the IPv4 address of the node that sent the report. */ - isMandatory?: boolean; + iPV4Addresses?: string[]; /** - * Get or sets the position of the parameter. + * Gets or sets the IPv6 address of the node that sent the report. */ - position?: number; + iPV6Addresses?: string[]; /** - * Gets or sets the default value of parameter. + * Gets or sets the number of resource in the node report. */ - defaultValue?: string; + numberOfResources?: number; + /** + * Gets or sets the unparsed errors for the node report. + */ + rawErrors?: string; } /** - * The parameters supplied to the create or update configuration operation. + * Definition of the agent registration keys. */ -export interface DscConfigurationCreateOrUpdateParameters { +export interface AgentRegistrationKeys { /** - * Gets or sets verbose log option. + * Gets or sets the primary key. */ - logVerbose?: boolean; + primary?: string; /** - * Gets or sets progress log option. + * Gets or sets the secondary key. */ - logProgress?: boolean; + secondary?: string; +} + +/** + * Definition of the agent registration information type. + */ +export interface AgentRegistration { /** - * Gets or sets the source. + * Gets or sets the dsc meta configuration. */ - source: ContentSource; + dscMetaConfiguration?: string; /** - * Gets or sets the configuration parameters. + * Gets or sets the dsc server endpoint. */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; + endpoint?: string; /** - * Gets or sets the description of the configuration. + * Gets or sets the agent registration keys. */ - description?: string; + keys?: AgentRegistrationKeys; /** - * Gets or sets name of the resource. + * Gets or sets the id. */ - name?: string; + id?: string; +} + +/** + * The dsc extensionHandler property associated with the node + */ +export interface DscNodeExtensionHandlerAssociationProperty { /** - * Gets or sets the location of the resource. + * Gets or sets the name of the extension handler. */ - location?: string; + name?: string; /** - * Gets or sets the tags attached to the resource. + * Gets or sets the version of the extension handler. */ - tags?: { [propertyName: string]: string }; + version?: string; } /** - * Definition of the configuration type. + * Definition of a DscNode */ -export interface DscConfiguration extends TrackedResource { +export interface DscNode extends ProxyResource { /** - * Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded' + * Gets or sets the last seen time of the node. */ - provisioningState?: DscConfigurationProvisioningState; + lastSeen?: Date; /** - * Gets or sets the job count of the configuration. + * Gets or sets the registration time of the node. */ - jobCount?: number; + registrationTime?: Date; /** - * Gets or sets the configuration parameters. + * Gets or sets the ip of the node. */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; + ip?: string; /** - * Gets or sets the source. + * Gets or sets the account id of the node. */ - source?: ContentSource; + accountId?: string; /** - * Gets or sets the state of the configuration. Possible values include: 'New', 'Edit', - * 'Published' + * Gets or sets the name of the dsc node configuration. */ - state?: DscConfigurationState; + dscNodeName?: string; /** - * Gets or sets verbose log option. + * Gets or sets the status of the node. */ - logVerbose?: boolean; + status?: string; /** - * Gets or sets the creation time. + * Gets or sets the node id. */ - creationTime?: Date; + nodeId?: string; /** - * Gets or sets the last modified time. + * Gets or sets the etag of the resource. */ - lastModifiedTime?: Date; + etag?: string; /** - * Gets the number of compiled node configurations. + * Gets the total number of records matching filter criteria. */ - nodeConfigurationCount?: number; + totalCount?: number; /** - * Gets or sets the description. + * Gets or sets the list of extensionHandler properties for a Node. */ - description?: string; + extensionHandler?: DscNodeExtensionHandlerAssociationProperty[]; +} + +/** + * The parameters supplied to the regenerate keys operation. + */ +export interface AgentRegistrationRegenerateKeyParameter { /** - * Gets or sets the etag of the resource. + * Gets or sets the agent registration key name - primary or secondary. Possible values include: + * 'primary', 'secondary' */ - etag?: string; + keyName: AgentRegistrationKeyName; } /** - * The parameters supplied to the create or update configuration operation. + * An interface representing DscNodeUpdateParametersProperties. */ -export interface DscConfigurationUpdateParameters { +export interface DscNodeUpdateParametersProperties { /** - * Gets or sets verbose log option. + * Gets or sets the name of the dsc node configuration. */ - logVerbose?: boolean; + name?: string; +} + +/** + * The parameters supplied to the update dsc node operation. + */ +export interface DscNodeUpdateParameters { /** - * Gets or sets progress log option. + * Gets or sets the id of the dsc node. */ - logProgress?: boolean; + nodeId?: string; + properties?: DscNodeUpdateParametersProperties; +} + +/** + * Definition of the content source. + */ +export interface ContentSource { /** - * Gets or sets the source. + * Gets or sets the hash. */ - source: ContentSource; + hash?: ContentHash; /** - * Gets or sets the configuration parameters. - */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; - /** - * Gets or sets the description of the configuration. + * Gets or sets the content source type. Possible values include: 'embeddedContent', 'uri' */ - description?: string; + type?: ContentSourceType; /** - * Gets or sets name of the resource. + * Gets or sets the value of the content. This is based on the content source type. */ - name?: string; + value?: string; /** - * Gets or sets the tags attached to the resource. + * Gets or sets the version of the content. */ - tags?: { [propertyName: string]: string }; + version?: string; } /** - * Definition of RunAs credential to use for hybrid worker. + * The Dsc configuration property associated with the entity. */ -export interface RunAsCredentialAssociationProperty { +export interface DscConfigurationAssociationProperty { /** - * Gets or sets the name of the credential. + * Gets or sets the name of the Dsc configuration. */ name?: string; } /** - * Definition of hybrid runbook worker. + * Definition of the dsc node configuration. */ -export interface HybridRunbookWorker { +export interface DscNodeConfiguration extends ProxyResource { /** - * Gets or sets the worker machine name. + * Gets or sets the last modified time. */ - name?: string; + lastModifiedTime?: Date; /** - * Gets or sets the assigned machine IP address. + * Gets or sets creation time. */ - ip?: string; + creationTime?: Date; /** - * Gets or sets the registration time of the worker machine. + * Gets or sets the configuration of the node. */ - registrationTime?: Date; + configuration?: DscConfigurationAssociationProperty; /** - * Last Heartbeat from the Worker + * Source of node configuration. */ - lastSeenDateTime?: Date; + source?: string; + /** + * Number of nodes with this node configuration assigned + */ + nodeCount?: number; + /** + * If a new build version of NodeConfiguration is required. + */ + incrementNodeConfigurationBuild?: boolean; } /** - * Definition of hybrid runbook worker group. + * The parameters supplied to the create or update node configuration operation. */ -export interface HybridRunbookWorkerGroup { - /** - * Gets or sets the id of the resource. - */ - id?: string; +export interface DscNodeConfigurationCreateOrUpdateParameters { /** - * Gets or sets the name of the group. + * Gets or sets the source. */ - name?: string; + source: ContentSource; /** - * Gets or sets the list of hybrid runbook workers. + * Gets or sets the configuration of the node. */ - hybridRunbookWorkers?: HybridRunbookWorker[]; + configuration: DscConfigurationAssociationProperty; /** - * Sets the credential of a worker group. + * If a new build version of NodeConfiguration is required. */ - credential?: RunAsCredentialAssociationProperty; + incrementNodeConfigurationBuild?: boolean; /** - * Type of the HybridWorkerGroup. Possible values include: 'User', 'System' + * Name of the node configuration. */ - groupType?: GroupTypeEnum; -} - -/** - * Parameters supplied to the update operation. - */ -export interface HybridRunbookWorkerGroupUpdateParameters { + name?: string; /** - * Sets the credential of a worker group. + * Gets or sets the tags attached to the resource. */ - credential?: RunAsCredentialAssociationProperty; + tags?: { [propertyName: string]: string }; } /** - * The schedule property associated with the entity. + * Definition of the Dsc Compilation job. */ -export interface ScheduleAssociationProperty { +export interface DscCompilationJob extends ProxyResource { /** - * Gets or sets the name of the Schedule. + * Gets or sets the configuration. */ - name?: string; -} - -/** - * The runbook property associated with the entity. - */ -export interface RunbookAssociationProperty { + configuration?: DscConfigurationAssociationProperty; /** - * Gets or sets the name of the runbook. + * Gets the compilation job started by. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; -} - -/** - * Definition of the job schedule. - */ -export interface JobSchedule { + readonly startedBy?: string; /** - * Gets the id of the resource. + * Gets the id of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; + readonly jobId?: string; /** - * Gets the name of the variable. + * Gets the creation time of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly creationTime?: Date; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ - readonly type?: string; + provisioningState?: JobProvisioningState; /** - * Gets or sets the id of job schedule. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - jobScheduleId?: string; + runOn?: string; /** - * Gets or sets the schedule. + * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', + * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', + * 'Stopping', 'Resuming', 'Removing' */ - schedule?: ScheduleAssociationProperty; + status?: JobStatus; /** - * Gets or sets the runbook. + * Gets or sets the status details of the job. */ - runbook?: RunbookAssociationProperty; + statusDetails?: string; /** - * Gets or sets the hybrid worker group that the scheduled job should run on. + * Gets the start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runOn?: string; + readonly startTime?: Date; /** - * Gets or sets the parameters of the job schedule. + * Gets the end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: { [propertyName: string]: string }; -} - -/** - * The parameters supplied to the create job schedule operation. - */ -export interface JobScheduleCreateParameters { + readonly endTime?: Date; /** - * Gets or sets the schedule. + * Gets the exception of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - schedule: ScheduleAssociationProperty; + readonly exception?: string; /** - * Gets or sets the runbook. + * Gets the last modified time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runbook: RunbookAssociationProperty; + readonly lastModifiedTime?: Date; /** - * Gets or sets the hybrid worker group that the scheduled job should run on. + * Gets the last status modified time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runOn?: string; + readonly lastStatusModifiedTime?: Date; /** - * Gets or sets a list of job properties. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; } /** - * Definition of the linked workspace. + * The parameters supplied to the create compilation job operation. */ -export interface LinkedWorkspace { +export interface DscCompilationJobCreateParameters { /** - * Gets the id of the linked workspace. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the configuration. */ - readonly id?: string; -} - -/** - * Definition of the activity parameter validation set. - */ -export interface ActivityParameterValidationSet { + configuration: DscConfigurationAssociationProperty; /** - * Gets or sets the name of the activity parameter validation set member. + * Gets or sets the parameters of the job. */ - memberValue?: string; -} - -/** - * Definition of the activity parameter. - */ -export interface ActivityParameter { + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the name of the activity parameter. + * If a new build version of NodeConfiguration is required. + */ + incrementNodeConfigurationBuild?: boolean; + /** + * Gets or sets name of the resource. */ name?: string; /** - * Gets or sets the type of the activity parameter. + * Gets or sets the location of the resource. */ - type?: string; + location?: string; /** - * Gets or sets a Boolean value that indicates true if the parameter is required. If the value is - * false, the parameter is optional. + * Gets or sets the tags attached to the resource. */ - isMandatory?: boolean; + tags?: { [propertyName: string]: string }; +} + +/** + * Definition of the job stream. + */ +export interface JobStream { /** - * Gets or sets a Boolean value that indicates true if the parameter is dynamic. + * Gets or sets the id of the resource. */ - isDynamic?: boolean; + id?: string; /** - * Gets or sets the position of the activity parameter. + * Gets or sets the id of the job stream. */ - position?: number; + jobStreamId?: string; /** - * 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. + * Gets or sets the creation time of the job. */ - valueFromPipeline?: boolean; + time?: Date; /** - * 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. + * Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', + * 'Error', 'Debug', 'Verbose', 'Any' */ - valueFromPipelineByPropertyName?: boolean; + streamType?: JobStreamType; /** - * 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. + * Gets or sets the stream text. */ - valueFromRemainingArguments?: boolean; + streamText?: string; /** - * Gets or sets the description of the activity parameter. + * Gets or sets the summary. */ - description?: string; + summary?: string; /** - * Gets or sets the validation set of activity parameter. + * Gets or sets the values of the job stream. */ - validationSet?: ActivityParameterValidationSet[]; + value?: { [propertyName: string]: any }; } /** - * Definition of the activity parameter set. + * An interface representing NodeCountProperties. */ -export interface ActivityParameterSet { +export interface NodeCountProperties { /** - * Gets or sets the name of the activity parameter set. + * Gets the count for the name */ - name?: string; - /** - * Gets or sets the parameters of the activity parameter set. - */ - parameters?: ActivityParameter[]; + count?: number; } /** - * Definition of the activity output type. + * Number of nodes based on the Filter */ -export interface ActivityOutputType { +export interface NodeCount { /** - * Gets or sets the name of the activity output type. + * Gets the name of a count type */ name?: string; - /** - * Gets or sets the type of the activity output type. - */ - type?: string; + properties?: NodeCountProperties; } /** - * Definition of the activity. + * Gets the count of nodes by count type */ -export interface Activity { +export interface NodeCounts { /** - * Gets or sets the id of the resource. + * Gets an array of counts */ - id?: string; + value?: NodeCount[]; /** - * Gets the name of the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets the total number of records matching countType criteria. */ - readonly name?: string; + totalCount?: number; +} + +/** + * Definition of the source control. + */ +export interface SourceControl extends ProxyResource { /** - * Gets or sets the user name of the activity. + * The repo url of the source control. */ - definition?: string; + repoUrl?: string; /** - * Gets or sets the parameter sets of the activity. + * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ - parameterSets?: ActivityParameterSet[]; + branch?: string; /** - * Gets or sets the output types of the activity. + * The folder path of the source control. */ - outputTypes?: ActivityOutputType[]; + folderPath?: string; /** - * Gets or sets the creation time. + * The auto sync of the source control. Default is false. */ - creationTime?: Date; + autoSync?: boolean; /** - * Gets or sets the last modified time. + * The auto publish of the source control. Default is true. */ - lastModifiedTime?: Date; + publishRunbook?: boolean; /** - * Gets or sets the description. + * The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', + * 'VsoTfvc', 'GitHub' + */ + sourceType?: SourceType; + /** + * The description. */ description?: string; -} - -/** - * Definition of the module error info type. - */ -export interface ModuleErrorInfo { /** - * Gets or sets the error code. + * The creation time. */ - code?: string; + creationTime?: Date; /** - * Gets or sets the error message. + * The last modified time. */ - message?: string; + lastModifiedTime?: Date; } /** - * Definition of the content link. + * An interface representing SourceControlSecurityTokenProperties. */ -export interface ContentLink { +export interface SourceControlSecurityTokenProperties { /** - * Gets or sets the uri of the runbook content. + * The access token. */ - uri?: string; + accessToken?: string; /** - * Gets or sets the hash. + * The refresh token. */ - contentHash?: ContentHash; + refreshToken?: string; /** - * Gets or sets the version of the content. + * The token type. Must be either PersonalAccessToken or Oauth. Possible values include: + * 'PersonalAccessToken', 'Oauth' */ - version?: string; + tokenType?: TokenType; } /** - * Definition of the module type. + * The parameters supplied to the update source control operation. */ -export interface Module extends TrackedResource { +export interface SourceControlUpdateParameters { /** - * Gets or sets the isGlobal flag of the module. + * The repo branch of the source control. */ - isGlobal?: boolean; + branch?: string; /** - * Gets or sets the version of the module. + * The folder path of the source control. Path must be relative. */ - version?: string; + folderPath?: string; /** - * Gets or sets the size in bytes of the module. + * The auto sync of the source control. Default is false. */ - sizeInBytes?: number; + autoSync?: boolean; /** - * Gets or sets the activity count of the module. + * The auto publish of the source control. Default is true. */ - activityCount?: number; + publishRunbook?: boolean; /** - * Gets or sets the provisioning state of the module. Possible values include: 'Created', - * 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', - * 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', - * 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', - * 'Cancelled', 'Updating' + * The authorization token for the repo of the source control. */ - provisioningState?: ModuleProvisioningState; + securityToken?: SourceControlSecurityTokenProperties; /** - * Gets or sets the contentLink of the module. + * The user description of the source control. */ - contentLink?: ContentLink; + description?: string; +} + +/** + * The parameters supplied to the create or update source control operation. + */ +export interface SourceControlCreateOrUpdateParameters { /** - * Gets or sets the error info of the module. + * The repo url of the source control. */ - error?: ModuleErrorInfo; + repoUrl?: string; /** - * Gets or sets the creation time. + * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ - creationTime?: Date; + branch?: string; /** - * Gets or sets the last modified time. + * The folder path of the source control. Path must be relative. */ - lastModifiedTime?: Date; + folderPath?: string; /** - * Gets or sets the description. + * The auto async of the source control. Default is false. */ - description?: string; + autoSync?: boolean; /** - * Gets or sets type of module, if its composite or not. + * The auto publish of the source control. Default is true. */ - isComposite?: boolean; + publishRunbook?: boolean; /** - * Gets or sets the etag of the resource. + * The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values + * include: 'VsoGit', 'VsoTfvc', 'GitHub' */ - etag?: string; + sourceType?: SourceType; + /** + * The authorization token for the repo of the source control. + */ + securityToken?: SourceControlSecurityTokenProperties; + /** + * The user description of the source control. + */ + description?: string; } /** - * The parameters supplied to the create or update module operation. + * Definition of the source control sync job. */ -export interface ModuleCreateOrUpdateParameters { - /** - * Gets or sets the module content link. - */ - contentLink: ContentLink; +export interface SourceControlSyncJob { /** - * Gets or sets name of the resource. + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly name?: string; /** - * Gets or sets the location of the resource. + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; + readonly type?: string; /** - * Gets or sets the tags attached to the resource. + * Resource id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; -} - -/** - * The parameters supplied to the update module operation. - */ -export interface ModuleUpdateParameters { + readonly id?: string; /** - * Gets or sets the module content link. + * The source control sync job id. */ - contentLink?: ContentLink; + sourceControlSyncJobId?: string; /** - * Gets or sets name of the resource. + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly creationTime?: Date; /** - * Gets or sets the location of the resource. + * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' */ - location?: string; + provisioningState?: ProvisioningState; /** - * Gets or sets the tags attached to the resource. + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; -} - -/** - * Information about a field of a type. - */ -export interface TypeField { + readonly startTime?: Date; /** - * Gets or sets the name of the field. + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly endTime?: Date; /** - * Gets or sets the type of the field. + * The sync type. Possible values include: 'PartialSync', 'FullSync' */ - type?: string; + syncType?: SyncType; } /** - * The properties of the create advanced schedule monthly occurrence. + * The parameters supplied to the create source control sync job operation. */ -export interface AdvancedScheduleMonthlyOccurrence { - /** - * Occurrence of the week within the month. Must be between 1 and 5 - */ - occurrence?: number; +export interface SourceControlSyncJobCreateParameters { /** - * Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, - * sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', - * 'Saturday', 'Sunday' + * The commit id of the source control sync job. If not syncing to a commitId, enter an empty + * string. */ - day?: ScheduleDay; + commitId: string; } /** - * The properties of the create Advanced Schedule. + * Definition of the source control sync job. */ -export interface AdvancedSchedule { +export interface SourceControlSyncJobById { /** - * Days of the week that the job should execute on. + * The id of the job. */ - weekDays?: string[]; + id?: string; /** - * Days of the month that the job should execute on. Must be between 1 and 31. + * The source control sync job id. */ - monthDays?: number[]; + sourceControlSyncJobId?: string; /** - * Occurrences of days within a month. + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; -} - -/** - * The parameters supplied to the create or update schedule operation. - */ -export interface ScheduleCreateOrUpdateParameters { - /** - * Gets or sets the name of the Schedule. - */ - name: string; - /** - * Gets or sets the description of the schedule. - */ - description?: string; - /** - * Gets or sets the start time of the schedule. - */ - startTime: Date; + readonly creationTime?: Date; /** - * Gets or sets the end time of the schedule. + * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' */ - expiryTime?: Date; + provisioningState?: ProvisioningState; /** - * Gets or sets the interval of the schedule. + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - interval?: any; + readonly startTime?: Date; /** - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - frequency: ScheduleFrequency; + readonly endTime?: Date; /** - * Gets or sets the time zone of the schedule. + * The sync type. Possible values include: 'PartialSync', 'FullSync' */ - timeZone?: string; + syncType?: SyncType; /** - * Gets or sets the AdvancedSchedule. + * The exceptions that occurred while running the sync job. */ - advancedSchedule?: AdvancedSchedule; + exception?: string; } /** - * Definition of schedule parameters. + * Definition of the source control sync job stream. */ -export interface ScheduleProperties { - /** - * Gets or sets the start time of the schedule. - */ - startTime?: Date; +export interface SourceControlSyncJobStream { /** - * Gets the start time's offset in minutes. + * Resource id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTimeOffsetMinutes?: number; - /** - * Gets or sets the end time of the schedule. - */ - expiryTime?: Date; + readonly id?: string; /** - * Gets or sets the expiry time's offset in minutes. + * The sync job stream id. */ - expiryTimeOffsetMinutes?: number; + sourceControlSyncJobStreamId?: string; /** - * Gets or sets a value indicating whether this schedule is enabled. Default value: false. + * The summary of the sync job stream. */ - isEnabled?: boolean; + summary?: string; /** - * Gets or sets the next run time of the schedule. + * The time of the sync job stream. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextRun?: Date; + readonly time?: Date; /** - * Gets or sets the next run time's offset in minutes. + * The type of the sync job stream. Possible values include: 'Error', 'Output' */ - nextRunOffsetMinutes?: number; + streamType?: StreamType; +} + +/** + * Definition of the source control sync job stream by id. + */ +export interface SourceControlSyncJobStreamById { /** - * Gets or sets the interval of the schedule. + * Resource id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - interval?: number; + readonly id?: string; /** - * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', - * 'Week', 'Month' + * The sync job stream id. */ - frequency?: ScheduleFrequency; + sourceControlSyncJobStreamId?: string; /** - * Gets or sets the time zone of the schedule. + * The summary of the sync job stream. */ - timeZone?: string; + summary?: string; /** - * Gets or sets the advanced schedule. + * The time of the sync job stream. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - advancedSchedule?: AdvancedSchedule; + readonly time?: Date; /** - * Gets or sets the creation time. + * The type of the sync job stream. Possible values include: 'Error', 'Output' */ - creationTime?: Date; + streamType?: StreamType; /** - * Gets or sets the last modified time. + * The text of the sync job stream. */ - lastModifiedTime?: Date; + streamText?: string; /** - * Gets or sets the description. + * The values of the job stream. */ - description?: string; + value?: { [propertyName: string]: any }; } /** - * Definition of the schedule. + * The account SKU. */ -export interface Schedule extends ProxyResource { - /** - * Gets or sets the start time of the schedule. - */ - startTime?: Date; - /** - * Gets the start time's offset in minutes. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startTimeOffsetMinutes?: number; - /** - * Gets or sets the end time of the schedule. - */ - expiryTime?: Date; - /** - * Gets or sets the expiry time's offset in minutes. - */ - expiryTimeOffsetMinutes?: number; +export interface Sku { /** - * Gets or sets a value indicating whether this schedule is enabled. Default value: false. + * Gets or sets the SKU name of the account. Possible values include: 'Free', 'Basic' */ - isEnabled?: boolean; + name: SkuNameEnum; /** - * Gets or sets the next run time of the schedule. + * Gets or sets the SKU family. */ - nextRun?: Date; + family?: string; /** - * Gets or sets the next run time's offset in minutes. + * Gets or sets the SKU capacity. */ - nextRunOffsetMinutes?: number; + capacity?: number; +} + +/** + * Settings concerning key vault encryption for a configuration store. + */ +export interface KeyVaultProperties { /** - * Gets or sets the interval of the schedule. + * The URI of the key vault key used to encrypt data. */ - interval?: number; + keyvaultUri?: string; /** - * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', - * 'Week', 'Month' + * The name of key used to encrypt data. */ - frequency?: ScheduleFrequency; + keyName?: string; /** - * Gets or sets the time zone of the schedule. + * The key version of the key used to encrypt data. */ - timeZone?: string; + keyVersion?: string; +} + +/** + * User identity used for CMK. + */ +export interface EncryptionPropertiesIdentity { /** - * Gets or sets the advanced schedule. + * 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}'. */ - advancedSchedule?: AdvancedSchedule; + userAssignedIdentity?: any; +} + +/** + * The encryption settings for automation account + */ +export interface EncryptionProperties { /** - * Gets or sets the creation time. + * Key vault properties. */ - creationTime?: Date; + keyVaultProperties?: KeyVaultProperties; /** - * Gets or sets the last modified time. + * Encryption Key Source. Possible values include: 'Microsoft.Automation', 'Microsoft.Keyvault' */ - lastModifiedTime?: Date; + keySource?: EncryptionKeySourceType; /** - * Gets or sets the description. + * User identity used for CMK. */ - description?: string; + identity?: EncryptionPropertiesIdentity; } /** - * The parameters supplied to the update schedule operation. + * An interface representing IdentityUserAssignedIdentitiesValue. */ -export interface ScheduleUpdateParameters { - /** - * Gets or sets the name of the Schedule. - */ - name?: string; +export interface IdentityUserAssignedIdentitiesValue { /** - * Gets or sets the description of the schedule. + * The principal id of user assigned identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly principalId?: string; /** - * Gets or sets a value indicating whether this schedule is enabled. + * The client id of user assigned identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isEnabled?: boolean; + readonly clientId?: string; } /** - * The parameters supplied to the create or update variable operation. + * Identity for the resource. */ -export interface VariableCreateOrUpdateParameters { +export interface Identity { /** - * Gets or sets the name of the variable. + * The principal ID of resource identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name: string; + readonly principalId?: string; /** - * Gets or sets the value of the variable. + * The tenant ID of resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; + readonly tenantId?: string; /** - * Gets or sets the description of the variable. + * The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, + * UserAssigned', 'None' */ - description?: string; + type?: ResourceIdentityType; /** - * Gets or sets the encrypted flag of the variable. + * 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}'. */ - isEncrypted?: boolean; + userAssignedIdentities?: { [propertyName: string]: IdentityUserAssignedIdentitiesValue }; } /** - * Definition of the variable. + * Metadata pertaining to creation and last modification of the resource. */ -export interface Variable extends ProxyResource { +export interface SystemData { /** - * Gets or sets the value of the variable. + * The identity that created the resource. */ - value?: string; + createdBy?: string; /** - * Gets or sets the encrypted flag of the variable. + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' */ - isEncrypted?: boolean; + createdByType?: CreatedByType; /** - * Gets or sets the creation time. + * The timestamp of resource creation (UTC). */ - creationTime?: Date; + createdAt?: Date; /** - * Gets or sets the last modified time. + * The identity that last modified the resource. */ - lastModifiedTime?: Date; + lastModifiedBy?: string; /** - * Gets or sets the description. + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' */ - description?: string; + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; } /** - * The parameters supplied to the update variable operation. + * Definition of the automation account type. */ -export interface VariableUpdateParameters { +export interface AutomationAccount extends TrackedResource { /** - * Gets or sets the name of the variable. + * Gets or sets the SKU of account. */ - name?: string; + sku?: Sku; /** - * Gets or sets the value of the variable. + * Gets or sets the last modified by. */ - value?: string; + lastModifiedBy?: string; /** - * Gets or sets the description of the variable. + * Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; -} - -/** - * Definition of the webhook type. - */ -export interface Webhook extends ProxyResource { + readonly state?: AutomationAccountState; /** - * Gets or sets the value of the enabled flag of the webhook. Default value: false. + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isEnabled?: boolean; + readonly creationTime?: Date; /** - * Gets or sets the webhook uri. + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - uri?: string; + readonly lastModifiedTime?: Date; /** - * Gets or sets the expiry time. + * Gets or sets the description. */ - expiryTime?: Date; + description?: string; /** - * Gets or sets the last invoked time. + * Encryption properties for the automation account */ - lastInvokedTime?: Date; + encryption?: EncryptionProperties; /** - * Gets or sets the parameters of the job that is created when the webhook calls the runbook it - * is associated with. + * List of Automation operations supported by the Automation resource provider. */ - parameters?: { [propertyName: string]: string }; + privateEndpointConnections?: PrivateEndpointConnection[]; /** - * Gets or sets the runbook the webhook is associated with. + * Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public + * internet */ - runbook?: RunbookAssociationProperty; + publicNetworkAccess?: boolean; /** - * Gets or sets the name of the hybrid worker group the webhook job will run on. + * Indicates whether requests using non-AAD authentication are blocked */ - runOn?: string; + disableLocalAuth?: boolean; /** - * Gets or sets the creation time. + * URL of automation hybrid service which is used for hybrid worker on-boarding. */ - creationTime?: Date; + automationHybridServiceUrl?: string; /** - * Gets or sets the last modified time. + * Gets or sets the etag of the resource. */ - lastModifiedTime?: Date; - /** - * Details of the user who last modified the Webhook - */ - lastModifiedBy?: string; + etag?: string; + identity?: Identity; /** - * Gets or sets the description. + * Resource system metadata. */ - description?: string; + systemData?: SystemData; } /** - * The parameters supplied to the update webhook operation. + * The parameters supplied to the create or update automation account operation. */ -export interface WebhookUpdateParameters { +export interface AutomationAccountCreateOrUpdateParameters { /** - * Gets or sets the name of the webhook. + * Gets or sets account SKU. */ - name?: string; + sku?: Sku; /** - * Gets or sets the value of the enabled flag of webhook. + * Set the encryption properties for the automation account */ - isEnabled?: boolean; + encryption?: EncryptionProperties; /** - * Gets or sets the name of the hybrid worker group the webhook job will run on. + * Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public + * internet */ - runOn?: string; + publicNetworkAccess?: boolean; /** - * Gets or sets the parameters of the job. + * Indicates whether requests using non-AAD authentication are blocked */ - parameters?: { [propertyName: string]: string }; + disableLocalAuth?: boolean; /** - * Gets or sets the description of the webhook. + * Gets or sets name of the resource. */ - description?: string; + name?: string; + /** + * Gets or sets the location of the resource. + */ + location?: string; + /** + * Sets the identity property for automation account + */ + identity?: Identity; + /** + * Gets or sets the tags attached to the resource. + */ + tags?: { [propertyName: string]: string }; } /** - * The parameters supplied to the create or update webhook operation. + * Definition of the statistic. */ -export interface WebhookCreateOrUpdateParameters { +export interface Statistics { /** - * Gets or sets the name of the webhook. + * Gets the property value of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name: string; + readonly counterProperty?: string; /** - * Gets or sets the value of the enabled flag of webhook. + * Gets the value of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isEnabled?: boolean; + readonly counterValue?: number; /** - * Gets or sets the uri. + * Gets the startTime of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - uri?: string; + readonly startTime?: Date; /** - * Gets or sets the expiry time. + * Gets the endTime of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expiryTime?: Date; + readonly endTime?: Date; /** - * Gets or sets the parameters of the job. + * Gets the id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: { [propertyName: string]: string }; + readonly id?: string; +} + +/** + * Definition of usage counter name. + */ +export interface UsageCounterName { /** - * Gets or sets the runbook. + * Gets or sets the usage counter name. */ - runbook?: RunbookAssociationProperty; + value?: string; /** - * Gets or sets the name of the hybrid worker group the webhook job will run on. + * Gets or sets the localized usage counter name. */ - runOn?: string; + localizedValue?: string; } /** - * Definition of the watcher type. + * Definition of Usage. */ -export interface Watcher extends TrackedResource { +export interface Usage { /** - * Gets or sets the frequency at which the watcher is invoked. + * Gets or sets the id of the resource. */ - executionFrequencyInSeconds?: number; + id?: string; /** - * Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing - * runbook. + * Gets or sets the usage counter name. */ - scriptName?: string; + name?: UsageCounterName; /** - * Gets or sets the parameters of the script. + * Gets or sets the usage unit name. */ - scriptParameters?: { [propertyName: string]: string }; + unit?: string; /** - * Gets or sets the name of the hybrid worker group the watcher will run on. + * Gets or sets the current usage value. */ - scriptRunOn?: string; + currentValue?: number; /** - * Gets the current status of the watcher. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets max limit. -1 for unlimited */ - readonly status?: string; + limit?: number; /** - * Gets or sets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the throttle status. */ - readonly creationTime?: Date; + throttleStatus?: string; +} + +/** + * Automation key which is used to register a DSC Node + */ +export interface Key { /** - * Gets or sets the last modified time. + * Automation key name. Possible values include: 'Primary', 'Secondary' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastModifiedTime?: Date; + readonly keyName?: AutomationKeyName; /** - * Details of the user who last modified the watcher. + * Automation key permissions. Possible values include: 'Read', 'Full' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastModifiedBy?: string; - /** - * Gets or sets the description. - */ - description?: string; + readonly permissions?: AutomationKeyPermissions; /** - * Gets or sets the etag of the resource. + * Value of the Automation Key used for registration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - etag?: string; + readonly value?: string; } /** - * An interface representing WatcherUpdateParameters. + * An interface representing KeyListResult. */ -export interface WatcherUpdateParameters { - /** - * Gets or sets the frequency at which the watcher is invoked. - */ - executionFrequencyInSeconds?: number; +export interface KeyListResult { /** - * Gets or sets the name of the resource. + * Lists the automation keys. */ - name?: string; + keys?: Key[]; } /** - * Windows specific update configuration. + * The parameters supplied to the update automation account operation. */ -export interface WindowsProperties { +export interface AutomationAccountUpdateParameters { /** - * Update classification included in the software update configuration. A comma separated string - * with required values. Possible values include: 'Unclassified', 'Critical', 'Security', - * 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', 'Updates' + * Gets or sets account SKU. */ - includedUpdateClassifications?: WindowsUpdateClasses; + sku?: Sku; /** - * KB numbers excluded from the software update configuration. + * Set the encryption properties for the automation account */ - excludedKbNumbers?: string[]; + encryption?: EncryptionProperties; /** - * KB numbers included from the software update configuration. + * Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public + * internet */ - includedKbNumbers?: string[]; + publicNetworkAccess?: boolean; /** - * Reboot setting for the software update configuration. + * Indicates whether requests using non-AAD authentication are blocked */ - rebootSetting?: string; -} - -/** - * Linux specific update configuration. - */ -export interface LinuxProperties { + disableLocalAuth?: boolean; /** - * Update classifications included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other' + * Gets or sets the name of the resource. */ - includedPackageClassifications?: LinuxUpdateClasses; + name?: string; /** - * packages excluded from the software update configuration. + * Gets or sets the location of the resource. */ - excludedPackageNameMasks?: string[]; + location?: string; /** - * packages included from the software update configuration. + * Sets the identity property for automation account */ - includedPackageNameMasks?: string[]; + identity?: Identity; /** - * Reboot setting for the software update configuration. + * Gets or sets the tags attached to the resource. */ - rebootSetting?: string; + tags?: { [propertyName: string]: string }; } /** - * Tag filter information for the VM. + * The parameters supplied to the create or update or replace certificate operation. */ -export interface TagSettingsProperties { +export interface CertificateCreateOrUpdateParameters { /** - * Dictionary of tags with its list of values. + * Gets or sets the name of the certificate. */ - tags?: { [propertyName: string]: string[] }; + name: string; /** - * Filter VMs by Any or All specified tags. Possible values include: 'All', 'Any' + * Gets or sets the base64 encoded value of the certificate. */ - filterOperator?: TagOperators; -} - -/** - * Azure query for the update configuration. - */ -export interface AzureQueryProperties { + base64Value: string; /** - * List of Subscription or Resource Group ARM Ids. + * Gets or sets the description of the certificate. */ - scope?: string[]; + description?: string; /** - * List of locations to scope the query to. + * Gets or sets the thumbprint of the certificate. */ - locations?: string[]; + thumbprint?: string; /** - * Tag settings for the VM. + * Gets or sets the is exportable flag of the certificate. */ - tagSettings?: TagSettingsProperties; + isExportable?: boolean; } /** - * Non Azure query for the update configuration. + * Definition of the certificate. */ -export interface NonAzureQueryProperties { +export interface Certificate extends ProxyResource { /** - * Log Analytics Saved Search name. + * Gets the thumbprint of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - functionAlias?: string; + readonly thumbprint?: string; /** - * Workspace Id for Log Analytics in which the saved Search is resided. + * Gets the expiry time of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - workspaceId?: string; + readonly expiryTime?: Date; + /** + * Gets the is exportable flag of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isExportable?: boolean; + /** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTime?: Date; + /** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; } /** - * Group specific to the update configuration. + * The parameters supplied to the update certificate operation. */ -export interface TargetProperties { +export interface CertificateUpdateParameters { /** - * List of Azure queries in the software update configuration. + * Gets or sets the name of the certificate. */ - azureQueries?: AzureQueryProperties[]; + name?: string; /** - * List of non Azure queries in the software update configuration. + * Gets or sets the description of the certificate. */ - nonAzureQueries?: NonAzureQueryProperties[]; + description?: string; } /** - * Update specific properties of the software update configuration. + * The connection type property associated with the entity. */ -export interface UpdateConfiguration { +export interface ConnectionTypeAssociationProperty { /** - * operating system of target machines. Possible values include: 'Windows', 'Linux' + * Gets or sets the name of the connection type. */ - operatingSystem: OperatingSystemType; + name?: string; +} + +/** + * The parameters supplied to the create or update connection operation. + */ +export interface ConnectionCreateOrUpdateParameters { /** - * Windows specific update configuration. + * Gets or sets the name of the connection. */ - windows?: WindowsProperties; + name: string; /** - * Linux specific update configuration. + * Gets or sets the description of the connection. */ - linux?: LinuxProperties; + description?: string; /** - * 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 + * Gets or sets the connectionType of the connection. */ - duration?: string; + connectionType: ConnectionTypeAssociationProperty; /** - * List of azure resource Ids for azure virtual machines targeted by the software update - * configuration. + * Gets or sets the field definition properties of the connection. */ - azureVirtualMachines?: string[]; + fieldDefinitionValues?: { [propertyName: string]: string }; +} + +/** + * Definition of the connection. + */ +export interface Connection extends ProxyResource { /** - * List of names of non-azure machines targeted by the software update configuration. + * Gets or sets the connectionType of the connection. */ - nonAzureComputerNames?: string[]; + connectionType?: ConnectionTypeAssociationProperty; /** - * Group targets for the software update configuration. + * Gets the field definition values of the connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targets?: TargetProperties; + readonly fieldDefinitionValues?: { [propertyName: string]: string }; + /** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTime?: Date; + /** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; } /** - * Task properties of the software update configuration. + * The parameters supplied to the update connection operation. */ -export interface TaskProperties { +export interface ConnectionUpdateParameters { /** - * Gets or sets the parameters of the task. + * Gets or sets the name of the connection. */ - parameters?: { [propertyName: string]: string }; + name?: string; /** - * Gets or sets the name of the runbook. + * Gets or sets the description of the connection. */ - source?: string; + description?: string; + /** + * Gets or sets the field definition values of the connection. + */ + fieldDefinitionValues?: { [propertyName: string]: string }; } /** - * Task properties of the software update configuration. + * Definition of the connection fields. */ -export interface SoftwareUpdateConfigurationTasks { +export interface FieldDefinition { /** - * Pre task properties. + * Gets or sets the isEncrypted flag of the connection field definition. */ - preTask?: TaskProperties; + isEncrypted?: boolean; /** - * Post task properties. + * Gets or sets the isOptional flag of the connection field definition. */ - postTask?: TaskProperties; + isOptional?: boolean; + /** + * Gets or sets the type of the connection field definition. + */ + type: string; } /** - * Software update configuration properties. + * Definition of the connection type. */ -export interface SoftwareUpdateConfiguration extends BaseResource { +export interface ConnectionType { /** - * Resource name. + * Gets the id of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly id?: string; /** - * Resource Id. + * Gets the name of the connection type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly id?: string; + readonly name?: string; /** * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * update specific properties for the Software update configuration - */ - updateConfiguration: UpdateConfiguration; - /** - * Schedule information for the Software update configuration + * Gets or sets a Boolean value to indicate if the connection type is global. */ - scheduleInfo: ScheduleProperties; + isGlobal?: boolean; /** - * Provisioning state for the software update configuration, which only appears in the response. + * Gets the field definitions of the connection type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: string; - /** - * Details of provisioning error - */ - error?: ErrorResponse; + readonly fieldDefinitions?: { [propertyName: string]: FieldDefinition }; /** - * Creation time of the resource, which only appears in the response. + * Gets the creation time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * CreatedBy property, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly createdBy?: string; - /** - * Last time resource was modified, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastModifiedTime?: Date; - /** - * LastModifiedBy property, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last modified time. */ - readonly lastModifiedBy?: string; + lastModifiedTime?: Date; /** - * Tasks information for the Software update configuration. + * Gets or sets the description. */ - tasks?: SoftwareUpdateConfigurationTasks; + description?: string; } /** - * object returned when requesting a collection of software update configuration + * The parameters supplied to the create or update connection type operation. */ -export interface CollectionItemUpdateConfiguration { +export interface ConnectionTypeCreateOrUpdateParameters { /** - * List of azure resource Ids for azure virtual machines targeted by the software update - * configuration. + * Gets or sets the name of the connection type. */ - azureVirtualMachines?: string[]; + name: string; /** - * 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 + * Gets or sets a Boolean value to indicate if the connection type is global. */ - duration?: string; + isGlobal?: boolean; + /** + * Gets or sets the field definitions of the connection type. + */ + fieldDefinitions: { [propertyName: string]: FieldDefinition }; } /** - * Software update configuration collection item properties. + * The parameters supplied to the create or update credential operation. */ -export interface SoftwareUpdateConfigurationCollectionItem { +export interface CredentialCreateOrUpdateParameters { /** - * Name of the software update configuration. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the name of the credential. */ - readonly name?: string; + name: string; /** - * Resource Id of the software update configuration - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the user name of the credential. */ - readonly id?: string; + userName: string; /** - * Update specific properties of the software update configuration. + * Gets or sets the password of the credential. */ - updateConfiguration?: CollectionItemUpdateConfiguration; + password: string; /** - * execution frequency of the schedule associated with the software update configuration. - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Gets or sets the description of the credential. */ - frequency?: ScheduleFrequency; + description?: string; +} + +/** + * Definition of the credential. + */ +export interface Credential extends ProxyResource { /** - * the start time of the update. + * Gets the user name of the credential. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly userName?: string; /** - * Creation time of the software update configuration, which only appears in the response. + * Gets the creation time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * Last time software update configuration was modified, which only appears in the response. + * Gets the last modified time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * Provisioning state for the software update configuration, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: string; - /** - * ext run time of the update. + * Gets or sets the description. */ - nextRun?: Date; + description?: string; } /** - * result of listing all software update configuration + * The parameters supplied to the Update credential operation. */ -export interface SoftwareUpdateConfigurationListResult { +export interface CredentialUpdateParameters { /** - * outer object returned when listing all software update configurations + * Gets or sets the name of the credential. */ - value?: SoftwareUpdateConfigurationCollectionItem[]; + name?: string; + /** + * Gets or sets the user name of the credential. + */ + userName?: string; + /** + * Gets or sets the password of the credential. + */ + password?: string; + /** + * Gets or sets the description of the credential. + */ + description?: string; } /** - * Software update configuration Run Navigation model. + * Definition of RunAs credential to use for hybrid worker. */ -export interface UpdateConfigurationNavigation { +export interface RunAsCredentialAssociationProperty { /** - * Name of the software update configuration triggered the software update configuration run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the name of the credential. */ - readonly name?: string; + name?: string; } /** - * Task properties of the software update configuration. + * Definition of hybrid runbook worker Legacy. */ -export interface SoftareUpdateConfigurationRunTaskProperties { +export interface HybridRunbookWorkerLegacy { /** - * The status of the task. + * Gets or sets the worker machine name. */ - status?: string; + name?: string; /** - * The name of the source of the task. + * Gets or sets the assigned machine IP address. */ - source?: string; + ip?: string; /** - * The job id of the task. + * Gets or sets the registration time of the worker machine. */ - jobId?: string; + registrationTime?: Date; + /** + * Last Heartbeat from the Worker + */ + lastSeenDateTime?: Date; } /** - * Software update configuration run tasks model. + * Definition of hybrid runbook worker group. */ -export interface SoftareUpdateConfigurationRunTasks { +export interface HybridRunbookWorkerGroup extends BaseResource { /** - * Pre task properties. + * Gets or sets the id of the resource. */ - preTask?: SoftareUpdateConfigurationRunTaskProperties; + id?: string; /** - * Post task properties. + * Gets or sets the name of the group. */ - postTask?: SoftareUpdateConfigurationRunTaskProperties; -} + name?: string; + /** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Gets or sets the list of hybrid runbook workers. + */ + hybridRunbookWorkers?: HybridRunbookWorkerLegacy[]; + /** + * Sets the credential of a worker group. + */ + credential?: RunAsCredentialAssociationProperty; + /** + * Type of the HybridWorkerGroup. Possible values include: 'User', 'System' + */ + groupType?: GroupTypeEnum; + /** + * Resource system metadata. + */ + systemData?: SystemData; +} /** - * Software update configuration Run properties. + * Parameters supplied to the update operation. */ -export interface SoftwareUpdateConfigurationRun { +export interface HybridRunbookWorkerGroupUpdateParameters { /** - * Name of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Sets the credential of a worker group. */ - readonly name?: string; + credential?: RunAsCredentialAssociationProperty; +} + +/** + * The parameters supplied to the create or update hybrid runbook worker group operation. + */ +export interface HybridRunbookWorkerGroupCreateOrUpdateParameters { /** - * Resource Id of the software update configuration run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Sets the credential of a worker group. */ - readonly id?: string; + credential?: RunAsCredentialAssociationProperty; +} + +/** + * The schedule property associated with the entity. + */ +export interface ScheduleAssociationProperty { /** - * software update configuration triggered this run + * Gets or sets the name of the Schedule. */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; + name?: string; +} + +/** + * The runbook property associated with the entity. + */ +export interface RunbookAssociationProperty { /** - * Status of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the name of the runbook. */ - readonly status?: string; + name?: string; +} + +/** + * Definition of the job schedule. + */ +export interface JobSchedule { /** - * Configured duration for the software update configuration run. + * Gets the id of the resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly configuredDuration?: string; + readonly id?: string; /** - * Operating system target of the software update configuration triggered this run + * Gets the name of the variable. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly osType?: string; + readonly name?: string; /** - * Start time of the software update configuration run. + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTime?: Date; + readonly type?: string; /** - * End time of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the id of job schedule. */ - readonly endTime?: Date; + jobScheduleId?: string; /** - * Number of computers in the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the schedule. */ - readonly computerCount?: number; + schedule?: ScheduleAssociationProperty; /** - * Number of computers with failed status. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the runbook. */ - readonly failedCount?: number; + runbook?: RunbookAssociationProperty; /** - * Creation time of the resource, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the hybrid worker group that the scheduled job should run on. */ - readonly creationTime?: Date; + runOn?: string; /** - * CreatedBy property, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the parameters of the job schedule. */ - readonly createdBy?: string; + parameters?: { [propertyName: string]: string }; +} + +/** + * The parameters supplied to the create job schedule operation. + */ +export interface JobScheduleCreateParameters { /** - * Last time resource was modified, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the schedule. */ - readonly lastModifiedTime?: Date; + schedule: ScheduleAssociationProperty; /** - * LastModifiedBy property, which only appears in the response. + * Gets or sets the runbook. + */ + runbook: RunbookAssociationProperty; + /** + * Gets or sets the hybrid worker group that the scheduled job should run on. + */ + runOn?: string; + /** + * Gets or sets a list of job properties. + */ + parameters?: { [propertyName: string]: string }; +} + +/** + * Definition of the linked workspace. + */ +export interface LinkedWorkspace { + /** + * Gets the id of the linked workspace. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastModifiedBy?: string; + readonly id?: string; +} + +/** + * The parameters supplied to the create or update module operation. + */ +export interface ModuleCreateOrUpdateParameters { /** - * Software update configuration tasks triggered in this run + * Gets or sets the module content link. + */ + contentLink: ContentLink; + /** + * Gets or sets name of the resource. + */ + name?: string; + /** + * Gets or sets the location of the resource. + */ + location?: string; + /** + * Gets or sets the tags attached to the resource. */ - tasks?: SoftareUpdateConfigurationRunTasks; + tags?: { [propertyName: string]: string }; } /** - * result of listing all software update configuration runs + * The parameters supplied to the update module operation. */ -export interface SoftwareUpdateConfigurationRunListResult { +export interface ModuleUpdateParameters { /** - * outer object returned when listing all software update configuration runs + * Gets or sets the module content link. */ - value?: SoftwareUpdateConfigurationRun[]; + contentLink?: ContentLink; /** - * link to next page of results. + * Gets or sets name of the resource. */ - nextLink?: string; + name?: string; + /** + * Gets or sets the location of the resource. + */ + location?: string; + /** + * Gets or sets the tags attached to the resource. + */ + tags?: { [propertyName: string]: string }; } /** - * Software update configuration machine run job navigation properties. + * The properties of the create advanced schedule monthly occurrence. */ -export interface JobNavigation { +export interface AdvancedScheduleMonthlyOccurrence { /** - * Id of the job associated with the software update configuration run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Occurrence of the week within the month. Must be between 1 and 5 */ - readonly id?: string; + occurrence?: number; + /** + * Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, + * sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday', 'Sunday' + */ + day?: ScheduleDay; } /** - * Software update configuration machine run model. + * The properties of the create Advanced Schedule. */ -export interface SoftwareUpdateConfigurationMachineRun { +export interface AdvancedSchedule { /** - * Name of the software update configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Days of the week that the job should execute on. */ - readonly name?: string; + weekDays?: string[]; /** - * Resource Id of the software update configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Days of the month that the job should execute on. Must be between 1 and 31. */ - readonly id?: string; + monthDays?: number[]; /** - * name of the updated computer - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Occurrences of days within a month. */ - readonly targetComputer?: string; + monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; +} + +/** + * The parameters supplied to the create or update schedule operation. + */ +export interface ScheduleCreateOrUpdateParameters { /** - * type of the updated computer. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the name of the Schedule. + */ + name: string; + /** + * Gets or sets the description of the schedule. + */ + description?: string; + /** + * Gets or sets the start time of the schedule. + */ + startTime: Date; + /** + * Gets or sets the end time of the schedule. + */ + expiryTime?: Date; + /** + * Gets or sets the interval of the schedule. + */ + interval?: any; + /** + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month', 'Minute' + */ + frequency: ScheduleFrequency; + /** + * Gets or sets the time zone of the schedule. + */ + timeZone?: string; + /** + * Gets or sets the AdvancedSchedule. + */ + advancedSchedule?: AdvancedSchedule; +} + +/** + * Definition of the schedule. + */ +export interface Schedule extends ProxyResource { + /** + * Gets or sets the start time of the schedule. + */ + startTime?: Date; + /** + * Gets the start time's offset in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTimeOffsetMinutes?: number; + /** + * Gets or sets the end time of the schedule. + */ + expiryTime?: Date; + /** + * Gets or sets the expiry time's offset in minutes. + */ + expiryTimeOffsetMinutes?: number; + /** + * Gets or sets a value indicating whether this schedule is enabled. Default value: false. + */ + isEnabled?: boolean; + /** + * Gets or sets the next run time of the schedule. + */ + nextRun?: Date; + /** + * Gets or sets the next run time's offset in minutes. + */ + nextRunOffsetMinutes?: number; + /** + * Gets or sets the interval of the schedule. + */ + interval?: any; + /** + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month', 'Minute' + */ + frequency?: ScheduleFrequency; + /** + * Gets or sets the time zone of the schedule. + */ + timeZone?: string; + /** + * Gets or sets the advanced schedule. + */ + advancedSchedule?: AdvancedSchedule; + /** + * Gets or sets the creation time. + */ + creationTime?: Date; + /** + * Gets or sets the last modified time. + */ + lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; +} + +/** + * The parameters supplied to the update schedule operation. + */ +export interface ScheduleUpdateParameters { + /** + * Gets or sets the name of the Schedule. + */ + name?: string; + /** + * Gets or sets the description of the schedule. + */ + description?: string; + /** + * Gets or sets a value indicating whether this schedule is enabled. + */ + isEnabled?: boolean; +} + +/** + * The parameters supplied to the create or update variable operation. + */ +export interface VariableCreateOrUpdateParameters { + /** + * Gets or sets the name of the variable. + */ + name: string; + /** + * Gets or sets the value of the variable. + */ + value?: string; + /** + * Gets or sets the description of the variable. + */ + description?: string; + /** + * Gets or sets the encrypted flag of the variable. + */ + isEncrypted?: boolean; +} + +/** + * Definition of the variable. + */ +export interface Variable extends ProxyResource { + /** + * Gets or sets the value of the variable. + */ + value?: string; + /** + * Gets or sets the encrypted flag of the variable. + */ + isEncrypted?: boolean; + /** + * Gets or sets the creation time. + */ + creationTime?: Date; + /** + * Gets or sets the last modified time. + */ + lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; +} + +/** + * The parameters supplied to the update variable operation. + */ +export interface VariableUpdateParameters { + /** + * Gets or sets the name of the variable. + */ + name?: string; + /** + * Gets or sets the value of the variable. + */ + value?: string; + /** + * Gets or sets the description of the variable. + */ + description?: string; +} + +/** + * Definition of the watcher type. + */ +export interface Watcher extends Resource { + /** + * Gets or sets the frequency at which the watcher is invoked. + */ + executionFrequencyInSeconds?: number; + /** + * Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing + * runbook. + */ + scriptName?: string; + /** + * Gets or sets the parameters of the script. + */ + scriptParameters?: { [propertyName: string]: string }; + /** + * Gets or sets the name of the hybrid worker group the watcher will run on. + */ + scriptRunOn?: string; + /** + * Gets the current status of the watcher. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; + /** + * Gets or sets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTime?: Date; + /** + * Gets or sets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastModifiedTime?: Date; + /** + * Details of the user who last modified the watcher. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastModifiedBy?: string; + /** + * Gets or sets the description. + */ + description?: string; + /** + * Gets or sets the etag of the resource. + */ + etag?: string; + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ + location?: string; +} + +/** + * An interface representing WatcherUpdateParameters. + */ +export interface WatcherUpdateParameters { + /** + * Gets or sets the frequency at which the watcher is invoked. + */ + executionFrequencyInSeconds?: number; + /** + * Gets or sets the name of the resource. + */ + name?: string; +} + +/** + * Definition of the configuration parameter type. + */ +export interface DscConfigurationParameter { + /** + * Gets or sets the type of the parameter. + */ + type?: string; + /** + * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. + */ + isMandatory?: boolean; + /** + * Get or sets the position of the parameter. + */ + position?: number; + /** + * Gets or sets the default value of parameter. + */ + defaultValue?: string; +} + +/** + * The parameters supplied to the create or update configuration operation. + */ +export interface DscConfigurationCreateOrUpdateParameters { + /** + * Gets or sets verbose log option. + */ + logVerbose?: boolean; + /** + * Gets or sets progress log option. + */ + logProgress?: boolean; + /** + * Gets or sets the source. + */ + source: ContentSource; + /** + * Gets or sets the configuration parameters. + */ + parameters?: { [propertyName: string]: DscConfigurationParameter }; + /** + * Gets or sets the description of the configuration. + */ + description?: string; + /** + * Gets or sets name of the resource. + */ + name?: string; + /** + * Gets or sets the location of the resource. + */ + location?: string; + /** + * Gets or sets the tags attached to the resource. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * Definition of the configuration type. + */ +export interface DscConfiguration extends TrackedResource { + /** + * Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded' + */ + provisioningState?: DscConfigurationProvisioningState; + /** + * Gets or sets the job count of the configuration. + */ + jobCount?: number; + /** + * Gets or sets the configuration parameters. + */ + parameters?: { [propertyName: string]: DscConfigurationParameter }; + /** + * Gets or sets the source. + */ + source?: ContentSource; + /** + * Gets or sets the state of the configuration. Possible values include: 'New', 'Edit', + * 'Published' + */ + state?: DscConfigurationState; + /** + * Gets or sets verbose log option. + */ + logVerbose?: boolean; + /** + * Gets or sets the creation time. + */ + creationTime?: Date; + /** + * Gets or sets the last modified time. + */ + lastModifiedTime?: Date; + /** + * Gets the number of compiled node configurations. + */ + nodeConfigurationCount?: number; + /** + * Gets or sets the description. + */ + description?: string; + /** + * Gets or sets the etag of the resource. + */ + etag?: string; +} + +/** + * The parameters supplied to the create or update configuration operation. + */ +export interface DscConfigurationUpdateParameters { + /** + * Gets or sets verbose log option. + */ + logVerbose?: boolean; + /** + * Gets or sets progress log option. + */ + logProgress?: boolean; + /** + * Gets or sets the source. + */ + source: ContentSource; + /** + * Gets or sets the configuration parameters. + */ + parameters?: { [propertyName: string]: DscConfigurationParameter }; + /** + * Gets or sets the description of the configuration. + */ + description?: string; + /** + * Gets or sets name of the resource. + */ + name?: string; + /** + * Gets or sets the tags attached to the resource. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * Definition of the job. + */ +export interface Job extends ProxyResource { + /** + * Gets or sets the runbook. + */ + runbook?: RunbookAssociationProperty; + /** + * Gets or sets the job started by. + */ + startedBy?: string; + /** + * Gets or sets the runOn which specifies the group name where the job is to be executed. + */ + runOn?: string; + /** + * Gets or sets the id of the job. + */ + jobId?: string; + /** + * Gets or sets the creation time of the job. + */ + creationTime?: Date; + /** + * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', + * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', + * 'Stopping', 'Resuming', 'Removing' + */ + status?: JobStatus; + /** + * Gets or sets the status details of the job. + */ + statusDetails?: string; + /** + * Gets or sets the start time of the job. + */ + startTime?: Date; + /** + * Gets or sets the end time of the job. */ - readonly targetComputerType?: string; + endTime?: Date; /** - * software update configuration triggered this run + * Gets or sets the exception of the job. */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; + exception?: string; /** - * Status of the software update configuration machine run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last modified time of the job. */ - readonly status?: string; + lastModifiedTime?: Date; /** - * Operating system target of the software update configuration triggered this run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last status modified time of the job. */ - readonly osType?: string; + lastStatusModifiedTime?: Date; /** - * correlation id of the software update configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the parameters of the job. */ - readonly correlationId?: string; + parameters?: { [propertyName: string]: string }; /** - * source computer id of the software update configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ - readonly sourceComputerId?: string; + provisioningState?: JobProvisioningState; +} + +/** + * Job collection item properties. + */ +export interface JobCollectionItem extends ProxyResource { /** - * Start time of the software update configuration machine run. + * The runbook association. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTime?: Date; + readonly runbook?: RunbookAssociationProperty; /** - * End time of the software update configuration machine run. + * The id of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly endTime?: Date; + readonly jobId?: string; /** - * configured duration for the software update configuration run. + * The creation time of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly configuredDuration?: string; + readonly creationTime?: Date; /** - * Job associated with the software update configuration machine run + * The status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', + * 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', + * 'Resuming', 'Removing' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - job?: JobNavigation; + readonly status?: JobStatus; /** - * Creation time of the resource, which only appears in the response. + * The start time of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationTime?: Date; + readonly startTime?: Date; /** - * createdBy property, which only appears in the response. + * The end time of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly createdBy?: string; + readonly endTime?: Date; /** - * Last time resource was modified, which only appears in the response. + * The last modified time of the job. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * lastModifiedBy property, which only appears in the response. + * The provisioning state of a resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastModifiedBy?: string; + readonly provisioningState?: string; /** - * Details of provisioning error + * Specifies the runOn group name where the job was executed. */ - error?: ErrorResponse; + runOn?: string; } /** - * result of listing all software update configuration machine runs + * The parameters supplied to the create job operation. */ -export interface SoftwareUpdateConfigurationMachineRunListResult { +export interface JobCreateParameters { /** - * outer object returned when listing all software update configuration machine runs + * Gets or sets the runbook. */ - value?: SoftwareUpdateConfigurationMachineRun[]; + runbook?: RunbookAssociationProperty; /** - * link to next page of results. + * Gets or sets the parameters of the job. */ - nextLink?: string; + parameters?: { [propertyName: string]: string }; + /** + * Gets or sets the runOn which specifies the group name where the job is to be executed. + */ + runOn?: string; } /** - * Definition of the source control. + * Provider, Resource and Operation values */ -export interface SourceControl extends ProxyResource { - /** - * The repo url of the source control. - */ - repoUrl?: string; - /** - * The repo branch of the source control. Include branch as empty string for VsoTfvc. - */ - branch?: string; - /** - * The folder path of the source control. - */ - folderPath?: string; - /** - * The auto sync of the source control. Default is false. - */ - autoSync?: boolean; - /** - * The auto publish of the source control. Default is true. - */ - publishRunbook?: boolean; - /** - * The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', - * 'VsoTfvc', 'GitHub' - */ - sourceType?: SourceType; +export interface OperationDisplay { /** - * The description. + * Service provider: Microsoft.Automation */ - description?: string; + provider?: string; /** - * The creation time. + * Resource on which the operation is performed: Runbooks, Jobs etc. */ - creationTime?: Date; + resource?: string; /** - * The last modified time. + * Operation type: Read, write, delete, etc. */ - lastModifiedTime?: Date; + operation?: string; } /** - * An interface representing SourceControlSecurityTokenProperties. + * Automation REST API operation */ -export interface SourceControlSecurityTokenProperties { - /** - * The access token. - */ - accessToken?: string; +export interface Operation { /** - * The refresh token. + * Operation name: {provider}/{resource}/{operation} */ - refreshToken?: string; + name?: string; /** - * The token type. Must be either PersonalAccessToken or Oauth. Possible values include: - * 'PersonalAccessToken', 'Oauth' + * Provider, Resource and Operation values */ - tokenType?: TokenType; + display?: OperationDisplay; } /** - * The parameters supplied to the update source control operation. + * Raw Graphical Runbook content */ -export interface SourceControlUpdateParameters { - /** - * The repo branch of the source control. - */ - branch?: string; +export interface RawGraphicalRunbookContent { /** - * The folder path of the source control. Path must be relative. + * Schema version of the serializer. */ - folderPath?: string; + schemaVersion?: string; /** - * The auto sync of the source control. Default is false. + * Serialized Graphical runbook */ - autoSync?: boolean; + runbookDefinition?: string; /** - * The auto publish of the source control. Default is true. + * Runbook Type. Possible values include: 'GraphPowerShell', 'GraphPowerShellWorkflow' */ - publishRunbook?: boolean; + runbookType?: GraphRunbookType; +} + +/** + * Graphical Runbook Content + */ +export interface GraphicalRunbookContent { /** - * The authorization token for the repo of the source control. + * Raw graphical Runbook content. */ - securityToken?: SourceControlSecurityTokenProperties; + rawContent?: RawGraphicalRunbookContent; /** - * The user description of the source control. + * Graphical Runbook content as JSON */ - description?: string; + graphRunbookJson?: string; } /** - * The parameters supplied to the create or update source control operation. + * Windows specific update configuration. */ -export interface SourceControlCreateOrUpdateParameters { +export interface WindowsProperties { /** - * The repo url of the source control. + * Update classification included in the software update configuration. A comma separated string + * with required values. Possible values include: 'Unclassified', 'Critical', 'Security', + * 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', 'Updates' */ - repoUrl?: string; + includedUpdateClassifications?: WindowsUpdateClasses; /** - * The repo branch of the source control. Include branch as empty string for VsoTfvc. + * KB numbers excluded from the software update configuration. */ - branch?: string; + excludedKbNumbers?: string[]; /** - * The folder path of the source control. Path must be relative. + * KB numbers included from the software update configuration. */ - folderPath?: string; + includedKbNumbers?: string[]; /** - * The auto async of the source control. Default is false. + * Reboot setting for the software update configuration. */ - autoSync?: boolean; + rebootSetting?: string; +} + +/** + * Linux specific update configuration. + */ +export interface LinuxProperties { /** - * The auto publish of the source control. Default is true. + * Update classifications included in the software update configuration. Possible values include: + * 'Unclassified', 'Critical', 'Security', 'Other' */ - publishRunbook?: boolean; + includedPackageClassifications?: LinuxUpdateClasses; /** - * The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values - * include: 'VsoGit', 'VsoTfvc', 'GitHub' + * packages excluded from the software update configuration. */ - sourceType?: SourceType; + excludedPackageNameMasks?: string[]; /** - * The authorization token for the repo of the source control. + * packages included from the software update configuration. */ - securityToken?: SourceControlSecurityTokenProperties; + includedPackageNameMasks?: string[]; /** - * The user description of the source control. + * Reboot setting for the software update configuration. */ - description?: string; + rebootSetting?: string; } /** - * Definition of the source control sync job. + * Tag filter information for the VM. */ -export interface SourceControlSyncJob { - /** - * Resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; +export interface TagSettingsProperties { /** - * Resource id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Dictionary of tags with its list of values. */ - readonly id?: string; + tags?: { [propertyName: string]: string[] }; /** - * The source control sync job id. + * Filter VMs by Any or All specified tags. Possible values include: 'All', 'Any' */ - sourceControlSyncJobId?: string; + filterOperator?: TagOperators; +} + +/** + * Azure query for the update configuration. + */ +export interface AzureQueryProperties { /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of Subscription or Resource Group ARM Ids. */ - readonly creationTime?: Date; + scope?: string[]; /** - * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' + * List of locations to scope the query to. */ - provisioningState?: ProvisioningState; + locations?: string[]; /** - * The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Tag settings for the VM. */ - readonly startTime?: Date; + tagSettings?: TagSettingsProperties; +} + +/** + * Non Azure query for the update configuration. + */ +export interface NonAzureQueryProperties { /** - * The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Log Analytics Saved Search name. */ - readonly endTime?: Date; + functionAlias?: string; /** - * The sync type. Possible values include: 'PartialSync', 'FullSync' + * Workspace Id for Log Analytics in which the saved Search is resided. */ - syncType?: SyncType; + workspaceId?: string; } /** - * The parameters supplied to the create source control sync job operation. + * Group specific to the update configuration. */ -export interface SourceControlSyncJobCreateParameters { +export interface TargetProperties { /** - * The commit id of the source control sync job. If not syncing to a commitId, enter an empty - * string. + * List of Azure queries in the software update configuration. */ - commitId: string; + azureQueries?: AzureQueryProperties[]; + /** + * List of non Azure queries in the software update configuration. + */ + nonAzureQueries?: NonAzureQueryProperties[]; } /** - * Definition of the source control sync job. + * Update specific properties of the software update configuration. */ -export interface SourceControlSyncJobById { - /** - * The id of the job. - */ - id?: string; +export interface UpdateConfiguration { /** - * The source control sync job id. + * operating system of target machines. Possible values include: 'Windows', 'Linux' */ - sourceControlSyncJobId?: string; + operatingSystem: OperatingSystemType; /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Windows specific update configuration. */ - readonly creationTime?: Date; + windows?: WindowsProperties; /** - * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' + * Linux specific update configuration. */ - provisioningState?: ProvisioningState; + linux?: LinuxProperties; /** - * The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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 */ - readonly startTime?: Date; + duration?: string; /** - * The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of azure resource Ids for azure virtual machines targeted by the software update + * configuration. */ - readonly endTime?: Date; + azureVirtualMachines?: string[]; /** - * The sync type. Possible values include: 'PartialSync', 'FullSync' + * List of names of non-azure machines targeted by the software update configuration. */ - syncType?: SyncType; + nonAzureComputerNames?: string[]; /** - * The exceptions that occurred while running the sync job. + * Group targets for the software update configuration. */ - exception?: string; + targets?: TargetProperties; } /** - * Definition of the source control sync job stream. + * Definition of schedule parameters. */ -export interface SourceControlSyncJobStream { - /** - * Resource id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The sync job stream id. - */ - sourceControlSyncJobStreamId?: string; +export interface SUCScheduleProperties { /** - * The summary of the sync job stream. + * Gets or sets the start time of the schedule. */ - summary?: string; + startTime?: Date; /** - * The time of the sync job stream. + * Gets the start time's offset in minutes. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly time?: Date; - /** - * The type of the sync job stream. Possible values include: 'Error', 'Output' - */ - streamType?: StreamType; -} - -/** - * Definition of the source control sync job stream by id. - */ -export interface SourceControlSyncJobStreamById { + readonly startTimeOffsetMinutes?: number; /** - * Resource id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the end time of the schedule. */ - readonly id?: string; + expiryTime?: Date; /** - * The sync job stream id. + * Gets or sets the expiry time's offset in minutes. */ - sourceControlSyncJobStreamId?: string; + expiryTimeOffsetMinutes?: number; /** - * The summary of the sync job stream. + * Gets or sets a value indicating whether this schedule is enabled. Default value: false. */ - summary?: string; + isEnabled?: boolean; /** - * The time of the sync job stream. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the next run time of the schedule. */ - readonly time?: Date; + nextRun?: Date; /** - * The type of the sync job stream. Possible values include: 'Error', 'Output' + * Gets or sets the next run time's offset in minutes. */ - streamType?: StreamType; + nextRunOffsetMinutes?: number; /** - * The text of the sync job stream. + * Gets or sets the interval of the schedule. */ - streamText?: string; + interval?: number; /** - * The values of the job stream. + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month', 'Minute' */ - value?: { [propertyName: string]: any }; -} - -/** - * Definition of the job stream. - */ -export interface JobStream { + frequency?: ScheduleFrequency; /** - * Gets or sets the id of the resource. + * Gets or sets the time zone of the schedule. */ - id?: string; + timeZone?: string; /** - * Gets or sets the id of the job stream. + * Gets or sets the advanced schedule. */ - jobStreamId?: string; + advancedSchedule?: AdvancedSchedule; /** - * Gets or sets the creation time of the job. + * Gets or sets the creation time. */ - time?: Date; + creationTime?: Date; /** - * Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', - * 'Error', 'Debug', 'Verbose', 'Any' + * Gets or sets the last modified time. */ - streamType?: JobStreamType; + lastModifiedTime?: Date; /** - * Gets or sets the stream text. + * Gets or sets the description. */ - streamText?: string; + description?: string; +} + +/** + * Task properties of the software update configuration. + */ +export interface TaskProperties { /** - * Gets or sets the summary. + * Gets or sets the parameters of the task. */ - summary?: string; + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the values of the job stream. + * Gets or sets the name of the runbook. */ - value?: { [propertyName: string]: any }; + source?: string; } /** - * Definition of the job. + * Task properties of the software update configuration. */ -export interface Job extends ProxyResource { +export interface SoftwareUpdateConfigurationTasks { /** - * Gets or sets the runbook. + * Pre task properties. */ - runbook?: RunbookAssociationProperty; + preTask?: TaskProperties; /** - * Gets or sets the job started by. + * Post task properties. */ - startedBy?: string; + postTask?: TaskProperties; +} + +/** + * Software update configuration properties. + */ +export interface SoftwareUpdateConfiguration extends BaseResource { /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - runOn?: string; + readonly name?: string; /** - * Gets or sets the id of the job. + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - jobId?: string; + readonly id?: string; /** - * Gets or sets the creation time of the job. + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - creationTime?: Date; + readonly type?: string; /** - * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', - * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', - * 'Stopping', 'Resuming', 'Removing' + * update specific properties for the Software update configuration */ - status?: JobStatus; + updateConfiguration: UpdateConfiguration; /** - * Gets or sets the status details of the job. + * Schedule information for the Software update configuration */ - statusDetails?: string; + scheduleInfo: SUCScheduleProperties; /** - * Gets or sets the start time of the job. + * Provisioning state for the software update configuration, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly provisioningState?: string; /** - * Gets or sets the end time of the job. + * Details of provisioning error */ - endTime?: Date; + error?: ErrorResponse; /** - * Gets or sets the exception of the job. + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - exception?: string; + readonly creationTime?: Date; /** - * Gets or sets the last modified time of the job. + * CreatedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastModifiedTime?: Date; + readonly createdBy?: string; /** - * Gets or sets the last status modified time of the job. + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastStatusModifiedTime?: Date; + readonly lastModifiedTime?: Date; /** - * Gets or sets the parameters of the job. + * LastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: { [propertyName: string]: string }; + readonly lastModifiedBy?: string; /** - * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', - * 'Suspended', 'Processing' + * Tasks information for the Software update configuration. */ - provisioningState?: JobProvisioningState; + tasks?: SoftwareUpdateConfigurationTasks; } /** - * Job collection item properties. + * Software update configuration collection item properties. */ -export interface JobCollectionItem extends ProxyResource { +export interface SoftwareUpdateConfigurationCollectionItem { /** - * The runbook association. + * Name of the software update configuration. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly runbook?: RunbookAssociationProperty; + readonly name?: string; /** - * The id of the job. + * Resource Id of the software update configuration * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly jobId?: string; + readonly id?: string; + /** + * Update specific properties of the software update configuration. + */ + updateConfiguration?: UpdateConfiguration; /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Pre and Post Tasks defined */ - readonly creationTime?: Date; + tasks?: SoftwareUpdateConfigurationTasks; /** - * The status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', - * 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', - * 'Resuming', 'Removing' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * execution frequency of the schedule associated with the software update configuration. + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute' */ - readonly status?: JobStatus; + frequency?: ScheduleFrequency; /** - * The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * the start time of the update. */ - readonly startTime?: Date; + startTime?: Date; /** - * The end time of the job. + * Creation time of the software update configuration, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly endTime?: Date; + readonly creationTime?: Date; /** - * The last modified time of the job. + * Last time software update configuration was modified, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * The provisioning state of a resource. + * Provisioning state for the software update configuration, which only appears in the response. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * Specifies the runOn group name where the job was executed. + * ext run time of the update. */ - runOn?: string; + nextRun?: Date; } /** - * The parameters supplied to the create job operation. + * result of listing all software update configuration */ -export interface JobCreateParameters { - /** - * Gets or sets the runbook. - */ - runbook?: RunbookAssociationProperty; - /** - * Gets or sets the parameters of the job. - */ - parameters?: { [propertyName: string]: string }; +export interface SoftwareUpdateConfigurationListResult { /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * outer object returned when listing all software update configurations */ - runOn?: string; + value?: SoftwareUpdateConfigurationCollectionItem[]; } /** - * Definition of the dsc node report error type. + * Software update configuration Run Navigation model. */ -export interface DscReportError { - /** - * Gets or sets the source of the error. - */ - errorSource?: string; - /** - * Gets or sets the resource ID which generated the error. - */ - resourceId?: string; +export interface UpdateConfigurationNavigation { /** - * Gets or sets the error code. + * Name of the software update configuration triggered the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errorCode?: string; + readonly name?: string; +} + +/** + * Task properties of the software update configuration. + */ +export interface SoftwareUpdateConfigurationRunTaskProperties { /** - * Gets or sets the error message. + * The status of the task. */ - errorMessage?: string; + status?: string; /** - * Gets or sets the locale of the error. + * The name of the source of the task. */ - locale?: string; + source?: string; /** - * Gets or sets the error details. + * The job id of the task. */ - errorDetails?: string; + jobId?: string; } /** - * Navigation for DSC Report Resource. + * Software update configuration run tasks model. */ -export interface DscReportResourceNavigation { +export interface SoftwareUpdateConfigurationRunTasks { /** - * Gets or sets the ID of the resource to navigate to. + * Pre task properties. */ - resourceId?: string; + preTask?: SoftwareUpdateConfigurationRunTaskProperties; + /** + * Post task properties. + */ + postTask?: SoftwareUpdateConfigurationRunTaskProperties; } /** - * Definition of the DSC Report Resource. + * Software update configuration Run properties. */ -export interface DscReportResource { +export interface SoftwareUpdateConfigurationRun { /** - * Gets or sets the ID of the resource. + * Name of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceId?: string; + readonly name?: string; /** - * Gets or sets the source info of the resource. + * Resource Id of the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sourceInfo?: string; + readonly id?: string; /** - * Gets or sets the Resource Navigation values for resources the resource depends on. + * software update configuration triggered this run */ - dependsOn?: DscReportResourceNavigation[]; + softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Gets or sets the module name of the resource. + * Status of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - moduleName?: string; + readonly status?: string; /** - * Gets or sets the module version of the resource. + * Configured duration for the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - moduleVersion?: string; + readonly configuredDuration?: string; /** - * Gets or sets the name of the resource. + * Operating system target of the software update configuration triggered this run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceName?: string; + readonly osType?: string; /** - * Gets or sets the error of the resource. + * Start time of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - error?: string; + readonly startTime?: Date; /** - * Gets or sets the status of the resource. + * End time of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: string; + readonly endTime?: Date; /** - * Gets or sets the duration in seconds for the resource. + * Number of computers in the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - durationInSeconds?: number; + readonly computerCount?: number; /** - * Gets or sets the start date of the resource. + * Number of computers with failed status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startDate?: Date; -} - -/** - * Definition of the DSC Meta Configuration. - */ -export interface DscMetaConfiguration { + readonly failedCount?: number; /** - * Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration. + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationModeFrequencyMins?: number; + readonly creationTime?: Date; /** - * Gets or sets the RebootNodeIfNeeded value of the meta configuration. + * CreatedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootNodeIfNeeded?: boolean; + readonly createdBy?: string; /** - * Gets or sets the ConfigurationMode value of the meta configuration. + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationMode?: string; + readonly lastModifiedTime?: Date; /** - * Gets or sets the ActionAfterReboot value of the meta configuration. + * LastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - actionAfterReboot?: string; + readonly lastModifiedBy?: string; /** - * Gets or sets the CertificateId value of the meta configuration. + * Software update configuration tasks triggered in this run */ - certificateId?: string; + tasks?: SoftwareUpdateConfigurationRunTasks; +} + +/** + * result of listing all software update configuration runs + */ +export interface SoftwareUpdateConfigurationRunListResult { /** - * Gets or sets the RefreshFrequencyMins value of the meta configuration. + * outer object returned when listing all software update configuration runs */ - refreshFrequencyMins?: number; + value?: SoftwareUpdateConfigurationRun[]; /** - * Gets or sets the AllowModuleOverwrite value of the meta configuration. + * link to next page of results. */ - allowModuleOverwrite?: boolean; + nextLink?: string; } /** - * Definition of the dsc node report type. + * Software update configuration machine run job navigation properties. */ -export interface DscNodeReport { +export interface JobNavigation { /** - * Gets or sets the end time of the node report. + * Id of the job associated with the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endTime?: Date; + readonly id?: string; +} + +/** + * Software update configuration machine run model. + */ +export interface SoftwareUpdateConfigurationMachineRun { /** - * Gets or sets the lastModifiedTime of the node report. + * Name of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastModifiedTime?: Date; + readonly name?: string; /** - * Gets or sets the start time of the node report. + * Resource Id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startTime?: Date; + readonly id?: string; /** - * Gets or sets the type of the node report. + * name of the updated computer + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type?: string; + readonly targetComputer?: string; /** - * Gets or sets the id of the node report. + * type of the updated computer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reportId?: string; + readonly targetComputerType?: string; /** - * Gets or sets the status of the node report. + * software update configuration triggered this run */ - status?: string; + softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Gets or sets the refreshMode of the node report. + * Status of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - refreshMode?: string; + readonly status?: string; /** - * Gets or sets the rebootRequested of the node report. + * Operating system target of the software update configuration triggered this run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootRequested?: string; + readonly osType?: string; /** - * Gets or sets the reportFormatVersion of the node report. + * correlation id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - reportFormatVersion?: string; + readonly correlationId?: string; /** - * Gets or sets the configurationVersion of the node report. + * source computer id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationVersion?: string; + readonly sourceComputerId?: string; /** - * Gets or sets the id. + * Start time of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly startTime?: Date; /** - * Gets or sets the errors for the node report. + * End time of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - errors?: DscReportError[]; + readonly endTime?: Date; /** - * Gets or sets the resource for the node report. + * configured duration for the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resources?: DscReportResource[]; + readonly configuredDuration?: string; /** - * Gets or sets the metaConfiguration of the node at the time of the report. + * Job associated with the software update configuration machine run */ - metaConfiguration?: DscMetaConfiguration; + job?: JobNavigation; /** - * Gets or sets the hostname of the node that sent the report. + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - hostName?: string; + readonly creationTime?: Date; /** - * Gets or sets the IPv4 address of the node that sent the report. + * createdBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - iPV4Addresses?: string[]; + readonly createdBy?: string; /** - * Gets or sets the IPv6 address of the node that sent the report. + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - iPV6Addresses?: string[]; + readonly lastModifiedTime?: Date; /** - * Gets or sets the number of resource in the node report. + * lastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - numberOfResources?: number; + readonly lastModifiedBy?: string; /** - * Gets or sets the unparsed errors for the node report. + * Details of provisioning error */ - rawErrors?: string; + error?: ErrorResponse; } /** - * Definition of the agent registration keys. + * result of listing all software update configuration machine runs */ -export interface AgentRegistrationKeys { +export interface SoftwareUpdateConfigurationMachineRunListResult { /** - * Gets or sets the primary key. + * outer object returned when listing all software update configuration machine runs */ - primary?: string; + value?: SoftwareUpdateConfigurationMachineRun[]; /** - * Gets or sets the secondary key. + * link to next page of results. */ - secondary?: string; + nextLink?: string; } /** - * Definition of the agent registration information type. + * Definition of the runbook parameter type. */ -export interface AgentRegistration { +export interface RunbookParameter { /** - * Gets or sets the dsc meta configuration. + * Gets or sets the type of the parameter. */ - dscMetaConfiguration?: string; + type?: string; /** - * Gets or sets the dsc server endpoint. + * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ - endpoint?: string; + isMandatory?: boolean; /** - * Gets or sets the agent registration keys. + * Get or sets the position of the parameter. */ - keys?: AgentRegistrationKeys; + position?: number; /** - * Gets or sets the id. + * Gets or sets the default value of parameter. */ - id?: string; + defaultValue?: string; } /** - * The dsc extensionHandler property associated with the node + * An interface representing RunbookDraft. */ -export interface DscNodeExtensionHandlerAssociationProperty { +export interface RunbookDraft { /** - * Gets or sets the name of the extension handler. + * Gets or sets whether runbook is in edit mode. */ - name?: string; + inEdit?: boolean; /** - * Gets or sets the version of the extension handler. + * Gets or sets the draft runbook content link. */ - version?: string; -} - -/** - * Definition of a DscNode - */ -export interface DscNode extends ProxyResource { + draftContentLink?: ContentLink; /** - * Gets or sets the last seen time of the node. + * Gets or sets the creation time of the runbook draft. */ - lastSeen?: Date; + creationTime?: Date; /** - * Gets or sets the registration time of the node. + * Gets or sets the last modified time of the runbook draft. */ - registrationTime?: Date; + lastModifiedTime?: Date; /** - * Gets or sets the ip of the node. + * Gets or sets the runbook draft parameters. */ - ip?: string; + parameters?: { [propertyName: string]: RunbookParameter }; /** - * Gets or sets the account id of the node. + * Gets or sets the runbook output types. */ - accountId?: string; + outputTypes?: string[]; +} + +/** + * Definition of the runbook type. + */ +export interface Runbook extends TrackedResource { /** - * Gets or sets the name of the dsc node configuration. + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - dscNodeName?: string; + runbookType?: RunbookTypeEnum; /** - * Gets or sets the status of the node. + * Gets or sets the published runbook content link. */ - status?: string; + publishContentLink?: ContentLink; /** - * Gets or sets the node id. + * Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published' */ - nodeId?: string; + state?: RunbookState; /** - * Gets or sets the etag of the resource. + * Gets or sets verbose log option. */ - etag?: string; + logVerbose?: boolean; /** - * Gets the total number of records matching filter criteria. + * Gets or sets progress log option. */ - totalCount?: number; + logProgress?: boolean; /** - * Gets or sets the list of extensionHandler properties for a Node. + * Gets or sets the option to log activity trace of the runbook. */ - extensionHandler?: DscNodeExtensionHandlerAssociationProperty[]; -} - -/** - * The parameters supplied to the regenerate keys operation. - */ -export interface AgentRegistrationRegenerateKeyParameter { + logActivityTrace?: number; /** - * Gets or sets the agent registration key name - primary or secondary. Possible values include: - * 'primary', 'secondary' + * Gets or sets the job count of the runbook. */ - keyName: AgentRegistrationKeyName; -} - -/** - * An interface representing DscNodeUpdateParametersProperties. - */ -export interface DscNodeUpdateParametersProperties { + jobCount?: number; /** - * Gets or sets the name of the dsc node configuration. + * Gets or sets the runbook parameters. */ - name?: string; -} - -/** - * The parameters supplied to the update dsc node operation. - */ -export interface DscNodeUpdateParameters { + parameters?: { [propertyName: string]: RunbookParameter }; /** - * Gets or sets the id of the dsc node. + * Gets or sets the runbook output types. */ - nodeId?: string; - properties?: DscNodeUpdateParametersProperties; -} - -/** - * The Dsc configuration property associated with the entity. - */ -export interface DscConfigurationAssociationProperty { + outputTypes?: string[]; /** - * Gets or sets the name of the Dsc configuration. + * Gets or sets the draft runbook properties. */ - name?: string; -} - -/** - * Definition of the Dsc Compilation job. - */ -export interface DscCompilationJob extends ProxyResource { + draft?: RunbookDraft; /** - * Gets or sets the configuration. + * Gets or sets the provisioning state of the runbook. Possible values include: 'Succeeded' */ - configuration?: DscConfigurationAssociationProperty; + provisioningState?: RunbookProvisioningState; /** - * Gets the compilation job started by. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last modified by. */ - readonly startedBy?: string; + lastModifiedBy?: string; /** - * Gets the id of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the creation time. */ - readonly jobId?: string; + creationTime?: Date; /** - * Gets the creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the last modified time. */ - readonly creationTime?: Date; + lastModifiedTime?: Date; /** - * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', - * 'Suspended', 'Processing' + * Gets or sets the description. */ - provisioningState?: JobProvisioningState; + description?: string; /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * Gets or sets the etag of the resource. */ - runOn?: string; + etag?: string; +} + +/** + * The parameters supplied to the create or update runbook operation. + */ +export interface RunbookCreateOrUpdateParameters { /** - * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', - * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', - * 'Stopping', 'Resuming', 'Removing' + * Gets or sets verbose log option. */ - status?: JobStatus; + logVerbose?: boolean; /** - * Gets or sets the status details of the job. + * Gets or sets progress log option. */ - statusDetails?: string; + logProgress?: boolean; /** - * Gets the start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - readonly startTime?: Date; + runbookType: RunbookTypeEnum; /** - * Gets the end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the draft runbook properties. */ - readonly endTime?: Date; + draft?: RunbookDraft; /** - * Gets the exception of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the published runbook content link. */ - readonly exception?: string; + publishContentLink?: ContentLink; /** - * Gets the last modified time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the description of the runbook. */ - readonly lastModifiedTime?: Date; + description?: string; /** - * Gets the last status modified time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the activity-level tracing options of the runbook. */ - readonly lastStatusModifiedTime?: Date; + logActivityTrace?: number; /** - * Gets or sets the parameters of the job. + * Gets or sets the name of the resource. + */ + name?: string; + /** + * Gets or sets the location of the resource. + */ + location?: string; + /** + * Gets or sets the tags attached to the resource. */ - parameters?: { [propertyName: string]: string }; + tags?: { [propertyName: string]: string }; } /** - * The parameters supplied to the create compilation job operation. + * The parameters supplied to the update runbook operation. */ -export interface DscCompilationJobCreateParameters { +export interface RunbookUpdateParameters { /** - * Gets or sets the configuration. + * Gets or sets the description of the runbook. */ - configuration: DscConfigurationAssociationProperty; + description?: string; /** - * Gets or sets the parameters of the job. + * Gets or sets verbose log option. */ - parameters?: { [propertyName: string]: string }; + logVerbose?: boolean; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets progress log option. */ - incrementNodeConfigurationBuild?: boolean; + logProgress?: boolean; /** - * Gets or sets name of the resource. + * Gets or sets the activity-level tracing options of the runbook. + */ + logActivityTrace?: number; + /** + * Gets or sets the name of the resource. */ name?: string; /** @@ -3157,453 +3654,551 @@ export interface DscCompilationJobCreateParameters { } /** - * Definition of the dsc node configuration. + * The response model for the undo edit runbook operation. */ -export interface DscNodeConfiguration extends ProxyResource { +export interface RunbookDraftUndoEditResult { /** - * Gets or sets the last modified time. + * Possible values include: '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' */ - lastModifiedTime?: Date; + statusCode?: HttpStatusCode; + requestId?: string; +} + +/** + * The parameters supplied to the create test job operation. + */ +export interface TestJobCreateParameters { /** - * Gets or sets creation time. + * Gets or sets the parameters of the test job. + */ + parameters?: { [propertyName: string]: string }; + /** + * Gets or sets the runOn which specifies the group name where the job is to be executed. + */ + runOn?: string; +} + +/** + * Definition of the test job. + */ +export interface TestJob { + /** + * Gets or sets the creation time of the test job. */ creationTime?: Date; /** - * Gets or sets the configuration of the node. + * Gets or sets the status of the test job. */ - configuration?: DscConfigurationAssociationProperty; + status?: string; /** - * Source of node configuration. + * Gets or sets the status details of the test job. */ - source?: string; + statusDetails?: string; /** - * Number of nodes with this node configuration assigned + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - nodeCount?: number; + runOn?: string; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets the start time of the test job. */ - incrementNodeConfigurationBuild?: boolean; -} - -/** - * The parameters supplied to the create or update node configuration operation. - */ -export interface DscNodeConfigurationCreateOrUpdateParameters { + startTime?: Date; /** - * Gets or sets the source. + * Gets or sets the end time of the test job. */ - source: ContentSource; + endTime?: Date; /** - * Gets or sets the configuration of the node. + * Gets or sets the exception of the test job. */ - configuration: DscConfigurationAssociationProperty; + exception?: string; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets the last modified time of the test job. */ - incrementNodeConfigurationBuild?: boolean; + lastModifiedTime?: Date; /** - * Name of the node configuration. + * Gets or sets the last status modified time of the test job. */ - name?: string; + lastStatusModifiedTime?: Date; /** - * Gets or sets the tags attached to the resource. + * Gets or sets the parameters of the test job. */ - tags?: { [propertyName: string]: string }; -} - -/** - * An interface representing NodeCountProperties. - */ -export interface NodeCountProperties { + parameters?: { [propertyName: string]: string }; /** - * Gets the count for the name + * The activity-level tracing options of the runbook. */ - count?: number; + logActivityTrace?: number; } /** - * Number of nodes based on the Filter + * The parameters supplied to the create or update draft runbook properties. */ -export interface NodeCount { +export interface RunbookCreateOrUpdateDraftProperties { /** - * Gets the name of a count type + * Gets or sets verbose log option. */ - name?: string; - properties?: NodeCountProperties; -} - -/** - * Gets the count of nodes by count type - */ -export interface NodeCounts { + logVerbose?: boolean; /** - * Gets an array of counts + * Gets or sets progress log option. */ - value?: NodeCount[]; + logProgress?: boolean; /** - * Gets the total number of records matching countType criteria. + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - totalCount?: number; -} - -/** - * Definition of the runbook parameter type. - */ -export interface RunbookParameter { + runbookType: RunbookTypeEnum; /** - * Gets or sets the type of the parameter. + * Gets or sets the draft runbook properties. */ - type?: string; + draft: RunbookDraft; /** - * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. + * Gets or sets the description of the runbook. */ - isMandatory?: boolean; + description?: string; /** - * Get or sets the position of the parameter. + * Gets or sets the activity-level tracing options of the runbook. */ - position?: number; + logActivityTrace?: number; +} + +/** + * The parameters supplied to the create or update runbook operation. + */ +export interface RunbookCreateOrUpdateDraftParameters { /** - * Gets or sets the default value of parameter. + * Content of the Runbook. */ - defaultValue?: string; + runbookContent: string; } /** - * An interface representing RunbookDraft. + * Definition of the webhook type. */ -export interface RunbookDraft { +export interface Webhook extends ProxyResource { /** - * Gets or sets whether runbook is in edit mode. + * Gets or sets the value of the enabled flag of the webhook. Default value: false. */ - inEdit?: boolean; + isEnabled?: boolean; /** - * Gets or sets the draft runbook content link. + * Gets or sets the webhook uri. */ - draftContentLink?: ContentLink; + uri?: string; /** - * Gets or sets the creation time of the runbook draft. + * Gets or sets the expiry time. */ - creationTime?: Date; + expiryTime?: Date; /** - * Gets or sets the last modified time of the runbook draft. + * Gets or sets the last invoked time. */ - lastModifiedTime?: Date; + lastInvokedTime?: Date; /** - * Gets or sets the runbook draft parameters. + * Gets or sets the parameters of the job that is created when the webhook calls the runbook it + * is associated with. */ - parameters?: { [propertyName: string]: RunbookParameter }; + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the runbook output types. + * Gets or sets the runbook the webhook is associated with. */ - outputTypes?: string[]; -} - -/** - * Definition of the runbook type. - */ -export interface Runbook extends TrackedResource { + runbook?: RunbookAssociationProperty; /** - * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', - * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ - runbookType?: RunbookTypeEnum; + runOn?: string; /** - * Gets or sets the published runbook content link. + * Gets or sets the creation time. */ - publishContentLink?: ContentLink; + creationTime?: Date; /** - * Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published' + * Gets or sets the last modified time. */ - state?: RunbookState; + lastModifiedTime?: Date; /** - * Gets or sets verbose log option. + * Details of the user who last modified the Webhook */ - logVerbose?: boolean; + lastModifiedBy?: string; /** - * Gets or sets progress log option. + * Gets or sets the description. */ - logProgress?: boolean; + description?: string; +} + +/** + * The parameters supplied to the update webhook operation. + */ +export interface WebhookUpdateParameters { /** - * Gets or sets the option to log activity trace of the runbook. + * Gets or sets the name of the webhook. */ - logActivityTrace?: number; + name?: string; /** - * Gets or sets the job count of the runbook. + * Gets or sets the value of the enabled flag of webhook. */ - jobCount?: number; + isEnabled?: boolean; /** - * Gets or sets the runbook parameters. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ - parameters?: { [propertyName: string]: RunbookParameter }; + runOn?: string; /** - * Gets or sets the runbook output types. + * Gets or sets the parameters of the job. */ - outputTypes?: string[]; + parameters?: { [propertyName: string]: string }; + /** + * Gets or sets the description of the webhook. + */ + description?: string; +} + +/** + * The parameters supplied to the create or update webhook operation. + */ +export interface WebhookCreateOrUpdateParameters { /** - * Gets or sets the draft runbook properties. + * Gets or sets the name of the webhook. */ - draft?: RunbookDraft; + name: string; /** - * Gets or sets the provisioning state of the runbook. Possible values include: 'Succeeded' + * Gets or sets the value of the enabled flag of webhook. */ - provisioningState?: RunbookProvisioningState; + isEnabled?: boolean; /** - * Gets or sets the last modified by. + * Gets or sets the uri. */ - lastModifiedBy?: string; + uri?: string; /** - * Gets or sets the creation time. + * Gets or sets the expiry time. */ - creationTime?: Date; + expiryTime?: Date; /** - * Gets or sets the last modified time. + * Gets or sets the parameters of the job. */ - lastModifiedTime?: Date; + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the description. + * Gets or sets the runbook. */ - description?: string; + runbook?: RunbookAssociationProperty; /** - * Gets or sets the etag of the resource. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ - etag?: string; + runOn?: string; } /** - * The parameters supplied to the create or update runbook operation. + * Definition of hybrid runbook worker. */ -export interface RunbookCreateOrUpdateParameters { +export interface HybridRunbookWorker extends Resource { /** - * Gets or sets verbose log option. + * Gets or sets the assigned machine IP address. */ - logVerbose?: boolean; + ip?: string; /** - * Gets or sets progress log option. + * Gets or sets the registration time of the worker machine. */ - logProgress?: boolean; + registeredDateTime?: Date; /** - * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', - * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * Last Heartbeat from the Worker */ - runbookType: RunbookTypeEnum; + lastSeenDateTime?: Date; /** - * Gets or sets the draft runbook properties. + * Azure Resource Manager Id for a virtual machine. */ - draft?: RunbookDraft; + vmResourceId?: string; /** - * Gets or sets the published runbook content link. + * Type of the HybridWorker. Possible values include: 'HybridV1', 'HybridV2' */ - publishContentLink?: ContentLink; + workerType?: WorkerType; /** - * Gets or sets the description of the runbook. + * Name of the HybridWorker. */ - description?: string; + workerName?: string; /** - * Gets or sets the activity-level tracing options of the runbook. + * Resource system metadata. */ - logActivityTrace?: number; + systemData?: SystemData; +} + +/** + * Parameters supplied to move hybrid worker operation. + */ +export interface HybridRunbookWorkerMoveParameters { /** - * Gets or sets the name of the resource. + * Gets or sets the target hybrid runbook worker group. */ - name?: string; + hybridRunbookWorkerGroupName?: string; +} + +/** + * The parameters supplied to the create hybrid runbook worker operation. + */ +export interface HybridRunbookWorkerCreateParameters { /** - * Gets or sets the location of the resource. + * Azure Resource Manager Id for a virtual machine. */ - location?: string; + vmResourceId?: string; /** - * Gets or sets the tags attached to the resource. + * Gets or sets the name of the resource. */ - tags?: { [propertyName: string]: string }; + name?: string; } /** - * The parameters supplied to the update runbook operation. + * Optional Parameters. */ -export interface RunbookUpdateParameters { +export interface DscNodeListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the description of the runbook. + * The filter to apply on the operation. */ - description?: string; + filter?: string; /** - * Gets or sets verbose log option. + * The number of rows to skip. */ - logVerbose?: boolean; + skip?: number; /** - * Gets or sets progress log option. + * The number of rows to take. */ - logProgress?: boolean; + top?: number; /** - * Gets or sets the activity-level tracing options of the runbook. + * Return total rows. */ - logActivityTrace?: number; + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscNodeListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the name of the resource. + * The filter to apply on the operation. */ - name?: string; + filter?: string; /** - * Gets or sets the location of the resource. + * The number of rows to skip. */ - location?: string; + skip?: number; /** - * Gets or sets the tags attached to the resource. + * The number of rows to take. */ - tags?: { [propertyName: string]: string }; + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; } /** - * The response model for the undo edit runbook operation. + * Optional Parameters. */ -export interface RunbookDraftUndoEditResult { +export interface NodeReportsListByNodeOptionalParams extends msRest.RequestOptionsBase { /** - * Possible values include: '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' + * The filter to apply on the operation. */ - statusCode?: HttpStatusCode; - requestId?: string; + filter?: string; } /** - * The parameters supplied to the create test job operation. + * Optional Parameters. */ -export interface TestJobCreateParameters { - /** - * Gets or sets the parameters of the test job. - */ - parameters?: { [propertyName: string]: string }; +export interface NodeReportsListByNodeNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * The filter to apply on the operation. */ - runOn?: string; + filter?: string; } /** - * Definition of the test job. + * Optional Parameters. */ -export interface TestJob { +export interface DscNodeConfigurationListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the creation time of the test job. + * The filter to apply on the operation. */ - creationTime?: Date; + filter?: string; /** - * Gets or sets the status of the test job. + * The number of rows to skip. */ - status?: string; + skip?: number; /** - * Gets or sets the status details of the test job. + * The number of rows to take. */ - statusDetails?: string; + top?: number; /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * Return total rows. */ - runOn?: string; + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscNodeConfigurationListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the start time of the test job. + * The filter to apply on the operation. */ - startTime?: Date; + filter?: string; /** - * Gets or sets the end time of the test job. + * The number of rows to skip. */ - endTime?: Date; + skip?: number; /** - * Gets or sets the exception of the test job. + * The number of rows to take. */ - exception?: string; + top?: number; /** - * Gets or sets the last modified time of the test job. + * Return total rows. */ - lastModifiedTime?: Date; + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscCompilationJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the last status modified time of the test job. + * The filter to apply on the operation. */ - lastStatusModifiedTime?: Date; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface DscCompilationJobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the parameters of the test job. + * The filter to apply on the operation. */ - parameters?: { [propertyName: string]: string }; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SourceControlListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * The activity-level tracing options of the runbook. + * The filter to apply on the operation. */ - logActivityTrace?: number; + filter?: string; } /** - * The parameters supplied to the create or update draft runbook properties. + * Optional Parameters. */ -export interface RunbookCreateOrUpdateDraftProperties { +export interface SourceControlListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets verbose log option. + * The filter to apply on the operation. */ - logVerbose?: boolean; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets progress log option. + * The filter to apply on the operation. */ - logProgress?: boolean; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', - * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * The filter to apply on the operation. */ - runbookType: RunbookTypeEnum; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the draft runbook properties. + * The filter to apply on the operation. */ - draft: RunbookDraft; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobStreamsListBySyncJobNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the description of the runbook. + * The filter to apply on the operation. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface StatisticsListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. */ - description?: string; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the activity-level tracing options of the runbook. + * The filter to apply on the operation. */ - logActivityTrace?: number; + filter?: string; } /** - * The parameters supplied to the create or update runbook operation. + * Optional Parameters. */ -export interface RunbookCreateOrUpdateDraftParameters { +export interface HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Content of the Runbook. + * The filter to apply on the operation. */ - runbookContent: string; + filter?: string; } /** - * The parameters supplied to the create or update module operation. + * Optional Parameters. */ -export interface PythonPackageCreateParameters { +export interface JobScheduleListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the module content link. + * The filter to apply on the operation. */ - contentLink: ContentLink; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface JobScheduleListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the tags attached to the resource. + * The filter to apply on the operation. */ - tags?: { [propertyName: string]: string }; + filter?: string; } /** - * The parameters supplied to the update module operation. + * Optional Parameters. */ -export interface PythonPackageUpdateParameters { +export interface WatcherListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Gets or sets the tags attached to the resource. + * The filter to apply on the operation. */ - tags?: { [propertyName: string]: string }; + filter?: string; } /** * Optional Parameters. */ -export interface StatisticsListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface WatcherListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ @@ -3633,7 +4228,7 @@ export interface DscConfigurationListByAutomationAccountOptionalParams extends m */ skip?: number; /** - * The the number of rows to take. + * The number of rows to take. */ top?: number; /** @@ -3645,47 +4240,59 @@ export interface DscConfigurationListByAutomationAccountOptionalParams extends m /** * Optional Parameters. */ -export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface DscConfigurationListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; + /** + * The number of rows to skip. + */ + skip?: number; + /** + * The number of rows to take. + */ + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; } /** * Optional Parameters. */ -export interface JobScheduleListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface WebhookListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobGetRunbookContentOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface WatcherListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest.RequestOptionsBase { +export interface JobStopOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3695,7 +4302,7 @@ export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msRest.RequestOptionsBase { +export interface JobGetOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3705,7 +4312,7 @@ export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msR /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface JobCreateOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3715,21 +4322,21 @@ export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Identifies this specific client request. - */ - clientRequestId?: string; +export interface JobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; + /** + * Identifies this specific client request. + */ + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { +export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3739,30 +4346,21 @@ export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends ms /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Identifies this specific client request. - */ - clientRequestId?: string; +export interface JobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. You can use the following filters: 'properties/osType', - * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + * The filter to apply on the operation. */ filter?: string; /** - * Number of entries you skip before returning results - */ - skip?: string; - /** - * Maximum number of entries returned in the results collection + * Identifies this specific client request. */ - top?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { +export interface JobStreamGetOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3772,60 +4370,55 @@ export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams ext /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Identifies this specific client request. - */ - clientRequestId?: string; +export interface JobStreamListByJobOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. You can use the following filters: 'properties/osType', - * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + * The filter to apply on the operation. */ filter?: string; /** - * number of entries you skip before returning results - */ - skip?: string; - /** - * Maximum number of entries returned in the results collection + * Identifies this specific client request. */ - top?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SourceControlListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobStreamListByJobNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; + /** + * Identifies this specific client request. + */ + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SourceControlSyncJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3835,17 +4428,21 @@ export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobGetRunbookContentOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsListOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ clientRequestId?: string; + /** + * The filter to apply on the operation. + */ + filter?: string; } /** * Optional Parameters. */ -export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3855,17 +4452,30 @@ export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobStopOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ clientRequestId?: string; + /** + * The filter to apply on the operation. You can use the following filters: 'properties/osType', + * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + */ + filter?: string; + /** + * Number of entries you skip before returning results + */ + skip?: string; + /** + * Maximum number of entries returned in the results collection + */ + top?: string; } /** * Optional Parameters. */ -export interface JobGetOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3875,180 +4485,232 @@ export interface JobGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobCreateOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ clientRequestId?: string; + /** + * The filter to apply on the operation. You can use the following filters: 'properties/osType', + * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + */ + filter?: string; + /** + * number of entries you skip before returning results + */ + skip?: string; + /** + * Maximum number of entries returned in the results collection + */ + top?: string; } /** * Optional Parameters. */ -export interface JobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface TestJobStreamsListByTestJobOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TestJobStreamsListByTestJobNextOptionalParams extends msRest.RequestOptionsBase { /** - * Identifies this specific client request. + * The filter to apply on the operation. */ - clientRequestId?: string; + filter?: string; } /** * Optional Parameters. */ -export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { +export interface WebhookListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * Identifies this specific client request. + * The filter to apply on the operation. */ - clientRequestId?: string; + filter?: string; } /** * Optional Parameters. */ -export interface JobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { +export interface WebhookListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * Identifies this specific client request. + * The filter to apply on the operation. */ - clientRequestId?: string; + filter?: string; } /** * Optional Parameters. */ -export interface JobStreamGetOptionalParams extends msRest.RequestOptionsBase { +export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams extends msRest.RequestOptionsBase { /** - * Identifies this specific client request. + * The filter to apply on the operation. */ - clientRequestId?: string; + filter?: string; } /** * Optional Parameters. */ -export interface JobStreamListByJobOptionalParams extends msRest.RequestOptionsBase { +export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; +} + +/** + * An interface representing AutomationClientOptions. + */ +export interface AutomationClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * Defines headers for ReplaceContent operation. + */ +export interface RunbookDraftReplaceContentHeaders { /** - * Identifies this specific client request. + * URL to query for status of the operation. */ - clientRequestId?: string; + location: string; } /** - * Optional Parameters. + * Defines headers for Publish operation. */ -export interface JobStreamListByJobNextOptionalParams extends msRest.RequestOptionsBase { +export interface RunbookPublishHeaders { /** - * Identifies this specific client request. + * URL to query for status of the operation. */ - clientRequestId?: string; + location: string; } /** - * Optional Parameters. + * @interface + * A list of private endpoint connections + * @extends Array + */ +export interface PrivateEndpointConnectionListResult extends Array { +} + +/** + * @interface + * A list of private link resources + * @extends Array + */ +export interface PrivateLinkResourceListResult extends Array { +} + +/** + * @interface + * The response model for the list module operation. + * @extends Array */ -export interface DscNodeListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { - /** - * The filter to apply on the operation. - */ - filter?: string; - /** - * The number of rows to skip. - */ - skip?: number; - /** - * The the number of rows to take. - */ - top?: number; +export interface ModuleListResult extends Array { /** - * Return total rows. + * Gets or sets the next link. */ - inlinecount?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * The response model for the list dsc nodes operation. + * @extends Array */ -export interface NodeReportsListByNodeOptionalParams extends msRest.RequestOptionsBase { +export interface DscNodeListResult extends Array { /** - * The filter to apply on the operation. + * Gets or sets the next link. */ - filter?: string; + nextLink?: string; + /** + * Gets the total number of nodes matching filter criteria. + */ + totalCount?: number; } /** - * Optional Parameters. + * @interface + * The response model for the list dsc nodes operation. + * @extends Array */ -export interface DscCompilationJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface DscNodeReportListResult extends Array { /** - * The filter to apply on the operation. + * Gets or sets the next link. */ - filter?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * The response model for the list job operation. + * @extends Array */ -export interface DscNodeConfigurationListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { - /** - * The filter to apply on the operation. - */ - filter?: string; - /** - * The number of rows to skip. - */ - skip?: number; +export interface DscNodeConfigurationListResult extends Array { /** - * The the number of rows to take. + * Gets or sets the next link. */ - top?: number; + nextLink?: string; /** - * Return total rows. + * Gets or sets the total rows in query. */ - inlinecount?: string; + totalCount?: number; } /** - * Optional Parameters. + * @interface + * The response model for the list job operation. + * @extends Array */ -export interface TestJobStreamsListByTestJobOptionalParams extends msRest.RequestOptionsBase { +export interface DscCompilationJobListResult extends Array { /** - * The filter to apply on the operation. + * Gets or sets the next link. */ - filter?: string; + nextLink?: string; } /** - * An interface representing AutomationClientOptions. + * @interface + * The response model for the list source controls operation. + * @extends Array */ -export interface AutomationClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface SourceControlListResult extends Array { + /** + * The next link. + */ + nextLink?: string; } /** - * Defines headers for ReplaceContent operation. + * @interface + * The response model for the list source control sync jobs operation. + * @extends Array */ -export interface RunbookDraftReplaceContentHeaders { +export interface SourceControlSyncJobListResult extends Array { /** - * URL to query for status of the operation. + * The next link. */ - location: string; + nextLink?: string; } /** - * Defines headers for Publish operation. + * @interface + * The response model for the list source control sync job streams operation. + * @extends Array */ -export interface RunbookPublishHeaders { +export interface SourceControlSyncJobStreamsListBySyncJob extends Array { /** - * URL to query for status of the operation. + * The next link. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location: string; + readonly nextLink?: string; } /** @@ -4063,14 +4725,6 @@ export interface AutomationAccountListResult extends Array { nextLink?: string; } -/** - * @interface - * The response model for the list of Automation operations - * @extends Array - */ -export interface OperationListResult extends Array { -} - /** * @interface * The response model for the list statistics operation. @@ -4135,22 +4789,6 @@ export interface CredentialListResult extends Array { nextLink?: string; } -/** - * @interface - * The response model for the list configuration operation. - * @extends Array - */ -export interface DscConfigurationListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; - /** - * Gets the total number of configurations matching filter criteria. - */ - totalCount?: number; -} - /** * @interface * The response model for the list hybrid runbook worker groups. @@ -4187,18 +4825,6 @@ export interface ActivityListResult extends Array { nextLink?: string; } -/** - * @interface - * The response model for the list module operation. - * @extends Array - */ -export interface ModuleListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} - /** * @interface * The response model for the list fields operation. @@ -4233,10 +4859,10 @@ export interface VariableListResult extends Array { /** * @interface - * The response model for the list webhook operation. - * @extends Array + * The response model for the list watcher operation. + * @extends Array */ -export interface WebhookListResult extends Array { +export interface WatcherListResult extends Array { /** * Gets or sets the next link. */ @@ -4245,72 +4871,83 @@ export interface WebhookListResult extends Array { /** * @interface - * The response model for the list watcher operation. - * @extends Array + * The response model for the list configuration operation. + * @extends Array */ -export interface WatcherListResult extends Array { +export interface DscConfigurationListResult extends Array { /** * Gets or sets the next link. */ nextLink?: string; + /** + * Gets the total number of configurations matching filter criteria. + */ + totalCount?: number; } /** * @interface - * The response model for the list source controls operation. - * @extends Array + * The response model for the list job operation. + * @extends Array */ -export interface SourceControlListResult extends Array { +export interface JobListResultV2 extends Array { /** - * The next link. + * The link to the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly nextLink?: string; } /** * @interface - * The response model for the list source control sync jobs operation. - * @extends Array + * The response model for the list job stream operation. + * @extends Array */ -export interface SourceControlSyncJobListResult extends Array { +export interface JobStreamListResult extends Array { /** - * The next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * The response model for the list source control sync job streams operation. - * @extends Array + * The response model for the list of Automation operations + * @extends Array */ -export interface SourceControlSyncJobStreamsListBySyncJob extends Array { +export interface OperationListResult extends Array { +} + +/** + * @interface + * The response model for the list runbook operation. + * @extends Array + */ +export interface RunbookListResult extends Array { /** - * The next link. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the next link. */ - readonly nextLink?: string; + nextLink?: string; } /** * @interface - * The response model for the list job operation. - * @extends Array + * The response model for the list webhook operation. + * @extends Array */ -export interface JobListResultV2 extends Array { +export interface WebhookListResult extends Array { /** - * The link to the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the next link. */ - readonly nextLink?: string; + nextLink?: string; } /** * @interface - * The response model for the list job stream operation. - * @extends Array + * The response model for the list hybrid runbook workers. + * @extends Array */ -export interface JobStreamListResult extends Array { +export interface HybridRunbookWorkersListResult extends Array { /** * Gets or sets the next link. */ @@ -4318,72 +4955,96 @@ export interface JobStreamListResult extends Array { } /** - * @interface - * The response model for the list dsc nodes operation. - * @extends Array + * Defines values for ModuleProvisioningState. + * Possible values include: 'Created', 'Creating', 'StartingImportModuleRunbook', + * 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', + * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', + * 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'Updating' + * @readonly + * @enum {string} + */ +export type ModuleProvisioningState = 'Created' | 'Creating' | 'StartingImportModuleRunbook' | 'RunningImportModuleRunbook' | 'ContentRetrieved' | 'ContentDownloaded' | 'ContentValidated' | 'ConnectionTypeImported' | 'ContentStored' | 'ModuleDataStored' | 'ActivitiesStored' | 'ModuleImportRunbookComplete' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Updating'; + +/** + * Defines values for AgentRegistrationKeyName. + * Possible values include: 'primary', 'secondary' + * @readonly + * @enum {string} + */ +export type AgentRegistrationKeyName = 'primary' | 'secondary'; + +/** + * Defines values for ContentSourceType. + * Possible values include: 'embeddedContent', 'uri' + * @readonly + * @enum {string} + */ +export type ContentSourceType = 'embeddedContent' | 'uri'; + +/** + * Defines values for JobProvisioningState. + * Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing' + * @readonly + * @enum {string} + */ +export type JobProvisioningState = 'Failed' | 'Succeeded' | 'Suspended' | 'Processing'; + +/** + * Defines values for JobStatus. + * Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', + * 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing' + * @readonly + * @enum {string} + */ +export type JobStatus = 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing'; + +/** + * Defines values for JobStreamType. + * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' + * @readonly + * @enum {string} + */ +export type JobStreamType = 'Progress' | 'Output' | 'Warning' | 'Error' | 'Debug' | 'Verbose' | 'Any'; + +/** + * Defines values for SourceType. + * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' + * @readonly + * @enum {string} */ -export interface DscNodeListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; - /** - * Gets the total number of nodes matching filter criteria. - */ - totalCount?: number; -} +export type SourceType = 'VsoGit' | 'VsoTfvc' | 'GitHub'; /** - * @interface - * The response model for the list dsc nodes operation. - * @extends Array + * Defines values for TokenType. + * Possible values include: 'PersonalAccessToken', 'Oauth' + * @readonly + * @enum {string} */ -export interface DscNodeReportListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} +export type TokenType = 'PersonalAccessToken' | 'Oauth'; /** - * @interface - * The response model for the list job operation. - * @extends Array + * Defines values for ProvisioningState. + * Possible values include: 'Completed', 'Failed', 'Running' + * @readonly + * @enum {string} */ -export interface DscCompilationJobListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} +export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; /** - * @interface - * The response model for the list job operation. - * @extends Array + * Defines values for SyncType. + * Possible values include: 'PartialSync', 'FullSync' + * @readonly + * @enum {string} */ -export interface DscNodeConfigurationListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; - /** - * Gets or sets the total rows in query. - */ - totalCount?: number; -} +export type SyncType = 'PartialSync' | 'FullSync'; /** - * @interface - * The response model for the list runbook operation. - * @extends Array + * Defines values for StreamType. + * Possible values include: 'Error', 'Output' + * @readonly + * @enum {string} */ -export interface RunbookListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} +export type StreamType = 'Error' | 'Output'; /** * Defines values for SkuNameEnum. @@ -4402,44 +5063,45 @@ export type SkuNameEnum = 'Free' | 'Basic'; export type AutomationAccountState = 'Ok' | 'Unavailable' | 'Suspended'; /** - * Defines values for AutomationKeyName. - * Possible values include: 'Primary', 'Secondary' + * Defines values for EncryptionKeySourceType. + * Possible values include: 'Microsoft.Automation', 'Microsoft.Keyvault' * @readonly * @enum {string} */ -export type AutomationKeyName = 'Primary' | 'Secondary'; +export type EncryptionKeySourceType = 'Microsoft.Automation' | 'Microsoft.Keyvault'; /** - * Defines values for AutomationKeyPermissions. - * Possible values include: 'Read', 'Full' + * Defines values for ResourceIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export type AutomationKeyPermissions = 'Read' | 'Full'; +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** - * Defines values for ContentSourceType. - * Possible values include: 'embeddedContent', 'uri' + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' * @readonly * @enum {string} */ -export type ContentSourceType = 'embeddedContent' | 'uri'; +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; /** - * Defines values for DscConfigurationProvisioningState. - * Possible values include: 'Succeeded' + * Defines values for AutomationKeyName. + * Possible values include: 'Primary', 'Secondary' * @readonly * @enum {string} */ -export type DscConfigurationProvisioningState = 'Succeeded'; +export type AutomationKeyName = 'Primary' | 'Secondary'; /** - * Defines values for DscConfigurationState. - * Possible values include: 'New', 'Edit', 'Published' + * Defines values for AutomationKeyPermissions. + * Possible values include: 'Read', 'Full' * @readonly * @enum {string} */ -export type DscConfigurationState = 'New' | 'Edit' | 'Published'; +export type AutomationKeyPermissions = 'Read' | 'Full'; /** * Defines values for GroupTypeEnum. @@ -4449,17 +5111,6 @@ export type DscConfigurationState = 'New' | 'Edit' | 'Published'; */ export type GroupTypeEnum = 'User' | 'System'; -/** - * Defines values for ModuleProvisioningState. - * Possible values include: 'Created', 'Creating', 'StartingImportModuleRunbook', - * 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', - * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', - * 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'Updating' - * @readonly - * @enum {string} - */ -export type ModuleProvisioningState = 'Created' | 'Creating' | 'StartingImportModuleRunbook' | 'RunningImportModuleRunbook' | 'ContentRetrieved' | 'ContentDownloaded' | 'ContentValidated' | 'ConnectionTypeImported' | 'ContentStored' | 'ModuleDataStored' | 'ActivitiesStored' | 'ModuleImportRunbookComplete' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Updating'; - /** * Defines values for ScheduleDay. * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', @@ -4471,11 +5122,35 @@ export type ScheduleDay = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Fri /** * Defines values for ScheduleFrequency. - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute' + * @readonly + * @enum {string} + */ +export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month' | 'Minute'; + +/** + * Defines values for DscConfigurationProvisioningState. + * Possible values include: 'Succeeded' + * @readonly + * @enum {string} + */ +export type DscConfigurationProvisioningState = 'Succeeded'; + +/** + * Defines values for DscConfigurationState. + * Possible values include: 'New', 'Edit', 'Published' + * @readonly + * @enum {string} + */ +export type DscConfigurationState = 'New' | 'Edit' | 'Published'; + +/** + * Defines values for GraphRunbookType. + * Possible values include: 'GraphPowerShell', 'GraphPowerShellWorkflow' * @readonly * @enum {string} */ -export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month'; +export type GraphRunbookType = 'GraphPowerShell' | 'GraphPowerShellWorkflow'; /** * Defines values for OperatingSystemType. @@ -4511,132 +5186,207 @@ export type LinuxUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'Oth export type TagOperators = 'All' | 'Any'; /** - * Defines values for SourceType. - * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' + * Defines values for RunbookTypeEnum. + * Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', + * 'GraphPowerShellWorkflow', 'GraphPowerShell' * @readonly * @enum {string} */ -export type SourceType = 'VsoGit' | 'VsoTfvc' | 'GitHub'; +export type RunbookTypeEnum = 'Script' | 'Graph' | 'PowerShellWorkflow' | 'PowerShell' | 'GraphPowerShellWorkflow' | 'GraphPowerShell'; /** - * Defines values for TokenType. - * Possible values include: 'PersonalAccessToken', 'Oauth' + * Defines values for RunbookState. + * Possible values include: 'New', 'Edit', 'Published' * @readonly * @enum {string} */ -export type TokenType = 'PersonalAccessToken' | 'Oauth'; +export type RunbookState = 'New' | 'Edit' | 'Published'; /** - * Defines values for ProvisioningState. - * Possible values include: 'Completed', 'Failed', 'Running' + * Defines values for RunbookProvisioningState. + * Possible values include: 'Succeeded' * @readonly * @enum {string} */ -export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; +export type RunbookProvisioningState = 'Succeeded'; /** - * Defines values for SyncType. - * Possible values include: 'PartialSync', 'FullSync' + * Defines values for HttpStatusCode. + * Possible values include: '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' * @readonly * @enum {string} */ -export type SyncType = 'PartialSync' | 'FullSync'; +export type HttpStatusCode = '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'; /** - * Defines values for StreamType. - * Possible values include: 'Error', 'Output' + * Defines values for WorkerType. + * Possible values include: 'HybridV1', 'HybridV2' * @readonly * @enum {string} */ -export type StreamType = 'Error' | 'Output'; +export type WorkerType = 'HybridV1' | 'HybridV2'; /** - * Defines values for JobStreamType. - * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' + * Defines values for CountType. + * Possible values include: 'status', 'nodeconfiguration' * @readonly * @enum {string} */ -export type JobStreamType = 'Progress' | 'Output' | 'Warning' | 'Error' | 'Debug' | 'Verbose' | 'Any'; +export type CountType = 'status' | 'nodeconfiguration'; /** - * Defines values for JobStatus. - * Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', - * 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing' - * @readonly - * @enum {string} + * Contains response data for the listByAutomationAccount operation. */ -export type JobStatus = 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing'; +export type PrivateEndpointConnectionsListByAutomationAccountResponse = PrivateEndpointConnectionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnectionListResult; + }; +}; /** - * Defines values for JobProvisioningState. - * Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type JobProvisioningState = 'Failed' | 'Succeeded' | 'Suspended' | 'Processing'; +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; +}; /** - * Defines values for AgentRegistrationKeyName. - * Possible values include: 'primary', 'secondary' - * @readonly - * @enum {string} + * Contains response data for the automation operation. */ -export type AgentRegistrationKeyName = 'primary' | 'secondary'; +export type PrivateLinkResourcesAutomationResponse = PrivateLinkResourceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RunbookTypeEnum. - * Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', - * 'GraphPowerShellWorkflow', 'GraphPowerShell' - * @readonly - * @enum {string} - */ -export type RunbookTypeEnum = 'Script' | 'Graph' | 'PowerShellWorkflow' | 'PowerShell' | 'GraphPowerShellWorkflow' | 'GraphPowerShell'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourceListResult; + }; +}; /** - * Defines values for RunbookState. - * Possible values include: 'New', 'Edit', 'Published' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type RunbookState = 'New' | 'Edit' | 'Published'; +export type Python2PackageGetResponse = Module & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RunbookProvisioningState. - * Possible values include: 'Succeeded' - * @readonly - * @enum {string} - */ -export type RunbookProvisioningState = 'Succeeded'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Module; + }; +}; /** - * Defines values for HttpStatusCode. - * Possible values include: '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' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type HttpStatusCode = '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'; +export type Python2PackageCreateOrUpdateResponse = Module & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for CountType. - * Possible values include: 'status', 'nodeconfiguration' - * @readonly - * @enum {string} - */ -export type CountType = 'status' | 'nodeconfiguration'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Module; + }; +}; /** * Contains response data for the update operation. */ -export type AutomationAccountUpdateResponse = AutomationAccount & { +export type Python2PackageUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -4649,14 +5399,14 @@ export type AutomationAccountUpdateResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: Module; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccount operation. */ -export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { +export type Python2PackageListByAutomationAccountResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -4669,14 +5419,14 @@ export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type AutomationAccountGetResponse = AutomationAccount & { +export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -4689,14 +5439,14 @@ export type AutomationAccountGetResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type AutomationAccountListByResourceGroupResponse = AutomationAccountListResult & { +export type AgentRegistrationInformationGetResponse = AgentRegistration & { /** * The underlying HTTP response. */ @@ -4709,14 +5459,14 @@ export type AutomationAccountListByResourceGroupResponse = AutomationAccountList /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: AgentRegistration; }; }; /** - * Contains response data for the list operation. + * Contains response data for the regenerateKey operation. */ -export type AutomationAccountListResponse = AutomationAccountListResult & { +export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistration & { /** * The underlying HTTP response. */ @@ -4729,14 +5479,14 @@ export type AutomationAccountListResponse = AutomationAccountListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: AgentRegistration; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type AutomationAccountListByResourceGroupNextResponse = AutomationAccountListResult & { +export type DscNodeGetResponse = DscNode & { /** * The underlying HTTP response. */ @@ -4749,14 +5499,14 @@ export type AutomationAccountListByResourceGroupNextResponse = AutomationAccount /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: DscNode; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type AutomationAccountListNextResponse = AutomationAccountListResult & { +export type DscNodeUpdateResponse = DscNode & { /** * The underlying HTTP response. */ @@ -4769,14 +5519,14 @@ export type AutomationAccountListNextResponse = AutomationAccountListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: DscNode; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByAutomationAccount operation. */ -export type OperationsListResponse = OperationListResult & { +export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { /** * The underlying HTTP response. */ @@ -4789,14 +5539,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: DscNodeListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { +export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { /** * The underlying HTTP response. */ @@ -4809,14 +5559,14 @@ export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: StatisticsListResult; + parsedBody: DscNodeListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByNode operation. */ -export type UsagesListByAutomationAccountResponse = UsageListResult & { +export type NodeReportsListByNodeResponse = DscNodeReportListResult & { /** * The underlying HTTP response. */ @@ -4829,14 +5579,14 @@ export type UsagesListByAutomationAccountResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: DscNodeReportListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the get operation. */ -export type KeysListByAutomationAccountResponse = KeyListResult & { +export type NodeReportsGetResponse = DscNodeReport & { /** * The underlying HTTP response. */ @@ -4849,14 +5599,19 @@ export type KeysListByAutomationAccountResponse = KeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: KeyListResult; + parsedBody: DscNodeReport; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getContent operation. */ -export type CertificateGetResponse = Certificate & { +export type NodeReportsGetContentResponse = { + /** + * The parsed response body. + */ + body: any; + /** * The underlying HTTP response. */ @@ -4869,14 +5624,14 @@ export type CertificateGetResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: any; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByNodeNext operation. */ -export type CertificateCreateOrUpdateResponse = Certificate & { +export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { /** * The underlying HTTP response. */ @@ -4889,14 +5644,14 @@ export type CertificateCreateOrUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: DscNodeReportListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type CertificateUpdateResponse = Certificate & { +export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { /** * The underlying HTTP response. */ @@ -4909,14 +5664,14 @@ export type CertificateUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: DscNodeConfiguration; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the createOrUpdate operation. */ -export type CertificateListByAutomationAccountResponse = CertificateListResult & { +export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & { /** * The underlying HTTP response. */ @@ -4929,14 +5684,14 @@ export type CertificateListByAutomationAccountResponse = CertificateListResult & /** * The response body as parsed JSON or XML */ - parsedBody: CertificateListResult; + parsedBody: DscNodeConfiguration; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type CertificateListByAutomationAccountNextResponse = CertificateListResult & { +export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult & { /** * The underlying HTTP response. */ @@ -4949,14 +5704,14 @@ export type CertificateListByAutomationAccountNextResponse = CertificateListResu /** * The response body as parsed JSON or XML */ - parsedBody: CertificateListResult; + parsedBody: DscNodeConfigurationListResult; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ConnectionDeleteMethodResponse = Connection & { +export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfiguration & { /** * The underlying HTTP response. */ @@ -4969,14 +5724,14 @@ export type ConnectionDeleteMethodResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscNodeConfiguration; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type ConnectionGetResponse = Connection & { +export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult & { /** * The underlying HTTP response. */ @@ -4989,14 +5744,14 @@ export type ConnectionGetResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscNodeConfigurationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the create operation. */ -export type ConnectionCreateOrUpdateResponse = Connection & { +export type DscCompilationJobCreateResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5009,14 +5764,14 @@ export type ConnectionCreateOrUpdateResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscCompilationJob; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ConnectionUpdateResponse = Connection & { +export type DscCompilationJobGetResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5029,14 +5784,14 @@ export type ConnectionUpdateResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscCompilationJob; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { +export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJobListResult & { /** * The underlying HTTP response. */ @@ -5049,14 +5804,14 @@ export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionListResult; + parsedBody: DscCompilationJobListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the getStream operation. */ -export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult & { +export type DscCompilationJobGetStreamResponse = JobStream & { /** * The underlying HTTP response. */ @@ -5069,14 +5824,14 @@ export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionListResult; + parsedBody: JobStream; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type ConnectionTypeGetResponse = ConnectionType & { +export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5089,14 +5844,14 @@ export type ConnectionTypeGetResponse = ConnectionType & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionType; + parsedBody: DscCompilationJob; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { +export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilationJobListResult & { /** * The underlying HTTP response. */ @@ -5109,14 +5864,14 @@ export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionType; + parsedBody: DscCompilationJobListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByJob operation. */ -export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult & { +export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -5129,14 +5884,14 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionTypeListResult; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the get operation. */ -export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult & { +export type NodeCountInformationGetResponse = NodeCounts & { /** * The underlying HTTP response. */ @@ -5149,14 +5904,14 @@ export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeLi /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionTypeListResult; + parsedBody: NodeCounts; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type CredentialGetResponse = Credential & { +export type SourceControlCreateOrUpdateResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5169,14 +5924,14 @@ export type CredentialGetResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: SourceControl; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type CredentialCreateOrUpdateResponse = Credential & { +export type SourceControlUpdateResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5189,14 +5944,14 @@ export type CredentialCreateOrUpdateResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: SourceControl; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type CredentialUpdateResponse = Credential & { +export type SourceControlGetResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5209,14 +5964,14 @@ export type CredentialUpdateResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: SourceControl; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type CredentialListByAutomationAccountResponse = CredentialListResult & { +export type SourceControlListByAutomationAccountResponse = SourceControlListResult & { /** * The underlying HTTP response. */ @@ -5229,14 +5984,14 @@ export type CredentialListByAutomationAccountResponse = CredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: CredentialListResult; + parsedBody: SourceControlListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type CredentialListByAutomationAccountNextResponse = CredentialListResult & { +export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult & { /** * The underlying HTTP response. */ @@ -5249,14 +6004,14 @@ export type CredentialListByAutomationAccountNextResponse = CredentialListResult /** * The response body as parsed JSON or XML */ - parsedBody: CredentialListResult; + parsedBody: SourceControlListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type DscConfigurationGetResponse = DscConfiguration & { +export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { /** * The underlying HTTP response. */ @@ -5269,14 +6024,14 @@ export type DscConfigurationGetResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControlSyncJob; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { +export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { /** * The underlying HTTP response. */ @@ -5289,14 +6044,14 @@ export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControlSyncJobById; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type DscConfigurationUpdateResponse = DscConfiguration & { +export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult & { /** * The underlying HTTP response. */ @@ -5309,40 +6064,14 @@ export type DscConfigurationUpdateResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControlSyncJobListResult; }; }; /** - * Contains response data for the getContent operation. - */ -export type DscConfigurationGetContentResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult & { +export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult & { /** * The underlying HTTP response. */ @@ -5355,14 +6084,14 @@ export type DscConfigurationListByAutomationAccountResponse = DscConfigurationLi /** * The response body as parsed JSON or XML */ - parsedBody: DscConfigurationListResult; + parsedBody: SourceControlSyncJobListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listBySyncJob operation. */ -export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult & { +export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob & { /** * The underlying HTTP response. */ @@ -5375,14 +6104,14 @@ export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: DscConfigurationListResult; + parsedBody: SourceControlSyncJobStreamsListBySyncJob; }; }; /** * Contains response data for the get operation. */ -export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { +export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById & { /** * The underlying HTTP response. */ @@ -5395,14 +6124,14 @@ export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroup; + parsedBody: SourceControlSyncJobStreamById; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listBySyncJobNext operation. */ -export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & { +export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob & { /** * The underlying HTTP response. */ @@ -5415,14 +6144,14 @@ export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroup; + parsedBody: SourceControlSyncJobStreamsListBySyncJob; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the update operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult & { +export type AutomationAccountUpdateResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5435,14 +6164,14 @@ export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunb /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroupsListResult; + parsedBody: AutomationAccount; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the createOrUpdate operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult & { +export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5455,14 +6184,14 @@ export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = Hybrid /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroupsListResult; + parsedBody: AutomationAccount; }; }; /** * Contains response data for the get operation. */ -export type JobScheduleGetResponse = JobSchedule & { +export type AutomationAccountGetResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5475,14 +6204,14 @@ export type JobScheduleGetResponse = JobSchedule & { /** * The response body as parsed JSON or XML */ - parsedBody: JobSchedule; + parsedBody: AutomationAccount; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByResourceGroup operation. */ -export type JobScheduleCreateResponse = JobSchedule & { +export type AutomationAccountListByResourceGroupResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5495,14 +6224,14 @@ export type JobScheduleCreateResponse = JobSchedule & { /** * The response body as parsed JSON or XML */ - parsedBody: JobSchedule; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the list operation. */ -export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & { +export type AutomationAccountListResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5515,14 +6244,14 @@ export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobScheduleListResult; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult & { +export type AutomationAccountListByResourceGroupNextResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5535,14 +6264,14 @@ export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobScheduleListResult; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type LinkedWorkspaceGetResponse = LinkedWorkspace & { +export type AutomationAccountListNextResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5555,14 +6284,14 @@ export type LinkedWorkspaceGetResponse = LinkedWorkspace & { /** * The response body as parsed JSON or XML */ - parsedBody: LinkedWorkspace; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ActivityGetResponse = Activity & { +export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { /** * The underlying HTTP response. */ @@ -5575,14 +6304,14 @@ export type ActivityGetResponse = Activity & { /** * The response body as parsed JSON or XML */ - parsedBody: Activity; + parsedBody: StatisticsListResult; }; }; /** - * Contains response data for the listByModule operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ActivityListByModuleResponse = ActivityListResult & { +export type UsagesListByAutomationAccountResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -5595,14 +6324,14 @@ export type ActivityListByModuleResponse = ActivityListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ActivityListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the listByModuleNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ActivityListByModuleNextResponse = ActivityListResult & { +export type KeysListByAutomationAccountResponse = KeyListResult & { /** * The underlying HTTP response. */ @@ -5615,14 +6344,14 @@ export type ActivityListByModuleNextResponse = ActivityListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ActivityListResult; + parsedBody: KeyListResult; }; }; /** * Contains response data for the get operation. */ -export type ModuleGetResponse = Module & { +export type CertificateGetResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5635,14 +6364,14 @@ export type ModuleGetResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Certificate; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ModuleCreateOrUpdateResponse = Module & { +export type CertificateCreateOrUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5655,14 +6384,14 @@ export type ModuleCreateOrUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Certificate; }; }; /** * Contains response data for the update operation. */ -export type ModuleUpdateResponse = Module & { +export type CertificateUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5675,14 +6404,14 @@ export type ModuleUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Certificate; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type ModuleListByAutomationAccountResponse = ModuleListResult & { +export type CertificateListByAutomationAccountResponse = CertificateListResult & { /** * The underlying HTTP response. */ @@ -5695,14 +6424,14 @@ export type ModuleListByAutomationAccountResponse = ModuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: CertificateListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { +export type CertificateListByAutomationAccountNextResponse = CertificateListResult & { /** * The underlying HTTP response. */ @@ -5715,14 +6444,14 @@ export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: CertificateListResult; }; }; /** - * Contains response data for the listFieldsByModuleAndType operation. + * Contains response data for the get operation. */ -export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult & { +export type ConnectionGetResponse = Connection & { /** * The underlying HTTP response. */ @@ -5735,14 +6464,14 @@ export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResu /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Connection; }; }; /** - * Contains response data for the listFieldsByType operation. + * Contains response data for the createOrUpdate operation. */ -export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { +export type ConnectionCreateOrUpdateResponse = Connection & { /** * The underlying HTTP response. */ @@ -5755,14 +6484,14 @@ export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Connection; }; }; /** - * Contains response data for the listByType operation. + * Contains response data for the update operation. */ -export type FieldsListByTypeResponse = TypeFieldListResult & { +export type ConnectionUpdateResponse = Connection & { /** * The underlying HTTP response. */ @@ -5775,14 +6504,14 @@ export type FieldsListByTypeResponse = TypeFieldListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Connection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ScheduleCreateOrUpdateResponse = Schedule & { +export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { /** * The underlying HTTP response. */ @@ -5795,14 +6524,14 @@ export type ScheduleCreateOrUpdateResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: ConnectionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type ScheduleUpdateResponse = Schedule & { +export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult & { /** * The underlying HTTP response. */ @@ -5815,14 +6544,14 @@ export type ScheduleUpdateResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: ConnectionListResult; }; }; /** * Contains response data for the get operation. */ -export type ScheduleGetResponse = Schedule & { +export type ConnectionTypeGetResponse = ConnectionType & { /** * The underlying HTTP response. */ @@ -5835,14 +6564,14 @@ export type ScheduleGetResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: ConnectionType; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the createOrUpdate operation. */ -export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { +export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { /** * The underlying HTTP response. */ @@ -5855,14 +6584,14 @@ export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ScheduleListResult; + parsedBody: ConnectionType; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { +export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult & { /** * The underlying HTTP response. */ @@ -5875,14 +6604,14 @@ export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ScheduleListResult; + parsedBody: ConnectionTypeListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type VariableCreateOrUpdateResponse = Variable & { +export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult & { /** * The underlying HTTP response. */ @@ -5895,14 +6624,14 @@ export type VariableCreateOrUpdateResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: ConnectionTypeListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type VariableUpdateResponse = Variable & { +export type CredentialGetResponse = Credential & { /** * The underlying HTTP response. */ @@ -5915,14 +6644,14 @@ export type VariableUpdateResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: Credential; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type VariableGetResponse = Variable & { +export type CredentialCreateOrUpdateResponse = Credential & { /** * The underlying HTTP response. */ @@ -5935,14 +6664,14 @@ export type VariableGetResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: Credential; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the update operation. */ -export type VariableListByAutomationAccountResponse = VariableListResult & { +export type CredentialUpdateResponse = Credential & { /** * The underlying HTTP response. */ @@ -5955,14 +6684,14 @@ export type VariableListByAutomationAccountResponse = VariableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VariableListResult; + parsedBody: Credential; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type VariableListByAutomationAccountNextResponse = VariableListResult & { +export type CredentialListByAutomationAccountResponse = CredentialListResult & { /** * The underlying HTTP response. */ @@ -5975,19 +6704,14 @@ export type VariableListByAutomationAccountNextResponse = VariableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VariableListResult; + parsedBody: CredentialListResult; }; }; /** - * Contains response data for the generateUri operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type WebhookGenerateUriResponse = { - /** - * The parsed response body. - */ - body: string; - +export type CredentialListByAutomationAccountNextResponse = CredentialListResult & { /** * The underlying HTTP response. */ @@ -6000,14 +6724,14 @@ export type WebhookGenerateUriResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: string; + parsedBody: CredentialListResult; }; }; /** * Contains response data for the get operation. */ -export type WebhookGetResponse = Webhook & { +export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { /** * The underlying HTTP response. */ @@ -6020,14 +6744,14 @@ export type WebhookGetResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: HybridRunbookWorkerGroup; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the create operation. */ -export type WebhookCreateOrUpdateResponse = Webhook & { +export type HybridRunbookWorkerGroupCreateResponse = HybridRunbookWorkerGroup & { /** * The underlying HTTP response. */ @@ -6040,14 +6764,14 @@ export type WebhookCreateOrUpdateResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: HybridRunbookWorkerGroup; }; }; /** * Contains response data for the update operation. */ -export type WebhookUpdateResponse = Webhook & { +export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & { /** * The underlying HTTP response. */ @@ -6060,14 +6784,14 @@ export type WebhookUpdateResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: HybridRunbookWorkerGroup; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type WebhookListByAutomationAccountResponse = WebhookListResult & { +export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult & { /** * The underlying HTTP response. */ @@ -6080,14 +6804,14 @@ export type WebhookListByAutomationAccountResponse = WebhookListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WebhookListResult; + parsedBody: HybridRunbookWorkerGroupsListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { +export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult & { /** * The underlying HTTP response. */ @@ -6100,14 +6824,14 @@ export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WebhookListResult; + parsedBody: HybridRunbookWorkerGroupsListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type WatcherCreateOrUpdateResponse = Watcher & { +export type JobScheduleGetResponse = JobSchedule & { /** * The underlying HTTP response. */ @@ -6120,14 +6844,14 @@ export type WatcherCreateOrUpdateResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: JobSchedule; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type WatcherGetResponse = Watcher & { +export type JobScheduleCreateResponse = JobSchedule & { /** * The underlying HTTP response. */ @@ -6140,14 +6864,14 @@ export type WatcherGetResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: JobSchedule; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type WatcherUpdateResponse = Watcher & { +export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & { /** * The underlying HTTP response. */ @@ -6160,14 +6884,14 @@ export type WatcherUpdateResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: JobScheduleListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type WatcherListByAutomationAccountResponse = WatcherListResult & { +export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult & { /** * The underlying HTTP response. */ @@ -6180,14 +6904,14 @@ export type WatcherListByAutomationAccountResponse = WatcherListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WatcherListResult; + parsedBody: JobScheduleListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the get operation. */ -export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { +export type LinkedWorkspaceGetResponse = LinkedWorkspace & { /** * The underlying HTTP response. */ @@ -6200,14 +6924,14 @@ export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WatcherListResult; + parsedBody: LinkedWorkspace; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration & { +export type ActivityGetResponse = Activity & { /** * The underlying HTTP response. */ @@ -6220,14 +6944,14 @@ export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfigura /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfiguration; + parsedBody: Activity; }; }; /** - * Contains response data for the getByName operation. + * Contains response data for the listByModule operation. */ -export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration & { +export type ActivityListByModuleResponse = ActivityListResult & { /** * The underlying HTTP response. */ @@ -6240,14 +6964,14 @@ export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfig /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfiguration; + parsedBody: ActivityListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByModuleNext operation. */ -export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult & { +export type ActivityListByModuleNextResponse = ActivityListResult & { /** * The underlying HTTP response. */ @@ -6260,14 +6984,14 @@ export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationListResult; + parsedBody: ActivityListResult; }; }; /** - * Contains response data for the getById operation. + * Contains response data for the get operation. */ -export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun & { +export type ModuleGetResponse = Module & { /** * The underlying HTTP response. */ @@ -6280,14 +7004,14 @@ export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfi /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationRun; + parsedBody: Module; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult & { +export type ModuleCreateOrUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -6300,14 +7024,14 @@ export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigur /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationRunListResult; + parsedBody: Module; }; }; /** - * Contains response data for the getById operation. + * Contains response data for the update operation. */ -export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun & { +export type ModuleUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -6320,14 +7044,14 @@ export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpda /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationMachineRun; + parsedBody: Module; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByAutomationAccount operation. */ -export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult & { +export type ModuleListByAutomationAccountResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -6340,14 +7064,14 @@ export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateC /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationMachineRunListResult; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type SourceControlCreateOrUpdateResponse = SourceControl & { +export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -6360,14 +7084,14 @@ export type SourceControlCreateOrUpdateResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listFieldsByModuleAndType operation. */ -export type SourceControlUpdateResponse = SourceControl & { +export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6380,14 +7104,14 @@ export type SourceControlUpdateResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listFieldsByType operation. */ -export type SourceControlGetResponse = SourceControl & { +export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6400,14 +7124,14 @@ export type SourceControlGetResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByType operation. */ -export type SourceControlListByAutomationAccountResponse = SourceControlListResult & { +export type FieldsListByTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6420,14 +7144,14 @@ export type SourceControlListByAutomationAccountResponse = SourceControlListResu /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlListResult; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult & { +export type ScheduleCreateOrUpdateResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6440,14 +7164,14 @@ export type SourceControlListByAutomationAccountNextResponse = SourceControlList /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlListResult; + parsedBody: Schedule; }; }; /** - * Contains response data for the create operation. + * Contains response data for the update operation. */ -export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { +export type ScheduleUpdateResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6460,14 +7184,14 @@ export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJob; + parsedBody: Schedule; }; }; /** * Contains response data for the get operation. */ -export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { +export type ScheduleGetResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6480,14 +7204,14 @@ export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobById; + parsedBody: Schedule; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult & { +export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { /** * The underlying HTTP response. */ @@ -6500,14 +7224,14 @@ export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlS /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobListResult; + parsedBody: ScheduleListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult & { +export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { /** * The underlying HTTP response. */ @@ -6520,14 +7244,14 @@ export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceCont /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobListResult; + parsedBody: ScheduleListResult; }; }; /** - * Contains response data for the listBySyncJob operation. + * Contains response data for the createOrUpdate operation. */ -export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob & { +export type VariableCreateOrUpdateResponse = Variable & { /** * The underlying HTTP response. */ @@ -6540,14 +7264,14 @@ export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSync /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamsListBySyncJob; + parsedBody: Variable; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById & { +export type VariableUpdateResponse = Variable & { /** * The underlying HTTP response. */ @@ -6560,14 +7284,14 @@ export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamB /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamById; + parsedBody: Variable; }; }; /** - * Contains response data for the listBySyncJobNext operation. + * Contains response data for the get operation. */ -export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob & { +export type VariableGetResponse = Variable & { /** * The underlying HTTP response. */ @@ -6580,66 +7304,14 @@ export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControl /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamsListBySyncJob; + parsedBody: Variable; }; }; /** - * Contains response data for the getOutput operation. - */ -export type JobGetOutputResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the getRunbookContent operation. - */ -export type JobGetRunbookContentResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccount operation. */ -export type JobGetResponse = Job & { +export type VariableListByAutomationAccountResponse = VariableListResult & { /** * The underlying HTTP response. */ @@ -6652,14 +7324,14 @@ export type JobGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: VariableListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type JobCreateResponse = Job & { +export type VariableListByAutomationAccountNextResponse = VariableListResult & { /** * The underlying HTTP response. */ @@ -6672,14 +7344,14 @@ export type JobCreateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: VariableListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the createOrUpdate operation. */ -export type JobListByAutomationAccountResponse = JobListResultV2 & { +export type WatcherCreateOrUpdateResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6692,14 +7364,14 @@ export type JobListByAutomationAccountResponse = JobListResultV2 & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResultV2; + parsedBody: Watcher; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the get operation. */ -export type JobListByAutomationAccountNextResponse = JobListResultV2 & { +export type WatcherGetResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6712,14 +7384,14 @@ export type JobListByAutomationAccountNextResponse = JobListResultV2 & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResultV2; + parsedBody: Watcher; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type JobStreamGetResponse = JobStream & { +export type WatcherUpdateResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6732,14 +7404,14 @@ export type JobStreamGetResponse = JobStream & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStream; + parsedBody: Watcher; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the listByAutomationAccount operation. */ -export type JobStreamListByJobResponse = JobStreamListResult & { +export type WatcherListByAutomationAccountResponse = WatcherListResult & { /** * The underlying HTTP response. */ @@ -6752,14 +7424,14 @@ export type JobStreamListByJobResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: WatcherListResult; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type JobStreamListByJobNextResponse = JobStreamListResult & { +export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { /** * The underlying HTTP response. */ @@ -6772,14 +7444,14 @@ export type JobStreamListByJobNextResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: WatcherListResult; }; }; /** * Contains response data for the get operation. */ -export type AgentRegistrationInformationGetResponse = AgentRegistration & { +export type DscConfigurationGetResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6792,14 +7464,14 @@ export type AgentRegistrationInformationGetResponse = AgentRegistration & { /** * The response body as parsed JSON or XML */ - parsedBody: AgentRegistration; + parsedBody: DscConfiguration; }; }; /** - * Contains response data for the regenerateKey operation. + * Contains response data for the createOrUpdate operation. */ -export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistration & { +export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6812,14 +7484,14 @@ export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistratio /** * The response body as parsed JSON or XML */ - parsedBody: AgentRegistration; + parsedBody: DscConfiguration; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the update operation. */ -export type DscNodeDeleteMethodResponse = DscNode & { +export type DscConfigurationUpdateResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6832,14 +7504,19 @@ export type DscNodeDeleteMethodResponse = DscNode & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNode; + parsedBody: DscConfiguration; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getContent operation. */ -export type DscNodeGetResponse = DscNode & { +export type DscConfigurationGetContentResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -6852,14 +7529,14 @@ export type DscNodeGetResponse = DscNode & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNode; + parsedBody: string; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type DscNodeUpdateResponse = DscNode & { +export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult & { /** * The underlying HTTP response. */ @@ -6872,14 +7549,14 @@ export type DscNodeUpdateResponse = DscNode & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNode; + parsedBody: DscConfigurationListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { +export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult & { /** * The underlying HTTP response. */ @@ -6892,14 +7569,19 @@ export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeListResult; + parsedBody: DscConfigurationListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the getOutput operation. */ -export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { +export type JobGetOutputResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -6912,14 +7594,19 @@ export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeListResult; + parsedBody: string; }; }; /** - * Contains response data for the listByNode operation. + * Contains response data for the getRunbookContent operation. */ -export type NodeReportsListByNodeResponse = DscNodeReportListResult & { +export type JobGetRunbookContentResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -6932,14 +7619,14 @@ export type NodeReportsListByNodeResponse = DscNodeReportListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReportListResult; + parsedBody: string; }; }; /** * Contains response data for the get operation. */ -export type NodeReportsGetResponse = DscNodeReport & { +export type JobGetResponse = Job & { /** * The underlying HTTP response. */ @@ -6952,19 +7639,14 @@ export type NodeReportsGetResponse = DscNodeReport & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReport; + parsedBody: Job; }; }; /** - * Contains response data for the getContent operation. + * Contains response data for the create operation. */ -export type NodeReportsGetContentResponse = { - /** - * The parsed response body. - */ - body: any; - +export type JobCreateResponse = Job & { /** * The underlying HTTP response. */ @@ -6977,14 +7659,14 @@ export type NodeReportsGetContentResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: Job; }; }; /** - * Contains response data for the listByNodeNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { +export type JobListByAutomationAccountResponse = JobListResultV2 & { /** * The underlying HTTP response. */ @@ -6997,14 +7679,14 @@ export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReportListResult; + parsedBody: JobListResultV2; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type DscCompilationJobCreateResponse = DscCompilationJob & { +export type JobListByAutomationAccountNextResponse = JobListResultV2 & { /** * The underlying HTTP response. */ @@ -7017,14 +7699,14 @@ export type DscCompilationJobCreateResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: JobListResultV2; }; }; /** * Contains response data for the get operation. */ -export type DscCompilationJobGetResponse = DscCompilationJob & { +export type JobStreamGetResponse = JobStream & { /** * The underlying HTTP response. */ @@ -7037,14 +7719,14 @@ export type DscCompilationJobGetResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: JobStream; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByJob operation. */ -export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJobListResult & { +export type JobStreamListByJobResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -7057,14 +7739,14 @@ export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJob /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJobListResult; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the getStream operation. + * Contains response data for the listByJobNext operation. */ -export type DscCompilationJobGetStreamResponse = JobStream & { +export type JobStreamListByJobNextResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -7077,14 +7759,14 @@ export type DscCompilationJobGetStreamResponse = JobStream & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStream; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the list operation. */ -export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -7097,14 +7779,14 @@ export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the convertGraphRunbookContent operation. */ -export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilationJobListResult & { +export type ConvertGraphRunbookContentResponse = GraphicalRunbookContent & { /** * The underlying HTTP response. */ @@ -7117,14 +7799,14 @@ export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilatio /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJobListResult; + parsedBody: GraphicalRunbookContent; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the create operation. */ -export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { +export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration & { /** * The underlying HTTP response. */ @@ -7137,14 +7819,14 @@ export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: SoftwareUpdateConfiguration; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getByName operation. */ -export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration & { /** * The underlying HTTP response. */ @@ -7157,14 +7839,14 @@ export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfiguration; + parsedBody: SoftwareUpdateConfiguration; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult & { /** * The underlying HTTP response. */ @@ -7177,14 +7859,14 @@ export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfiguration; + parsedBody: SoftwareUpdateConfigurationListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the getById operation. */ -export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult & { +export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun & { /** * The underlying HTTP response. */ @@ -7197,14 +7879,14 @@ export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigu /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfigurationListResult; + parsedBody: SoftwareUpdateConfigurationRun; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the list operation. */ -export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult & { /** * The underlying HTTP response. */ @@ -7217,14 +7899,14 @@ export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfiguration; + parsedBody: SoftwareUpdateConfigurationRunListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the getById operation. */ -export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult & { +export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun & { /** * The underlying HTTP response. */ @@ -7237,14 +7919,14 @@ export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeCon /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfigurationListResult; + parsedBody: SoftwareUpdateConfigurationMachineRun; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type NodeCountInformationGetResponse = NodeCounts & { +export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult & { /** * The underlying HTTP response. */ @@ -7257,7 +7939,7 @@ export type NodeCountInformationGetResponse = NodeCounts & { /** * The response body as parsed JSON or XML */ - parsedBody: NodeCounts; + parsedBody: SoftwareUpdateConfigurationMachineRunListResult; }; }; @@ -7599,10 +8281,35 @@ export type TestJobGetResponse = TestJob & { }; }; +/** + * Contains response data for the generateUri operation. + */ +export type WebhookGenerateUriResponse = { + /** + * The parsed response body. + */ + body: string; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: string; + }; +}; + /** * Contains response data for the get operation. */ -export type Python2PackageGetResponse = Module & { +export type WebhookGetResponse = Webhook & { /** * The underlying HTTP response. */ @@ -7615,14 +8322,14 @@ export type Python2PackageGetResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Webhook; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type Python2PackageCreateOrUpdateResponse = Module & { +export type WebhookCreateOrUpdateResponse = Webhook & { /** * The underlying HTTP response. */ @@ -7635,14 +8342,14 @@ export type Python2PackageCreateOrUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Webhook; }; }; /** * Contains response data for the update operation. */ -export type Python2PackageUpdateResponse = Module & { +export type WebhookUpdateResponse = Webhook & { /** * The underlying HTTP response. */ @@ -7655,14 +8362,14 @@ export type Python2PackageUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: Webhook; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type Python2PackageListByAutomationAccountResponse = ModuleListResult & { +export type WebhookListByAutomationAccountResponse = WebhookListResult & { /** * The underlying HTTP response. */ @@ -7675,14 +8382,14 @@ export type Python2PackageListByAutomationAccountResponse = ModuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: WebhookListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult & { +export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { /** * The underlying HTTP response. */ @@ -7695,6 +8402,86 @@ export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: WebhookListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type HybridRunbookWorkersGetResponse = HybridRunbookWorker & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HybridRunbookWorker; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type HybridRunbookWorkersCreateResponse = HybridRunbookWorker & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HybridRunbookWorker; + }; +}; + +/** + * Contains response data for the listByHybridRunbookWorkerGroup operation. + */ +export type HybridRunbookWorkersListByHybridRunbookWorkerGroupResponse = HybridRunbookWorkersListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HybridRunbookWorkersListResult; + }; +}; + +/** + * Contains response data for the listByHybridRunbookWorkerGroupNext operation. + */ +export type HybridRunbookWorkersListByHybridRunbookWorkerGroupNextResponse = HybridRunbookWorkersListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HybridRunbookWorkersListResult; }; }; diff --git a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts index c454aab004a3..199bd9096eb3 100644 --- a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -27,27 +27,41 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, JobCreateParameters, JobListResultV2, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts index d34c750a6e68..35a51de3c099 100644 --- a/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/keysMappers.ts b/sdk/automation/arm-automation/src/models/keysMappers.ts index 0e67095af658..09f41e06e5fb 100644 --- a/sdk/automation/arm-automation/src/models/keysMappers.ts +++ b/sdk/automation/arm-automation/src/models/keysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts index 95e9f276fc47..b4af1249df2d 100644 --- a/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/mappers.ts b/sdk/automation/arm-automation/src/models/mappers.ts index 476881218cdf..4681cd78b3d5 100644 --- a/sdk/automation/arm-automation/src/models/mappers.ts +++ b/sdk/automation/arm-automation/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -12,29 +12,45 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", +export const PrivateEndpointProperty: msRest.CompositeMapper = { + serializedName: "PrivateEndpointProperty", type: { name: "Composite", - className: "Sku", + className: "PrivateEndpointProperty", modelProperties: { - name: { - required: true, - serializedName: "name", + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionStateProperty: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionStateProperty", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, - family: { - serializedName: "family", + description: { + serializedName: "description", type: { name: "String" } }, - capacity: { - serializedName: "capacity", + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", type: { - name: "Number" + name: "String" } } } @@ -72,6 +88,42 @@ export const Resource: msRest.CompositeMapper = { } }; +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointProperty" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionStateProperty" + } + } + } + } +}; + export const TrackedResource: msRest.CompositeMapper = { serializedName: "TrackedResource", type: { @@ -100,57 +152,66 @@ export const TrackedResource: msRest.CompositeMapper = { } }; -export const AutomationAccount: msRest.CompositeMapper = { - serializedName: "AutomationAccount", +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", type: { name: "Composite", - className: "AutomationAccount", + className: "ErrorResponse", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "properties.sku", - type: { - name: "Composite", - className: "Sku" - } - }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", + code: { + serializedName: "code", type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "properties.state", + message: { + serializedName: "message", type: { name: "String" } - }, - creationTime: { - nullable: false, + } + } + } +}; + +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + groupId: { readOnly: true, - serializedName: "properties.creationTime", + serializedName: "properties.groupId", type: { - name: "DateTime" + name: "String" } }, - lastModifiedTime: { - nullable: false, + requiredMembers: { readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", + serializedName: "properties.requiredMembers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - etag: { - serializedName: "etag", + } + } + } +}; + +export const ActivityParameterValidationSet: msRest.CompositeMapper = { + serializedName: "ActivityParameterValidationSet", + type: { + name: "Composite", + className: "ActivityParameterValidationSet", + modelProperties: { + memberValue: { + serializedName: "memberValue", type: { name: "String" } @@ -159,38 +220,74 @@ export const AutomationAccount: msRest.CompositeMapper = { } }; -export const AutomationAccountCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "AutomationAccountCreateOrUpdateParameters", +export const ActivityParameter: msRest.CompositeMapper = { + serializedName: "ActivityParameter", type: { name: "Composite", - className: "AutomationAccountCreateOrUpdateParameters", + className: "ActivityParameter", modelProperties: { - sku: { - serializedName: "properties.sku", + name: { + serializedName: "name", type: { - name: "Composite", - className: "Sku" + name: "String" } }, - name: { - serializedName: "name", + type: { + serializedName: "type", type: { name: "String" } }, - location: { - serializedName: "location", + isMandatory: { + serializedName: "isMandatory", + type: { + name: "Boolean" + } + }, + isDynamic: { + serializedName: "isDynamic", + type: { + name: "Boolean" + } + }, + position: { + serializedName: "position", + type: { + name: "Number" + } + }, + valueFromPipeline: { + serializedName: "valueFromPipeline", + type: { + name: "Boolean" + } + }, + valueFromPipelineByPropertyName: { + serializedName: "valueFromPipelineByPropertyName", + type: { + name: "Boolean" + } + }, + valueFromRemainingArguments: { + serializedName: "valueFromRemainingArguments", + type: { + name: "Boolean" + } + }, + description: { + serializedName: "description", type: { name: "String" } }, - tags: { - serializedName: "tags", + validationSet: { + serializedName: "validationSet", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "ActivityParameterValidationSet" } } } @@ -199,39 +296,39 @@ export const AutomationAccountCreateOrUpdateParameters: msRest.CompositeMapper = } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "Operation_display", +export const ActivityParameterSet: msRest.CompositeMapper = { + serializedName: "ActivityParameterSet", type: { name: "Composite", - className: "OperationDisplay", + className: "ActivityParameterSet", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", + name: { + serializedName: "name", type: { name: "String" } }, - operation: { - serializedName: "operation", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityParameter" + } + } } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const ActivityOutputType: msRest.CompositeMapper = { + serializedName: "ActivityOutputType", type: { name: "Composite", - className: "Operation", + className: "ActivityOutputType", modelProperties: { name: { serializedName: "name", @@ -239,56 +336,81 @@ export const Operation: msRest.CompositeMapper = { name: "String" } }, - display: { - serializedName: "display", + type: { + serializedName: "type", type: { - name: "Composite", - className: "OperationDisplay" + name: "String" } } } } }; -export const Statistics: msRest.CompositeMapper = { - serializedName: "Statistics", +export const Activity: msRest.CompositeMapper = { + serializedName: "Activity", type: { name: "Composite", - className: "Statistics", + className: "Activity", modelProperties: { - counterProperty: { - readOnly: true, - serializedName: "counterProperty", + id: { + serializedName: "id", type: { name: "String" } }, - counterValue: { + name: { readOnly: true, - serializedName: "counterValue", + serializedName: "name", type: { - name: "Number" + name: "String" } }, - startTime: { - nullable: false, - readOnly: true, - serializedName: "startTime", + definition: { + serializedName: "properties.definition", + type: { + name: "String" + } + }, + parameterSets: { + serializedName: "properties.parameterSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityParameterSet" + } + } + } + }, + outputTypes: { + serializedName: "properties.outputTypes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityOutputType" + } + } + } + }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", type: { name: "DateTime" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "endTime", + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - id: { - readOnly: true, - serializedName: "id", + description: { + serializedName: "properties.description", type: { name: "String" } @@ -297,20 +419,20 @@ export const Statistics: msRest.CompositeMapper = { } }; -export const UsageCounterName: msRest.CompositeMapper = { - serializedName: "UsageCounterName", +export const ModuleErrorInfo: msRest.CompositeMapper = { + serializedName: "ModuleErrorInfo", type: { name: "Composite", - className: "UsageCounterName", + className: "ModuleErrorInfo", modelProperties: { - value: { - serializedName: "value", + code: { + serializedName: "code", type: { name: "String" } }, - localizedValue: { - serializedName: "localizedValue", + message: { + serializedName: "message", type: { name: "String" } @@ -319,45 +441,51 @@ export const UsageCounterName: msRest.CompositeMapper = { } }; -export const Usage: msRest.CompositeMapper = { - serializedName: "Usage", +export const ContentHash: msRest.CompositeMapper = { + serializedName: "ContentHash", type: { name: "Composite", - className: "Usage", + className: "ContentHash", modelProperties: { - id: { - serializedName: "id", + algorithm: { + required: true, + serializedName: "algorithm", type: { name: "String" } }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "UsageCounterName" - } - }, - unit: { - serializedName: "unit", + value: { + required: true, + serializedName: "value", type: { name: "String" } - }, - currentValue: { - serializedName: "currentValue", + } + } + } +}; + +export const ContentLink: msRest.CompositeMapper = { + serializedName: "ContentLink", + type: { + name: "Composite", + className: "ContentLink", + modelProperties: { + uri: { + serializedName: "uri", type: { - name: "Number" + name: "String" } }, - limit: { - serializedName: "limit", + contentHash: { + serializedName: "contentHash", type: { - name: "Number" + name: "Composite", + className: "ContentHash" } }, - throttleStatus: { - serializedName: "throttleStatus", + version: { + serializedName: "version", type: { name: "String" } @@ -366,82 +494,123 @@ export const Usage: msRest.CompositeMapper = { } }; -export const Key: msRest.CompositeMapper = { - serializedName: "Key", +export const Module: msRest.CompositeMapper = { + serializedName: "Module", type: { name: "Composite", - className: "Key", + className: "Module", modelProperties: { - keyName: { - readOnly: true, - serializedName: "KeyName", + ...TrackedResource.type.modelProperties, + isGlobal: { + serializedName: "properties.isGlobal", type: { - name: "String" + name: "Boolean" } }, - permissions: { - readOnly: true, - serializedName: "Permissions", + version: { + serializedName: "properties.version", type: { name: "String" } }, - value: { - readOnly: true, - serializedName: "Value", + sizeInBytes: { + serializedName: "properties.sizeInBytes", + type: { + name: "Number" + } + }, + activityCount: { + serializedName: "properties.activityCount", + type: { + name: "Number" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "Enum", + allowedValues: [ + "Created", + "Creating", + "StartingImportModuleRunbook", + "RunningImportModuleRunbook", + "ContentRetrieved", + "ContentDownloaded", + "ContentValidated", + "ConnectionTypeImported", + "ContentStored", + "ModuleDataStored", + "ActivitiesStored", + "ModuleImportRunbookComplete", + "Succeeded", + "Failed", + "Cancelled", + "Updating" + ] + } + }, + contentLink: { + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ModuleErrorInfo" + } + }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } - } - } - } -}; - -export const KeyListResult: msRest.CompositeMapper = { - serializedName: "KeyListResult", - type: { - name: "Composite", - className: "KeyListResult", - modelProperties: { - keys: { - serializedName: "keys", + }, + isComposite: { + serializedName: "properties.isComposite", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Key" - } - } + name: "Boolean" + } + }, + etag: { + serializedName: "etag", + type: { + name: "String" } } } } }; -export const AutomationAccountUpdateParameters: msRest.CompositeMapper = { - serializedName: "AutomationAccountUpdateParameters", +export const PythonPackageCreateParameters: msRest.CompositeMapper = { + serializedName: "PythonPackageCreateParameters", type: { name: "Composite", - className: "AutomationAccountUpdateParameters", + className: "PythonPackageCreateParameters", modelProperties: { - sku: { - serializedName: "properties.sku", + contentLink: { + required: true, + serializedName: "properties.contentLink", type: { name: "Composite", - className: "Sku" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - location: { - serializedName: "location", - type: { - name: "String" + className: "ContentLink" } }, tags: { @@ -459,31 +628,41 @@ export const AutomationAccountUpdateParameters: msRest.CompositeMapper = { } }; -export const ProxyResource: msRest.CompositeMapper = { - serializedName: "ProxyResource", +export const PythonPackageUpdateParameters: msRest.CompositeMapper = { + serializedName: "PythonPackageUpdateParameters", type: { name: "Composite", - className: "ProxyResource", + className: "PythonPackageUpdateParameters", modelProperties: { - ...Resource.type.modelProperties + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } } } }; -export const ErrorResponse: msRest.CompositeMapper = { - serializedName: "ErrorResponse", +export const TypeField: msRest.CompositeMapper = { + serializedName: "TypeField", type: { name: "Composite", - className: "ErrorResponse", + className: "TypeField", modelProperties: { - code: { - serializedName: "code", + name: { + serializedName: "name", type: { name: "String" } }, - message: { - serializedName: "message", + type: { + serializedName: "type", type: { name: "String" } @@ -492,362 +671,339 @@ export const ErrorResponse: msRest.CompositeMapper = { } }; -export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "CertificateCreateOrUpdateParameters", +export const DscReportError: msRest.CompositeMapper = { + serializedName: "DscReportError", type: { name: "Composite", - className: "CertificateCreateOrUpdateParameters", + className: "DscReportError", modelProperties: { - name: { - required: true, - serializedName: "name", + errorSource: { + serializedName: "errorSource", type: { name: "String" } }, - base64Value: { - required: true, - serializedName: "properties.base64Value", + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - description: { - serializedName: "properties.description", + errorCode: { + serializedName: "errorCode", type: { name: "String" } }, - thumbprint: { - serializedName: "properties.thumbprint", + errorMessage: { + serializedName: "errorMessage", type: { name: "String" } }, - isExportable: { - nullable: false, - serializedName: "properties.isExportable", + locale: { + serializedName: "locale", type: { - name: "Boolean" + name: "String" + } + }, + errorDetails: { + serializedName: "errorDetails", + type: { + name: "String" } } } } }; -export const Certificate: msRest.CompositeMapper = { - serializedName: "Certificate", +export const DscReportResourceNavigation: msRest.CompositeMapper = { + serializedName: "DscReportResourceNavigation", type: { name: "Composite", - className: "Certificate", + className: "DscReportResourceNavigation", modelProperties: { - ...ProxyResource.type.modelProperties, - thumbprint: { - readOnly: true, - serializedName: "properties.thumbprint", + resourceId: { + serializedName: "resourceId", + type: { + name: "String" + } + } + } + } +}; + +export const DscReportResource: msRest.CompositeMapper = { + serializedName: "DscReportResource", + type: { + name: "Composite", + className: "DscReportResource", + modelProperties: { + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - expiryTime: { - nullable: false, - readOnly: true, - serializedName: "properties.expiryTime", + sourceInfo: { + serializedName: "sourceInfo", type: { - name: "DateTime" + name: "String" } }, - isExportable: { - nullable: false, - readOnly: true, - serializedName: "properties.isExportable", + dependsOn: { + serializedName: "dependsOn", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscReportResourceNavigation" + } + } } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + moduleName: { + serializedName: "moduleName", type: { - name: "DateTime" + name: "String" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + moduleVersion: { + serializedName: "moduleVersion", type: { - name: "DateTime" + name: "String" } }, - description: { - serializedName: "properties.description", + resourceName: { + serializedName: "resourceName", type: { name: "String" } - } - } - } -}; - -export const CertificateUpdateParameters: msRest.CompositeMapper = { - serializedName: "CertificateUpdateParameters", - type: { - name: "Composite", - className: "CertificateUpdateParameters", - modelProperties: { - name: { - serializedName: "name", + }, + error: { + serializedName: "error", type: { name: "String" } }, - description: { - serializedName: "properties.description", + status: { + serializedName: "status", type: { name: "String" } + }, + durationInSeconds: { + serializedName: "durationInSeconds", + type: { + name: "Number" + } + }, + startDate: { + nullable: false, + serializedName: "startDate", + type: { + name: "DateTime" + } } } } }; -export const ConnectionTypeAssociationProperty: msRest.CompositeMapper = { - serializedName: "ConnectionTypeAssociationProperty", +export const DscMetaConfiguration: msRest.CompositeMapper = { + serializedName: "DscMetaConfiguration", type: { name: "Composite", - className: "ConnectionTypeAssociationProperty", + className: "DscMetaConfiguration", modelProperties: { - name: { - serializedName: "name", + configurationModeFrequencyMins: { + serializedName: "configurationModeFrequencyMins", + type: { + name: "Number" + } + }, + rebootNodeIfNeeded: { + serializedName: "rebootNodeIfNeeded", + type: { + name: "Boolean" + } + }, + configurationMode: { + serializedName: "configurationMode", type: { name: "String" } - } - } - } -}; - -export const ConnectionCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ConnectionCreateOrUpdateParameters", - type: { - name: "Composite", - className: "ConnectionCreateOrUpdateParameters", - modelProperties: { - name: { - required: true, - serializedName: "name", + }, + actionAfterReboot: { + serializedName: "actionAfterReboot", type: { name: "String" } }, - description: { - serializedName: "properties.description", + certificateId: { + serializedName: "certificateId", type: { name: "String" } }, - connectionType: { - required: true, - serializedName: "properties.connectionType", + refreshFrequencyMins: { + serializedName: "refreshFrequencyMins", type: { - name: "Composite", - className: "ConnectionTypeAssociationProperty" + name: "Number" } }, - fieldDefinitionValues: { - serializedName: "properties.fieldDefinitionValues", + allowModuleOverwrite: { + serializedName: "allowModuleOverwrite", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Boolean" } } } } }; -export const Connection: msRest.CompositeMapper = { - serializedName: "Connection", +export const DscNodeReport: msRest.CompositeMapper = { + serializedName: "DscNodeReport", type: { name: "Composite", - className: "Connection", + className: "DscNodeReport", modelProperties: { - ...ProxyResource.type.modelProperties, - connectionType: { - serializedName: "properties.connectionType", + endTime: { + nullable: true, + serializedName: "endTime", type: { - name: "Composite", - className: "ConnectionTypeAssociationProperty" + name: "DateTime" } }, - fieldDefinitionValues: { - readOnly: true, - serializedName: "properties.fieldDefinitionValues", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + lastModifiedTime: { + nullable: false, + serializedName: "lastModifiedTime", type: { name: "DateTime" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + startTime: { + nullable: true, + serializedName: "startTime", type: { name: "DateTime" } }, - description: { - serializedName: "properties.description", + type: { + serializedName: "type", type: { name: "String" } - } - } - } -}; - -export const ConnectionUpdateParameters: msRest.CompositeMapper = { - serializedName: "ConnectionUpdateParameters", - type: { - name: "Composite", - className: "ConnectionUpdateParameters", - modelProperties: { - name: { - serializedName: "name", + }, + reportId: { + serializedName: "reportId", type: { name: "String" } }, - description: { - serializedName: "properties.description", + status: { + serializedName: "status", type: { name: "String" } }, - fieldDefinitionValues: { - serializedName: "properties.fieldDefinitionValues", + refreshMode: { + serializedName: "refreshMode", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const FieldDefinition: msRest.CompositeMapper = { - serializedName: "FieldDefinition", - type: { - name: "Composite", - className: "FieldDefinition", - modelProperties: { - isEncrypted: { - serializedName: "isEncrypted", + }, + rebootRequested: { + serializedName: "rebootRequested", type: { - name: "Boolean" + name: "String" } }, - isOptional: { - serializedName: "isOptional", + reportFormatVersion: { + serializedName: "reportFormatVersion", type: { - name: "Boolean" + name: "String" } }, - type: { - required: true, - serializedName: "type", + configurationVersion: { + serializedName: "configurationVersion", type: { name: "String" } - } - } - } -}; - -export const ConnectionType: msRest.CompositeMapper = { - serializedName: "ConnectionType", - type: { - name: "Composite", - className: "ConnectionType", - modelProperties: { + }, id: { - readOnly: true, serializedName: "id", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + errors: { + serializedName: "errors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscReportError" + } + } } }, - type: { - readOnly: true, - serializedName: "type", + resources: { + serializedName: "resources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscReportResource" + } + } } }, - isGlobal: { - serializedName: "properties.isGlobal", + metaConfiguration: { + serializedName: "metaConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "DscMetaConfiguration" } }, - fieldDefinitions: { - readOnly: true, - serializedName: "properties.fieldDefinitions", + hostName: { + serializedName: "hostName", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + iPV4Addresses: { + serializedName: "iPV4Addresses", + type: { + name: "Sequence", + element: { type: { - name: "Composite", - className: "FieldDefinition" + name: "String" } } } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + iPV6Addresses: { + serializedName: "iPV6Addresses", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + numberOfResources: { + serializedName: "numberOfResources", type: { - name: "DateTime" + name: "Number" } }, - description: { - serializedName: "properties.description", + rawErrors: { + serializedName: "rawErrors", type: { name: "String" } @@ -856,71 +1012,55 @@ export const ConnectionType: msRest.CompositeMapper = { } }; -export const ConnectionTypeCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ConnectionTypeCreateOrUpdateParameters", +export const AgentRegistrationKeys: msRest.CompositeMapper = { + serializedName: "AgentRegistrationKeys", type: { name: "Composite", - className: "ConnectionTypeCreateOrUpdateParameters", + className: "AgentRegistrationKeys", modelProperties: { - name: { - required: true, - serializedName: "name", + primary: { + serializedName: "primary", type: { name: "String" } }, - isGlobal: { - serializedName: "properties.isGlobal", - type: { - name: "Boolean" - } - }, - fieldDefinitions: { - required: true, - serializedName: "properties.fieldDefinitions", + secondary: { + serializedName: "secondary", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "FieldDefinition" - } - } + name: "String" } } } } }; -export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "CredentialCreateOrUpdateParameters", +export const AgentRegistration: msRest.CompositeMapper = { + serializedName: "AgentRegistration", type: { name: "Composite", - className: "CredentialCreateOrUpdateParameters", + className: "AgentRegistration", modelProperties: { - name: { - required: true, - serializedName: "name", + dscMetaConfiguration: { + serializedName: "dscMetaConfiguration", type: { name: "String" } }, - userName: { - required: true, - serializedName: "properties.userName", + endpoint: { + serializedName: "endpoint", type: { name: "String" } }, - password: { - required: true, - serializedName: "properties.password", + keys: { + serializedName: "keys", type: { - name: "String" + name: "Composite", + className: "AgentRegistrationKeys" } }, - description: { - serializedName: "properties.description", + id: { + serializedName: "id", type: { name: "String" } @@ -929,99 +1069,158 @@ export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const Credential: msRest.CompositeMapper = { - serializedName: "Credential", +export const DscNodeExtensionHandlerAssociationProperty: msRest.CompositeMapper = { + serializedName: "DscNodeExtensionHandlerAssociationProperty", type: { name: "Composite", - className: "Credential", + className: "DscNodeExtensionHandlerAssociationProperty", modelProperties: { - ...ProxyResource.type.modelProperties, - userName: { - readOnly: true, - serializedName: "properties.userName", + name: { + serializedName: "name", type: { name: "String" } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + version: { + serializedName: "version", type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" + name: "String" } } } } }; -export const CredentialUpdateParameters: msRest.CompositeMapper = { - serializedName: "CredentialUpdateParameters", +export const DscNode: msRest.CompositeMapper = { + serializedName: "DscNode", type: { name: "Composite", - className: "CredentialUpdateParameters", + className: "DscNode", modelProperties: { - name: { - serializedName: "name", + ...ProxyResource.type.modelProperties, + lastSeen: { + nullable: false, + serializedName: "properties.lastSeen", + type: { + name: "DateTime" + } + }, + registrationTime: { + nullable: false, + serializedName: "properties.registrationTime", + type: { + name: "DateTime" + } + }, + ip: { + serializedName: "properties.ip", type: { name: "String" } }, - userName: { - serializedName: "properties.userName", + accountId: { + serializedName: "properties.accountId", type: { name: "String" } }, - password: { - serializedName: "properties.password", + dscNodeName: { + serializedName: "properties.nodeConfiguration.name", type: { name: "String" } }, - description: { - serializedName: "properties.description", + status: { + serializedName: "properties.status", + type: { + name: "String" + } + }, + nodeId: { + serializedName: "properties.nodeId", + type: { + name: "String" + } + }, + etag: { + serializedName: "properties.etag", type: { name: "String" } + }, + totalCount: { + serializedName: "properties.totalCount", + type: { + name: "Number" + } + }, + extensionHandler: { + serializedName: "properties.extensionHandler", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscNodeExtensionHandlerAssociationProperty" + } + } + } } } } }; -export const ContentHash: msRest.CompositeMapper = { - serializedName: "ContentHash", +export const AgentRegistrationRegenerateKeyParameter: msRest.CompositeMapper = { + serializedName: "AgentRegistrationRegenerateKeyParameter", type: { name: "Composite", - className: "ContentHash", + className: "AgentRegistrationRegenerateKeyParameter", modelProperties: { - algorithm: { + keyName: { required: true, - serializedName: "algorithm", + serializedName: "keyName", type: { name: "String" } - }, - value: { - required: true, - serializedName: "value", + } + } + } +}; + +export const DscNodeUpdateParametersProperties: msRest.CompositeMapper = { + serializedName: "DscNodeUpdateParameters_properties", + type: { + name: "Composite", + className: "DscNodeUpdateParametersProperties", + modelProperties: { + name: { + serializedName: "nodeConfiguration.name", + type: { + name: "String" + } + } + } + } +}; + +export const DscNodeUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscNodeUpdateParameters", + type: { + name: "Composite", + className: "DscNodeUpdateParameters", + modelProperties: { + nodeId: { + serializedName: "nodeId", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DscNodeUpdateParametersProperties" + } } } } @@ -1062,58 +1261,78 @@ export const ContentSource: msRest.CompositeMapper = { } }; -export const DscConfigurationParameter: msRest.CompositeMapper = { - serializedName: "DscConfigurationParameter", +export const DscConfigurationAssociationProperty: msRest.CompositeMapper = { + serializedName: "DscConfigurationAssociationProperty", type: { name: "Composite", - className: "DscConfigurationParameter", + className: "DscConfigurationAssociationProperty", modelProperties: { - type: { - serializedName: "type", + name: { + serializedName: "name", type: { name: "String" } + } + } + } +}; + +export const DscNodeConfiguration: msRest.CompositeMapper = { + serializedName: "DscNodeConfiguration", + type: { + name: "Composite", + className: "DscNodeConfiguration", + modelProperties: { + ...ProxyResource.type.modelProperties, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } }, - isMandatory: { - serializedName: "isMandatory", + creationTime: { + nullable: false, + serializedName: "properties.creationTime", type: { - name: "Boolean" + name: "DateTime" } }, - position: { - serializedName: "position", + configuration: { + serializedName: "properties.configuration", type: { - name: "Number" + name: "Composite", + className: "DscConfigurationAssociationProperty" } }, - defaultValue: { - serializedName: "defaultValue", + source: { + serializedName: "properties.source", type: { name: "String" } + }, + nodeCount: { + serializedName: "properties.nodeCount", + type: { + name: "Number" + } + }, + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", + type: { + name: "Boolean" + } } } } }; -export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscConfigurationCreateOrUpdateParameters", +export const DscNodeConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscNodeConfigurationCreateOrUpdateParameters", type: { name: "Composite", - className: "DscConfigurationCreateOrUpdateParameters", + className: "DscNodeConfigurationCreateOrUpdateParameters", modelProperties: { - logVerbose: { - serializedName: "properties.logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "properties.logProgress", - type: { - name: "Boolean" - } - }, source: { required: true, serializedName: "properties.source", @@ -1122,22 +1341,18 @@ export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = className: "ContentSource" } }, - parameters: { - serializedName: "properties.parameters", + configuration: { + required: true, + serializedName: "properties.configuration", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "DscConfigurationParameter" - } - } + name: "Composite", + className: "DscConfigurationAssociationProperty" } }, - description: { - serializedName: "properties.description", + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", type: { - name: "String" + name: "Boolean" } }, name: { @@ -1146,12 +1361,6 @@ export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = name: "String" } }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, tags: { serializedName: "tags", type: { @@ -1167,120 +1376,133 @@ export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = } }; -export const DscConfiguration: msRest.CompositeMapper = { - serializedName: "DscConfiguration", +export const DscCompilationJob: msRest.CompositeMapper = { + serializedName: "DscCompilationJob", type: { name: "Composite", - className: "DscConfiguration", + className: "DscCompilationJob", modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", + ...ProxyResource.type.modelProperties, + configuration: { + serializedName: "properties.configuration", type: { - name: "Enum", - allowedValues: [ - "Succeeded" - ] + name: "Composite", + className: "DscConfigurationAssociationProperty" } }, - jobCount: { - serializedName: "properties.jobCount", + startedBy: { + readOnly: true, + serializedName: "properties.startedBy", type: { - name: "Number" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + jobId: { + nullable: false, + readOnly: true, + serializedName: "properties.jobId", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "DscConfigurationParameter" - } - } + name: "Uuid" } }, - source: { - serializedName: "properties.source", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Composite", - className: "ContentSource" + name: "DateTime" } }, - state: { - serializedName: "properties.state", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - logVerbose: { - serializedName: "properties.logVerbose", + runOn: { + serializedName: "properties.runOn", type: { - name: "Boolean" + name: "String" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + status: { + serializedName: "properties.status", + type: { + name: "String" + } + }, + statusDetails: { + serializedName: "properties.statusDetails", + type: { + name: "String" + } + }, + startTime: { + nullable: true, + readOnly: true, + serializedName: "properties.startTime", type: { name: "DateTime" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", type: { name: "DateTime" } }, - nodeConfigurationCount: { + exception: { + readOnly: true, + serializedName: "properties.exception", + type: { + name: "String" + } + }, + lastModifiedTime: { nullable: false, - serializedName: "properties.nodeConfigurationCount", + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "Number" + name: "DateTime" } }, - description: { - serializedName: "properties.description", + lastStatusModifiedTime: { + nullable: true, + readOnly: true, + serializedName: "properties.lastStatusModifiedTime", type: { - name: "String" + name: "DateTime" } }, - etag: { - serializedName: "etag", + parameters: { + serializedName: "properties.parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscConfigurationUpdateParameters", +export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { + serializedName: "DscCompilationJobCreateParameters", type: { name: "Composite", - className: "DscConfigurationUpdateParameters", + className: "DscCompilationJobCreateParameters", modelProperties: { - logVerbose: { - serializedName: "properties.logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "properties.logProgress", - type: { - name: "Boolean" - } - }, - source: { + configuration: { required: true, - serializedName: "properties.source", + serializedName: "properties.configuration", type: { name: "Composite", - className: "ContentSource" + className: "DscConfigurationAssociationProperty" } }, parameters: { @@ -1289,16 +1511,15 @@ export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { name: "Dictionary", value: { type: { - name: "Composite", - className: "DscConfigurationParameter" + name: "String" } } } }, - description: { - serializedName: "properties.description", + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", type: { - name: "String" + name: "Boolean" } }, name: { @@ -1307,6 +1528,12 @@ export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { name: "String" } }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -1322,290 +1549,271 @@ export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { } }; -export const RunAsCredentialAssociationProperty: msRest.CompositeMapper = { - serializedName: "RunAsCredentialAssociationProperty", - type: { - name: "Composite", - className: "RunAsCredentialAssociationProperty", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - -export const HybridRunbookWorker: msRest.CompositeMapper = { - serializedName: "HybridRunbookWorker", +export const JobStream: msRest.CompositeMapper = { + serializedName: "JobStream", type: { name: "Composite", - className: "HybridRunbookWorker", + className: "JobStream", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", type: { name: "String" } }, - ip: { - serializedName: "ip", + jobStreamId: { + serializedName: "properties.jobStreamId", type: { name: "String" } }, - registrationTime: { + time: { nullable: false, - serializedName: "registrationTime", + serializedName: "properties.time", type: { name: "DateTime" } }, - lastSeenDateTime: { - nullable: false, - serializedName: "lastSeenDateTime", + streamType: { + serializedName: "properties.streamType", type: { - name: "DateTime" + name: "String" } - } - } - } -}; - -export const HybridRunbookWorkerGroup: msRest.CompositeMapper = { - serializedName: "HybridRunbookWorkerGroup", - type: { - name: "Composite", - className: "HybridRunbookWorkerGroup", - modelProperties: { - id: { - serializedName: "id", + }, + streamText: { + serializedName: "properties.streamText", type: { name: "String" } }, - name: { - serializedName: "name", + summary: { + serializedName: "properties.summary", type: { name: "String" } }, - hybridRunbookWorkers: { - serializedName: "hybridRunbookWorkers", + value: { + serializedName: "properties.value", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "HybridRunbookWorker" + name: "Object" } } } - }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "RunAsCredentialAssociationProperty" - } - }, - groupType: { - serializedName: "groupType", - type: { - name: "String" - } } } } }; -export const HybridRunbookWorkerGroupUpdateParameters: msRest.CompositeMapper = { - serializedName: "HybridRunbookWorkerGroupUpdateParameters", +export const NodeCountProperties: msRest.CompositeMapper = { + serializedName: "NodeCountProperties", type: { name: "Composite", - className: "HybridRunbookWorkerGroupUpdateParameters", + className: "NodeCountProperties", modelProperties: { - credential: { - serializedName: "credential", + count: { + serializedName: "count", type: { - name: "Composite", - className: "RunAsCredentialAssociationProperty" + name: "Number" } } } } }; -export const ScheduleAssociationProperty: msRest.CompositeMapper = { - serializedName: "ScheduleAssociationProperty", +export const NodeCount: msRest.CompositeMapper = { + serializedName: "NodeCount", type: { name: "Composite", - className: "ScheduleAssociationProperty", + className: "NodeCount", modelProperties: { name: { serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const RunbookAssociationProperty: msRest.CompositeMapper = { - serializedName: "RunbookAssociationProperty", - type: { - name: "Composite", - className: "RunbookAssociationProperty", - modelProperties: { - name: { - serializedName: "name", + }, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "NodeCountProperties" } } } } }; -export const JobSchedule: msRest.CompositeMapper = { - serializedName: "JobSchedule", +export const NodeCounts: msRest.CompositeMapper = { + serializedName: "NodeCounts", type: { name: "Composite", - className: "JobSchedule", + className: "NodeCounts", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NodeCount" + } + } } }, - name: { - readOnly: true, - serializedName: "name", + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } + } + } + } +}; + +export const SourceControl: msRest.CompositeMapper = { + serializedName: "SourceControl", + type: { + name: "Composite", + className: "SourceControl", + modelProperties: { + ...ProxyResource.type.modelProperties, + repoUrl: { + serializedName: "properties.repoUrl", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + branch: { + serializedName: "properties.branch", type: { name: "String" } }, - jobScheduleId: { - serializedName: "properties.jobScheduleId", + folderPath: { + serializedName: "properties.folderPath", type: { name: "String" } }, - schedule: { - serializedName: "properties.schedule", + autoSync: { + serializedName: "properties.autoSync", type: { - name: "Composite", - className: "ScheduleAssociationProperty" + name: "Boolean" } }, - runbook: { - serializedName: "properties.runbook", + publishRunbook: { + serializedName: "properties.publishRunbook", type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "Boolean" } }, - runOn: { - serializedName: "properties.runOn", + sourceType: { + serializedName: "properties.sourceType", type: { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + description: { + serializedName: "properties.description", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" + } + }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" } } } } }; -export const JobScheduleCreateParameters: msRest.CompositeMapper = { - serializedName: "JobScheduleCreateParameters", +export const SourceControlSecurityTokenProperties: msRest.CompositeMapper = { + serializedName: "SourceControlSecurityTokenProperties", type: { name: "Composite", - className: "JobScheduleCreateParameters", + className: "SourceControlSecurityTokenProperties", modelProperties: { - schedule: { - required: true, - serializedName: "properties.schedule", - type: { - name: "Composite", - className: "ScheduleAssociationProperty" - } - }, - runbook: { - required: true, - serializedName: "properties.runbook", + accessToken: { + serializedName: "accessToken", + constraints: { + MaxLength: 1024 + }, type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "String" } }, - runOn: { - serializedName: "properties.runOn", + refreshToken: { + serializedName: "refreshToken", + constraints: { + MaxLength: 1024 + }, type: { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + tokenType: { + serializedName: "tokenType", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const LinkedWorkspace: msRest.CompositeMapper = { - serializedName: "LinkedWorkspace", +export const SourceControlUpdateParameters: msRest.CompositeMapper = { + serializedName: "SourceControlUpdateParameters", type: { name: "Composite", - className: "LinkedWorkspace", + className: "SourceControlUpdateParameters", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + branch: { + serializedName: "properties.branch", type: { name: "String" } - } - } - } -}; - -export const ActivityParameterValidationSet: msRest.CompositeMapper = { - serializedName: "ActivityParameterValidationSet", - type: { - name: "Composite", - className: "ActivityParameterValidationSet", - modelProperties: { - memberValue: { - serializedName: "memberValue", + }, + folderPath: { + serializedName: "properties.folderPath", + type: { + name: "String" + } + }, + autoSync: { + serializedName: "properties.autoSync", + type: { + name: "Boolean" + } + }, + publishRunbook: { + serializedName: "properties.publishRunbook", + type: { + name: "Boolean" + } + }, + securityToken: { + serializedName: "properties.securityToken", + type: { + name: "Composite", + className: "SourceControlSecurityTokenProperties" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } @@ -1614,124 +1822,162 @@ export const ActivityParameterValidationSet: msRest.CompositeMapper = { } }; -export const ActivityParameter: msRest.CompositeMapper = { - serializedName: "ActivityParameter", +export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "SourceControlCreateOrUpdateParameters", type: { name: "Composite", - className: "ActivityParameter", + className: "SourceControlCreateOrUpdateParameters", modelProperties: { - name: { - serializedName: "name", + repoUrl: { + serializedName: "properties.repoUrl", + constraints: { + MaxLength: 2000 + }, type: { name: "String" } }, - type: { - serializedName: "type", + branch: { + serializedName: "properties.branch", + constraints: { + MaxLength: 255 + }, type: { name: "String" } }, - isMandatory: { - serializedName: "isMandatory", + folderPath: { + serializedName: "properties.folderPath", + constraints: { + MaxLength: 255 + }, type: { - name: "Boolean" + name: "String" } }, - isDynamic: { - serializedName: "isDynamic", + autoSync: { + serializedName: "properties.autoSync", type: { name: "Boolean" } }, - position: { - serializedName: "position", - type: { - name: "Number" - } - }, - valueFromPipeline: { - serializedName: "valueFromPipeline", + publishRunbook: { + serializedName: "properties.publishRunbook", type: { name: "Boolean" } }, - valueFromPipelineByPropertyName: { - serializedName: "valueFromPipelineByPropertyName", + sourceType: { + serializedName: "properties.sourceType", type: { - name: "Boolean" + name: "String" } }, - valueFromRemainingArguments: { - serializedName: "valueFromRemainingArguments", + securityToken: { + serializedName: "properties.securityToken", type: { - name: "Boolean" + name: "Composite", + className: "SourceControlSecurityTokenProperties" } }, description: { - serializedName: "description", + serializedName: "properties.description", + constraints: { + MaxLength: 512 + }, type: { name: "String" } - }, - validationSet: { - serializedName: "validationSet", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameterValidationSet" - } - } - } } } } }; -export const ActivityParameterSet: msRest.CompositeMapper = { - serializedName: "ActivityParameterSet", - type: { +export const SourceControlSyncJob: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJob", + type: { name: "Composite", - className: "ActivityParameterSet", + className: "SourceControlSyncJob", modelProperties: { name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - parameters: { - serializedName: "parameters", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameter" - } - } + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + sourceControlSyncJobId: { + serializedName: "properties.sourceControlSyncJobId", + type: { + name: "String" + } + }, + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + startTime: { + nullable: true, + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + syncType: { + serializedName: "properties.syncType", + type: { + name: "String" } } } } }; -export const ActivityOutputType: msRest.CompositeMapper = { - serializedName: "ActivityOutputType", +export const SourceControlSyncJobCreateParameters: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobCreateParameters", type: { name: "Composite", - className: "ActivityOutputType", + className: "SourceControlSyncJobCreateParameters", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - type: { - serializedName: "type", + commitId: { + required: true, + serializedName: "properties.commitId", + constraints: { + MinLength: 0 + }, type: { name: "String" } @@ -1740,11 +1986,11 @@ export const ActivityOutputType: msRest.CompositeMapper = { } }; -export const Activity: msRest.CompositeMapper = { - serializedName: "Activity", +export const SourceControlSyncJobById: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobById", type: { name: "Composite", - className: "Activity", + className: "SourceControlSyncJobById", modelProperties: { id: { serializedName: "id", @@ -1752,59 +1998,50 @@ export const Activity: msRest.CompositeMapper = { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + sourceControlSyncJobId: { + serializedName: "properties.sourceControlSyncJobId", type: { name: "String" } }, - definition: { - serializedName: "properties.definition", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } }, - parameterSets: { - serializedName: "properties.parameterSets", + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameterSet" - } - } + name: "String" } }, - outputTypes: { - serializedName: "properties.outputTypes", + startTime: { + nullable: true, + readOnly: true, + serializedName: "properties.startTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityOutputType" - } - } + name: "DateTime" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", type: { name: "DateTime" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + syncType: { + serializedName: "properties.syncType", type: { - name: "DateTime" + name: "String" } }, - description: { - serializedName: "properties.description", + exception: { + serializedName: "properties.exception", type: { name: "String" } @@ -1813,49 +2050,41 @@ export const Activity: msRest.CompositeMapper = { } }; -export const ModuleErrorInfo: msRest.CompositeMapper = { - serializedName: "ModuleErrorInfo", +export const SourceControlSyncJobStream: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobStream", type: { name: "Composite", - className: "ModuleErrorInfo", + className: "SourceControlSyncJobStream", modelProperties: { - code: { - serializedName: "code", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - message: { - serializedName: "message", + sourceControlSyncJobStreamId: { + serializedName: "properties.sourceControlSyncJobStreamId", type: { name: "String" } - } - } - } -}; - -export const ContentLink: msRest.CompositeMapper = { - serializedName: "ContentLink", - type: { - name: "Composite", - className: "ContentLink", - modelProperties: { - uri: { - serializedName: "uri", + }, + summary: { + serializedName: "properties.summary", type: { name: "String" } }, - contentHash: { - serializedName: "contentHash", + time: { + nullable: true, + readOnly: true, + serializedName: "properties.time", type: { - name: "Composite", - className: "ContentHash" + name: "DateTime" } }, - version: { - serializedName: "version", + streamType: { + serializedName: "properties.streamType", type: { name: "String" } @@ -1864,228 +2093,189 @@ export const ContentLink: msRest.CompositeMapper = { } }; -export const Module: msRest.CompositeMapper = { - serializedName: "Module", +export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobStreamById", type: { name: "Composite", - className: "Module", + className: "SourceControlSyncJobStreamById", modelProperties: { - ...TrackedResource.type.modelProperties, - isGlobal: { - serializedName: "properties.isGlobal", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Boolean" + name: "String" } }, - version: { - serializedName: "properties.version", + sourceControlSyncJobStreamId: { + serializedName: "properties.sourceControlSyncJobStreamId", type: { name: "String" } }, - sizeInBytes: { - serializedName: "properties.sizeInBytes", + summary: { + serializedName: "properties.summary", type: { - name: "Number" + name: "String" } }, - activityCount: { - serializedName: "properties.activityCount", + time: { + nullable: true, + readOnly: true, + serializedName: "properties.time", type: { - name: "Number" + name: "DateTime" } }, - provisioningState: { - serializedName: "properties.provisioningState", + streamType: { + serializedName: "properties.streamType", type: { - name: "Enum", - allowedValues: [ - "Created", - "Creating", - "StartingImportModuleRunbook", - "RunningImportModuleRunbook", - "ContentRetrieved", - "ContentDownloaded", - "ContentValidated", - "ConnectionTypeImported", - "ContentStored", - "ModuleDataStored", - "ActivitiesStored", - "ModuleImportRunbookComplete", - "Succeeded", - "Failed", - "Cancelled", - "Updating" - ] + name: "String" } }, - contentLink: { - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - error: { - serializedName: "properties.error", - type: { - name: "Composite", - className: "ModuleErrorInfo" - } - }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", + streamText: { + serializedName: "properties.streamText", type: { name: "String" } }, - isComposite: { - serializedName: "properties.isComposite", - type: { - name: "Boolean" - } - }, - etag: { - serializedName: "etag", + value: { + serializedName: "properties.value", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } } } } }; -export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ModuleCreateOrUpdateParameters", +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", type: { name: "Composite", - className: "ModuleCreateOrUpdateParameters", + className: "Sku", modelProperties: { - contentLink: { - required: true, - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, name: { + required: true, serializedName: "name", type: { name: "String" } }, - location: { - serializedName: "location", + family: { + serializedName: "family", type: { name: "String" } }, - tags: { - serializedName: "tags", + capacity: { + serializedName: "capacity", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const ModuleUpdateParameters: msRest.CompositeMapper = { - serializedName: "ModuleUpdateParameters", +export const KeyVaultProperties: msRest.CompositeMapper = { + serializedName: "KeyVaultProperties", type: { name: "Composite", - className: "ModuleUpdateParameters", + className: "KeyVaultProperties", modelProperties: { - contentLink: { - serializedName: "properties.contentLink", + keyvaultUri: { + serializedName: "keyvaultUri", type: { - name: "Composite", - className: "ContentLink" + name: "String" } }, - name: { - serializedName: "name", + keyName: { + serializedName: "keyName", type: { name: "String" } }, - location: { - serializedName: "location", + keyVersion: { + serializedName: "keyVersion", type: { name: "String" } - }, - tags: { - serializedName: "tags", + } + } + } +}; + +export const EncryptionPropertiesIdentity: msRest.CompositeMapper = { + serializedName: "EncryptionProperties_identity", + type: { + name: "Composite", + className: "EncryptionPropertiesIdentity", + modelProperties: { + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Object" } } } } }; -export const TypeField: msRest.CompositeMapper = { - serializedName: "TypeField", +export const EncryptionProperties: msRest.CompositeMapper = { + serializedName: "EncryptionProperties", type: { name: "Composite", - className: "TypeField", + className: "EncryptionProperties", modelProperties: { - name: { - serializedName: "name", + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "String" + name: "Composite", + className: "KeyVaultProperties" } }, - type: { - serializedName: "type", + keySource: { + serializedName: "keySource", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Microsoft.Automation", + "Microsoft.Keyvault" + ] + } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "EncryptionPropertiesIdentity" } } } } }; -export const AdvancedScheduleMonthlyOccurrence: msRest.CompositeMapper = { - serializedName: "AdvancedScheduleMonthlyOccurrence", +export const IdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = { + serializedName: "Identity_userAssignedIdentitiesValue", type: { name: "Composite", - className: "AdvancedScheduleMonthlyOccurrence", + className: "IdentityUserAssignedIdentitiesValue", modelProperties: { - occurrence: { - serializedName: "occurrence", + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "Number" + name: "String" } }, - day: { - serializedName: "day", + clientId: { + readOnly: true, + serializedName: "clientId", type: { name: "String" } @@ -2094,42 +2284,46 @@ export const AdvancedScheduleMonthlyOccurrence: msRest.CompositeMapper = { } }; -export const AdvancedSchedule: msRest.CompositeMapper = { - serializedName: "AdvancedSchedule", +export const Identity: msRest.CompositeMapper = { + serializedName: "Identity", type: { name: "Composite", - className: "AdvancedSchedule", + className: "Identity", modelProperties: { - weekDays: { - serializedName: "weekDays", + principalId: { + readOnly: true, + serializedName: "principalId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - monthDays: { - serializedName: "monthDays", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "String" } }, - monthlyOccurrences: { - serializedName: "monthlyOccurrences", + type: { + serializedName: "type", type: { - name: "Sequence", - element: { + name: "Enum", + allowedValues: [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { type: { name: "Composite", - className: "AdvancedScheduleMonthlyOccurrence" + className: "IdentityUserAssignedIdentitiesValue" } } } @@ -2138,273 +2332,267 @@ export const AdvancedSchedule: msRest.CompositeMapper = { } }; -export const ScheduleCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ScheduleCreateOrUpdateParameters", +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", type: { name: "Composite", - className: "ScheduleCreateOrUpdateParameters", + className: "SystemData", modelProperties: { - name: { - required: true, - serializedName: "name", + createdBy: { + serializedName: "createdBy", type: { name: "String" } }, - description: { - serializedName: "properties.description", + createdByType: { + serializedName: "createdByType", type: { name: "String" } }, - startTime: { - required: true, - nullable: false, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - expiryTime: { - nullable: true, - serializedName: "properties.expiryTime", + createdAt: { + serializedName: "createdAt", type: { name: "DateTime" } }, - interval: { - serializedName: "properties.interval", - type: { - name: "Object" - } - }, - frequency: { - required: true, - serializedName: "properties.frequency", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { name: "String" } }, - timeZone: { - serializedName: "properties.timeZone", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String" } }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "Composite", - className: "AdvancedSchedule" + name: "DateTime" } } } } }; -export const ScheduleProperties: msRest.CompositeMapper = { - serializedName: "ScheduleProperties", +export const AutomationAccount: msRest.CompositeMapper = { + serializedName: "AutomationAccount", type: { name: "Composite", - className: "ScheduleProperties", + className: "AutomationAccount", modelProperties: { - startTime: { - nullable: false, - serializedName: "startTime", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "properties.sku", type: { - name: "DateTime" + name: "Composite", + className: "Sku" } }, - startTimeOffsetMinutes: { - nullable: false, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", + type: { + name: "String" + } + }, + state: { readOnly: true, - serializedName: "startTimeOffsetMinutes", + serializedName: "properties.state", type: { - name: "Number" + name: "String" } }, - expiryTime: { - nullable: true, - serializedName: "expiryTime", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { name: "DateTime" } }, - expiryTimeOffsetMinutes: { + lastModifiedTime: { nullable: false, - serializedName: "expiryTimeOffsetMinutes", + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "Number" + name: "DateTime" } }, - isEnabled: { - serializedName: "isEnabled", - defaultValue: false, + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" } }, - nextRun: { - nullable: true, - serializedName: "nextRun", + encryption: { + serializedName: "properties.encryption", type: { - name: "DateTime" + name: "Composite", + className: "EncryptionProperties" } }, - nextRunOffsetMinutes: { - nullable: false, - serializedName: "nextRunOffsetMinutes", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } } }, - interval: { - serializedName: "interval", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Number" + name: "Boolean" } }, - frequency: { - serializedName: "frequency", + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", type: { - name: "String" + name: "Boolean" } }, - timeZone: { - serializedName: "timeZone", + automationHybridServiceUrl: { + serializedName: "properties.automationHybridServiceUrl", type: { name: "String" } }, - advancedSchedule: { - serializedName: "advancedSchedule", - type: { - name: "Composite", - className: "AdvancedSchedule" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", + etag: { + serializedName: "etag", type: { - name: "DateTime" + name: "String" } }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", + identity: { + serializedName: "identity", type: { - name: "DateTime" + name: "Composite", + className: "Identity" } }, - description: { - serializedName: "description", + systemData: { + serializedName: "systemData", type: { - name: "String" + name: "Composite", + className: "SystemData" } } } } }; -export const Schedule: msRest.CompositeMapper = { - serializedName: "Schedule", +export const AutomationAccountCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "AutomationAccountCreateOrUpdateParameters", type: { name: "Composite", - className: "Schedule", + className: "AutomationAccountCreateOrUpdateParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - startTime: { - nullable: false, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - startTimeOffsetMinutes: { - nullable: false, - readOnly: true, - serializedName: "properties.startTimeOffsetMinutes", + sku: { + serializedName: "properties.sku", type: { - name: "Number" + name: "Composite", + className: "Sku" } }, - expiryTime: { - nullable: true, - serializedName: "properties.expiryTime", + encryption: { + serializedName: "properties.encryption", type: { - name: "DateTime" + name: "Composite", + className: "EncryptionProperties" } }, - expiryTimeOffsetMinutes: { - nullable: false, - serializedName: "properties.expiryTimeOffsetMinutes", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Number" + name: "Boolean" } }, - isEnabled: { - serializedName: "properties.isEnabled", - defaultValue: false, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", type: { name: "Boolean" } }, - nextRun: { - nullable: true, - serializedName: "properties.nextRun", + name: { + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - nextRunOffsetMinutes: { - nullable: false, - serializedName: "properties.nextRunOffsetMinutes", + location: { + serializedName: "location", type: { - name: "Number" + name: "String" } }, - interval: { - serializedName: "properties.interval", + identity: { + serializedName: "identity", type: { - name: "Number" + name: "Composite", + className: "Identity" } }, - frequency: { - serializedName: "properties.frequency", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - timeZone: { - serializedName: "properties.timeZone", + } + } + } +}; + +export const Statistics: msRest.CompositeMapper = { + serializedName: "Statistics", + type: { + name: "Composite", + className: "Statistics", + modelProperties: { + counterProperty: { + readOnly: true, + serializedName: "counterProperty", type: { name: "String" } }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", + counterValue: { + readOnly: true, + serializedName: "counterValue", type: { - name: "Composite", - className: "AdvancedSchedule" + name: "Number" } }, - creationTime: { + startTime: { nullable: false, - serializedName: "properties.creationTime", + readOnly: true, + serializedName: "startTime", type: { name: "DateTime" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + endTime: { + nullable: true, + readOnly: true, + serializedName: "endTime", type: { name: "DateTime" } }, - description: { - serializedName: "properties.description", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } @@ -2413,105 +2601,98 @@ export const Schedule: msRest.CompositeMapper = { } }; -export const ScheduleUpdateParameters: msRest.CompositeMapper = { - serializedName: "ScheduleUpdateParameters", +export const UsageCounterName: msRest.CompositeMapper = { + serializedName: "UsageCounterName", type: { name: "Composite", - className: "ScheduleUpdateParameters", + className: "UsageCounterName", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", type: { name: "String" } }, - description: { - serializedName: "properties.description", + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } - }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } } } } }; -export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "VariableCreateOrUpdateParameters", +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", type: { name: "Composite", - className: "VariableCreateOrUpdateParameters", + className: "Usage", modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, name: { - required: true, serializedName: "name", type: { - name: "String" + name: "Composite", + className: "UsageCounterName" } }, - value: { - serializedName: "properties.value", + unit: { + serializedName: "unit", type: { name: "String" } }, - description: { - serializedName: "properties.description", + currentValue: { + serializedName: "currentValue", type: { - name: "String" + name: "Number" } }, - isEncrypted: { - serializedName: "properties.isEncrypted", + limit: { + serializedName: "limit", type: { - name: "Boolean" + name: "Number" + } + }, + throttleStatus: { + serializedName: "throttleStatus", + type: { + name: "String" } } } } }; -export const Variable: msRest.CompositeMapper = { - serializedName: "Variable", +export const Key: msRest.CompositeMapper = { + serializedName: "Key", type: { name: "Composite", - className: "Variable", + className: "Key", modelProperties: { - ...ProxyResource.type.modelProperties, - value: { - serializedName: "properties.value", + keyName: { + readOnly: true, + serializedName: "KeyName", type: { name: "String" } }, - isEncrypted: { - nullable: true, - serializedName: "properties.isEncrypted", - type: { - name: "Boolean" - } - }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + permissions: { + readOnly: true, + serializedName: "Permissions", type: { - name: "DateTime" + name: "String" } }, - description: { - serializedName: "properties.description", + value: { + readOnly: true, + serializedName: "Value", type: { name: "String" } @@ -2520,148 +2701,81 @@ export const Variable: msRest.CompositeMapper = { } }; -export const VariableUpdateParameters: msRest.CompositeMapper = { - serializedName: "VariableUpdateParameters", +export const KeyListResult: msRest.CompositeMapper = { + serializedName: "KeyListResult", type: { name: "Composite", - className: "VariableUpdateParameters", + className: "KeyListResult", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "properties.value", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", + keys: { + serializedName: "keys", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Key" + } + } } } } } }; -export const Webhook: msRest.CompositeMapper = { - serializedName: "Webhook", +export const AutomationAccountUpdateParameters: msRest.CompositeMapper = { + serializedName: "AutomationAccountUpdateParameters", type: { name: "Composite", - className: "Webhook", + className: "AutomationAccountUpdateParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - isEnabled: { - serializedName: "properties.isEnabled", - defaultValue: false, - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "properties.uri", - type: { - name: "String" - } - }, - expiryTime: { - nullable: false, - serializedName: "properties.expiryTime", - type: { - name: "DateTime" - } - }, - lastInvokedTime: { - nullable: true, - serializedName: "properties.lastInvokedTime", - type: { - name: "DateTime" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - runbook: { - serializedName: "properties.runbook", + sku: { + serializedName: "properties.sku", type: { name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" + className: "Sku" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + encryption: { + serializedName: "properties.encryption", type: { - name: "DateTime" + name: "Composite", + className: "EncryptionProperties" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "DateTime" + name: "Boolean" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", type: { - name: "String" + name: "Boolean" } }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - -export const WebhookUpdateParameters: msRest.CompositeMapper = { - serializedName: "WebhookUpdateParameters", - type: { - name: "Composite", - className: "WebhookUpdateParameters", - modelProperties: { name: { serializedName: "name", type: { name: "String" } }, - isEnabled: { - serializedName: "properties.isEnabled", + location: { + serializedName: "location", type: { - name: "Boolean" + name: "String" } }, - runOn: { - serializedName: "properties.runOn", + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "Identity" } }, - parameters: { - serializedName: "properties.parameters", + tags: { + serializedName: "tags", type: { name: "Dictionary", value: { @@ -2670,22 +2784,16 @@ export const WebhookUpdateParameters: msRest.CompositeMapper = { } } } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } } } } }; -export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "WebhookCreateOrUpdateParameters", +export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "CertificateCreateOrUpdateParameters", type: { name: "Composite", - className: "WebhookCreateOrUpdateParameters", + className: "CertificateCreateOrUpdateParameters", modelProperties: { name: { required: true, @@ -2694,94 +2802,64 @@ export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { name: "String" } }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "properties.uri", + base64Value: { + required: true, + serializedName: "properties.base64Value", type: { name: "String" } }, - expiryTime: { - nullable: false, - serializedName: "properties.expiryTime", - type: { - name: "DateTime" - } - }, - parameters: { - serializedName: "properties.parameters", + description: { + serializedName: "properties.description", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - runbook: { - serializedName: "properties.runbook", + thumbprint: { + serializedName: "properties.thumbprint", type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "String" } }, - runOn: { - serializedName: "properties.runOn", + isExportable: { + nullable: false, + serializedName: "properties.isExportable", type: { - name: "String" + name: "Boolean" } } } } }; -export const Watcher: msRest.CompositeMapper = { - serializedName: "Watcher", +export const Certificate: msRest.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "Watcher", + className: "Certificate", modelProperties: { - ...TrackedResource.type.modelProperties, - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", - type: { - name: "Number" - } - }, - scriptName: { - serializedName: "properties.scriptName", + ...ProxyResource.type.modelProperties, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { name: "String" } }, - scriptParameters: { - serializedName: "properties.scriptParameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - scriptRunOn: { - serializedName: "properties.scriptRunOn", + expiryTime: { + nullable: false, + readOnly: true, + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - status: { + isExportable: { + nullable: false, readOnly: true, - serializedName: "properties.status", + serializedName: "properties.isExportable", type: { - name: "String" + name: "Boolean" } }, creationTime: { @@ -2800,43 +2878,30 @@ export const Watcher: msRest.CompositeMapper = { name: "DateTime" } }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", - type: { - name: "String" - } - }, description: { serializedName: "properties.description", type: { name: "String" } - }, - etag: { - serializedName: "etag", - type: { - name: "String" - } } } } }; -export const WatcherUpdateParameters: msRest.CompositeMapper = { - serializedName: "WatcherUpdateParameters", +export const CertificateUpdateParameters: msRest.CompositeMapper = { + serializedName: "CertificateUpdateParameters", type: { name: "Composite", - className: "WatcherUpdateParameters", + className: "CertificateUpdateParameters", modelProperties: { - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - name: { - serializedName: "name", + description: { + serializedName: "properties.description", type: { name: "String" } @@ -2845,42 +2910,14 @@ export const WatcherUpdateParameters: msRest.CompositeMapper = { } }; -export const WindowsProperties: msRest.CompositeMapper = { - serializedName: "WindowsProperties", +export const ConnectionTypeAssociationProperty: msRest.CompositeMapper = { + serializedName: "ConnectionTypeAssociationProperty", type: { name: "Composite", - className: "WindowsProperties", + className: "ConnectionTypeAssociationProperty", modelProperties: { - includedUpdateClassifications: { - serializedName: "includedUpdateClassifications", - type: { - name: "String" - } - }, - excludedKbNumbers: { - serializedName: "excludedKbNumbers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - includedKbNumbers: { - serializedName: "includedKbNumbers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - rebootSetting: { - serializedName: "rebootSetting", + name: { + serializedName: "name", type: { name: "String" } @@ -2889,270 +2926,225 @@ export const WindowsProperties: msRest.CompositeMapper = { } }; -export const LinuxProperties: msRest.CompositeMapper = { - serializedName: "LinuxProperties", +export const ConnectionCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionCreateOrUpdateParameters", type: { name: "Composite", - className: "LinuxProperties", + className: "ConnectionCreateOrUpdateParameters", modelProperties: { - includedPackageClassifications: { - serializedName: "includedPackageClassifications", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - excludedPackageNameMasks: { - serializedName: "excludedPackageNameMasks", + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - includedPackageNameMasks: { - serializedName: "includedPackageNameMasks", + connectionType: { + required: true, + serializedName: "properties.connectionType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ConnectionTypeAssociationProperty" } }, - rebootSetting: { - serializedName: "rebootSetting", - type: { - name: "String" - } - } - } - } -}; - -export const TagSettingsProperties: msRest.CompositeMapper = { - serializedName: "TagSettingsProperties", - type: { - name: "Composite", - className: "TagSettingsProperties", - modelProperties: { - tags: { - serializedName: "tags", + fieldDefinitionValues: { + serializedName: "properties.fieldDefinitionValues", type: { name: "Dictionary", value: { type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } - }, - filterOperator: { - serializedName: "filterOperator", - type: { - name: "Enum", - allowedValues: [ - "All", - "Any" - ] - } } } } }; -export const AzureQueryProperties: msRest.CompositeMapper = { - serializedName: "AzureQueryProperties", +export const Connection: msRest.CompositeMapper = { + serializedName: "Connection", type: { name: "Composite", - className: "AzureQueryProperties", + className: "Connection", modelProperties: { - scope: { - serializedName: "scope", + ...ProxyResource.type.modelProperties, + connectionType: { + serializedName: "properties.connectionType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ConnectionTypeAssociationProperty" } }, - locations: { - serializedName: "locations", + fieldDefinitionValues: { + readOnly: true, + serializedName: "properties.fieldDefinitionValues", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - tagSettings: { - serializedName: "tagSettings", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Composite", - className: "TagSettingsProperties" + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const NonAzureQueryProperties: msRest.CompositeMapper = { - serializedName: "NonAzureQueryProperties", +export const ConnectionUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionUpdateParameters", type: { name: "Composite", - className: "NonAzureQueryProperties", + className: "ConnectionUpdateParameters", modelProperties: { - functionAlias: { - serializedName: "functionAlias", + name: { + serializedName: "name", type: { name: "String" } }, - workspaceId: { - serializedName: "workspaceId", + description: { + serializedName: "properties.description", type: { name: "String" } + }, + fieldDefinitionValues: { + serializedName: "properties.fieldDefinitionValues", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const TargetProperties: msRest.CompositeMapper = { - serializedName: "TargetProperties", +export const FieldDefinition: msRest.CompositeMapper = { + serializedName: "FieldDefinition", type: { name: "Composite", - className: "TargetProperties", + className: "FieldDefinition", modelProperties: { - azureQueries: { - serializedName: "azureQueries", + isEncrypted: { + serializedName: "isEncrypted", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureQueryProperties" - } - } + name: "Boolean" } }, - nonAzureQueries: { - serializedName: "nonAzureQueries", + isOptional: { + serializedName: "isOptional", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NonAzureQueryProperties" - } - } + name: "Boolean" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" } } } } }; -export const UpdateConfiguration: msRest.CompositeMapper = { - serializedName: "updateConfiguration", +export const ConnectionType: msRest.CompositeMapper = { + serializedName: "ConnectionType", type: { name: "Composite", - className: "UpdateConfiguration", + className: "ConnectionType", modelProperties: { - operatingSystem: { - required: true, - serializedName: "operatingSystem", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "String" } }, - windows: { - serializedName: "windows", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "WindowsProperties" + name: "String" } }, - linux: { - serializedName: "linux", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Composite", - className: "LinuxProperties" + name: "String" } }, - duration: { - serializedName: "duration", + isGlobal: { + serializedName: "properties.isGlobal", type: { - name: "TimeSpan" + name: "Boolean" } }, - azureVirtualMachines: { - serializedName: "azureVirtualMachines", + fieldDefinitions: { + readOnly: true, + serializedName: "properties.fieldDefinitions", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "String" + name: "Composite", + className: "FieldDefinition" } } } }, - nonAzureComputerNames: { - serializedName: "nonAzureComputerNames", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - targets: { - serializedName: "targets", - type: { - name: "Composite", - className: "TargetProperties" - } - } - } - } -}; - -export const TaskProperties: msRest.CompositeMapper = { - serializedName: "taskProperties", - type: { - name: "Composite", - className: "TaskProperties", - modelProperties: { - parameters: { - serializedName: "parameters", + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "DateTime" } }, - source: { - serializedName: "source", + description: { + serializedName: "properties.description", type: { name: "String" } @@ -3161,87 +3153,93 @@ export const TaskProperties: msRest.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationTasks", +export const ConnectionTypeCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionTypeCreateOrUpdateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfigurationTasks", + className: "ConnectionTypeCreateOrUpdateParameters", modelProperties: { - preTask: { - serializedName: "preTask", + name: { + required: true, + serializedName: "name", type: { - name: "Composite", - className: "TaskProperties" + name: "String" } }, - postTask: { - serializedName: "postTask", + isGlobal: { + serializedName: "properties.isGlobal", type: { - name: "Composite", - className: "TaskProperties" + name: "Boolean" + } + }, + fieldDefinitions: { + required: true, + serializedName: "properties.fieldDefinitions", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "FieldDefinition" + } + } } } } } }; -export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfiguration", +export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "CredentialCreateOrUpdateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfiguration", + className: "CredentialCreateOrUpdateParameters", modelProperties: { name: { - readOnly: true, + required: true, serializedName: "name", type: { name: "String" } }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", + userName: { + required: true, + serializedName: "properties.userName", type: { name: "String" } }, - updateConfiguration: { + password: { required: true, - serializedName: "properties.updateConfiguration", + serializedName: "properties.password", type: { - name: "Composite", - className: "UpdateConfiguration" + name: "String" } }, - scheduleInfo: { - required: true, - serializedName: "properties.scheduleInfo", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ScheduleProperties" + name: "String" } - }, - provisioningState: { + } + } + } +}; + +export const Credential: msRest.CompositeMapper = { + serializedName: "Credential", + type: { + name: "Composite", + className: "Credential", + modelProperties: { + ...ProxyResource.type.modelProperties, + userName: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.userName", type: { name: "String" } }, - error: { - serializedName: "properties.error", - type: { - name: "Composite", - className: "ErrorResponse" - } - }, creationTime: { nullable: false, readOnly: true, @@ -3250,13 +3248,6 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { name: "DateTime" } }, - createdBy: { - readOnly: true, - serializedName: "properties.createdBy", - type: { - name: "String" - } - }, lastModifiedTime: { nullable: false, readOnly: true, @@ -3265,117 +3256,94 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { name: "DateTime" } }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", + description: { + serializedName: "properties.description", type: { name: "String" } - }, - tasks: { - serializedName: "properties.tasks", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks" - } } } } }; -export const CollectionItemUpdateConfiguration: msRest.CompositeMapper = { - serializedName: "collectionItemUpdateConfiguration", +export const CredentialUpdateParameters: msRest.CompositeMapper = { + serializedName: "CredentialUpdateParameters", type: { name: "Composite", - className: "CollectionItemUpdateConfiguration", + className: "CredentialUpdateParameters", modelProperties: { - azureVirtualMachines: { - serializedName: "azureVirtualMachines", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - duration: { - serializedName: "duration", + userName: { + serializedName: "properties.userName", type: { - name: "TimeSpan" + name: "String" + } + }, + password: { + serializedName: "properties.password", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationCollectionItem", +export const RunAsCredentialAssociationProperty: msRest.CompositeMapper = { + serializedName: "RunAsCredentialAssociationProperty", type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem", + className: "RunAsCredentialAssociationProperty", modelProperties: { name: { - readOnly: true, serializedName: "name", type: { name: "String" } - }, - id: { - readOnly: true, - serializedName: "id", + } + } + } +}; + +export const HybridRunbookWorkerLegacy: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerLegacy", + type: { + name: "Composite", + className: "HybridRunbookWorkerLegacy", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - updateConfiguration: { - serializedName: "properties.updateConfiguration", - type: { - name: "Composite", - className: "CollectionItemUpdateConfiguration" - } - }, - frequency: { - serializedName: "properties.frequency", + ip: { + serializedName: "ip", type: { name: "String" } }, - startTime: { - nullable: false, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - creationTime: { + registrationTime: { nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + serializedName: "registrationTime", type: { name: "DateTime" } }, - lastModifiedTime: { + lastSeenDateTime: { nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - nextRun: { - nullable: true, - serializedName: "properties.nextRun", + serializedName: "lastSeenDateTime", type: { name: "DateTime" } @@ -3384,110 +3352,139 @@ export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = } }; -export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationListResult", +export const HybridRunbookWorkerGroup: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroup", type: { name: "Composite", - className: "SoftwareUpdateConfigurationListResult", + className: "HybridRunbookWorkerGroup", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + hybridRunbookWorkers: { + serializedName: "hybridRunbookWorkers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem" + className: "HybridRunbookWorkerLegacy" } } } + }, + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "RunAsCredentialAssociationProperty" + } + }, + groupType: { + serializedName: "groupType", + type: { + name: "String" + } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } }; -export const UpdateConfigurationNavigation: msRest.CompositeMapper = { - serializedName: "updateConfigurationNavigation", +export const HybridRunbookWorkerGroupUpdateParameters: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroupUpdateParameters", type: { name: "Composite", - className: "UpdateConfigurationNavigation", + className: "HybridRunbookWorkerGroupUpdateParameters", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + credential: { + serializedName: "credential", type: { - name: "String" + name: "Composite", + className: "RunAsCredentialAssociationProperty" } } } } }; -export const SoftareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTaskProperties", +export const HybridRunbookWorkerGroupCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroupCreateOrUpdateParameters", type: { name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties", + className: "HybridRunbookWorkerGroupCreateOrUpdateParameters", modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, - source: { - serializedName: "source", - type: { - name: "String" - } - }, - jobId: { - serializedName: "jobId", + credential: { + serializedName: "credential", type: { - name: "String" + name: "Composite", + className: "RunAsCredentialAssociationProperty" } } } } }; -export const SoftareUpdateConfigurationRunTasks: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTasks", +export const ScheduleAssociationProperty: msRest.CompositeMapper = { + serializedName: "ScheduleAssociationProperty", type: { name: "Composite", - className: "SoftareUpdateConfigurationRunTasks", + className: "ScheduleAssociationProperty", modelProperties: { - preTask: { - serializedName: "preTask", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" - } - }, - postTask: { - serializedName: "postTask", + name: { + serializedName: "name", type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" + name: "String" } } } } }; -export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationRun", +export const RunbookAssociationProperty: msRest.CompositeMapper = { + serializedName: "RunbookAssociationProperty", type: { name: "Composite", - className: "SoftwareUpdateConfigurationRun", + className: "RunbookAssociationProperty", modelProperties: { name: { - readOnly: true, serializedName: "name", type: { name: "String" } - }, + } + } + } +}; + +export const JobSchedule: msRest.CompositeMapper = { + serializedName: "JobSchedule", + type: { + name: "Composite", + className: "JobSchedule", + modelProperties: { id: { readOnly: true, serializedName: "id", @@ -3495,125 +3492,113 @@ export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { name: "String" } }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", - type: { - name: "Composite", - className: "UpdateConfigurationNavigation" - } - }, - status: { + name: { readOnly: true, - serializedName: "properties.status", + serializedName: "name", type: { name: "String" } }, - configuredDuration: { + type: { readOnly: true, - serializedName: "properties.configuredDuration", + serializedName: "type", type: { name: "String" } }, - osType: { - readOnly: true, - serializedName: "properties.osType", + jobScheduleId: { + serializedName: "properties.jobScheduleId", type: { name: "String" } }, - startTime: { - nullable: false, - readOnly: true, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + schedule: { + serializedName: "properties.schedule", type: { - name: "DateTime" + name: "Composite", + className: "ScheduleAssociationProperty" } }, - computerCount: { - readOnly: true, - serializedName: "properties.computerCount", + runbook: { + serializedName: "properties.runbook", type: { - name: "Number" + name: "Composite", + className: "RunbookAssociationProperty" } }, - failedCount: { - readOnly: true, - serializedName: "properties.failedCount", + runOn: { + serializedName: "properties.runOn", type: { - name: "Number" + name: "String" } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - createdBy: { - readOnly: true, - serializedName: "properties.createdBy", + } + } + } +}; + +export const JobScheduleCreateParameters: msRest.CompositeMapper = { + serializedName: "JobScheduleCreateParameters", + type: { + name: "Composite", + className: "JobScheduleCreateParameters", + modelProperties: { + schedule: { + required: true, + serializedName: "properties.schedule", type: { - name: "String" + name: "Composite", + className: "ScheduleAssociationProperty" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + runbook: { + required: true, + serializedName: "properties.runbook", type: { - name: "DateTime" + name: "Composite", + className: "RunbookAssociationProperty" } }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } }, - tasks: { - serializedName: "properties.tasks", + parameters: { + serializedName: "properties.parameters", type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTasks" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const SoftwareUpdateConfigurationRunListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationRunListResult", +export const LinkedWorkspace: msRest.CompositeMapper = { + serializedName: "LinkedWorkspace", type: { name: "Composite", - className: "SoftwareUpdateConfigurationRunListResult", + className: "LinkedWorkspace", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRun" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } @@ -3622,240 +3607,299 @@ export const SoftwareUpdateConfigurationRunListResult: msRest.CompositeMapper = } }; -export const JobNavigation: msRest.CompositeMapper = { - serializedName: "jobNavigation", +export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ModuleCreateOrUpdateParameters", type: { name: "Composite", - className: "JobNavigation", + className: "ModuleCreateOrUpdateParameters", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + contentLink: { + required: true, + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + location: { + serializedName: "location", type: { name: "String" } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRun", +export const ModuleUpdateParameters: msRest.CompositeMapper = { + serializedName: "ModuleUpdateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun", + className: "ModuleUpdateParameters", modelProperties: { + contentLink: { + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, name: { - readOnly: true, serializedName: "name", type: { name: "String" } }, - id: { - readOnly: true, - serializedName: "id", + location: { + serializedName: "location", type: { name: "String" } }, - targetComputer: { - readOnly: true, - serializedName: "properties.targetComputer", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const AdvancedScheduleMonthlyOccurrence: msRest.CompositeMapper = { + serializedName: "AdvancedScheduleMonthlyOccurrence", + type: { + name: "Composite", + className: "AdvancedScheduleMonthlyOccurrence", + modelProperties: { + occurrence: { + serializedName: "occurrence", + type: { + name: "Number" } }, - targetComputerType: { - readOnly: true, - serializedName: "properties.targetComputerType", + day: { + serializedName: "day", type: { name: "String" } - }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", + } + } + } +}; + +export const AdvancedSchedule: msRest.CompositeMapper = { + serializedName: "AdvancedSchedule", + type: { + name: "Composite", + className: "AdvancedSchedule", + modelProperties: { + weekDays: { + serializedName: "weekDays", type: { - name: "Composite", - className: "UpdateConfigurationNavigation" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - status: { - readOnly: true, - serializedName: "properties.status", + monthDays: { + serializedName: "monthDays", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - osType: { - readOnly: true, - serializedName: "properties.osType", + monthlyOccurrences: { + serializedName: "monthlyOccurrences", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AdvancedScheduleMonthlyOccurrence" + } + } } - }, - correlationId: { - readOnly: true, - serializedName: "properties.correlationId", + } + } + } +}; + +export const ScheduleCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ScheduleCreateOrUpdateParameters", + type: { + name: "Composite", + className: "ScheduleCreateOrUpdateParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { - name: "Uuid" + name: "String" } }, - sourceComputerId: { - readOnly: true, - serializedName: "properties.sourceComputerId", + description: { + serializedName: "properties.description", type: { - name: "Uuid" + name: "String" } }, startTime: { + required: true, nullable: false, - readOnly: true, serializedName: "properties.startTime", type: { name: "DateTime" } }, - endTime: { + expiryTime: { nullable: true, - readOnly: true, - serializedName: "properties.endTime", + serializedName: "properties.expiryTime", type: { name: "DateTime" } }, - configuredDuration: { - readOnly: true, - serializedName: "properties.configuredDuration", - type: { - name: "String" - } - }, - job: { - serializedName: "properties.job", - type: { - name: "Composite", - className: "JobNavigation" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + interval: { + serializedName: "properties.interval", type: { - name: "DateTime" + name: "Object" } }, - createdBy: { - readOnly: true, - serializedName: "properties.createdBy", + frequency: { + required: true, + serializedName: "properties.frequency", type: { name: "String" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", + timeZone: { + serializedName: "properties.timeZone", type: { name: "String" } }, - error: { - serializedName: "properties.error", + advancedSchedule: { + serializedName: "properties.advancedSchedule", type: { name: "Composite", - className: "ErrorResponse" + className: "AdvancedSchedule" } } } } }; -export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRunListResult", +export const Schedule: msRest.CompositeMapper = { + serializedName: "Schedule", type: { name: "Composite", - className: "SoftwareUpdateConfigurationMachineRunListResult", + className: "Schedule", modelProperties: { - value: { - serializedName: "value", + ...ProxyResource.type.modelProperties, + startTime: { + nullable: false, + serializedName: "properties.startTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun" - } - } + name: "DateTime" } }, - nextLink: { - serializedName: "nextLink", + startTimeOffsetMinutes: { + nullable: false, + readOnly: true, + serializedName: "properties.startTimeOffsetMinutes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const SourceControl: msRest.CompositeMapper = { - serializedName: "SourceControl", - type: { - name: "Composite", - className: "SourceControl", - modelProperties: { - ...ProxyResource.type.modelProperties, - repoUrl: { - serializedName: "properties.repoUrl", + }, + expiryTime: { + nullable: true, + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - branch: { - serializedName: "properties.branch", + expiryTimeOffsetMinutes: { + nullable: false, + serializedName: "properties.expiryTimeOffsetMinutes", type: { - name: "String" + name: "Number" } }, - folderPath: { - serializedName: "properties.folderPath", + isEnabled: { + serializedName: "properties.isEnabled", + defaultValue: false, type: { - name: "String" + name: "Boolean" } }, - autoSync: { - serializedName: "properties.autoSync", + nextRun: { + nullable: true, + serializedName: "properties.nextRun", type: { - name: "Boolean" + name: "DateTime" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + nextRunOffsetMinutes: { + nullable: false, + serializedName: "properties.nextRunOffsetMinutes", type: { - name: "Boolean" + name: "Number" } }, - sourceType: { - serializedName: "properties.sourceType", + interval: { + serializedName: "properties.interval", + type: { + name: "Object" + } + }, + frequency: { + serializedName: "properties.frequency", type: { name: "String" } }, - description: { - serializedName: "properties.description", + timeZone: { + serializedName: "properties.timeZone", type: { name: "String" } }, + advancedSchedule: { + serializedName: "properties.advancedSchedule", + type: { + name: "Composite", + className: "AdvancedSchedule" + } + }, creationTime: { nullable: false, serializedName: "properties.creationTime", @@ -3869,155 +3913,144 @@ export const SourceControl: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } } } } }; -export const SourceControlSecurityTokenProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSecurityTokenProperties", +export const ScheduleUpdateParameters: msRest.CompositeMapper = { + serializedName: "ScheduleUpdateParameters", type: { name: "Composite", - className: "SourceControlSecurityTokenProperties", + className: "ScheduleUpdateParameters", modelProperties: { - accessToken: { - serializedName: "accessToken", - constraints: { - MaxLength: 1024 - }, + name: { + serializedName: "name", type: { name: "String" } }, - refreshToken: { - serializedName: "refreshToken", - constraints: { - MaxLength: 1024 - }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - tokenType: { - serializedName: "tokenType", + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const SourceControlUpdateParameters: msRest.CompositeMapper = { - serializedName: "SourceControlUpdateParameters", +export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "VariableCreateOrUpdateParameters", type: { name: "Composite", - className: "SourceControlUpdateParameters", + className: "VariableCreateOrUpdateParameters", modelProperties: { - branch: { - serializedName: "properties.branch", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - folderPath: { - serializedName: "properties.folderPath", + value: { + serializedName: "properties.value", type: { name: "String" } }, - autoSync: { - serializedName: "properties.autoSync", + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + isEncrypted: { + serializedName: "properties.isEncrypted", type: { name: "Boolean" } - }, - securityToken: { - serializedName: "properties.securityToken", - type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } } } } }; -export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "SourceControlCreateOrUpdateParameters", +export const Variable: msRest.CompositeMapper = { + serializedName: "Variable", type: { name: "Composite", - className: "SourceControlCreateOrUpdateParameters", + className: "Variable", modelProperties: { - repoUrl: { - serializedName: "properties.repoUrl", - constraints: { - MaxLength: 2000 - }, + ...ProxyResource.type.modelProperties, + value: { + serializedName: "properties.value", type: { name: "String" } }, - branch: { - serializedName: "properties.branch", - constraints: { - MaxLength: 255 - }, + isEncrypted: { + nullable: true, + serializedName: "properties.isEncrypted", type: { - name: "String" + name: "Boolean" } }, - folderPath: { - serializedName: "properties.folderPath", - constraints: { - MaxLength: 255 - }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } }, - autoSync: { - serializedName: "properties.autoSync", + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", type: { - name: "Boolean" + name: "DateTime" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" } - }, - sourceType: { - serializedName: "properties.sourceType", + } + } + } +}; + +export const VariableUpdateParameters: msRest.CompositeMapper = { + serializedName: "VariableUpdateParameters", + type: { + name: "Composite", + className: "VariableUpdateParameters", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - securityToken: { - serializedName: "properties.securityToken", + value: { + serializedName: "properties.value", type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" + name: "String" } }, description: { serializedName: "properties.description", - constraints: { - MaxLength: 512 - }, type: { name: "String" } @@ -4026,35 +4059,45 @@ export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const SourceControlSyncJob: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJob", +export const Watcher: msRest.CompositeMapper = { + serializedName: "Watcher", type: { name: "Composite", - className: "SourceControlSyncJob", + className: "Watcher", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...Resource.type.modelProperties, + executionFrequencyInSeconds: { + serializedName: "properties.executionFrequencyInSeconds", type: { - name: "String" + name: "Number" } }, - type: { - readOnly: true, - serializedName: "type", + scriptName: { + serializedName: "properties.scriptName", type: { name: "String" } }, - id: { - readOnly: true, - serializedName: "id", + scriptParameters: { + serializedName: "properties.scriptParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + scriptRunOn: { + serializedName: "properties.scriptRunOn", type: { name: "String" } }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } @@ -4067,50 +4110,46 @@ export const SourceControlSyncJob: msRest.CompositeMapper = { name: "DateTime" } }, - provisioningState: { - serializedName: "properties.provisioningState", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "String" + name: "DateTime" } }, - startTime: { - nullable: true, + lastModifiedBy: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "properties.lastModifiedBy", type: { - name: "DateTime" + name: "String" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + description: { + serializedName: "properties.description", type: { - name: "DateTime" + name: "String" } }, - syncType: { - serializedName: "properties.syncType", + etag: { + serializedName: "etag", type: { name: "String" } - } - } - } -}; - -export const SourceControlSyncJobCreateParameters: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobCreateParameters", - type: { - name: "Composite", - className: "SourceControlSyncJobCreateParameters", - modelProperties: { - commitId: { - required: true, - serializedName: "properties.commitId", - constraints: { - MinLength: 0 - }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + location: { + serializedName: "location", type: { name: "String" } @@ -4119,62 +4158,20 @@ export const SourceControlSyncJobCreateParameters: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobById: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobById", +export const WatcherUpdateParameters: msRest.CompositeMapper = { + serializedName: "WatcherUpdateParameters", type: { name: "Composite", - className: "SourceControlSyncJobById", + className: "WatcherUpdateParameters", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", - type: { - name: "DateTime" - } - }, - syncType: { - serializedName: "properties.syncType", + executionFrequencyInSeconds: { + serializedName: "properties.executionFrequencyInSeconds", type: { - name: "String" + name: "Number" } }, - exception: { - serializedName: "properties.exception", + name: { + serializedName: "name", type: { name: "String" } @@ -4183,41 +4180,32 @@ export const SourceControlSyncJobById: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobStream: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStream", +export const DscConfigurationParameter: msRest.CompositeMapper = { + serializedName: "DscConfigurationParameter", type: { name: "Composite", - className: "SourceControlSyncJobStream", + className: "DscConfigurationParameter", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - sourceControlSyncJobStreamId: { - serializedName: "properties.sourceControlSyncJobStreamId", + type: { + serializedName: "type", type: { name: "String" } }, - summary: { - serializedName: "properties.summary", + isMandatory: { + serializedName: "isMandatory", type: { - name: "String" + name: "Boolean" } }, - time: { - nullable: true, - readOnly: true, - serializedName: "properties.time", + position: { + serializedName: "position", type: { - name: "DateTime" + name: "Number" } }, - streamType: { - serializedName: "properties.streamType", + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } @@ -4226,58 +4214,69 @@ export const SourceControlSyncJobStream: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamById", +export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscConfigurationCreateOrUpdateParameters", type: { name: "Composite", - className: "SourceControlSyncJobStreamById", + className: "DscConfigurationCreateOrUpdateParameters", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + logVerbose: { + serializedName: "properties.logVerbose", type: { - name: "String" + name: "Boolean" } }, - sourceControlSyncJobStreamId: { - serializedName: "properties.sourceControlSyncJobStreamId", + logProgress: { + serializedName: "properties.logProgress", type: { - name: "String" + name: "Boolean" } }, - summary: { - serializedName: "properties.summary", + source: { + required: true, + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "ContentSource" } }, - time: { - nullable: true, - readOnly: true, - serializedName: "properties.time", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "DscConfigurationParameter" + } + } } }, - streamType: { - serializedName: "properties.streamType", + description: { + serializedName: "properties.description", type: { name: "String" } }, - streamText: { - serializedName: "properties.streamText", + name: { + serializedName: "name", type: { name: "String" } }, - value: { - serializedName: "properties.value", + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", type: { name: "Dictionary", value: { type: { - name: "Object" + name: "String" } } } @@ -4286,56 +4285,153 @@ export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { } }; -export const JobStream: msRest.CompositeMapper = { - serializedName: "JobStream", +export const DscConfiguration: msRest.CompositeMapper = { + serializedName: "DscConfiguration", type: { name: "Composite", - className: "JobStream", + className: "DscConfiguration", modelProperties: { - id: { - serializedName: "id", + ...TrackedResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Succeeded" + ] } }, - jobStreamId: { - serializedName: "properties.jobStreamId", + jobCount: { + serializedName: "properties.jobCount", type: { - name: "String" + name: "Number" } }, - time: { - nullable: false, - serializedName: "properties.time", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "DscConfigurationParameter" + } + } } }, - streamType: { - serializedName: "properties.streamType", + source: { + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "ContentSource" } }, - streamText: { - serializedName: "properties.streamText", + state: { + serializedName: "properties.state", type: { name: "String" } }, - summary: { - serializedName: "properties.summary", + logVerbose: { + serializedName: "properties.logVerbose", type: { - name: "String" + name: "Boolean" } }, - value: { - serializedName: "properties.value", + creationTime: { + nullable: false, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + nodeConfigurationCount: { + nullable: false, + serializedName: "properties.nodeConfigurationCount", + type: { + name: "Number" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscConfigurationUpdateParameters", + type: { + name: "Composite", + className: "DscConfigurationUpdateParameters", + modelProperties: { + logVerbose: { + serializedName: "properties.logVerbose", + type: { + name: "Boolean" + } + }, + logProgress: { + serializedName: "properties.logProgress", + type: { + name: "Boolean" + } + }, + source: { + required: true, + serializedName: "properties.source", + type: { + name: "Composite", + className: "ContentSource" + } + }, + parameters: { + serializedName: "properties.parameters", type: { name: "Dictionary", value: { type: { - name: "Object" + name: "Composite", + className: "DscConfigurationParameter" + } + } + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" } } } @@ -4482,46 +4578,578 @@ export const JobCollectionItem: msRest.CompositeMapper = { name: "DateTime" } }, - status: { - readOnly: true, - serializedName: "properties.status", + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + startTime: { + nullable: true, + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: true, + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + } + } + } +}; + +export const JobCreateParameters: msRest.CompositeMapper = { + serializedName: "JobCreateParameters", + type: { + name: "Composite", + className: "JobCreateParameters", + modelProperties: { + runbook: { + serializedName: "properties.runbook", + type: { + name: "Composite", + className: "RunbookAssociationProperty" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const RawGraphicalRunbookContent: msRest.CompositeMapper = { + serializedName: "RawGraphicalRunbookContent", + type: { + name: "Composite", + className: "RawGraphicalRunbookContent", + modelProperties: { + schemaVersion: { + serializedName: "schemaVersion", + type: { + name: "String" + } + }, + runbookDefinition: { + serializedName: "runbookDefinition", + type: { + name: "String" + } + }, + runbookType: { + serializedName: "runbookType", + type: { + name: "String" + } + } + } + } +}; + +export const GraphicalRunbookContent: msRest.CompositeMapper = { + serializedName: "GraphicalRunbookContent", + type: { + name: "Composite", + className: "GraphicalRunbookContent", + modelProperties: { + rawContent: { + nullable: true, + serializedName: "rawContent", + type: { + name: "Composite", + className: "RawGraphicalRunbookContent" + } + }, + graphRunbookJson: { + nullable: true, + serializedName: "graphRunbookJson", + type: { + name: "String" + } + } + } + } +}; + +export const WindowsProperties: msRest.CompositeMapper = { + serializedName: "WindowsProperties", + type: { + name: "Composite", + className: "WindowsProperties", + modelProperties: { + includedUpdateClassifications: { + serializedName: "includedUpdateClassifications", + type: { + name: "String" + } + }, + excludedKbNumbers: { + serializedName: "excludedKbNumbers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + includedKbNumbers: { + serializedName: "includedKbNumbers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + rebootSetting: { + serializedName: "rebootSetting", + type: { + name: "String" + } + } + } + } +}; + +export const LinuxProperties: msRest.CompositeMapper = { + serializedName: "LinuxProperties", + type: { + name: "Composite", + className: "LinuxProperties", + modelProperties: { + includedPackageClassifications: { + serializedName: "includedPackageClassifications", + type: { + name: "String" + } + }, + excludedPackageNameMasks: { + serializedName: "excludedPackageNameMasks", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + includedPackageNameMasks: { + serializedName: "includedPackageNameMasks", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + rebootSetting: { + serializedName: "rebootSetting", + type: { + name: "String" + } + } + } + } +}; + +export const TagSettingsProperties: msRest.CompositeMapper = { + serializedName: "TagSettingsProperties", + type: { + name: "Composite", + className: "TagSettingsProperties", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + }, + filterOperator: { + serializedName: "filterOperator", + type: { + name: "Enum", + allowedValues: [ + "All", + "Any" + ] + } + } + } + } +}; + +export const AzureQueryProperties: msRest.CompositeMapper = { + serializedName: "AzureQueryProperties", + type: { + name: "Composite", + className: "AzureQueryProperties", + modelProperties: { + scope: { + serializedName: "scope", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locations: { + serializedName: "locations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + tagSettings: { + serializedName: "tagSettings", + type: { + name: "Composite", + className: "TagSettingsProperties" + } + } + } + } +}; + +export const NonAzureQueryProperties: msRest.CompositeMapper = { + serializedName: "NonAzureQueryProperties", + type: { + name: "Composite", + className: "NonAzureQueryProperties", + modelProperties: { + functionAlias: { + serializedName: "functionAlias", + type: { + name: "String" + } + }, + workspaceId: { + serializedName: "workspaceId", + type: { + name: "String" + } + } + } + } +}; + +export const TargetProperties: msRest.CompositeMapper = { + serializedName: "TargetProperties", + type: { + name: "Composite", + className: "TargetProperties", + modelProperties: { + azureQueries: { + serializedName: "azureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureQueryProperties" + } + } + } + }, + nonAzureQueries: { + serializedName: "nonAzureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NonAzureQueryProperties" + } + } + } + } + } + } +}; + +export const UpdateConfiguration: msRest.CompositeMapper = { + serializedName: "updateConfiguration", + type: { + name: "Composite", + className: "UpdateConfiguration", + modelProperties: { + operatingSystem: { + required: true, + serializedName: "operatingSystem", + type: { + name: "Enum", + allowedValues: [ + "Windows", + "Linux" + ] + } + }, + windows: { + serializedName: "windows", + type: { + name: "Composite", + className: "WindowsProperties" + } + }, + linux: { + serializedName: "linux", + type: { + name: "Composite", + className: "LinuxProperties" + } + }, + duration: { + serializedName: "duration", + type: { + name: "TimeSpan" + } + }, + azureVirtualMachines: { + serializedName: "azureVirtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + nonAzureComputerNames: { + serializedName: "nonAzureComputerNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + targets: { + serializedName: "targets", + type: { + name: "Composite", + className: "TargetProperties" + } + } + } + } +}; + +export const SUCScheduleProperties: msRest.CompositeMapper = { + serializedName: "SUCScheduleProperties", + type: { + name: "Composite", + className: "SUCScheduleProperties", + modelProperties: { + startTime: { + nullable: false, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + startTimeOffsetMinutes: { + nullable: false, + readOnly: true, + serializedName: "startTimeOffsetMinutes", + type: { + name: "Number" + } + }, + expiryTime: { + nullable: true, + serializedName: "expiryTime", + type: { + name: "DateTime" + } + }, + expiryTimeOffsetMinutes: { + nullable: false, + serializedName: "expiryTimeOffsetMinutes", + type: { + name: "Number" + } + }, + isEnabled: { + serializedName: "isEnabled", + defaultValue: false, + type: { + name: "Boolean" + } + }, + nextRun: { + nullable: true, + serializedName: "nextRun", + type: { + name: "DateTime" + } + }, + nextRunOffsetMinutes: { + nullable: false, + serializedName: "nextRunOffsetMinutes", + type: { + name: "Number" + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + frequency: { + serializedName: "frequency", + type: { + name: "String" + } + }, + timeZone: { + serializedName: "timeZone", type: { name: "String" } }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "properties.startTime", + advancedSchedule: { + serializedName: "advancedSchedule", type: { - name: "DateTime" + name: "Composite", + className: "AdvancedSchedule" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + creationTime: { + nullable: false, + serializedName: "creationTime", type: { name: "DateTime" } }, lastModifiedTime: { - nullable: true, - readOnly: true, - serializedName: "properties.lastModifiedTime", + nullable: false, + serializedName: "lastModifiedTime", type: { name: "DateTime" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - runOn: { - serializedName: "properties.runOn", + description: { + serializedName: "description", type: { name: "String" } @@ -4530,21 +5158,14 @@ export const JobCollectionItem: msRest.CompositeMapper = { } }; -export const JobCreateParameters: msRest.CompositeMapper = { - serializedName: "JobCreateParameters", +export const TaskProperties: msRest.CompositeMapper = { + serializedName: "taskProperties", type: { name: "Composite", - className: "JobCreateParameters", + className: "TaskProperties", modelProperties: { - runbook: { - serializedName: "properties.runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, parameters: { - serializedName: "properties.parameters", + serializedName: "parameters", type: { name: "Dictionary", value: { @@ -4554,8 +5175,8 @@ export const JobCreateParameters: msRest.CompositeMapper = { } } }, - runOn: { - serializedName: "properties.runOn", + source: { + serializedName: "source", type: { name: "String" } @@ -4564,339 +5185,439 @@ export const JobCreateParameters: msRest.CompositeMapper = { } }; -export const DscReportError: msRest.CompositeMapper = { - serializedName: "DscReportError", +export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationTasks", type: { name: "Composite", - className: "DscReportError", + className: "SoftwareUpdateConfigurationTasks", modelProperties: { - errorSource: { - serializedName: "errorSource", + preTask: { + serializedName: "preTask", type: { - name: "String" + name: "Composite", + className: "TaskProperties" } }, - resourceId: { - serializedName: "resourceId", + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "TaskProperties" + } + } + } + } +}; + +export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfiguration", + type: { + name: "Composite", + className: "SoftwareUpdateConfiguration", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - errorCode: { - serializedName: "errorCode", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - errorMessage: { - serializedName: "errorMessage", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - locale: { - serializedName: "locale", + updateConfiguration: { + required: true, + serializedName: "properties.updateConfiguration", + type: { + name: "Composite", + className: "UpdateConfiguration" + } + }, + scheduleInfo: { + required: true, + serializedName: "properties.scheduleInfo", + type: { + name: "Composite", + className: "SUCScheduleProperties" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - errorDetails: { - serializedName: "errorDetails", + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ErrorResponse" + } + }, + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", type: { name: "String" } - } - } - } -}; - -export const DscReportResourceNavigation: msRest.CompositeMapper = { - serializedName: "DscReportResourceNavigation", - type: { - name: "Composite", - className: "DscReportResourceNavigation", - modelProperties: { - resourceId: { - serializedName: "resourceId", + }, + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", type: { name: "String" } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" + } } } } }; -export const DscReportResource: msRest.CompositeMapper = { - serializedName: "DscReportResource", +export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationCollectionItem", type: { name: "Composite", - className: "DscReportResource", + className: "SoftwareUpdateConfigurationCollectionItem", modelProperties: { - resourceId: { - serializedName: "resourceId", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - sourceInfo: { - serializedName: "sourceInfo", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - dependsOn: { - serializedName: "dependsOn", + updateConfiguration: { + serializedName: "properties.updateConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscReportResourceNavigation" - } - } + name: "Composite", + className: "UpdateConfiguration" } }, - moduleName: { - serializedName: "moduleName", + tasks: { + serializedName: "properties.tasks", type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" } }, - moduleVersion: { - serializedName: "moduleVersion", + frequency: { + serializedName: "properties.frequency", type: { name: "String" } }, - resourceName: { - serializedName: "resourceName", + startTime: { + nullable: false, + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } }, - error: { - serializedName: "error", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } }, - status: { - serializedName: "status", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "String" + name: "DateTime" } }, - durationInSeconds: { - serializedName: "durationInSeconds", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { - name: "Number" + name: "String" } }, - startDate: { - nullable: false, - serializedName: "startDate", + nextRun: { + nullable: true, + serializedName: "properties.nextRun", + type: { + name: "DateTime" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationListResult", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationCollectionItem" + } + } } } } } }; -export const DscMetaConfiguration: msRest.CompositeMapper = { - serializedName: "DscMetaConfiguration", +export const UpdateConfigurationNavigation: msRest.CompositeMapper = { + serializedName: "updateConfigurationNavigation", type: { name: "Composite", - className: "DscMetaConfiguration", + className: "UpdateConfigurationNavigation", modelProperties: { - configurationModeFrequencyMins: { - serializedName: "configurationModeFrequencyMins", - type: { - name: "Number" - } - }, - rebootNodeIfNeeded: { - serializedName: "rebootNodeIfNeeded", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Boolean" + name: "String" } - }, - configurationMode: { - serializedName: "configurationMode", + } + } + } +}; + +export const SoftwareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRunTaskProperties", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, - actionAfterReboot: { - serializedName: "actionAfterReboot", + source: { + serializedName: "source", type: { name: "String" } }, - certificateId: { - serializedName: "certificateId", + jobId: { + serializedName: "jobId", type: { name: "String" } - }, - refreshFrequencyMins: { - serializedName: "refreshFrequencyMins", + } + } + } +}; + +export const SoftwareUpdateConfigurationRunTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRunTasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTasks", + modelProperties: { + preTask: { + serializedName: "preTask", type: { - name: "Number" + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" } }, - allowModuleOverwrite: { - serializedName: "allowModuleOverwrite", + postTask: { + serializedName: "postTask", type: { - name: "Boolean" + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" } } } } }; -export const DscNodeReport: msRest.CompositeMapper = { - serializedName: "DscNodeReport", +export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRun", type: { name: "Composite", - className: "DscNodeReport", + className: "SoftwareUpdateConfigurationRun", modelProperties: { - endTime: { - nullable: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", + name: { + readOnly: true, + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - startTime: { - nullable: true, - serializedName: "startTime", + id: { + readOnly: true, + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - type: { - serializedName: "type", + softwareUpdateConfiguration: { + serializedName: "properties.softwareUpdateConfiguration", type: { - name: "String" + name: "Composite", + className: "UpdateConfigurationNavigation" } }, - reportId: { - serializedName: "reportId", + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - status: { - serializedName: "status", + configuredDuration: { + readOnly: true, + serializedName: "properties.configuredDuration", type: { name: "String" } }, - refreshMode: { - serializedName: "refreshMode", + osType: { + readOnly: true, + serializedName: "properties.osType", type: { name: "String" } }, - rebootRequested: { - serializedName: "rebootRequested", + startTime: { + nullable: false, + readOnly: true, + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } }, - reportFormatVersion: { - serializedName: "reportFormatVersion", + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", type: { - name: "String" + name: "DateTime" } }, - configurationVersion: { - serializedName: "configurationVersion", + computerCount: { + readOnly: true, + serializedName: "properties.computerCount", type: { - name: "String" + name: "Number" } }, - id: { - serializedName: "id", + failedCount: { + readOnly: true, + serializedName: "properties.failedCount", type: { - name: "String" + name: "Number" } }, - errors: { - serializedName: "errors", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscReportError" - } - } + name: "DateTime" } }, - resources: { - serializedName: "resources", + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscReportResource" - } - } + name: "String" } }, - metaConfiguration: { - serializedName: "metaConfiguration", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "Composite", - className: "DscMetaConfiguration" + name: "DateTime" } }, - hostName: { - serializedName: "hostName", + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, - iPV4Addresses: { - serializedName: "iPV4Addresses", + tasks: { + serializedName: "properties.tasks", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SoftwareUpdateConfigurationRunTasks" } - }, - iPV6Addresses: { - serializedName: "iPV6Addresses", + } + } + } +}; + +export const SoftwareUpdateConfigurationRunListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRunListResult", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationRun" } } } }, - numberOfResources: { - serializedName: "numberOfResources", - type: { - name: "Number" - } - }, - rawErrors: { - serializedName: "rawErrors", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -4905,20 +5626,15 @@ export const DscNodeReport: msRest.CompositeMapper = { } }; -export const AgentRegistrationKeys: msRest.CompositeMapper = { - serializedName: "AgentRegistrationKeys", - type: { - name: "Composite", - className: "AgentRegistrationKeys", - modelProperties: { - primary: { - serializedName: "primary", - type: { - name: "String" - } - }, - secondary: { - serializedName: "secondary", +export const JobNavigation: msRest.CompositeMapper = { + serializedName: "jobNavigation", + type: { + name: "Composite", + className: "JobNavigation", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } @@ -4927,151 +5643,166 @@ export const AgentRegistrationKeys: msRest.CompositeMapper = { } }; -export const AgentRegistration: msRest.CompositeMapper = { - serializedName: "AgentRegistration", +export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRun", type: { name: "Composite", - className: "AgentRegistration", + className: "SoftwareUpdateConfigurationMachineRun", modelProperties: { - dscMetaConfiguration: { - serializedName: "dscMetaConfiguration", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - endpoint: { - serializedName: "endpoint", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - keys: { - serializedName: "keys", + targetComputer: { + readOnly: true, + serializedName: "properties.targetComputer", type: { - name: "Composite", - className: "AgentRegistrationKeys" + name: "String" } }, - id: { - serializedName: "id", + targetComputerType: { + readOnly: true, + serializedName: "properties.targetComputerType", type: { name: "String" } - } - } - } -}; - -export const DscNodeExtensionHandlerAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscNodeExtensionHandlerAssociationProperty", - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty", - modelProperties: { - name: { - serializedName: "name", + }, + softwareUpdateConfiguration: { + serializedName: "properties.softwareUpdateConfiguration", + type: { + name: "Composite", + className: "UpdateConfigurationNavigation" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - version: { - serializedName: "version", + osType: { + readOnly: true, + serializedName: "properties.osType", type: { name: "String" } - } - } - } -}; - -export const DscNode: msRest.CompositeMapper = { - serializedName: "DscNode", - type: { - name: "Composite", - className: "DscNode", - modelProperties: { - ...ProxyResource.type.modelProperties, - lastSeen: { - nullable: false, - serializedName: "properties.lastSeen", + }, + correlationId: { + readOnly: true, + serializedName: "properties.correlationId", type: { - name: "DateTime" + name: "Uuid" } }, - registrationTime: { + sourceComputerId: { + readOnly: true, + serializedName: "properties.sourceComputerId", + type: { + name: "Uuid" + } + }, + startTime: { nullable: false, - serializedName: "properties.registrationTime", + readOnly: true, + serializedName: "properties.startTime", type: { name: "DateTime" } }, - ip: { - serializedName: "properties.ip", + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", type: { - name: "String" + name: "DateTime" } }, - accountId: { - serializedName: "properties.accountId", + configuredDuration: { + readOnly: true, + serializedName: "properties.configuredDuration", type: { name: "String" } }, - dscNodeName: { - serializedName: "properties.nodeConfiguration.name", + job: { + serializedName: "properties.job", type: { - name: "String" + name: "Composite", + className: "JobNavigation" } }, - status: { - serializedName: "properties.status", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } }, - nodeId: { - serializedName: "properties.nodeId", + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", type: { name: "String" } }, - etag: { - serializedName: "properties.etag", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "String" + name: "DateTime" } }, - totalCount: { - serializedName: "properties.totalCount", + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", type: { - name: "Number" + name: "String" } }, - extensionHandler: { - serializedName: "properties.extensionHandler", + error: { + serializedName: "properties.error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty" - } - } + name: "Composite", + className: "ErrorResponse" } } } } }; -export const AgentRegistrationRegenerateKeyParameter: msRest.CompositeMapper = { - serializedName: "AgentRegistrationRegenerateKeyParameter", +export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRunListResult", type: { name: "Composite", - className: "AgentRegistrationRegenerateKeyParameter", + className: "SoftwareUpdateConfigurationMachineRunListResult", modelProperties: { - keyName: { - required: true, - serializedName: "keyName", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationMachineRun" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -5080,14 +5811,32 @@ export const AgentRegistrationRegenerateKeyParameter: msRest.CompositeMapper = { } }; -export const DscNodeUpdateParametersProperties: msRest.CompositeMapper = { - serializedName: "DscNodeUpdateParameters_properties", +export const RunbookParameter: msRest.CompositeMapper = { + serializedName: "RunbookParameter", type: { name: "Composite", - className: "DscNodeUpdateParametersProperties", + className: "RunbookParameter", modelProperties: { - name: { - serializedName: "nodeConfiguration.name", + type: { + serializedName: "type", + type: { + name: "String" + } + }, + isMandatory: { + serializedName: "isMandatory", + type: { + name: "Boolean" + } + }, + position: { + serializedName: "position", + type: { + name: "Number" + } + }, + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } @@ -5096,189 +5845,240 @@ export const DscNodeUpdateParametersProperties: msRest.CompositeMapper = { } }; -export const DscNodeUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscNodeUpdateParameters", +export const RunbookDraft: msRest.CompositeMapper = { + serializedName: "RunbookDraft", type: { name: "Composite", - className: "DscNodeUpdateParameters", + className: "RunbookDraft", modelProperties: { - nodeId: { - serializedName: "nodeId", + inEdit: { + serializedName: "inEdit", type: { - name: "String" + name: "Boolean" } }, - properties: { - serializedName: "properties", + draftContentLink: { + serializedName: "draftContentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + creationTime: { + nullable: false, + serializedName: "creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "lastModifiedTime", + type: { + name: "DateTime" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "RunbookParameter" + } + } + } + }, + outputTypes: { + serializedName: "outputTypes", type: { - name: "Composite", - className: "DscNodeUpdateParametersProperties" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const DscConfigurationAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscConfigurationAssociationProperty", +export const Runbook: msRest.CompositeMapper = { + serializedName: "Runbook", type: { name: "Composite", - className: "DscConfigurationAssociationProperty", + className: "Runbook", modelProperties: { - name: { - serializedName: "name", + ...TrackedResource.type.modelProperties, + runbookType: { + serializedName: "properties.runbookType", type: { name: "String" } - } - } - } -}; - -export const DscCompilationJob: msRest.CompositeMapper = { - serializedName: "DscCompilationJob", - type: { - name: "Composite", - className: "DscCompilationJob", - modelProperties: { - ...ProxyResource.type.modelProperties, - configuration: { - serializedName: "properties.configuration", + }, + publishContentLink: { + serializedName: "properties.publishContentLink", type: { name: "Composite", - className: "DscConfigurationAssociationProperty" + className: "ContentLink" } }, - startedBy: { - readOnly: true, - serializedName: "properties.startedBy", + state: { + serializedName: "properties.state", type: { name: "String" } }, - jobId: { - nullable: false, - readOnly: true, - serializedName: "properties.jobId", + logVerbose: { + serializedName: "properties.logVerbose", type: { - name: "Uuid" + name: "Boolean" } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + logProgress: { + serializedName: "properties.logProgress", type: { - name: "DateTime" + name: "Boolean" } }, - provisioningState: { - serializedName: "properties.provisioningState", + logActivityTrace: { + serializedName: "properties.logActivityTrace", type: { - name: "String" + name: "Number" } }, - runOn: { - serializedName: "properties.runOn", + jobCount: { + serializedName: "properties.jobCount", type: { - name: "String" + name: "Number" } }, - status: { - serializedName: "properties.status", + parameters: { + serializedName: "properties.parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "RunbookParameter" + } + } } }, - statusDetails: { - serializedName: "properties.statusDetails", + outputTypes: { + serializedName: "properties.outputTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "properties.startTime", + draft: { + serializedName: "properties.draft", type: { - name: "DateTime" + name: "Composite", + className: "RunbookDraft" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "Succeeded" + ] } }, - exception: { - readOnly: true, - serializedName: "properties.exception", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, lastModifiedTime: { nullable: false, - readOnly: true, serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - lastStatusModifiedTime: { - nullable: true, - readOnly: true, - serializedName: "properties.lastStatusModifiedTime", + description: { + serializedName: "properties.description", type: { - name: "DateTime" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + etag: { + serializedName: "etag", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { - serializedName: "DscCompilationJobCreateParameters", +export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "RunbookCreateOrUpdateParameters", type: { name: "Composite", - className: "DscCompilationJobCreateParameters", + className: "RunbookCreateOrUpdateParameters", modelProperties: { - configuration: { + logVerbose: { + serializedName: "properties.logVerbose", + type: { + name: "Boolean" + } + }, + logProgress: { + serializedName: "properties.logProgress", + type: { + name: "Boolean" + } + }, + runbookType: { required: true, - serializedName: "properties.configuration", + serializedName: "properties.runbookType", + type: { + name: "String" + } + }, + draft: { + serializedName: "properties.draft", type: { name: "Composite", - className: "DscConfigurationAssociationProperty" + className: "RunbookDraft" } }, - parameters: { - serializedName: "properties.parameters", + publishContentLink: { + serializedName: "properties.publishContentLink", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Composite", + className: "ContentLink" } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", + description: { + serializedName: "properties.description", type: { - name: "Boolean" + name: "String" + } + }, + logActivityTrace: { + serializedName: "properties.logActivityTrace", + type: { + name: "Number" } }, name: { @@ -5308,90 +6108,48 @@ export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { } }; -export const DscNodeConfiguration: msRest.CompositeMapper = { - serializedName: "DscNodeConfiguration", - type: { - name: "Composite", - className: "DscNodeConfiguration", - modelProperties: { - ...ProxyResource.type.modelProperties, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - configuration: { - serializedName: "properties.configuration", - type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" - } - }, - source: { - serializedName: "properties.source", - type: { - name: "String" - } - }, - nodeCount: { - serializedName: "properties.nodeCount", - type: { - name: "Number" - } - }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DscNodeConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationCreateOrUpdateParameters", +export const RunbookUpdateParameters: msRest.CompositeMapper = { + serializedName: "RunbookUpdateParameters", type: { name: "Composite", - className: "DscNodeConfigurationCreateOrUpdateParameters", + className: "RunbookUpdateParameters", modelProperties: { - source: { - required: true, - serializedName: "properties.source", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ContentSource" + name: "String" } }, - configuration: { - required: true, - serializedName: "properties.configuration", + logVerbose: { + serializedName: "properties.logVerbose", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "Boolean" } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", + logProgress: { + serializedName: "properties.logProgress", type: { name: "Boolean" } }, + logActivityTrace: { + serializedName: "properties.logActivityTrace", + type: { + name: "Number" + } + }, name: { serializedName: "name", type: { name: "String" } }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -5407,131 +6165,104 @@ export const DscNodeConfigurationCreateOrUpdateParameters: msRest.CompositeMappe } }; -export const NodeCountProperties: msRest.CompositeMapper = { - serializedName: "NodeCountProperties", - type: { - name: "Composite", - className: "NodeCountProperties", - modelProperties: { - count: { - serializedName: "count", - type: { - name: "Number" - } - } - } - } -}; - -export const NodeCount: msRest.CompositeMapper = { - serializedName: "NodeCount", +export const RunbookDraftUndoEditResult: msRest.CompositeMapper = { + serializedName: "RunbookDraftUndoEditResult", type: { name: "Composite", - className: "NodeCount", + className: "RunbookDraftUndoEditResult", modelProperties: { - name: { - serializedName: "name", + statusCode: { + serializedName: "statusCode", type: { name: "String" } }, - properties: { - serializedName: "properties", + requestId: { + serializedName: "requestId", type: { - name: "Composite", - className: "NodeCountProperties" + name: "String" } } } } }; -export const NodeCounts: msRest.CompositeMapper = { - serializedName: "NodeCounts", +export const TestJobCreateParameters: msRest.CompositeMapper = { + serializedName: "TestJobCreateParameters", type: { name: "Composite", - className: "NodeCounts", + className: "TestJobCreateParameters", modelProperties: { - value: { - serializedName: "value", + parameters: { + serializedName: "parameters", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "NodeCount" + name: "String" } } } }, - totalCount: { - serializedName: "totalCount", + runOn: { + serializedName: "runOn", type: { - name: "Number" + name: "String" } } } } }; -export const RunbookParameter: msRest.CompositeMapper = { - serializedName: "RunbookParameter", +export const TestJob: msRest.CompositeMapper = { + serializedName: "TestJob", type: { name: "Composite", - className: "RunbookParameter", + className: "TestJob", modelProperties: { - type: { - serializedName: "type", + creationTime: { + nullable: false, + serializedName: "creationTime", type: { - name: "String" + name: "DateTime" } }, - isMandatory: { - serializedName: "isMandatory", + status: { + serializedName: "status", type: { - name: "Boolean" + name: "String" } }, - position: { - serializedName: "position", + statusDetails: { + serializedName: "statusDetails", type: { - name: "Number" + name: "String" } }, - defaultValue: { - serializedName: "defaultValue", + runOn: { + serializedName: "runOn", type: { name: "String" } - } - } - } -}; - -export const RunbookDraft: msRest.CompositeMapper = { - serializedName: "RunbookDraft", - type: { - name: "Composite", - className: "RunbookDraft", - modelProperties: { - inEdit: { - serializedName: "inEdit", + }, + startTime: { + nullable: true, + serializedName: "startTime", type: { - name: "Boolean" + name: "DateTime" } }, - draftContentLink: { - serializedName: "draftContentLink", + endTime: { + nullable: true, + serializedName: "endTime", type: { - name: "Composite", - className: "ContentLink" + name: "DateTime" } }, - creationTime: { - nullable: false, - serializedName: "creationTime", + exception: { + serializedName: "exception", type: { - name: "DateTime" + name: "String" } }, lastModifiedTime: { @@ -5541,81 +6272,132 @@ export const RunbookDraft: msRest.CompositeMapper = { name: "DateTime" } }, + lastStatusModifiedTime: { + nullable: true, + serializedName: "lastStatusModifiedTime", + type: { + name: "DateTime" + } + }, parameters: { serializedName: "parameters", type: { name: "Dictionary", value: { type: { - name: "Composite", - className: "RunbookParameter" + name: "String" } } } }, - outputTypes: { - serializedName: "outputTypes", + logActivityTrace: { + serializedName: "logActivityTrace", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } } } } }; -export const Runbook: msRest.CompositeMapper = { - serializedName: "Runbook", +export const RunbookCreateOrUpdateDraftProperties: msRest.CompositeMapper = { + serializedName: "RunbookCreateOrUpdateDraftProperties", type: { name: "Composite", - className: "Runbook", + className: "RunbookCreateOrUpdateDraftProperties", modelProperties: { - ...TrackedResource.type.modelProperties, + logVerbose: { + serializedName: "logVerbose", + type: { + name: "Boolean" + } + }, + logProgress: { + serializedName: "logProgress", + type: { + name: "Boolean" + } + }, runbookType: { - serializedName: "properties.runbookType", + required: true, + serializedName: "runbookType", type: { name: "String" } }, - publishContentLink: { - serializedName: "properties.publishContentLink", + draft: { + required: true, + serializedName: "draft", type: { name: "Composite", - className: "ContentLink" + className: "RunbookDraft" } }, - state: { - serializedName: "properties.state", + description: { + serializedName: "description", type: { name: "String" } }, - logVerbose: { - serializedName: "properties.logVerbose", + logActivityTrace: { + serializedName: "logActivityTrace", type: { - name: "Boolean" + name: "Number" } - }, - logProgress: { - serializedName: "properties.logProgress", + } + } + } +}; + +export const RunbookCreateOrUpdateDraftParameters: msRest.CompositeMapper = { + serializedName: "RunbookCreateOrUpdateDraftParameters", + type: { + name: "Composite", + className: "RunbookCreateOrUpdateDraftParameters", + modelProperties: { + runbookContent: { + required: true, + serializedName: "runbookContent", + type: { + name: "String" + } + } + } + } +}; + +export const Webhook: msRest.CompositeMapper = { + serializedName: "Webhook", + type: { + name: "Composite", + className: "Webhook", + modelProperties: { + ...ProxyResource.type.modelProperties, + isEnabled: { + serializedName: "properties.isEnabled", + defaultValue: false, type: { name: "Boolean" } }, - logActivityTrace: { - serializedName: "properties.logActivityTrace", + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + expiryTime: { + nullable: false, + serializedName: "properties.expiryTime", type: { - name: "Number" + name: "DateTime" } }, - jobCount: { - serializedName: "properties.jobCount", + lastInvokedTime: { + nullable: true, + serializedName: "properties.lastInvokedTime", type: { - name: "Number" + name: "DateTime" } }, parameters: { @@ -5623,42 +6405,21 @@ export const Runbook: msRest.CompositeMapper = { type: { name: "Dictionary", value: { - type: { - name: "Composite", - className: "RunbookParameter" - } - } - } - }, - outputTypes: { - serializedName: "properties.outputTypes", - type: { - name: "Sequence", - element: { type: { name: "String" } } } }, - draft: { - serializedName: "properties.draft", + runbook: { + serializedName: "properties.runbook", type: { name: "Composite", - className: "RunbookDraft" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - type: { - name: "Enum", - allowedValues: [ - "Succeeded" - ] + className: "RunbookAssociationProperty" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } @@ -5677,14 +6438,14 @@ export const Runbook: msRest.CompositeMapper = { name: "DateTime" } }, - description: { - serializedName: "properties.description", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, - etag: { - serializedName: "etag", + description: { + serializedName: "properties.description", type: { name: "String" } @@ -5693,43 +6454,39 @@ export const Runbook: msRest.CompositeMapper = { } }; -export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "RunbookCreateOrUpdateParameters", +export const WebhookUpdateParameters: msRest.CompositeMapper = { + serializedName: "WebhookUpdateParameters", type: { name: "Composite", - className: "RunbookCreateOrUpdateParameters", + className: "WebhookUpdateParameters", modelProperties: { - logVerbose: { - serializedName: "properties.logVerbose", + name: { + serializedName: "name", type: { - name: "Boolean" + name: "String" } }, - logProgress: { - serializedName: "properties.logProgress", + isEnabled: { + serializedName: "properties.isEnabled", type: { name: "Boolean" } }, - runbookType: { - required: true, - serializedName: "properties.runbookType", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } }, - draft: { - serializedName: "properties.draft", - type: { - name: "Composite", - className: "RunbookDraft" - } - }, - publishContentLink: { - serializedName: "properties.publishContentLink", + parameters: { + serializedName: "properties.parameters", type: { - name: "Composite", - className: "ContentLink" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, description: { @@ -5737,27 +6494,45 @@ export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + } + } + } +}; + +export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "WebhookCreateOrUpdateParameters", + type: { + name: "Composite", + className: "WebhookCreateOrUpdateParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } }, - logActivityTrace: { - serializedName: "properties.logActivityTrace", + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "Number" + name: "Boolean" } }, - name: { - serializedName: "name", + uri: { + serializedName: "properties.uri", type: { name: "String" } }, - location: { - serializedName: "location", + expiryTime: { + nullable: false, + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - tags: { - serializedName: "tags", + parameters: { + serializedName: "properties.parameters", type: { name: "Dictionary", value: { @@ -5766,82 +6541,88 @@ export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { } } } + }, + runbook: { + serializedName: "properties.runbook", + type: { + name: "Composite", + className: "RunbookAssociationProperty" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } } } } }; -export const RunbookUpdateParameters: msRest.CompositeMapper = { - serializedName: "RunbookUpdateParameters", +export const HybridRunbookWorker: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorker", type: { name: "Composite", - className: "RunbookUpdateParameters", + className: "HybridRunbookWorker", modelProperties: { - description: { - serializedName: "properties.description", + ...Resource.type.modelProperties, + ip: { + serializedName: "properties.ip", type: { name: "String" } }, - logVerbose: { - serializedName: "properties.logVerbose", + registeredDateTime: { + nullable: false, + serializedName: "properties.registeredDateTime", type: { - name: "Boolean" + name: "DateTime" } }, - logProgress: { - serializedName: "properties.logProgress", + lastSeenDateTime: { + nullable: false, + serializedName: "properties.lastSeenDateTime", type: { - name: "Boolean" + name: "DateTime" } }, - logActivityTrace: { - serializedName: "properties.logActivityTrace", + vmResourceId: { + serializedName: "properties.vmResourceId", type: { - name: "Number" + name: "String" } }, - name: { - serializedName: "name", + workerType: { + serializedName: "properties.workerType", type: { name: "String" } }, - location: { - serializedName: "location", + workerName: { + serializedName: "properties.workerName", type: { name: "String" } }, - tags: { - serializedName: "tags", + systemData: { + serializedName: "systemData", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Composite", + className: "SystemData" } } } } }; -export const RunbookDraftUndoEditResult: msRest.CompositeMapper = { - serializedName: "RunbookDraftUndoEditResult", +export const HybridRunbookWorkerMoveParameters: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerMoveParameters", type: { name: "Composite", - className: "RunbookDraftUndoEditResult", + className: "HybridRunbookWorkerMoveParameters", modelProperties: { - statusCode: { - serializedName: "statusCode", - type: { - name: "String" - } - }, - requestId: { - serializedName: "requestId", + hybridRunbookWorkerGroupName: { + serializedName: "hybridRunbookWorkerGroupName", type: { name: "String" } @@ -5850,25 +6631,20 @@ export const RunbookDraftUndoEditResult: msRest.CompositeMapper = { } }; -export const TestJobCreateParameters: msRest.CompositeMapper = { - serializedName: "TestJobCreateParameters", +export const HybridRunbookWorkerCreateParameters: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerCreateParameters", type: { name: "Composite", - className: "TestJobCreateParameters", + className: "HybridRunbookWorkerCreateParameters", modelProperties: { - parameters: { - serializedName: "parameters", + vmResourceId: { + serializedName: "properties.vmResourceId", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - runOn: { - serializedName: "runOn", + name: { + serializedName: "name", type: { name: "String" } @@ -5877,133 +6653,136 @@ export const TestJobCreateParameters: msRest.CompositeMapper = { } }; -export const TestJob: msRest.CompositeMapper = { - serializedName: "TestJob", +export const RunbookDraftReplaceContentHeaders: msRest.CompositeMapper = { + serializedName: "runbookdraft-replacecontent-headers", type: { name: "Composite", - className: "TestJob", - modelProperties: { - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - status: { - serializedName: "status", - type: { - name: "String" - } - }, - statusDetails: { - serializedName: "statusDetails", - type: { - name: "String" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - startTime: { - nullable: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - exception: { - serializedName: "exception", + className: "RunbookDraftReplaceContentHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastStatusModifiedTime: { - nullable: true, - serializedName: "lastStatusModifiedTime", + } + } + } +}; + +export const RunbookPublishHeaders: msRest.CompositeMapper = { + serializedName: "runbook-publish-headers", + type: { + name: "Composite", + className: "RunbookPublishHeaders", + modelProperties: { + location: { + serializedName: "location", type: { - name: "DateTime" + name: "String" } - }, - parameters: { - serializedName: "parameters", + } + } + } +}; + +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "PrivateEndpointConnection" } } } - }, - logActivityTrace: { - serializedName: "logActivityTrace", - type: { - name: "Number" - } } } } }; -export const RunbookCreateOrUpdateDraftProperties: msRest.CompositeMapper = { - serializedName: "RunbookCreateOrUpdateDraftProperties", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "RunbookCreateOrUpdateDraftProperties", + className: "PrivateLinkResourceListResult", modelProperties: { - logVerbose: { - serializedName: "logVerbose", + value: { + serializedName: "", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } } - }, - logProgress: { - serializedName: "logProgress", + } + } + } +}; + +export const ModuleListResult: msRest.CompositeMapper = { + serializedName: "ModuleListResult", + type: { + name: "Composite", + className: "ModuleListResult", + modelProperties: { + value: { + serializedName: "", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Module" + } + } } }, - runbookType: { - required: true, - serializedName: "runbookType", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - draft: { - required: true, - serializedName: "draft", + } + } + } +}; + +export const DscNodeListResult: msRest.CompositeMapper = { + serializedName: "DscNodeListResult", + type: { + name: "Composite", + className: "DscNodeListResult", + modelProperties: { + value: { + serializedName: "", type: { - name: "Composite", - className: "RunbookDraft" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscNode" + } + } } }, - description: { - serializedName: "description", + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - logActivityTrace: { - serializedName: "logActivityTrace", + totalCount: { + serializedName: "totalCount", type: { name: "Number" } @@ -6012,15 +6791,26 @@ export const RunbookCreateOrUpdateDraftProperties: msRest.CompositeMapper = { } }; -export const RunbookCreateOrUpdateDraftParameters: msRest.CompositeMapper = { - serializedName: "RunbookCreateOrUpdateDraftParameters", +export const DscNodeReportListResult: msRest.CompositeMapper = { + serializedName: "DscNodeReportListResult", type: { name: "Composite", - className: "RunbookCreateOrUpdateDraftParameters", + className: "DscNodeReportListResult", modelProperties: { - runbookContent: { - required: true, - serializedName: "runbookContent", + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscNodeReport" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6029,64 +6819,88 @@ export const RunbookCreateOrUpdateDraftParameters: msRest.CompositeMapper = { } }; -export const PythonPackageCreateParameters: msRest.CompositeMapper = { - serializedName: "PythonPackageCreateParameters", +export const DscNodeConfigurationListResult: msRest.CompositeMapper = { + serializedName: "DscNodeConfigurationListResult", type: { name: "Composite", - className: "PythonPackageCreateParameters", + className: "DscNodeConfigurationListResult", modelProperties: { - contentLink: { - required: true, - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - tags: { - serializedName: "tags", + value: { + serializedName: "", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "DscNodeConfiguration" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } } } } }; -export const PythonPackageUpdateParameters: msRest.CompositeMapper = { - serializedName: "PythonPackageUpdateParameters", +export const DscCompilationJobListResult: msRest.CompositeMapper = { + serializedName: "DscCompilationJobListResult", type: { name: "Composite", - className: "PythonPackageUpdateParameters", + className: "DscCompilationJobListResult", modelProperties: { - tags: { - serializedName: "tags", + value: { + serializedName: "", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "DscCompilationJob" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const RunbookDraftReplaceContentHeaders: msRest.CompositeMapper = { - serializedName: "runbookdraft-replacecontent-headers", +export const SourceControlListResult: msRest.CompositeMapper = { + serializedName: "SourceControlListResult", type: { name: "Composite", - className: "RunbookDraftReplaceContentHeaders", + className: "SourceControlListResult", modelProperties: { - location: { - serializedName: "location", + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SourceControl" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6095,14 +6909,26 @@ export const RunbookDraftReplaceContentHeaders: msRest.CompositeMapper = { } }; -export const RunbookPublishHeaders: msRest.CompositeMapper = { - serializedName: "runbook-publish-headers", +export const SourceControlSyncJobListResult: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobListResult", type: { name: "Composite", - className: "RunbookPublishHeaders", + className: "SourceControlSyncJobListResult", modelProperties: { - location: { - serializedName: "location", + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SourceControlSyncJob" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -6111,11 +6937,11 @@ export const RunbookPublishHeaders: msRest.CompositeMapper = { } }; -export const AutomationAccountListResult: msRest.CompositeMapper = { - serializedName: "AutomationAccountListResult", +export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobStreamsListBySyncJob", type: { name: "Composite", - className: "AutomationAccountListResult", + className: "SourceControlSyncJobStreamsListBySyncJob", modelProperties: { value: { serializedName: "", @@ -6124,12 +6950,13 @@ export const AutomationAccountListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "AutomationAccount" + className: "SourceControlSyncJobStream" } } } }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -6139,11 +6966,11 @@ export const AutomationAccountListResult: msRest.CompositeMapper = { } }; -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", +export const AutomationAccountListResult: msRest.CompositeMapper = { + serializedName: "AutomationAccountListResult", type: { name: "Composite", - className: "OperationListResult", + className: "AutomationAccountListResult", modelProperties: { value: { serializedName: "", @@ -6152,10 +6979,16 @@ export const OperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "AutomationAccount" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } @@ -6317,40 +7150,6 @@ export const CredentialListResult: msRest.CompositeMapper = { } }; -export const DscConfigurationListResult: msRest.CompositeMapper = { - serializedName: "DscConfigurationListResult", - type: { - name: "Composite", - className: "DscConfigurationListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscConfiguration" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } - } - } - } -}; - export const HybridRunbookWorkerGroupsListResult: msRest.CompositeMapper = { serializedName: "HybridRunbookWorkerGroupsListResult", type: { @@ -6435,34 +7234,6 @@ export const ActivityListResult: msRest.CompositeMapper = { } }; -export const ModuleListResult: msRest.CompositeMapper = { - serializedName: "ModuleListResult", - type: { - name: "Composite", - className: "ModuleListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Module" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const TypeFieldListResult: msRest.CompositeMapper = { serializedName: "TypeFieldListResult", type: { @@ -6541,34 +7312,6 @@ export const VariableListResult: msRest.CompositeMapper = { } }; -export const WebhookListResult: msRest.CompositeMapper = { - serializedName: "WebhookListResult", - type: { - name: "Composite", - className: "WebhookListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Webhook" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const WatcherListResult: msRest.CompositeMapper = { serializedName: "WatcherListResult", type: { @@ -6597,39 +7340,11 @@ export const WatcherListResult: msRest.CompositeMapper = { } }; -export const SourceControlListResult: msRest.CompositeMapper = { - serializedName: "SourceControlListResult", - type: { - name: "Composite", - className: "SourceControlListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SourceControl" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJobListResult: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobListResult", +export const DscConfigurationListResult: msRest.CompositeMapper = { + serializedName: "DscConfigurationListResult", type: { name: "Composite", - className: "SourceControlSyncJobListResult", + className: "DscConfigurationListResult", modelProperties: { value: { serializedName: "", @@ -6638,7 +7353,7 @@ export const SourceControlSyncJobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControlSyncJob" + className: "DscConfiguration" } } } @@ -6648,34 +7363,11 @@ export const SourceControlSyncJobListResult: msRest.CompositeMapper = { type: { name: "String" } - } - } - } -}; - -export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamsListBySyncJob", - type: { - name: "Composite", - className: "SourceControlSyncJobStreamsListBySyncJob", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SourceControlSyncJobStream" - } - } - } }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + totalCount: { + serializedName: "totalCount", type: { - name: "String" + name: "Number" } } } @@ -6739,45 +7431,11 @@ export const JobStreamListResult: msRest.CompositeMapper = { } }; -export const DscNodeListResult: msRest.CompositeMapper = { - serializedName: "DscNodeListResult", - type: { - name: "Composite", - className: "DscNodeListResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscNode" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } - } - } - } -}; - -export const DscNodeReportListResult: msRest.CompositeMapper = { - serializedName: "DscNodeReportListResult", +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", type: { name: "Composite", - className: "DscNodeReportListResult", + className: "OperationListResult", modelProperties: { value: { serializedName: "", @@ -6786,26 +7444,20 @@ export const DscNodeReportListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNodeReport" + className: "Operation" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const DscCompilationJobListResult: msRest.CompositeMapper = { - serializedName: "DscCompilationJobListResult", +export const RunbookListResult: msRest.CompositeMapper = { + serializedName: "RunbookListResult", type: { name: "Composite", - className: "DscCompilationJobListResult", + className: "RunbookListResult", modelProperties: { value: { serializedName: "", @@ -6814,7 +7466,7 @@ export const DscCompilationJobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscCompilationJob" + className: "Runbook" } } } @@ -6829,11 +7481,11 @@ export const DscCompilationJobListResult: msRest.CompositeMapper = { } }; -export const DscNodeConfigurationListResult: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationListResult", +export const WebhookListResult: msRest.CompositeMapper = { + serializedName: "WebhookListResult", type: { name: "Composite", - className: "DscNodeConfigurationListResult", + className: "WebhookListResult", modelProperties: { value: { serializedName: "", @@ -6842,7 +7494,7 @@ export const DscNodeConfigurationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNodeConfiguration" + className: "Webhook" } } } @@ -6852,22 +7504,16 @@ export const DscNodeConfigurationListResult: msRest.CompositeMapper = { type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } } } } }; -export const RunbookListResult: msRest.CompositeMapper = { - serializedName: "RunbookListResult", +export const HybridRunbookWorkersListResult: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkersListResult", type: { name: "Composite", - className: "RunbookListResult", + className: "HybridRunbookWorkersListResult", modelProperties: { value: { serializedName: "", @@ -6876,7 +7522,7 @@ export const RunbookListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Runbook" + className: "HybridRunbookWorker" } } } diff --git a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts index 2753e228b7a2..db24c2092843 100644 --- a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,9 +26,17 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleCreateOrUpdateParameters, @@ -36,18 +44,24 @@ export { ModuleListResult, ModuleUpdateParameters, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts index f4c0b55bdb86..f1165ef6ed2f 100644 --- a/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts b/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts index 82fbc726d4d6..eb45d2cb8341 100644 --- a/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts index c7bfc9962409..8e53ef7ca338 100644 --- a/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts +++ b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/operationsMappers.ts b/sdk/automation/arm-automation/src/models/operationsMappers.ts index b8de8606cf9d..3e8e33c6f2bd 100644 --- a/sdk/automation/arm-automation/src/models/operationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/parameters.ts b/sdk/automation/arm-automation/src/models/parameters.ts index 48dbbc8df44f..d3a3fbae10b8 100644 --- a/sdk/automation/arm-automation/src/models/parameters.ts +++ b/sdk/automation/arm-automation/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -36,7 +35,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2015-10-31', + defaultValue: '2020-01-13-preview', type: { name: "String" } @@ -48,7 +47,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-05-15-preview', + defaultValue: '2021-06-22', type: { name: "String" } @@ -60,7 +59,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-01-15', + defaultValue: '2019-06-01', type: { name: "String" } @@ -78,6 +77,18 @@ export const apiVersion3: msRest.OperationQueryParameter = { } } }; +export const apiVersion4: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2015-10-31', + type: { + name: "String" + } + } +}; export const automationAccountName: msRest.OperationURLParameter = { parameterPath: "automationAccountName", mapper: { @@ -192,6 +203,16 @@ export const hybridRunbookWorkerGroupName: msRest.OperationURLParameter = { } } }; +export const hybridRunbookWorkerId: msRest.OperationURLParameter = { + parameterPath: "hybridRunbookWorkerId", + mapper: { + required: true, + serializedName: "hybridRunbookWorkerId", + type: { + name: "String" + } + } +}; export const inlinecount: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -295,6 +316,16 @@ export const packageName: msRest.OperationURLParameter = { } } }; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; export const reportId: msRest.OperationURLParameter = { parameterPath: "reportId", mapper: { diff --git a/sdk/automation/arm-automation/src/models/privateEndpointConnectionsMappers.ts b/sdk/automation/arm-automation/src/models/privateEndpointConnectionsMappers.ts new file mode 100644 index 000000000000..11f46a09ff2f --- /dev/null +++ b/sdk/automation/arm-automation/src/models/privateEndpointConnectionsMappers.ts @@ -0,0 +1,73 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, + BaseResource, + Certificate, + CloudError, + Connection, + ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + DscCompilationJob, + DscConfiguration, + DscConfigurationAssociationProperty, + DscConfigurationParameter, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, + ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointConnectionListResult, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + RunAsCredentialAssociationProperty, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + SystemData, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties +} from "../models/mappers"; diff --git a/sdk/automation/arm-automation/src/models/privateLinkResourcesMappers.ts b/sdk/automation/arm-automation/src/models/privateLinkResourcesMappers.ts new file mode 100644 index 000000000000..ed8b5e217f62 --- /dev/null +++ b/sdk/automation/arm-automation/src/models/privateLinkResourcesMappers.ts @@ -0,0 +1,73 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, + BaseResource, + Certificate, + CloudError, + Connection, + ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + DscCompilationJob, + DscConfiguration, + DscConfigurationAssociationProperty, + DscConfigurationParameter, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, + ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceListResult, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + RunAsCredentialAssociationProperty, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + SystemData, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties +} from "../models/mappers"; diff --git a/sdk/automation/arm-automation/src/models/python2PackageMappers.ts b/sdk/automation/arm-automation/src/models/python2PackageMappers.ts index aaa3208acc4c..80da257f3d82 100644 --- a/sdk/automation/arm-automation/src/models/python2PackageMappers.ts +++ b/sdk/automation/arm-automation/src/models/python2PackageMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,28 +26,42 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, ModuleListResult, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, PythonPackageCreateParameters, PythonPackageUpdateParameters, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts index 68582951b026..435ada905220 100644 --- a/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts index 2f5f76a1bf92..6e68452c474d 100644 --- a/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -27,15 +27,28 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookCreateOrUpdateParameters, @@ -45,11 +58,12 @@ export { RunbookPublishHeaders, RunbookUpdateParameters, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts index c8932eee0df6..ee004986a50a 100644 --- a/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,15 +26,28 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, @@ -42,12 +55,13 @@ export { Schedule, ScheduleCreateOrUpdateParameters, ScheduleListResult, - ScheduleProperties, ScheduleUpdateParameters, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts index fded41e478a2..8d5d26d5d195 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts index b10b45a54021..1d3c04e61a5a 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -8,9 +8,9 @@ export { ErrorResponse, - SoftareUpdateConfigurationRunTaskProperties, - SoftareUpdateConfigurationRunTasks, SoftwareUpdateConfigurationRun, SoftwareUpdateConfigurationRunListResult, + SoftwareUpdateConfigurationRunTaskProperties, + SoftwareUpdateConfigurationRunTasks, UpdateConfigurationNavigation } from "../models/mappers"; diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts index 4b50eb050c5a..3864841929e5 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,7 +13,6 @@ export { AzureQueryProperties, BaseResource, Certificate, - CollectionItemUpdateConfiguration, Connection, ConnectionTypeAssociationProperty, ContentHash, @@ -27,27 +26,41 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationCollectionItem, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts index 23592d2f9549..7f7d60f164b7 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,21 +26,33 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, @@ -49,6 +61,8 @@ export { SourceControlListResult, SourceControlSecurityTokenProperties, SourceControlUpdateParameters, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts index 7df3a65e1921..9ae7fa0a4156 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts index cf8212b1a3e5..0ac75dcefaaa 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts index d1f78f9ba706..bc9afe6e694b 100644 --- a/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts index 760583cab1f9..94d80c6f669b 100644 --- a/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/usagesMappers.ts b/sdk/automation/arm-automation/src/models/usagesMappers.ts index ca940ec4574c..a71a719fe3a5 100644 --- a/sdk/automation/arm-automation/src/models/usagesMappers.ts +++ b/sdk/automation/arm-automation/src/models/usagesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts b/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts index 0e452c95ee88..9ef10789a2e6 100644 --- a/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,25 +26,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts index a03786e905b4..0fd88105a6ec 100644 --- a/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,25 +26,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts index 13ae6b8395bc..d836fb2ebaa7 100644 --- a/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -26,25 +26,39 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + HybridRunbookWorker, + HybridRunbookWorkerGroup, + HybridRunbookWorkerLegacy, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RunAsCredentialAssociationProperty, Runbook, RunbookAssociationProperty, RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, + SystemData, TagSettingsProperties, TargetProperties, TaskProperties, diff --git a/sdk/automation/arm-automation/src/operations/activityOperations.ts b/sdk/automation/arm-automation/src/operations/activityOperations.ts index b16aca872a0e..6ea54476880f 100644 --- a/sdk/automation/arm-automation/src/operations/activityOperations.ts +++ b/sdk/automation/arm-automation/src/operations/activityOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -193,6 +192,9 @@ const listByModuleNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts index af022ffab9c3..8e001c6603e2 100644 --- a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts +++ b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -106,7 +105,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -131,7 +130,7 @@ const regenerateKeyOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts b/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts index 20af8407706b..917294b09c61 100644 --- a/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts +++ b/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -284,7 +283,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +315,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -351,7 +350,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -375,7 +374,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -399,7 +398,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -422,7 +421,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -445,6 +444,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -466,6 +468,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/certificateOperations.ts b/sdk/automation/arm-automation/src/operations/certificateOperations.ts index b4ac9f68db1d..3e12a1423824 100644 --- a/sdk/automation/arm-automation/src/operations/certificateOperations.ts +++ b/sdk/automation/arm-automation/src/operations/certificateOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/connectionOperations.ts b/sdk/automation/arm-automation/src/operations/connectionOperations.ts index 532be8f4c0c9..5e322acd85d4 100644 --- a/sdk/automation/arm-automation/src/operations/connectionOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -32,16 +31,16 @@ export class ConnectionOperations { * @param automationAccountName The name of the automation account. * @param connectionName The name of connection. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param connectionName The name of connection. * @param callback The callback */ - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -49,8 +48,8 @@ export class ConnectionOperations { * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, automationAccountName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -59,7 +58,7 @@ export class ConnectionOperations { options }, deleteMethodOperationSpec, - callback) as Promise; + callback); } /** @@ -257,9 +256,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.Connection - }, + 200: {}, 204: {}, default: { bodyMapper: Mappers.ErrorResponse @@ -395,6 +392,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts index 47d2620dcaed..ad9dbf9c6240 100644 --- a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -281,9 +280,6 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.ConnectionType }, - 409: { - bodyMapper: Mappers.ConnectionType - }, default: { bodyMapper: Mappers.ErrorResponse } @@ -323,6 +319,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/credentialOperations.ts b/sdk/automation/arm-automation/src/operations/credentialOperations.ts index f29d9387ed0e..487da7e7ed0f 100644 --- a/sdk/automation/arm-automation/src/operations/credentialOperations.ts +++ b/sdk/automation/arm-automation/src/operations/credentialOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts index 2c064e8e8073..7bcdf36a9971 100644 --- a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -31,7 +30,7 @@ export class DscCompilationJobOperations { * Creates the Dsc compilation job of the configuration. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param parameters The parameters supplied to the create compilation job operation. * @param [options] The optional parameters * @returns Promise @@ -45,7 +44,7 @@ export class DscCompilationJobOperations { * Retrieve the Dsc configuration compilation job identified by job id. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param [options] The optional parameters * @returns Promise */ @@ -53,14 +52,14 @@ export class DscCompilationJobOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param options The optional parameters * @param callback The callback */ @@ -153,7 +152,7 @@ export class DscCompilationJobOperations { * Creates the Dsc compilation job of the configuration. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param parameters The parameters supplied to the create compilation job operation. * @param [options] The optional parameters * @returns Promise @@ -177,7 +176,7 @@ export class DscCompilationJobOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscCompilationJobListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -188,8 +187,8 @@ export class DscCompilationJobOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscCompilationJobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscCompilationJobListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -212,7 +211,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -238,7 +237,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -265,7 +264,7 @@ const getStreamOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -291,7 +290,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -321,6 +320,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts b/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts index cde9e1a4cf3c..445c86d01f60 100644 --- a/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts +++ b/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -75,7 +74,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts index 799831f77333..ad427b34f4a2 100644 --- a/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -189,7 +188,7 @@ export class DscConfigurationOperations { * @param configurationName The configuration name. * @param callback The callback */ - getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: msRest.ServiceCallback): void; + getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -197,8 +196,8 @@ export class DscConfigurationOperations { * @param options The optional parameters * @param callback The callback */ - getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getContent(resourceGroupName: string, automationAccountName: string, configurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -248,7 +247,7 @@ export class DscConfigurationOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscConfigurationListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -259,8 +258,8 @@ export class DscConfigurationOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscConfigurationListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscConfigurationListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -283,7 +282,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +307,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +333,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -370,7 +369,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -403,7 +402,7 @@ const getContentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +412,7 @@ const getContentOperationSpec: msRest.OperationSpec = { bodyMapper: { serializedName: "parsedResponse", type: { - name: "Stream" + name: "String" } } }, @@ -433,7 +432,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion2, Parameters.filter, Parameters.skip0, Parameters.top0, @@ -460,6 +459,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2, + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts index a0fa04010776..94d28fb1f03c 100644 --- a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -173,7 +172,7 @@ export class DscNodeConfigurationOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -184,8 +183,8 @@ export class DscNodeConfigurationOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -208,7 +207,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.nodeConfigurationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -232,7 +231,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.nodeConfigurationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -257,7 +256,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2, + Parameters.apiVersion0, Parameters.filter, Parameters.skip0, Parameters.top0, @@ -287,7 +286,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -318,6 +317,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts b/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts index ab066926cb94..1307aff8ca85 100644 --- a/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -32,16 +31,16 @@ export class DscNodeOperations { * @param automationAccountName The name of the automation account. * @param nodeId The node id. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param nodeId The node id. * @param callback The callback */ - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -49,8 +48,8 @@ export class DscNodeOperations { * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, automationAccountName: string, nodeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -59,7 +58,7 @@ export class DscNodeOperations { options }, deleteMethodOperationSpec, - callback) as Promise; + callback); } /** @@ -176,7 +175,7 @@ export class DscNodeOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +186,8 @@ export class DscNodeOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscNodeListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -211,15 +210,13 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.DscNode - }, + 200: {}, default: { bodyMapper: Mappers.ErrorResponse } @@ -237,7 +234,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +260,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +296,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.skip0, Parameters.top0, Parameters.inlinecount, - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -322,6 +319,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/fields.ts b/sdk/automation/arm-automation/src/operations/fields.ts index f3b93bf1adf2..51d92a45febf 100644 --- a/sdk/automation/arm-automation/src/operations/fields.ts +++ b/sdk/automation/arm-automation/src/operations/fields.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts index 5239c26bb1f5..c5210e5f2fdf 100644 --- a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts +++ b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -98,6 +97,49 @@ export class HybridRunbookWorkerGroupOperations { callback) as Promise; } + /** + * Create a hybrid runbook worker group. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerGroupCreationParameters The create or update parameters for hybrid + * runbook worker group. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerGroupCreationParameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerGroupCreationParameters The create or update parameters for hybrid + * runbook worker group. + * @param callback The callback + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerGroupCreationParameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerGroupCreationParameters The create or update parameters for hybrid + * runbook worker group. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerGroupCreationParameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerGroupCreationParameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + hybridRunbookWorkerGroupCreationParameters, + options + }, + createOperationSpec, + callback) as Promise; + } + /** * Update a hybrid runbook worker group. * @param resourceGroupName Name of an Azure Resource group. @@ -107,7 +149,7 @@ export class HybridRunbookWorkerGroupOperations { * @param [options] The optional parameters * @returns Promise */ - update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options?: msRest.RequestOptionsBase): Promise; + update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -115,7 +157,7 @@ export class HybridRunbookWorkerGroupOperations { * @param parameters The hybrid runbook worker group * @param callback The callback */ - update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -124,8 +166,8 @@ export class HybridRunbookWorkerGroupOperations { * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, parameters: Models.HybridRunbookWorkerGroupCreateOrUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -176,7 +218,7 @@ export class HybridRunbookWorkerGroupOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +229,8 @@ export class HybridRunbookWorkerGroupOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -211,7 +253,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -235,7 +277,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -251,6 +293,39 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "hybridRunbookWorkerGroupCreationParameters", + mapper: { + ...Mappers.HybridRunbookWorkerGroupCreateOrUpdateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.HybridRunbookWorkerGroup + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}", @@ -261,7 +336,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -269,7 +344,7 @@ const updateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.HybridRunbookWorkerGroupUpdateParameters, + ...Mappers.HybridRunbookWorkerGroupCreateOrUpdateParameters, required: true } }, @@ -294,7 +369,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -317,6 +392,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts new file mode 100644 index 000000000000..91a8c49b23cd --- /dev/null +++ b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts @@ -0,0 +1,435 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/hybridRunbookWorkersMappers"; +import * as Parameters from "../models/parameters"; +import { AutomationClientContext } from "../automationClientContext"; + +/** Class representing a HybridRunbookWorkers. */ +export class HybridRunbookWorkers { + private readonly client: AutomationClientContext; + + /** + * Create a HybridRunbookWorkers. + * @param {AutomationClientContext} client Reference to the service client. + */ + constructor(client: AutomationClientContext) { + this.client = client; + } + + /** + * Delete a hybrid runbook worker. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + hybridRunbookWorkerId, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retrieve a hybrid runbook worker. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param callback The callback + */ + get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + hybridRunbookWorkerId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create a hybrid runbook worker. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerCreationParameters The create or update parameters for hybrid runbook + * worker. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerCreationParameters: Models.HybridRunbookWorkerCreateParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerCreationParameters The create or update parameters for hybrid runbook + * worker. + * @param callback The callback + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerCreationParameters: Models.HybridRunbookWorkerCreateParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerCreationParameters The create or update parameters for hybrid runbook + * worker. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerCreationParameters: Models.HybridRunbookWorkerCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerCreationParameters: Models.HybridRunbookWorkerCreateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + hybridRunbookWorkerId, + hybridRunbookWorkerCreationParameters, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Move a hybrid worker to a different group. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerMoveParameters The hybrid runbook worker move parameters + * @param [options] The optional parameters + * @returns Promise + */ + move(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerMoveParameters: Models.HybridRunbookWorkerMoveParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerMoveParameters The hybrid runbook worker move parameters + * @param callback The callback + */ + move(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerMoveParameters: Models.HybridRunbookWorkerMoveParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param hybridRunbookWorkerId The hybrid runbook worker id + * @param hybridRunbookWorkerMoveParameters The hybrid runbook worker move parameters + * @param options The optional parameters + * @param callback The callback + */ + move(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerMoveParameters: Models.HybridRunbookWorkerMoveParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + move(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, hybridRunbookWorkerId: string, hybridRunbookWorkerMoveParameters: Models.HybridRunbookWorkerMoveParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + hybridRunbookWorkerId, + hybridRunbookWorkerMoveParameters, + options + }, + moveOperationSpec, + callback); + } + + /** + * Retrieve a list of hybrid runbook workers. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param [options] The optional parameters + * @returns Promise + */ + listByHybridRunbookWorkerGroup(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param callback The callback + */ + listByHybridRunbookWorkerGroup(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param hybridRunbookWorkerGroupName The hybrid runbook worker group name + * @param options The optional parameters + * @param callback The callback + */ + listByHybridRunbookWorkerGroup(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams, callback: msRest.ServiceCallback): void; + listByHybridRunbookWorkerGroup(resourceGroupName: string, automationAccountName: string, hybridRunbookWorkerGroupName: string, options?: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + hybridRunbookWorkerGroupName, + options + }, + listByHybridRunbookWorkerGroupOperationSpec, + callback) as Promise; + } + + /** + * Retrieve a list of hybrid runbook workers. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByHybridRunbookWorkerGroupNext(nextPageLink: string, options?: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByHybridRunbookWorkerGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByHybridRunbookWorkerGroupNext(nextPageLink: string, options: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByHybridRunbookWorkerGroupNext(nextPageLink: string, options?: Models.HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByHybridRunbookWorkerGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.hybridRunbookWorkerId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.hybridRunbookWorkerId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HybridRunbookWorker + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.hybridRunbookWorkerId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "hybridRunbookWorkerCreationParameters", + mapper: { + ...Mappers.HybridRunbookWorkerCreateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.HybridRunbookWorker + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const moveOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers/{hybridRunbookWorkerId}/move", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.hybridRunbookWorkerId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "hybridRunbookWorkerMoveParameters", + mapper: { + ...Mappers.HybridRunbookWorkerMoveParameters, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByHybridRunbookWorkerGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}/hybridRunbookWorkers", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.hybridRunbookWorkerGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HybridRunbookWorkersListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByHybridRunbookWorkerGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HybridRunbookWorkersListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/automation/arm-automation/src/operations/index.ts b/sdk/automation/arm-automation/src/operations/index.ts index fff8baafa93a..b757ab41fbcc 100644 --- a/sdk/automation/arm-automation/src/operations/index.ts +++ b/sdk/automation/arm-automation/src/operations/index.ts @@ -1,15 +1,26 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./python2Package"; +export * from "./agentRegistrationInformation"; +export * from "./dscNodeOperations"; +export * from "./nodeReports"; +export * from "./dscNodeConfigurationOperations"; +export * from "./dscCompilationJobOperations"; +export * from "./dscCompilationJobStream"; +export * from "./nodeCountInformation"; +export * from "./sourceControlOperations"; +export * from "./sourceControlSyncJobOperations"; +export * from "./sourceControlSyncJobStreams"; export * from "./automationAccountOperations"; -export * from "./operations"; export * from "./statisticsOperations"; export * from "./usages"; export * from "./keys"; @@ -17,7 +28,6 @@ export * from "./certificateOperations"; export * from "./connectionOperations"; export * from "./connectionTypeOperations"; export * from "./credentialOperations"; -export * from "./dscConfigurationOperations"; export * from "./hybridRunbookWorkerGroupOperations"; export * from "./jobScheduleOperations"; export * from "./linkedWorkspaceOperations"; @@ -27,25 +37,17 @@ export * from "./objectDataTypes"; export * from "./fields"; export * from "./scheduleOperations"; export * from "./variableOperations"; -export * from "./webhookOperations"; export * from "./watcherOperations"; +export * from "./dscConfigurationOperations"; +export * from "./jobOperations"; +export * from "./jobStreamOperations"; +export * from "./operations"; export * from "./softwareUpdateConfigurations"; export * from "./softwareUpdateConfigurationRuns"; export * from "./softwareUpdateConfigurationMachineRuns"; -export * from "./sourceControlOperations"; -export * from "./sourceControlSyncJobOperations"; -export * from "./sourceControlSyncJobStreams"; -export * from "./jobOperations"; -export * from "./jobStreamOperations"; -export * from "./agentRegistrationInformation"; -export * from "./dscNodeOperations"; -export * from "./nodeReports"; -export * from "./dscCompilationJobOperations"; -export * from "./dscCompilationJobStream"; -export * from "./dscNodeConfigurationOperations"; -export * from "./nodeCountInformation"; export * from "./runbookDraftOperations"; export * from "./runbookOperations"; export * from "./testJobStreams"; export * from "./testJobOperations"; -export * from "./python2Package"; +export * from "./webhookOperations"; +export * from "./hybridRunbookWorkers"; diff --git a/sdk/automation/arm-automation/src/operations/jobOperations.ts b/sdk/automation/arm-automation/src/operations/jobOperations.ts index 7f7428c00135..18e293c3ee62 100644 --- a/sdk/automation/arm-automation/src/operations/jobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -41,7 +40,7 @@ export class JobOperations { * @param jobName The name of the job to be created. * @param callback The callback */ - getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback): void; + getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -49,8 +48,8 @@ export class JobOperations { * @param options The optional parameters * @param callback The callback */ - getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOutputOptionalParams, callback: msRest.ServiceCallback): void; - getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOutputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOutputOptionalParams, callback: msRest.ServiceCallback): void; + getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOutputOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -77,7 +76,7 @@ export class JobOperations { * @param jobName The job name. * @param callback The callback */ - getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback): void; + getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. @@ -85,8 +84,8 @@ export class JobOperations { * @param options The optional parameters * @param callback The callback */ - getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetRunbookContentOptionalParams, callback: msRest.ServiceCallback): void; - getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetRunbookContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetRunbookContentOptionalParams, callback: msRest.ServiceCallback): void; + getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetRunbookContentOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -355,7 +354,7 @@ const getOutputOperationSpec: msRest.OperationSpec = { Parameters.jobName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -366,7 +365,7 @@ const getOutputOperationSpec: msRest.OperationSpec = { bodyMapper: { serializedName: "parsedResponse", type: { - name: "Stream" + name: "String" } } }, @@ -387,7 +386,7 @@ const getRunbookContentOperationSpec: msRest.OperationSpec = { Parameters.jobName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -398,12 +397,12 @@ const getRunbookContentOperationSpec: msRest.OperationSpec = { bodyMapper: { serializedName: "parsedResponse", type: { - name: "Stream" + name: "String" } } }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -419,7 +418,7 @@ const suspendOperationSpec: msRest.OperationSpec = { Parameters.jobName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -444,7 +443,7 @@ const stopOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -469,7 +468,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.jobName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -496,7 +495,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.jobName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -530,7 +529,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -557,7 +556,7 @@ const resumeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -579,6 +578,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.clientRequestId, Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts index ba8d0be47f54..8785afe35582 100644 --- a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -176,7 +175,7 @@ export class JobScheduleOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.JobScheduleListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +186,8 @@ export class JobScheduleOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.JobScheduleListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.JobScheduleListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -317,6 +316,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts b/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts index 181c17593a9c..af3953d75149 100644 --- a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -144,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.jobStreamId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -172,7 +171,7 @@ const listByJobOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -196,6 +195,10 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.clientRequestId, Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/keys.ts b/sdk/automation/arm-automation/src/operations/keys.ts index f81ba745ef47..b0bed8b7140c 100644 --- a/sdk/automation/arm-automation/src/operations/keys.ts +++ b/sdk/automation/arm-automation/src/operations/keys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -70,7 +69,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts index 4702ef0f4e0a..81021cf01594 100644 --- a/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts +++ b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/automation/arm-automation/src/operations/moduleOperations.ts b/sdk/automation/arm-automation/src/operations/moduleOperations.ts index 553a71a43f4c..508b08093b37 100644 --- a/sdk/automation/arm-automation/src/operations/moduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/moduleOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts b/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts index 56ae77124bb1..074aa04549be 100644 --- a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts +++ b/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -30,28 +29,35 @@ export class NodeCountInformation { * Retrieve counts for Dsc Nodes. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, automationAccountName, + countType, options }, getOperationSpec, @@ -71,7 +77,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/nodeReports.ts b/sdk/automation/arm-automation/src/operations/nodeReports.ts index 10aafafc2807..03981fe04c77 100644 --- a/sdk/automation/arm-automation/src/operations/nodeReports.ts +++ b/sdk/automation/arm-automation/src/operations/nodeReports.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -148,7 +147,7 @@ export class NodeReports { * @param [options] The optional parameters * @returns Promise */ - listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByNodeNext(nextPageLink: string, options?: Models.NodeReportsListByNodeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -159,8 +158,8 @@ export class NodeReports { * @param options The optional parameters * @param callback The callback */ - listByNodeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByNodeNext(nextPageLink: string, options: Models.NodeReportsListByNodeNextOptionalParams, callback: msRest.ServiceCallback): void; + listByNodeNext(nextPageLink: string, options?: Models.NodeReportsListByNodeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -184,7 +183,7 @@ const listByNodeOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -211,7 +210,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -238,7 +237,7 @@ const getContentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -266,6 +265,10 @@ const listByNodeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts b/sdk/automation/arm-automation/src/operations/objectDataTypes.ts index a7e698a4e0f0..cd5f1d7138ba 100644 --- a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts +++ b/sdk/automation/arm-automation/src/operations/objectDataTypes.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/automation/arm-automation/src/operations/operations.ts b/sdk/automation/arm-automation/src/operations/operations.ts index 4f3a7acb2ee5..f728596175cf 100644 --- a/sdk/automation/arm-automation/src/operations/operations.ts +++ b/sdk/automation/arm-automation/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -57,7 +56,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Automation/operations", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/privateEndpointConnections.ts b/sdk/automation/arm-automation/src/operations/privateEndpointConnections.ts new file mode 100644 index 000000000000..98533e4dd623 --- /dev/null +++ b/sdk/automation/arm-automation/src/operations/privateEndpointConnections.ts @@ -0,0 +1,277 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateEndpointConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { AutomationClientContext } from "../automationClientContext"; + +/** Class representing a PrivateEndpointConnections. */ +export class PrivateEndpointConnections { + private readonly client: AutomationClientContext; + + /** + * Create a PrivateEndpointConnections. + * @param {AutomationClientContext} client Reference to the service client. + */ + constructor(client: AutomationClientContext) { + this.client = client; + } + + /** + * List all private endpoint connections on a Automation account. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param [options] The optional parameters + * @returns Promise + */ + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param callback The callback + */ + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param options The optional parameters + * @param callback The callback + */ + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + options + }, + listByAutomationAccountOperationSpec, + callback) as Promise; + } + + /** + * Gets a private endpoint connection. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param callback The callback + */ + get(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + privateEndpointConnectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Approve or reject a private endpoint connection with a given name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,automationAccountName,privateEndpointConnectionName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a private endpoint connection with a given name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,automationAccountName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Approve or reject a private endpoint connection with a given name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param parameters + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + automationAccountName, + privateEndpointConnectionName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a private endpoint connection with a given name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, automationAccountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + automationAccountName, + privateEndpointConnectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByAutomationAccountOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/automation/arm-automation/src/operations/privateLinkResources.ts b/sdk/automation/arm-automation/src/operations/privateLinkResources.ts new file mode 100644 index 000000000000..82072b7b7583 --- /dev/null +++ b/sdk/automation/arm-automation/src/operations/privateLinkResources.ts @@ -0,0 +1,86 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateLinkResourcesMappers"; +import * as Parameters from "../models/parameters"; +import { AutomationClientContext } from "../automationClientContext"; + +/** Class representing a PrivateLinkResources. */ +export class PrivateLinkResources { + private readonly client: AutomationClientContext; + + /** + * Create a PrivateLinkResources. + * @param {AutomationClientContext} client Reference to the service client. + */ + constructor(client: AutomationClientContext) { + this.client = client; + } + + /** + * Gets the private link resources that need to be created for Automation account. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param [options] The optional parameters + * @returns Promise + */ + automation(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param callback The callback + */ + automation(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param options The optional parameters + * @param callback The callback + */ + automation(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + automation(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + options + }, + automationOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const automationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateLinkResources", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/automation/arm-automation/src/operations/python2Package.ts b/sdk/automation/arm-automation/src/operations/python2Package.ts index 723c4a64632d..cedfdf7e329a 100644 --- a/sdk/automation/arm-automation/src/operations/python2Package.ts +++ b/sdk/automation/arm-automation/src/operations/python2Package.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -251,7 +250,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -275,7 +274,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -301,7 +300,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -337,7 +336,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -369,7 +368,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts index 81f21d916fa8..ad6ee780069c 100644 --- a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -297,7 +296,8 @@ const beginReplaceContentOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.RunbookDraftReplaceContentHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.RunbookDraftReplaceContentHeaders } }, serializer diff --git a/sdk/automation/arm-automation/src/operations/runbookOperations.ts b/sdk/automation/arm-automation/src/operations/runbookOperations.ts index 9487990a30c3..59b82a0ec5e5 100644 --- a/sdk/automation/arm-automation/src/operations/runbookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -510,7 +509,8 @@ const beginPublishOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.RunbookPublishHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.RunbookPublishHeaders } }, serializer @@ -523,6 +523,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts b/sdk/automation/arm-automation/src/operations/scheduleOperations.ts index 00bd3bcbaf89..83ddbabbe249 100644 --- a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/scheduleOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -393,6 +392,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts index ba14b36fda12..71ba18f1c86e 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -110,7 +109,7 @@ const getByIdOperationSpec: msRest.OperationSpec = { Parameters.softwareUpdateConfigurationMachineRunId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -136,7 +135,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion1, + Parameters.apiVersion2, Parameters.filter, Parameters.skip1, Parameters.top1 diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts index 643115941fde..55fd87eada9d 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -107,7 +106,7 @@ const getByIdOperationSpec: msRest.OperationSpec = { Parameters.softwareUpdateConfigurationRunId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -133,7 +132,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion1, + Parameters.apiVersion2, Parameters.filter, Parameters.skip1, Parameters.top1 diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts index ca41bd378623..971bebfc38cb 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -192,7 +191,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.softwareUpdateConfigurationName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -229,7 +228,7 @@ const getByNameOperationSpec: msRest.OperationSpec = { Parameters.softwareUpdateConfigurationName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -256,7 +255,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.softwareUpdateConfigurationName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.clientRequestId, @@ -281,7 +280,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion1, + Parameters.apiVersion2, Parameters.filter ], headerParameters: [ diff --git a/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts index 8add3158d3b4..88ea0811a85c 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -216,7 +215,7 @@ export class SourceControlOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -227,8 +226,8 @@ export class SourceControlOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.SourceControlListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -251,7 +250,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -287,7 +286,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -320,7 +319,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -344,7 +343,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -370,7 +369,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -393,6 +392,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts index 56f61910d119..eb1b625eeb0e 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -152,7 +151,7 @@ export class SourceControlSyncJobOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -163,8 +162,8 @@ export class SourceControlSyncJobOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -188,7 +187,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -222,7 +221,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -249,7 +248,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -272,6 +271,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts index c82ce65ba537..ee3d3ca1e372 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -116,7 +115,7 @@ export class SourceControlSyncJobStreams { * @param [options] The optional parameters * @returns Promise */ - listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySyncJobNext(nextPageLink: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -127,8 +126,8 @@ export class SourceControlSyncJobStreams { * @param options The optional parameters * @param callback The callback */ - listBySyncJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySyncJobNext(nextPageLink: string, options: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySyncJobNext(nextPageLink: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -153,7 +152,7 @@ const listBySyncJobOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -181,7 +180,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -204,6 +203,10 @@ const listBySyncJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts b/sdk/automation/arm-automation/src/operations/statisticsOperations.ts index 4b13c7bd2d17..e64184f175d6 100644 --- a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts +++ b/sdk/automation/arm-automation/src/operations/statisticsOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -71,7 +70,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/testJobOperations.ts b/sdk/automation/arm-automation/src/operations/testJobOperations.ts index d367307b61b4..d7952e4777b1 100644 --- a/sdk/automation/arm-automation/src/operations/testJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/testJobOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/automation/arm-automation/src/operations/testJobStreams.ts b/sdk/automation/arm-automation/src/operations/testJobStreams.ts index 584e3c1691dc..d5e9e8714f53 100644 --- a/sdk/automation/arm-automation/src/operations/testJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/testJobStreams.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,7 +107,7 @@ export class TestJobStreams { * @param [options] The optional parameters * @returns Promise */ - listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTestJobNext(nextPageLink: string, options?: Models.TestJobStreamsListByTestJobNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -119,8 +118,8 @@ export class TestJobStreams { * @param options The optional parameters * @param callback The callback */ - listByTestJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTestJobNext(nextPageLink: string, options: Models.TestJobStreamsListByTestJobNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTestJobNext(nextPageLink: string, options?: Models.TestJobStreamsListByTestJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -194,6 +193,10 @@ const listByTestJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/usages.ts b/sdk/automation/arm-automation/src/operations/usages.ts index c89d3269d746..221190fbfedd 100644 --- a/sdk/automation/arm-automation/src/operations/usages.ts +++ b/sdk/automation/arm-automation/src/operations/usages.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -70,7 +69,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/variableOperations.ts b/sdk/automation/arm-automation/src/operations/variableOperations.ts index 6fb1178baab5..d96516033aca 100644 --- a/sdk/automation/arm-automation/src/operations/variableOperations.ts +++ b/sdk/automation/arm-automation/src/operations/variableOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/watcherOperations.ts b/sdk/automation/arm-automation/src/operations/watcherOperations.ts index e1da24ef350b..28ab2b895341 100644 --- a/sdk/automation/arm-automation/src/operations/watcherOperations.ts +++ b/sdk/automation/arm-automation/src/operations/watcherOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -288,7 +287,7 @@ export class WatcherOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WatcherListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -299,8 +298,8 @@ export class WatcherOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.WatcherListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WatcherListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -513,6 +512,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/webhookOperations.ts b/sdk/automation/arm-automation/src/operations/webhookOperations.ts index e7ac9a9eef26..a21d1328fa35 100644 --- a/sdk/automation/arm-automation/src/operations/webhookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/webhookOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -248,7 +247,7 @@ export class WebhookOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WebhookListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -259,8 +258,8 @@ export class WebhookOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.WebhookListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WebhookListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -282,7 +281,7 @@ const generateUriOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -313,7 +312,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -337,7 +336,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -363,7 +362,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -399,7 +398,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +431,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -455,6 +454,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ],