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..7b401955ab66 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 @@ -18,8 +17,20 @@ 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 +38,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 +47,19 @@ 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; /** * Initializes a new instance of the AutomationClient class. @@ -70,14 +71,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 +96,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,28 +105,19 @@ 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); } } 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..df41914f55a3 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,13 +29,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..066bd1fe0c7c 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,13 +29,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..869031956062 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,13 +29,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..23f57b68225a 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,13 +30,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -44,11 +53,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..3d0b48a37c52 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,14 +28,23 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, JobStream, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..5d74f2c6645b 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,13 +30,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -44,11 +53,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..d3d27dbd5c1b 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,13 +28,22 @@ export { DscNodeConfigurationCreateOrUpdateParameters, DscNodeConfigurationListResult, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -42,11 +51,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..139f92501f0a 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,13 +29,22 @@ export { DscNodeListResult, DscNodeUpdateParameters, DscNodeUpdateParametersProperties, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..3fe453005fdb 100644 --- a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.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/index.ts b/sdk/automation/arm-automation/src/models/index.ts index 82d6caabc48f..481dcbc5cad0 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,3414 @@ 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; + count?: number; +} + +/** + * Number of nodes based on the Filter + */ +export interface NodeCount { /** - * Gets or sets the parameters of the activity parameter set. + * Gets the name of a count type */ - parameters?: ActivityParameter[]; + name?: string; + properties?: NodeCountProperties; } /** - * Definition of the activity output type. + * Gets the count of nodes by count type */ -export interface ActivityOutputType { +export interface NodeCounts { /** - * Gets or sets the name of the activity output type. + * Gets an array of counts */ - name?: string; + value?: NodeCount[]; /** - * Gets or sets the type of the activity output type. + * Gets the total number of records matching countType criteria. */ - type?: string; + totalCount?: number; } /** - * Definition of the activity. + * Definition of the source control. */ -export interface Activity { - /** - * Gets or sets the id of the resource. - */ - id?: string; +export interface SourceControl extends ProxyResource { /** - * Gets the name of the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The repo url of the source control. */ - readonly name?: string; + repoUrl?: string; /** - * Gets or sets the user name of the activity. + * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ - definition?: string; + branch?: string; /** - * Gets or sets the parameter sets of the activity. + * The folder path of the source control. */ - parameterSets?: ActivityParameterSet[]; + folderPath?: string; /** - * Gets or sets the output types of the activity. + * The auto sync of the source control. Default is false. */ - outputTypes?: ActivityOutputType[]; + autoSync?: boolean; /** - * Gets or sets the creation time. + * The auto publish of the source control. Default is true. */ - creationTime?: Date; + publishRunbook?: boolean; /** - * Gets or sets the last modified time. + * The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', + * 'VsoTfvc', 'GitHub' */ - lastModifiedTime?: Date; + sourceType?: SourceType; /** - * Gets or sets the description. + * 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. + * Definition of the automation account type. */ -export interface Variable extends ProxyResource { +export interface AutomationAccount extends TrackedResource { /** - * Gets or sets the value of the variable. + * Gets or sets the SKU of account. */ - value?: string; + sku?: Sku; /** - * Gets or sets the encrypted flag of the variable. + * Gets or sets the last modified by. */ - isEncrypted?: boolean; + lastModifiedBy?: string; /** - * Gets or sets the creation time. + * 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.** */ - creationTime?: Date; + readonly state?: AutomationAccountState; /** - * Gets or sets the last modified time. + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - lastModifiedTime?: Date; + 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; -} - -/** - * The parameters supplied to the update variable operation. - */ -export interface VariableUpdateParameters { /** - * Gets or sets the name of the variable. + * Encryption properties for the automation account */ - name?: string; + encryption?: EncryptionProperties; /** - * Gets or sets the value of the variable. + * List of Automation operations supported by the Automation resource provider. */ - value?: string; + privateEndpointConnections?: PrivateEndpointConnection[]; /** - * Gets or sets the description of the variable. + * Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public + * internet */ - description?: string; + publicNetworkAccess?: boolean; + /** + * Gets or sets the etag of the resource. + */ + etag?: string; + identity?: Identity; } /** - * Definition of the webhook type. + * The parameters supplied to the create or update automation account operation. */ -export interface Webhook extends ProxyResource { +export interface AutomationAccountCreateOrUpdateParameters { /** - * Gets or sets the value of the enabled flag of the webhook. Default value: false. + * Gets or sets account SKU. */ - isEnabled?: boolean; + sku?: Sku; /** - * Gets or sets the webhook uri. + * Set the encryption properties for the automation account */ - uri?: string; + encryption?: EncryptionProperties; /** - * Gets or sets the expiry time. + * Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public + * internet */ - expiryTime?: Date; + publicNetworkAccess?: boolean; /** - * Gets or sets the last invoked time. + * Gets or sets name of the resource. */ - lastInvokedTime?: Date; + name?: string; /** - * Gets or sets the parameters of the job that is created when the webhook calls the runbook it - * is associated with. + * Gets or sets the location of the resource. */ - parameters?: { [propertyName: string]: string }; + location?: string; /** - * Gets or sets the runbook the webhook is associated with. - */ - runbook?: RunbookAssociationProperty; - /** - * Gets or sets the name of the hybrid worker group the webhook job will run on. - */ - runOn?: string; - /** - * Gets or sets the creation time. - */ - creationTime?: Date; - /** - * Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * Details of the user who last modified the Webhook + * Sets the identity property for automation account */ - lastModifiedBy?: string; + identity?: Identity; /** - * Gets or sets the description. + * Gets or sets the tags attached to the resource. */ - description?: string; + tags?: { [propertyName: string]: string }; } /** - * The parameters supplied to the update webhook operation. + * Definition of the statistic. */ -export interface WebhookUpdateParameters { +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 name of the hybrid worker group the webhook job will run on. + * Gets the startTime of the statistic. + * **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. + * Gets the endTime of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: { [propertyName: string]: string }; + readonly endTime?: Date; /** - * Gets or sets the description of the webhook. + * Gets the id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly id?: string; } /** - * The parameters supplied to the create or update webhook operation. + * Definition of usage counter name. */ -export interface WebhookCreateOrUpdateParameters { - /** - * Gets or sets the name of the webhook. - */ - name: string; - /** - * Gets or sets the value of the enabled flag of webhook. - */ - isEnabled?: boolean; - /** - * Gets or sets the uri. - */ - uri?: string; - /** - * Gets or sets the expiry time. - */ - expiryTime?: Date; - /** - * Gets or sets the parameters of the job. - */ - parameters?: { [propertyName: string]: string }; +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. + * Gets or sets the name of the resource. */ - rebootSetting?: 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 }; } /** - * Linux specific update configuration. + * The parameters supplied to the create or update or replace certificate operation. */ -export interface LinuxProperties { +export interface CertificateCreateOrUpdateParameters { /** - * Update classifications included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other' + * Gets or sets the name of the certificate. */ - includedPackageClassifications?: LinuxUpdateClasses; + name: string; /** - * packages excluded from the software update configuration. + * Gets or sets the base64 encoded value of the certificate. */ - excludedPackageNameMasks?: string[]; + base64Value: string; /** - * packages included from the software update configuration. + * Gets or sets the description of the certificate. */ - includedPackageNameMasks?: string[]; + description?: string; /** - * Reboot setting for the software update configuration. + * Gets or sets the thumbprint of the certificate. */ - rebootSetting?: string; + thumbprint?: string; + /** + * Gets or sets the is exportable flag of the certificate. + */ + isExportable?: boolean; } /** - * Tag filter information for the VM. + * Definition of the certificate. */ -export interface TagSettingsProperties { +export interface Certificate extends ProxyResource { /** - * Dictionary of tags with its list of values. + * Gets the thumbprint of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string[] }; + readonly thumbprint?: string; /** - * Filter VMs by Any or All specified tags. Possible values include: 'All', 'Any' + * Gets the expiry time of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filterOperator?: TagOperators; -} - -/** - * Azure query for the update configuration. - */ -export interface AzureQueryProperties { + readonly expiryTime?: Date; /** - * List of Subscription or Resource Group ARM Ids. + * Gets the is exportable flag of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - scope?: string[]; + readonly isExportable?: boolean; /** - * List of locations to scope the query to. + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - locations?: string[]; + readonly creationTime?: Date; /** - * Tag settings for the VM. + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tagSettings?: TagSettingsProperties; + readonly lastModifiedTime?: Date; + /** + * Gets or sets the description. + */ + description?: string; } /** - * Non Azure query for the update configuration. + * The parameters supplied to the update certificate operation. */ -export interface NonAzureQueryProperties { +export interface CertificateUpdateParameters { /** - * Log Analytics Saved Search name. + * Gets or sets the name of the certificate. */ - functionAlias?: string; + name?: string; /** - * Workspace Id for Log Analytics in which the saved Search is resided. + * Gets or sets the description of the certificate. */ - workspaceId?: string; + description?: string; } /** - * Group specific to the update configuration. + * The connection type property associated with the entity. */ -export interface TargetProperties { +export interface ConnectionTypeAssociationProperty { /** - * List of Azure queries in the software update configuration. - */ - azureQueries?: AzureQueryProperties[]; - /** - * List of non Azure queries in the software update configuration. + * Gets or sets the name of the connection type. */ - nonAzureQueries?: NonAzureQueryProperties[]; + name?: string; } /** - * Update specific properties of the software update configuration. + * The parameters supplied to the create or update connection operation. */ -export interface UpdateConfiguration { +export interface ConnectionCreateOrUpdateParameters { /** - * operating system of target machines. Possible values include: 'Windows', 'Linux' + * Gets or sets the name of the connection. */ - operatingSystem: OperatingSystemType; + name: string; /** - * Windows specific update configuration. + * Gets or sets the description of the connection. */ - windows?: WindowsProperties; + description?: string; /** - * Linux specific update configuration. + * Gets or sets the connectionType of the connection. */ - linux?: LinuxProperties; + connectionType: ConnectionTypeAssociationProperty; /** - * 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 field definition properties of the connection. */ - duration?: string; + fieldDefinitionValues?: { [propertyName: string]: string }; +} + +/** + * Definition of the connection. + */ +export interface Connection extends ProxyResource { /** - * List of azure resource Ids for azure virtual machines targeted by the software update - * configuration. + * Gets or sets the connectionType of the connection. */ - azureVirtualMachines?: string[]; + connectionType?: ConnectionTypeAssociationProperty; /** - * List of names of non-azure machines targeted by 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.** */ - nonAzureComputerNames?: string[]; + readonly fieldDefinitionValues?: { [propertyName: string]: string }; /** - * Group targets for the software update configuration. + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targets?: TargetProperties; + 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. */ -export interface SoftareUpdateConfigurationRunTaskProperties { +export interface HybridRunbookWorker { /** - * 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 { /** - * 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; + /** + * Gets or sets the list of hybrid runbook workers. + */ + hybridRunbookWorkers?: HybridRunbookWorker[]; + /** + * Sets the credential of a worker group. + */ + credential?: RunAsCredentialAssociationProperty; + /** + * Type of the HybridWorkerGroup. Possible values include: 'User', 'System' + */ + groupType?: GroupTypeEnum; +} + +/** + * Parameters supplied to the update operation. + */ +export interface HybridRunbookWorkerGroupUpdateParameters { + /** + * Sets the credential of a worker group. + */ + credential?: RunAsCredentialAssociationProperty; +} + +/** + * The schedule property associated with the entity. + */ +export interface ScheduleAssociationProperty { + /** + * Gets or sets the name of the Schedule. + */ + name?: string; +} + +/** + * The runbook property associated with the entity. + */ +export interface RunbookAssociationProperty { + /** + * Gets or sets the name of the runbook. + */ + name?: string; +} + +/** + * Definition of the job schedule. + */ +export interface JobSchedule { + /** + * Gets the id of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Gets the name of the variable. + * **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; + /** + * Gets or sets the id of job schedule. + */ + jobScheduleId?: string; + /** + * Gets or sets the schedule. + */ + schedule?: ScheduleAssociationProperty; + /** + * 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 the parameters of the job schedule. + */ + parameters?: { [propertyName: string]: string }; +} + +/** + * The parameters supplied to the create job schedule operation. + */ +export interface JobScheduleCreateParameters { + /** + * Gets or sets the schedule. + */ + schedule: ScheduleAssociationProperty; + /** + * 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 id?: string; +} + +/** + * The parameters supplied to the create or update module operation. + */ +export interface ModuleCreateOrUpdateParameters { + /** + * 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. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * The parameters supplied to the update module operation. + */ +export interface ModuleUpdateParameters { + /** + * 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. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * The properties of the create advanced schedule monthly occurrence. + */ +export interface AdvancedScheduleMonthlyOccurrence { + /** + * Occurrence of the week within the month. Must be between 1 and 5 + */ + 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; +} + +/** + * The properties of the create Advanced Schedule. + */ +export interface AdvancedSchedule { + /** + * Days of the week that the job should execute on. + */ + weekDays?: string[]; + /** + * Days of the month that the job should execute on. Must be between 1 and 31. + */ + monthDays?: number[]; + /** + * Occurrences of days within a month. + */ + 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; + /** + * 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; } /** - * Software update configuration Run properties. + * Definition of the variable. */ -export interface SoftwareUpdateConfigurationRun { +export interface Variable extends ProxyResource { /** - * Name 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 value of the variable. */ - readonly name?: string; + value?: string; /** - * Resource Id 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 encrypted flag of the variable. */ - readonly id?: string; + isEncrypted?: boolean; /** - * software update configuration triggered this run + * Gets or sets the creation time. */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; + creationTime?: Date; /** - * 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 last modified time. */ - readonly status?: string; + lastModifiedTime?: Date; /** - * Configured duration for the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the description. */ - readonly configuredDuration?: string; + description?: string; +} + +/** + * The parameters supplied to the update variable operation. + */ +export interface VariableUpdateParameters { /** - * 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 name of the variable. */ - readonly osType?: string; + name?: string; /** - * Start 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 value of the variable. */ - readonly startTime?: Date; + value?: 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 description of the variable. */ - readonly endTime?: Date; + description?: string; +} + +/** + * Definition of the watcher type. + */ +export interface Watcher extends 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.** + * Gets or sets the frequency at which the watcher is invoked. */ - readonly computerCount?: number; + executionFrequencyInSeconds?: number; /** - * 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 name of the script the watcher is attached to, i.e. the name of an existing + * runbook. */ - readonly failedCount?: number; + scriptName?: string; /** - * Creation time of the resource, which only appears in the response. + * 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 creationTime?: Date; + readonly status?: string; /** - * CreatedBy property, which only appears in the response. + * Gets or sets the creation time. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly createdBy?: string; + readonly creationTime?: Date; /** - * Last time resource was modified, which only appears in the response. + * 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; /** - * LastModifiedBy property, which only appears in the response. + * 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; /** - * Software update configuration tasks triggered in this run + * Gets or sets the description. + */ + description?: string; + /** + * Gets or sets the etag of the resource. + */ + etag?: string; + /** + * Resource tags. */ - tasks?: SoftareUpdateConfigurationRunTasks; + tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ + location?: string; } /** - * result of listing all software update configuration runs + * An interface representing WatcherUpdateParameters. */ -export interface SoftwareUpdateConfigurationRunListResult { +export interface WatcherUpdateParameters { /** - * outer object returned when listing all software update configuration runs + * Gets or sets the frequency at which the watcher is invoked. */ - value?: SoftwareUpdateConfigurationRun[]; + executionFrequencyInSeconds?: number; /** - * link to next page of results. + * Gets or sets the name of the resource. */ - nextLink?: string; + name?: string; } /** - * Software update configuration machine run job navigation properties. + * Definition of the configuration parameter type. */ -export interface JobNavigation { +export interface DscConfigurationParameter { /** - * 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.** + * Gets or sets the type of the parameter. */ - readonly id?: string; + 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; } /** - * Software update configuration machine run model. + * The parameters supplied to the create or update configuration operation. */ -export interface SoftwareUpdateConfigurationMachineRun { +export interface DscConfigurationCreateOrUpdateParameters { /** - * Name 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 verbose log option. */ - readonly name?: string; + logVerbose?: boolean; /** - * Resource 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 progress log option. */ - readonly id?: string; + logProgress?: boolean; /** - * name of the updated computer - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the source. */ - readonly targetComputer?: string; + source: ContentSource; /** - * type of the updated computer. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the configuration parameters. */ - readonly targetComputerType?: string; + parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * software update configuration triggered this run + * Gets or sets the description of the configuration. */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; + description?: 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 name of the resource. */ - readonly status?: string; + name?: string; /** - * 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 location of the resource. */ - readonly osType?: string; + location?: string; /** - * 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 tags attached to the resource. */ - readonly correlationId?: string; + tags?: { [propertyName: string]: string }; +} + +/** + * Definition of the configuration type. + */ +export interface DscConfiguration extends TrackedResource { /** - * 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.** + * Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded' */ - readonly sourceComputerId?: string; + provisioningState?: DscConfigurationProvisioningState; /** - * Start time 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 job count of the configuration. */ - readonly startTime?: Date; + jobCount?: number; /** - * End time 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 configuration parameters. */ - readonly endTime?: Date; + parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * configured duration for the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets or sets the source. */ - readonly configuredDuration?: string; + 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; /** - * Job associated with the software update configuration machine run + * Gets or sets progress log option. */ - job?: JobNavigation; + logProgress?: boolean; /** - * 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 source. */ - readonly creationTime?: Date; + source: ContentSource; /** - * 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 configuration parameters. */ - readonly createdBy?: string; + parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * 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 description of the configuration. */ - readonly lastModifiedTime?: Date; + description?: string; /** - * 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 name of the resource. */ - readonly lastModifiedBy?: string; + name?: string; /** - * Details of provisioning error + * Gets or sets the tags attached to the resource. */ - error?: ErrorResponse; + tags?: { [propertyName: string]: string }; } /** - * result of listing all software update configuration machine runs + * Definition of the job. */ -export interface SoftwareUpdateConfigurationMachineRunListResult { +export interface Job extends ProxyResource { /** - * 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 job started by. */ - nextLink?: string; -} - -/** - * Definition of the source control. - */ -export interface SourceControl extends ProxyResource { + startedBy?: string; /** - * The repo url of the source control. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - repoUrl?: string; + runOn?: string; /** - * The repo branch of the source control. Include branch as empty string for VsoTfvc. + * Gets or sets the id of the job. */ - branch?: string; + jobId?: string; /** - * The folder path of the source control. + * Gets or sets the creation time of the job. */ - folderPath?: string; + creationTime?: Date; /** - * The auto sync of the source control. Default is false. + * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', + * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', + * 'Stopping', 'Resuming', 'Removing' */ - autoSync?: boolean; + status?: JobStatus; /** - * The auto publish of the source control. Default is true. + * Gets or sets the status details of the job. */ - publishRunbook?: boolean; + statusDetails?: string; /** - * The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', - * 'VsoTfvc', 'GitHub' + * Gets or sets the start time of the job. */ - sourceType?: SourceType; + startTime?: Date; /** - * The description. + * Gets or sets the end time of the job. */ - description?: string; + endTime?: Date; /** - * The creation time. + * Gets or sets the exception of the job. */ - creationTime?: Date; + exception?: string; /** - * The last modified time. + * Gets or sets the last modified time of the job. */ lastModifiedTime?: Date; -} - -/** - * An interface representing SourceControlSecurityTokenProperties. - */ -export interface SourceControlSecurityTokenProperties { /** - * The access token. + * Gets or sets the last status modified time of the job. */ - accessToken?: string; + lastStatusModifiedTime?: Date; /** - * The refresh token. + * Gets or sets the parameters of the job. */ - refreshToken?: string; + parameters?: { [propertyName: string]: string }; /** - * The token type. Must be either PersonalAccessToken or Oauth. Possible values include: - * 'PersonalAccessToken', 'Oauth' + * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ - tokenType?: TokenType; + provisioningState?: JobProvisioningState; } /** - * The parameters supplied to the update source control operation. + * Job collection item properties. */ -export interface SourceControlUpdateParameters { +export interface JobCollectionItem extends ProxyResource { /** - * The repo branch of the source control. + * The runbook association. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - branch?: string; + readonly runbook?: RunbookAssociationProperty; /** - * The folder path of the source control. Path must be relative. + * The id of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - folderPath?: string; + readonly jobId?: string; /** - * The auto sync of the source control. Default is false. + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - autoSync?: boolean; + readonly creationTime?: Date; /** - * The auto publish of the source control. Default is true. + * 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.** */ - publishRunbook?: boolean; + readonly status?: JobStatus; /** - * The authorization token for the repo of the source control. + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - securityToken?: SourceControlSecurityTokenProperties; + readonly startTime?: Date; /** - * The user description of the source control. + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly endTime?: Date; + /** + * 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; + /** + * The provisioning state of a resource. + * **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. + */ + runOn?: string; } /** - * The parameters supplied to the create or update source control operation. + * The parameters supplied to the create job operation. */ -export interface SourceControlCreateOrUpdateParameters { +export interface JobCreateParameters { /** - * The repo url of the source control. + * Gets or sets the runbook. */ - repoUrl?: string; + runbook?: RunbookAssociationProperty; /** - * The repo branch of the source control. Include branch as empty string for VsoTfvc. + * Gets or sets the parameters of the job. */ - branch?: string; + parameters?: { [propertyName: string]: string }; /** - * The folder path of the source control. Path must be relative. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - folderPath?: string; + runOn?: string; +} + +/** + * Provider, Resource and Operation values + */ +export interface OperationDisplay { /** - * The auto async of the source control. Default is false. + * Service provider: Microsoft.Automation */ - autoSync?: boolean; + provider?: string; /** - * The auto publish of the source control. Default is true. + * Resource on which the operation is performed: Runbooks, Jobs etc. */ - publishRunbook?: boolean; + resource?: string; /** - * The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values - * include: 'VsoGit', 'VsoTfvc', 'GitHub' + * Operation type: Read, write, delete, etc. */ - sourceType?: SourceType; + operation?: string; +} + +/** + * Automation REST API operation + */ +export interface Operation { /** - * The authorization token for the repo of the source control. + * Operation name: {provider}/{resource}/{operation} */ - securityToken?: SourceControlSecurityTokenProperties; + name?: string; /** - * The user description of the source control. + * Provider, Resource and Operation values */ - description?: string; + display?: OperationDisplay; } /** - * Definition of the source control sync job. + * Windows specific update configuration. */ -export interface SourceControlSyncJob { - /** - * Resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; +export interface WindowsProperties { /** - * Resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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' */ - readonly type?: string; + includedUpdateClassifications?: WindowsUpdateClasses; /** - * Resource id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * KB numbers excluded from the software update configuration. */ - readonly id?: string; + excludedKbNumbers?: string[]; /** - * The source control sync job id. + * KB numbers included from the software update configuration. */ - sourceControlSyncJobId?: string; + includedKbNumbers?: string[]; /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Reboot setting for the software update configuration. */ - readonly creationTime?: Date; + rebootSetting?: string; +} + +/** + * Linux specific update configuration. + */ +export interface LinuxProperties { /** - * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' + * Update classifications included in the software update configuration. Possible values include: + * 'Unclassified', 'Critical', 'Security', 'Other' */ - provisioningState?: ProvisioningState; + includedPackageClassifications?: LinuxUpdateClasses; /** - * The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * packages excluded from the software update configuration. */ - readonly startTime?: Date; + excludedPackageNameMasks?: string[]; /** - * The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * packages included from the software update configuration. */ - readonly endTime?: Date; + includedPackageNameMasks?: string[]; /** - * The sync type. Possible values include: 'PartialSync', 'FullSync' + * Reboot setting for the software update configuration. */ - syncType?: SyncType; + rebootSetting?: string; } /** - * The parameters supplied to the create source control sync job operation. + * Tag filter information for the VM. */ -export interface SourceControlSyncJobCreateParameters { +export interface TagSettingsProperties { /** - * The commit id of the source control sync job. If not syncing to a commitId, enter an empty - * string. + * Dictionary of tags with its list of values. */ - commitId: string; + tags?: { [propertyName: string]: string[] }; + /** + * Filter VMs by Any or All specified tags. Possible values include: 'All', 'Any' + */ + filterOperator?: TagOperators; } /** - * Definition of the source control sync job. + * Azure query for the update configuration. */ -export interface SourceControlSyncJobById { - /** - * The id of the job. - */ - id?: string; +export interface AzureQueryProperties { /** - * The source control sync job id. + * List of Subscription or Resource Group ARM Ids. */ - sourceControlSyncJobId?: string; + scope?: string[]; /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of locations to scope the query to. */ - readonly creationTime?: Date; + locations?: string[]; /** - * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' + * Tag settings for the VM. */ - provisioningState?: ProvisioningState; + tagSettings?: TagSettingsProperties; +} + +/** + * Non Azure query for the update configuration. + */ +export interface NonAzureQueryProperties { /** - * The start 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 startTime?: Date; + functionAlias?: string; /** - * The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Workspace Id for Log Analytics in which the saved Search is resided. */ - readonly endTime?: Date; + workspaceId?: string; +} + +/** + * Group specific to the update configuration. + */ +export interface TargetProperties { /** - * The sync type. Possible values include: 'PartialSync', 'FullSync' + * List of Azure queries in the software update configuration. */ - syncType?: SyncType; + azureQueries?: AzureQueryProperties[]; /** - * The exceptions that occurred while running the sync job. + * List of non Azure queries in the software update configuration. */ - exception?: string; + nonAzureQueries?: NonAzureQueryProperties[]; } /** - * Definition of the source control sync job stream. + * Update specific properties of the software update configuration. */ -export interface SourceControlSyncJobStream { +export interface UpdateConfiguration { /** - * Resource id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * operating system of target machines. Possible values include: 'Windows', 'Linux' */ - readonly id?: string; + operatingSystem: OperatingSystemType; /** - * The sync job stream id. + * Windows specific update configuration. */ - sourceControlSyncJobStreamId?: string; + windows?: WindowsProperties; /** - * The summary of the sync job stream. + * Linux specific update configuration. */ - summary?: string; + linux?: LinuxProperties; /** - * The time of the sync job stream. - * **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 time?: Date; + duration?: string; /** - * The type of the sync job stream. Possible values include: 'Error', 'Output' + * List of azure resource Ids for azure virtual machines targeted by the software update + * configuration. */ - streamType?: StreamType; + azureVirtualMachines?: string[]; + /** + * List of names of non-azure machines targeted by the software update configuration. + */ + nonAzureComputerNames?: string[]; + /** + * Group targets for the software update configuration. + */ + targets?: TargetProperties; } /** - * Definition of the source control sync job stream by id. + * Definition of schedule parameters. */ -export interface SourceControlSyncJobStreamById { +export interface SUCScheduleProperties { /** - * Resource id. + * 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 id?: string; + readonly startTimeOffsetMinutes?: number; /** - * The sync job stream id. + * Gets or sets the end time of the schedule. */ - sourceControlSyncJobStreamId?: string; + expiryTime?: Date; /** - * The summary of the sync job stream. + * Gets or sets the expiry time's offset in minutes. */ - summary?: string; + expiryTimeOffsetMinutes?: number; /** - * 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 a value indicating whether this schedule is enabled. Default value: false. */ - readonly time?: Date; + isEnabled?: boolean; /** - * The type of the sync job stream. Possible values include: 'Error', 'Output' + * Gets or sets the next run time of the schedule. */ - streamType?: StreamType; + nextRun?: Date; /** - * The text of the sync job stream. + * Gets or sets the next run time's offset in minutes. */ - streamText?: string; + nextRunOffsetMinutes?: number; /** - * The values of the job stream. + * Gets or sets the interval of the schedule. */ - value?: { [propertyName: string]: any }; -} - -/** - * Definition of the job stream. - */ -export interface JobStream { + interval?: number; /** - * Gets or sets the id of the resource. + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month', 'Minute' */ - id?: string; + frequency?: ScheduleFrequency; /** - * Gets or sets the id of the job stream. + * Gets or sets the time zone of the schedule. */ - jobStreamId?: string; + timeZone?: string; /** - * Gets or sets the creation time of the job. + * Gets or sets the advanced schedule. */ - time?: Date; + advancedSchedule?: AdvancedSchedule; /** - * Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', - * 'Error', 'Debug', 'Verbose', 'Any' + * Gets or sets the creation time. */ - streamType?: JobStreamType; + creationTime?: Date; /** - * Gets or sets the stream text. + * Gets or sets the last modified time. */ - streamText?: string; + lastModifiedTime?: Date; /** - * Gets or sets the summary. + * Gets or sets the description. */ - summary?: string; + description?: string; +} + +/** + * Task properties of the software update configuration. + */ +export interface TaskProperties { /** - * Gets or sets the values of the job stream. + * Gets or sets the parameters of the task. */ - value?: { [propertyName: string]: any }; + parameters?: { [propertyName: string]: string }; + /** + * Gets or sets the name of the runbook. + */ + 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; /** - * The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Update specific properties of the software update configuration. */ - readonly creationTime?: Date; + updateConfiguration?: UpdateConfiguration; /** - * 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.** + * Pre and Post Tasks defined */ - readonly status?: JobStatus; + tasks?: SoftwareUpdateConfigurationTasks; /** - * The start time of the job. - * **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 startTime?: Date; + frequency?: ScheduleFrequency; /** - * The end time of the job. + * the start time of the update. + */ + startTime?: Date; + /** + * 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 { - /** - * Gets or sets the ID of the resource. - */ - resourceId?: string; - /** - * Gets or sets the source info of the resource. - */ - sourceInfo?: string; +export interface SoftwareUpdateConfigurationRun { /** - * Gets or sets the Resource Navigation values for resources the resource depends on. + * Name of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dependsOn?: DscReportResourceNavigation[]; + readonly name?: string; /** - * Gets or sets the module name 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.** */ - moduleName?: string; + readonly id?: string; /** - * Gets or sets the module version of the resource. + * software update configuration triggered this run */ - moduleVersion?: string; + softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Gets or sets the 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.** */ - resourceName?: string; + readonly status?: string; /** - * Gets or sets the error 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.** */ - error?: string; + readonly configuredDuration?: string; /** - * Gets or sets the status 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.** */ - status?: string; + readonly osType?: string; /** - * Gets or sets the duration in seconds for 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.** */ - durationInSeconds?: number; + readonly startTime?: Date; /** - * Gets or sets the start date 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.** */ - startDate?: Date; -} - -/** - * Definition of the DSC Meta Configuration. - */ -export interface DscMetaConfiguration { + readonly endTime?: Date; /** - * Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration. + * Number of computers in the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationModeFrequencyMins?: number; + readonly computerCount?: number; /** - * Gets or sets the RebootNodeIfNeeded value of the meta configuration. + * Number of computers with failed status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rebootNodeIfNeeded?: boolean; + readonly failedCount?: number; /** - * Gets or sets the ConfigurationMode 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.** */ - configurationMode?: string; + readonly creationTime?: Date; /** - * Gets or sets the ActionAfterReboot 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.** */ - actionAfterReboot?: string; + readonly createdBy?: string; /** - * Gets or sets the CertificateId 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.** */ - certificateId?: string; + readonly lastModifiedTime?: Date; /** - * Gets or sets the RefreshFrequencyMins 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.** */ - refreshFrequencyMins?: number; + readonly lastModifiedBy?: string; /** - * Gets or sets the AllowModuleOverwrite value of the meta configuration. + * Software update configuration tasks triggered in this run */ - allowModuleOverwrite?: boolean; + tasks?: SoftwareUpdateConfigurationRunTasks; } /** - * Definition of the dsc node report type. + * result of listing all software update configuration runs */ -export interface DscNodeReport { - /** - * Gets or sets the end time of the node report. - */ - endTime?: Date; - /** - * Gets or sets the lastModifiedTime of the node report. - */ - lastModifiedTime?: Date; - /** - * Gets or sets the start time of the node report. - */ - startTime?: Date; - /** - * Gets or sets the type of the node report. - */ - type?: string; +export interface SoftwareUpdateConfigurationRunListResult { /** - * Gets or sets the id of the node report. + * outer object returned when listing all software update configuration runs */ - reportId?: string; + value?: SoftwareUpdateConfigurationRun[]; /** - * Gets or sets the status of the node report. + * link to next page of results. */ - status?: string; + nextLink?: string; +} + +/** + * Software update configuration machine run job navigation properties. + */ +export interface JobNavigation { /** - * Gets or sets the refreshMode 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.** */ - refreshMode?: string; + readonly id?: string; +} + +/** + * Software update configuration machine run model. + */ +export interface SoftwareUpdateConfigurationMachineRun { /** - * Gets or sets the rebootRequested 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.** */ - rebootRequested?: string; + readonly name?: string; /** - * Gets or sets the reportFormatVersion 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.** */ - reportFormatVersion?: string; + readonly id?: string; /** - * Gets or sets the configurationVersion of the node report. + * name of the updated computer + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - configurationVersion?: string; + readonly targetComputer?: string; /** - * Gets or sets the id. + * type of the updated computer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: string; + readonly targetComputerType?: string; /** - * Gets or sets the errors for the node report. + * software update configuration triggered this run */ - errors?: DscReportError[]; + softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Gets or sets the resource for 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.** */ - resources?: DscReportResource[]; + readonly status?: string; /** - * Gets or sets the metaConfiguration of the node at the time of the 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.** */ - metaConfiguration?: DscMetaConfiguration; + readonly osType?: string; /** - * Gets or sets the hostname of the node that sent the 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.** */ - hostName?: string; + readonly correlationId?: string; /** - * Gets or sets the IPv4 address of the node that sent the 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.** */ - iPV4Addresses?: string[]; + readonly sourceComputerId?: string; /** - * Gets or sets the IPv6 address of the node that sent the report. + * Start time of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - iPV6Addresses?: string[]; + readonly startTime?: Date; /** - * Gets or sets the number of resource in 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.** */ - numberOfResources?: number; + readonly endTime?: Date; /** - * Gets or sets the unparsed errors 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.** */ - rawErrors?: string; -} - -/** - * Definition of the agent registration keys. - */ -export interface AgentRegistrationKeys { + readonly configuredDuration?: string; /** - * Gets or sets the primary key. + * Job associated with the software update configuration machine run */ - primary?: string; + job?: JobNavigation; /** - * Gets or sets the secondary key. + * 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.** */ - secondary?: string; -} - -/** - * Definition of the agent registration information type. - */ -export interface AgentRegistration { + readonly creationTime?: Date; /** - * Gets or sets the dsc 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.** */ - dscMetaConfiguration?: string; + readonly createdBy?: string; /** - * Gets or sets the dsc server endpoint. + * 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.** */ - endpoint?: string; + readonly lastModifiedTime?: Date; /** - * Gets or sets the agent registration keys. + * lastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keys?: AgentRegistrationKeys; + readonly lastModifiedBy?: string; /** - * Gets or sets the id. + * Details of provisioning error */ - id?: string; + error?: ErrorResponse; } /** - * The dsc extensionHandler property associated with the node + * result of listing all software update configuration machine runs */ -export interface DscNodeExtensionHandlerAssociationProperty { +export interface SoftwareUpdateConfigurationMachineRunListResult { /** - * Gets or sets the name of the extension handler. + * outer object returned when listing all software update configuration machine runs */ - name?: string; + value?: SoftwareUpdateConfigurationMachineRun[]; /** - * Gets or sets the version of the extension handler. + * link to next page of results. */ - version?: string; + nextLink?: string; } /** - * Definition of a DscNode + * Definition of the runbook parameter type. */ -export interface DscNode extends ProxyResource { +export interface RunbookParameter { /** - * Gets or sets the last seen time of the node. + * Gets or sets the type of the parameter. */ - lastSeen?: Date; + type?: string; /** - * Gets or sets the registration time of the node. + * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ - registrationTime?: Date; + isMandatory?: boolean; /** - * Gets or sets the ip of the node. + * Get or sets the position of the parameter. */ - ip?: string; + position?: number; /** - * Gets or sets the account id of the node. + * Gets or sets the default value of parameter. */ - accountId?: string; + defaultValue?: string; +} + +/** + * An interface representing RunbookDraft. + */ +export interface RunbookDraft { /** - * Gets or sets the name of the dsc node configuration. + * Gets or sets whether runbook is in edit mode. */ - dscNodeName?: string; + inEdit?: boolean; /** - * Gets or sets the status of the node. + * Gets or sets the draft runbook content link. */ - status?: string; + draftContentLink?: ContentLink; /** - * Gets or sets the node id. + * Gets or sets the creation time of the runbook draft. */ - nodeId?: string; + creationTime?: Date; /** - * Gets or sets the etag of the resource. + * Gets or sets the last modified time of the runbook draft. */ - etag?: string; + lastModifiedTime?: Date; /** - * Gets the total number of records matching filter criteria. + * Gets or sets the runbook draft parameters. */ - totalCount?: number; + parameters?: { [propertyName: string]: RunbookParameter }; /** - * Gets or sets the list of extensionHandler properties for a Node. + * Gets or sets the runbook output types. */ - extensionHandler?: DscNodeExtensionHandlerAssociationProperty[]; + outputTypes?: string[]; } /** - * The parameters supplied to the regenerate keys operation. + * Definition of the runbook type. */ -export interface AgentRegistrationRegenerateKeyParameter { +export interface Runbook extends TrackedResource { /** - * Gets or sets the agent registration key name - primary or secondary. Possible values include: - * 'primary', 'secondary' + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - keyName: AgentRegistrationKeyName; -} - -/** - * An interface representing DscNodeUpdateParametersProperties. - */ -export interface DscNodeUpdateParametersProperties { + runbookType?: RunbookTypeEnum; /** - * Gets or sets the name of the dsc node configuration. + * Gets or sets the published runbook content link. */ - name?: string; -} - -/** - * The parameters supplied to the update dsc node operation. - */ -export interface DscNodeUpdateParameters { + publishContentLink?: ContentLink; /** - * Gets or sets the id of the dsc node. + * Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published' */ - nodeId?: string; - properties?: DscNodeUpdateParametersProperties; -} - -/** - * The Dsc configuration property associated with the entity. - */ -export interface DscConfigurationAssociationProperty { + state?: RunbookState; /** - * Gets or sets the name of the Dsc configuration. + * Gets or sets verbose log option. */ - name?: string; -} - -/** - * Definition of the Dsc Compilation job. - */ -export interface DscCompilationJob extends ProxyResource { + logVerbose?: boolean; /** - * Gets or sets the configuration. + * Gets or sets progress log option. */ - configuration?: DscConfigurationAssociationProperty; + logProgress?: boolean; /** - * 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 option to log activity trace of the runbook. */ - readonly startedBy?: string; + logActivityTrace?: number; /** - * 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 job count of the runbook. */ - readonly jobId?: string; + jobCount?: number; /** - * 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 runbook parameters. */ - readonly creationTime?: Date; + parameters?: { [propertyName: string]: RunbookParameter }; /** - * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', - * 'Suspended', 'Processing' + * Gets or sets the runbook output types. */ - provisioningState?: JobProvisioningState; + outputTypes?: string[]; /** - * Gets or sets the runOn which specifies the group name where the job is to be executed. + * Gets or sets the draft runbook properties. */ - runOn?: string; + draft?: RunbookDraft; /** - * 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 the provisioning state of the runbook. Possible values include: 'Succeeded' */ - status?: JobStatus; + provisioningState?: RunbookProvisioningState; /** - * Gets or sets the status details of the job. + * Gets or sets the last modified by. */ - statusDetails?: string; + lastModifiedBy?: string; /** - * 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 creation time. */ - readonly startTime?: Date; + creationTime?: Date; /** - * 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 last modified time. */ - readonly endTime?: Date; + lastModifiedTime?: Date; /** - * 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 description. + */ + description?: string; + /** + * Gets or sets the etag of the resource. + */ + etag?: string; +} + +/** + * The parameters supplied to the create or update runbook operation. + */ +export interface RunbookCreateOrUpdateParameters { + /** + * Gets or sets verbose log option. */ - readonly exception?: string; + logVerbose?: boolean; /** - * 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 progress log option. */ - readonly lastModifiedTime?: Date; + logProgress?: boolean; /** - * 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 type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - readonly lastStatusModifiedTime?: Date; + runbookType: RunbookTypeEnum; /** - * Gets or sets the parameters of the job. + * Gets or sets the draft runbook properties. */ - parameters?: { [propertyName: string]: string }; -} - -/** - * The parameters supplied to the create compilation job operation. - */ -export interface DscCompilationJobCreateParameters { + draft?: RunbookDraft; /** - * Gets or sets the configuration. + * Gets or sets the published runbook content link. */ - configuration: DscConfigurationAssociationProperty; + publishContentLink?: ContentLink; /** - * Gets or sets the parameters of the job. + * Gets or sets the description of the runbook. */ - parameters?: { [propertyName: string]: string }; + description?: string; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets the activity-level tracing options of the runbook. */ - incrementNodeConfigurationBuild?: boolean; + logActivityTrace?: number; /** - * Gets or sets name of the resource. + * Gets or sets the name of the resource. */ name?: string; /** @@ -3157,55 +3517,33 @@ export interface DscCompilationJobCreateParameters { } /** - * Definition of the dsc node configuration. + * The parameters supplied to the update runbook operation. */ -export interface DscNodeConfiguration extends ProxyResource { - /** - * Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * Gets or sets creation time. - */ - creationTime?: Date; - /** - * Gets or sets the configuration of the node. - */ - configuration?: DscConfigurationAssociationProperty; - /** - * Source of node configuration. - */ - source?: string; +export interface RunbookUpdateParameters { /** - * Number of nodes with this node configuration assigned + * Gets or sets the description of the runbook. */ - nodeCount?: number; + description?: string; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets verbose log option. */ - incrementNodeConfigurationBuild?: boolean; -} - -/** - * The parameters supplied to the create or update node configuration operation. - */ -export interface DscNodeConfigurationCreateOrUpdateParameters { + logVerbose?: boolean; /** - * Gets or sets the source. + * Gets or sets progress log option. */ - source: ContentSource; + logProgress?: boolean; /** - * Gets or sets the configuration of the node. + * Gets or sets the activity-level tracing options of the runbook. */ - configuration: DscConfigurationAssociationProperty; + logActivityTrace?: number; /** - * If a new build version of NodeConfiguration is required. + * Gets or sets the name of the resource. */ - incrementNodeConfigurationBuild?: boolean; + name?: string; /** - * Name of the node configuration. + * Gets or sets the location of the resource. */ - name?: string; + location?: string; /** * Gets or sets the tags attached to the resource. */ @@ -3213,145 +3551,163 @@ export interface DscNodeConfigurationCreateOrUpdateParameters { } /** - * An interface representing NodeCountProperties. - */ -export interface NodeCountProperties { - /** - * Gets the count for the name - */ - count?: number; -} - -/** - * Number of nodes based on the Filter + * The response model for the undo edit runbook operation. */ -export interface NodeCount { +export interface RunbookDraftUndoEditResult { /** - * Gets the name of a count type + * 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' */ - name?: string; - properties?: NodeCountProperties; + statusCode?: HttpStatusCode; + requestId?: string; } /** - * Gets the count of nodes by count type + * The parameters supplied to the create test job operation. */ -export interface NodeCounts { +export interface TestJobCreateParameters { /** - * Gets an array of counts + * Gets or sets the parameters of the test job. */ - value?: NodeCount[]; + parameters?: { [propertyName: string]: string }; /** - * Gets the total number of records matching countType criteria. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - totalCount?: number; + runOn?: string; } /** - * Definition of the runbook parameter type. + * Definition of the test job. */ -export interface RunbookParameter { +export interface TestJob { /** - * Gets or sets the type of the parameter. + * Gets or sets the creation time of the test job. */ - type?: string; + creationTime?: Date; /** - * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. + * Gets or sets the status of the test job. */ - isMandatory?: boolean; + status?: string; /** - * Get or sets the position of the parameter. + * Gets or sets the status details of the test job. */ - position?: number; + statusDetails?: string; /** - * Gets or sets the default value of parameter. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ - defaultValue?: string; -} - -/** - * An interface representing RunbookDraft. - */ -export interface RunbookDraft { + runOn?: string; /** - * Gets or sets whether runbook is in edit mode. + * Gets or sets the start time of the test job. */ - inEdit?: boolean; + startTime?: Date; /** - * Gets or sets the draft runbook content link. + * Gets or sets the end time of the test job. */ - draftContentLink?: ContentLink; + endTime?: Date; /** - * Gets or sets the creation time of the runbook draft. + * Gets or sets the exception of the test job. */ - creationTime?: Date; + exception?: string; /** - * Gets or sets the last modified time of the runbook draft. + * Gets or sets the last modified time of the test job. */ lastModifiedTime?: Date; /** - * Gets or sets the runbook draft parameters. + * Gets or sets the last status modified time of the test job. */ - parameters?: { [propertyName: string]: RunbookParameter }; + lastStatusModifiedTime?: Date; /** - * Gets or sets the runbook output types. + * Gets or sets the parameters of the test job. */ - outputTypes?: string[]; + parameters?: { [propertyName: string]: string }; + /** + * The activity-level tracing options of the runbook. + */ + logActivityTrace?: number; } /** - * Definition of the runbook type. + * The parameters supplied to the create or update draft runbook properties. */ -export interface Runbook extends TrackedResource { +export interface RunbookCreateOrUpdateDraftProperties { + /** + * Gets or sets verbose log option. + */ + logVerbose?: boolean; + /** + * Gets or sets progress log option. + */ + logProgress?: boolean; /** * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ - runbookType?: RunbookTypeEnum; + runbookType: RunbookTypeEnum; /** - * Gets or sets the published runbook content link. + * Gets or sets the draft runbook properties. */ - publishContentLink?: ContentLink; + draft: RunbookDraft; /** - * Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published' + * Gets or sets the description of the runbook. */ - state?: RunbookState; + description?: string; /** - * Gets or sets verbose log option. + * Gets or sets the activity-level tracing options of the runbook. */ - logVerbose?: boolean; + logActivityTrace?: number; +} + +/** + * The parameters supplied to the create or update runbook operation. + */ +export interface RunbookCreateOrUpdateDraftParameters { /** - * Gets or sets progress log option. + * Content of the Runbook. */ - logProgress?: boolean; + runbookContent: string; +} + +/** + * Definition of the webhook type. + */ +export interface Webhook extends ProxyResource { /** - * Gets or sets the option to log activity trace of the runbook. + * Gets or sets the value of the enabled flag of the webhook. Default value: false. */ - logActivityTrace?: number; + isEnabled?: boolean; /** - * Gets or sets the job count of the runbook. + * Gets or sets the webhook uri. */ - jobCount?: number; + uri?: string; /** - * Gets or sets the runbook parameters. + * Gets or sets the expiry time. */ - parameters?: { [propertyName: string]: RunbookParameter }; + expiryTime?: Date; /** - * Gets or sets the runbook output types. + * Gets or sets the last invoked time. */ - outputTypes?: string[]; + lastInvokedTime?: Date; /** - * Gets or sets the draft runbook properties. + * Gets or sets the parameters of the job that is created when the webhook calls the runbook it + * is associated with. */ - draft?: RunbookDraft; + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the provisioning state of the runbook. Possible values include: 'Succeeded' + * Gets or sets the runbook the webhook is associated with. */ - provisioningState?: RunbookProvisioningState; + runbook?: RunbookAssociationProperty; /** - * Gets or sets the last modified by. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ - lastModifiedBy?: string; + runOn?: string; /** * Gets or sets the creation time. */ @@ -3360,250 +3716,328 @@ export interface Runbook extends TrackedResource { * Gets or sets the last modified time. */ lastModifiedTime?: Date; + /** + * Details of the user who last modified the Webhook + */ + lastModifiedBy?: string; /** * 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 runbook operation. + * The parameters supplied to the update webhook operation. */ -export interface RunbookCreateOrUpdateParameters { +export interface WebhookUpdateParameters { /** - * Gets or sets verbose log option. + * Gets or sets the name of the webhook. */ - logVerbose?: boolean; + name?: string; /** - * Gets or sets progress log option. + * Gets or sets the value of the enabled flag of webhook. */ - logProgress?: boolean; + isEnabled?: boolean; /** - * 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 draft runbook properties. + * Gets or sets the parameters of the job. */ - draft?: RunbookDraft; + parameters?: { [propertyName: string]: string }; /** - * Gets or sets the published runbook content link. + * Gets or sets the description of the webhook. */ - publishContentLink?: ContentLink; + description?: string; +} + +/** + * The parameters supplied to the create or update webhook operation. + */ +export interface WebhookCreateOrUpdateParameters { /** - * Gets or sets the description of the runbook. + * Gets or sets the name of the webhook. */ - description?: string; + name: string; /** - * Gets or sets the activity-level tracing options of the runbook. + * Gets or sets the value of the enabled flag of webhook. */ - logActivityTrace?: number; + isEnabled?: boolean; /** - * Gets or sets the name of the resource. + * Gets or sets the uri. */ - name?: string; + uri?: string; /** - * Gets or sets the location of the resource. + * Gets or sets the expiry time. */ - location?: string; + expiryTime?: Date; /** - * Gets or sets the tags attached to the resource. + * Gets or sets the parameters of the job. */ - tags?: { [propertyName: string]: string }; + parameters?: { [propertyName: string]: string }; + /** + * Gets or sets the runbook. + */ + runbook?: RunbookAssociationProperty; + /** + * Gets or sets the name of the hybrid worker group the webhook job will run on. + */ + runOn?: 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. */ - description?: string; + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface StatisticsListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + 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 +4067,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 +4079,39 @@ 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; -} - -/** - * Optional Parameters. - */ -export interface JobScheduleListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * The number of rows to skip. */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface WebhookListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { + skip?: number; /** - * The filter to apply on the operation. + * The number of rows to take. */ - filter?: string; + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; } /** * Optional Parameters. */ -export interface WatcherListByAutomationAccountOptionalParams 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 SoftwareUpdateConfigurationsCreateOptionalParams extends msRest.RequestOptionsBase { +export interface JobGetRunbookContentOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3695,7 +4121,7 @@ export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msRest.RequestOptionsBase { +export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3705,7 +4131,7 @@ export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msR /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { +export interface JobStopOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3715,21 +4141,17 @@ export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationsListOptionalParams extends msRest.RequestOptionsBase { +export interface JobGetOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ clientRequestId?: string; - /** - * The filter to apply on the operation. - */ - filter?: string; } /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { +export interface JobCreateOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3739,30 +4161,21 @@ export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends ms /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Identifies this specific client request. - */ - clientRequestId?: string; +export interface JobListByAutomationAccountOptionalParams 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 JobResumeOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3772,60 +4185,49 @@ export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams ext /** * Optional Parameters. */ -export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams 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 SourceControlListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobStreamGetOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * Identifies this specific client request. */ - filter?: string; + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SourceControlSyncJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface JobStreamListByJobOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; + /** + * Identifies this specific client request. + */ + clientRequestId?: string; } /** * Optional Parameters. */ -export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends msRest.RequestOptionsBase { +export interface JobStreamListByJobNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; -} - -/** - * Optional Parameters. - */ -export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3835,7 +4237,7 @@ export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobGetRunbookContentOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3845,7 +4247,7 @@ export interface JobGetRunbookContentOptionalParams extends msRest.RequestOption /** * Optional Parameters. */ -export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3855,7 +4257,7 @@ export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobStopOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3865,17 +4267,21 @@ export interface JobStopOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobGetOptionalParams 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 JobCreateOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3885,21 +4291,30 @@ export interface JobCreateOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. + * 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; /** - * Identifies this specific client request. + * Number of entries you skip before returning results */ - clientRequestId?: string; + skip?: string; + /** + * Maximum number of entries returned in the results collection + */ + top?: string; } /** * Optional Parameters. */ -export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { +export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** * Identifies this specific client request. */ @@ -3909,146 +4324,212 @@ export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface JobListByAutomationAccountNextOptionalParams 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 JobStreamGetOptionalParams extends msRest.RequestOptionsBase { +export interface TestJobStreamsListByTestJobOptionalParams 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 TestJobStreamsListByTestJobNextOptionalParams extends msRest.RequestOptionsBase { /** * The filter to apply on the operation. */ filter?: string; - /** - * Identifies this specific client request. - */ - clientRequestId?: string; } /** * Optional Parameters. */ -export interface JobStreamListByJobNextOptionalParams 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 DscNodeListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { +export interface WebhookListByAutomationAccountNextOptionalParams 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 { /** - * The number of rows to skip. + * URL to query for status of the operation. */ - skip?: number; + location: string; +} + +/** + * Defines headers for Publish operation. + */ +export interface RunbookPublishHeaders { /** - * The the number of rows to take. + * URL to query for status of the operation. */ - top?: number; + location: string; +} + +/** + * @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 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 +4544,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 +4608,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 +4644,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. @@ -4231,18 +4676,6 @@ export interface VariableListResult extends Array { nextLink?: string; } -/** - * @interface - * The response model for the list webhook operation. - * @extends Array - */ -export interface WebhookListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} - /** * @interface * The response model for the list watcher operation. @@ -4257,39 +4690,18 @@ export interface WatcherListResult extends Array { /** * @interface - * The response model for the list source controls operation. - * @extends Array - */ -export interface SourceControlListResult extends Array { - /** - * The next link. - */ - nextLink?: string; -} - -/** - * @interface - * The response model for the list source control sync jobs operation. - * @extends Array + * The response model for the list configuration operation. + * @extends Array */ -export interface SourceControlSyncJobListResult extends Array { +export interface DscConfigurationListResult 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 - */ -export interface SourceControlSyncJobStreamsListBySyncJob extends Array { /** - * The next link. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets the total number of configurations matching filter criteria. */ - readonly nextLink?: string; + totalCount?: number; } /** @@ -4319,26 +4731,18 @@ export interface JobStreamListResult extends Array { /** * @interface - * The response model for the list dsc nodes operation. - * @extends Array + * The response model for the list of Automation operations + * @extends Array */ -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 interface OperationListResult extends Array { } /** * @interface - * The response model for the list dsc nodes operation. - * @extends Array + * The response model for the list runbook operation. + * @extends Array */ -export interface DscNodeReportListResult extends Array { +export interface RunbookListResult extends Array { /** * Gets or sets the next link. */ @@ -4347,10 +4751,10 @@ export interface DscNodeReportListResult extends Array { /** * @interface - * The response model for the list job operation. - * @extends Array + * The response model for the list webhook operation. + * @extends Array */ -export interface DscCompilationJobListResult extends Array { +export interface WebhookListResult extends Array { /** * Gets or sets the next link. */ @@ -4358,230 +4762,219 @@ export interface DscCompilationJobListResult extends Array { } /** - * @interface - * The response model for the list job 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 interface DscNodeConfigurationListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; - /** - * Gets or sets the total rows in query. - */ - totalCount?: number; -} +export type ModuleProvisioningState = 'Created' | 'Creating' | 'StartingImportModuleRunbook' | 'RunningImportModuleRunbook' | 'ContentRetrieved' | 'ContentDownloaded' | 'ContentValidated' | 'ConnectionTypeImported' | 'ContentStored' | 'ModuleDataStored' | 'ActivitiesStored' | 'ModuleImportRunbookComplete' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Updating'; /** - * @interface - * The response model for the list runbook operation. - * @extends Array + * Defines values for AgentRegistrationKeyName. + * Possible values include: 'primary', 'secondary' + * @readonly + * @enum {string} */ -export interface RunbookListResult extends Array { - /** - * Gets or sets the next link. - */ - nextLink?: string; -} +export type AgentRegistrationKeyName = 'primary' | 'secondary'; /** - * Defines values for SkuNameEnum. - * Possible values include: 'Free', 'Basic' + * Defines values for ContentSourceType. + * Possible values include: 'embeddedContent', 'uri' * @readonly * @enum {string} */ -export type SkuNameEnum = 'Free' | 'Basic'; +export type ContentSourceType = 'embeddedContent' | 'uri'; /** - * Defines values for AutomationAccountState. - * Possible values include: 'Ok', 'Unavailable', 'Suspended' + * Defines values for JobProvisioningState. + * Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing' * @readonly * @enum {string} */ -export type AutomationAccountState = 'Ok' | 'Unavailable' | 'Suspended'; +export type JobProvisioningState = 'Failed' | 'Succeeded' | 'Suspended' | 'Processing'; /** - * Defines values for AutomationKeyName. - * Possible values include: 'Primary', 'Secondary' + * 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 AutomationKeyName = 'Primary' | 'Secondary'; +export type JobStatus = 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing'; /** - * Defines values for AutomationKeyPermissions. - * Possible values include: 'Read', 'Full' + * Defines values for JobStreamType. + * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' * @readonly * @enum {string} */ -export type AutomationKeyPermissions = 'Read' | 'Full'; +export type JobStreamType = 'Progress' | 'Output' | 'Warning' | 'Error' | 'Debug' | 'Verbose' | 'Any'; /** - * Defines values for ContentSourceType. - * Possible values include: 'embeddedContent', 'uri' + * Defines values for SourceType. + * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' * @readonly * @enum {string} */ -export type ContentSourceType = 'embeddedContent' | 'uri'; +export type SourceType = 'VsoGit' | 'VsoTfvc' | 'GitHub'; /** - * Defines values for DscConfigurationProvisioningState. - * Possible values include: 'Succeeded' + * Defines values for TokenType. + * Possible values include: 'PersonalAccessToken', 'Oauth' * @readonly * @enum {string} */ -export type DscConfigurationProvisioningState = 'Succeeded'; +export type TokenType = 'PersonalAccessToken' | 'Oauth'; /** - * Defines values for DscConfigurationState. - * Possible values include: 'New', 'Edit', 'Published' + * Defines values for ProvisioningState. + * Possible values include: 'Completed', 'Failed', 'Running' * @readonly * @enum {string} */ -export type DscConfigurationState = 'New' | 'Edit' | 'Published'; +export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; /** - * Defines values for GroupTypeEnum. - * Possible values include: 'User', 'System' + * Defines values for SyncType. + * Possible values include: 'PartialSync', 'FullSync' * @readonly * @enum {string} */ -export type GroupTypeEnum = 'User' | 'System'; +export type SyncType = 'PartialSync' | 'FullSync'; /** - * Defines values for ModuleProvisioningState. - * Possible values include: 'Created', 'Creating', 'StartingImportModuleRunbook', - * 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', - * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', - * 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'Updating' + * Defines values for StreamType. + * Possible values include: 'Error', 'Output' * @readonly * @enum {string} */ -export type ModuleProvisioningState = 'Created' | 'Creating' | 'StartingImportModuleRunbook' | 'RunningImportModuleRunbook' | 'ContentRetrieved' | 'ContentDownloaded' | 'ContentValidated' | 'ConnectionTypeImported' | 'ContentStored' | 'ModuleDataStored' | 'ActivitiesStored' | 'ModuleImportRunbookComplete' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Updating'; +export type StreamType = 'Error' | 'Output'; /** - * Defines values for ScheduleDay. - * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', - * 'Sunday' + * Defines values for SkuNameEnum. + * Possible values include: 'Free', 'Basic' * @readonly * @enum {string} */ -export type ScheduleDay = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday'; +export type SkuNameEnum = 'Free' | 'Basic'; /** - * Defines values for ScheduleFrequency. - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Defines values for AutomationAccountState. + * Possible values include: 'Ok', 'Unavailable', 'Suspended' * @readonly * @enum {string} */ -export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month'; +export type AutomationAccountState = 'Ok' | 'Unavailable' | 'Suspended'; /** - * Defines values for OperatingSystemType. - * Possible values include: 'Windows', 'Linux' + * Defines values for EncryptionKeySourceType. + * Possible values include: 'Microsoft.Automation', 'Microsoft.Keyvault' * @readonly * @enum {string} */ -export type OperatingSystemType = 'Windows' | 'Linux'; +export type EncryptionKeySourceType = 'Microsoft.Automation' | 'Microsoft.Keyvault'; /** - * Defines values for WindowsUpdateClasses. - * Possible values include: 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * Defines values for ResourceIdentityType. + * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', + * 'None' * @readonly * @enum {string} */ -export type WindowsUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'UpdateRollup' | 'FeaturePack' | 'ServicePack' | 'Definition' | 'Tools' | 'Updates'; +export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; /** - * Defines values for LinuxUpdateClasses. - * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other' + * Defines values for AutomationKeyName. + * Possible values include: 'Primary', 'Secondary' * @readonly * @enum {string} */ -export type LinuxUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'Other'; +export type AutomationKeyName = 'Primary' | 'Secondary'; /** - * Defines values for TagOperators. - * Possible values include: 'All', 'Any' + * Defines values for AutomationKeyPermissions. + * Possible values include: 'Read', 'Full' * @readonly * @enum {string} */ -export type TagOperators = 'All' | 'Any'; +export type AutomationKeyPermissions = 'Read' | 'Full'; /** - * Defines values for SourceType. - * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' + * Defines values for GroupTypeEnum. + * Possible values include: 'User', 'System' * @readonly * @enum {string} */ -export type SourceType = 'VsoGit' | 'VsoTfvc' | 'GitHub'; +export type GroupTypeEnum = 'User' | 'System'; /** - * Defines values for TokenType. - * Possible values include: 'PersonalAccessToken', 'Oauth' + * Defines values for ScheduleDay. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', + * 'Sunday' * @readonly * @enum {string} */ -export type TokenType = 'PersonalAccessToken' | 'Oauth'; +export type ScheduleDay = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday'; /** - * Defines values for ProvisioningState. - * Possible values include: 'Completed', 'Failed', 'Running' + * Defines values for ScheduleFrequency. + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute' * @readonly * @enum {string} */ -export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; +export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month' | 'Minute'; /** - * Defines values for SyncType. - * Possible values include: 'PartialSync', 'FullSync' + * Defines values for DscConfigurationProvisioningState. + * Possible values include: 'Succeeded' * @readonly * @enum {string} */ -export type SyncType = 'PartialSync' | 'FullSync'; +export type DscConfigurationProvisioningState = 'Succeeded'; /** - * Defines values for StreamType. - * Possible values include: 'Error', 'Output' + * Defines values for DscConfigurationState. + * Possible values include: 'New', 'Edit', 'Published' * @readonly * @enum {string} */ -export type StreamType = 'Error' | 'Output'; +export type DscConfigurationState = 'New' | 'Edit' | 'Published'; /** - * Defines values for JobStreamType. - * Possible values include: 'Progress', 'Output', 'Warning', 'Error', 'Debug', 'Verbose', 'Any' + * Defines values for OperatingSystemType. + * Possible values include: 'Windows', 'Linux' * @readonly * @enum {string} */ -export type JobStreamType = 'Progress' | 'Output' | 'Warning' | 'Error' | 'Debug' | 'Verbose' | 'Any'; +export type OperatingSystemType = 'Windows' | 'Linux'; /** - * Defines values for JobStatus. - * Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', - * 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing' + * Defines values for WindowsUpdateClasses. + * Possible values include: 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @readonly * @enum {string} */ -export type JobStatus = 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing'; +export type WindowsUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'UpdateRollup' | 'FeaturePack' | 'ServicePack' | 'Definition' | 'Tools' | 'Updates'; /** - * Defines values for JobProvisioningState. - * Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing' + * Defines values for LinuxUpdateClasses. + * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other' * @readonly * @enum {string} */ -export type JobProvisioningState = 'Failed' | 'Succeeded' | 'Suspended' | 'Processing'; +export type LinuxUpdateClasses = 'Unclassified' | 'Critical' | 'Security' | 'Other'; /** - * Defines values for AgentRegistrationKeyName. - * Possible values include: 'primary', 'secondary' + * Defines values for TagOperators. + * Possible values include: 'All', 'Any' * @readonly * @enum {string} */ -export type AgentRegistrationKeyName = 'primary' | 'secondary'; +export type TagOperators = 'All' | 'Any'; /** * Defines values for RunbookTypeEnum. @@ -4634,9 +5027,9 @@ export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'OK' | 'Created export type CountType = 'status' | 'nodeconfiguration'; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type AutomationAccountUpdateResponse = AutomationAccount & { +export type PrivateEndpointConnectionsListByAutomationAccountResponse = PrivateEndpointConnectionListResult & { /** * The underlying HTTP response. */ @@ -4649,14 +5042,14 @@ export type AutomationAccountUpdateResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: PrivateEndpointConnectionListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -4669,14 +5062,14 @@ export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type AutomationAccountGetResponse = AutomationAccount & { +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -4689,14 +5082,14 @@ export type AutomationAccountGetResponse = AutomationAccount & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccount; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type AutomationAccountListByResourceGroupResponse = AutomationAccountListResult & { +export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -4709,14 +5102,14 @@ export type AutomationAccountListByResourceGroupResponse = AutomationAccountList /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the automation operation. */ -export type AutomationAccountListResponse = AutomationAccountListResult & { +export type PrivateLinkResourcesAutomationResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -4729,14 +5122,14 @@ export type AutomationAccountListResponse = AutomationAccountListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type AutomationAccountListByResourceGroupNextResponse = AutomationAccountListResult & { +export type Python2PackageGetResponse = Module & { /** * The underlying HTTP response. */ @@ -4749,14 +5142,14 @@ export type AutomationAccountListByResourceGroupNextResponse = AutomationAccount /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: Module; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AutomationAccountListNextResponse = AutomationAccountListResult & { +export type Python2PackageCreateOrUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -4769,14 +5162,14 @@ export type AutomationAccountListNextResponse = AutomationAccountListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationAccountListResult; + parsedBody: Module; }; }; /** - * Contains response data for the list operation. + * Contains response data for the update operation. */ -export type OperationsListResponse = OperationListResult & { +export type Python2PackageUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -4789,14 +5182,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: Module; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { +export type Python2PackageListByAutomationAccountResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -4809,14 +5202,14 @@ export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: StatisticsListResult; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type UsagesListByAutomationAccountResponse = UsageListResult & { +export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -4829,14 +5222,14 @@ export type UsagesListByAutomationAccountResponse = UsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: UsageListResult; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the get operation. */ -export type KeysListByAutomationAccountResponse = KeyListResult & { +export type AgentRegistrationInformationGetResponse = AgentRegistration & { /** * The underlying HTTP response. */ @@ -4849,14 +5242,14 @@ export type KeysListByAutomationAccountResponse = KeyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: KeyListResult; + parsedBody: AgentRegistration; }; }; /** - * Contains response data for the get operation. + * Contains response data for the regenerateKey operation. */ -export type CertificateGetResponse = Certificate & { +export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistration & { /** * The underlying HTTP response. */ @@ -4869,14 +5262,14 @@ export type CertificateGetResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: AgentRegistration; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type CertificateCreateOrUpdateResponse = Certificate & { +export type DscNodeGetResponse = DscNode & { /** * The underlying HTTP response. */ @@ -4889,14 +5282,14 @@ export type CertificateCreateOrUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: DscNode; }; }; /** * Contains response data for the update operation. */ -export type CertificateUpdateResponse = Certificate & { +export type DscNodeUpdateResponse = DscNode & { /** * The underlying HTTP response. */ @@ -4909,14 +5302,14 @@ export type CertificateUpdateResponse = Certificate & { /** * The response body as parsed JSON or XML */ - parsedBody: Certificate; + parsedBody: DscNode; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type CertificateListByAutomationAccountResponse = CertificateListResult & { +export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { /** * The underlying HTTP response. */ @@ -4929,14 +5322,14 @@ export type CertificateListByAutomationAccountResponse = CertificateListResult & /** * The response body as parsed JSON or XML */ - parsedBody: CertificateListResult; + parsedBody: DscNodeListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type CertificateListByAutomationAccountNextResponse = CertificateListResult & { +export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { /** * The underlying HTTP response. */ @@ -4949,14 +5342,14 @@ export type CertificateListByAutomationAccountNextResponse = CertificateListResu /** * The response body as parsed JSON or XML */ - parsedBody: CertificateListResult; + parsedBody: DscNodeListResult; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the listByNode operation. */ -export type ConnectionDeleteMethodResponse = Connection & { +export type NodeReportsListByNodeResponse = DscNodeReportListResult & { /** * The underlying HTTP response. */ @@ -4969,14 +5362,14 @@ export type ConnectionDeleteMethodResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscNodeReportListResult; }; }; /** * Contains response data for the get operation. */ -export type ConnectionGetResponse = Connection & { +export type NodeReportsGetResponse = DscNodeReport & { /** * The underlying HTTP response. */ @@ -4989,14 +5382,19 @@ export type ConnectionGetResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscNodeReport; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the getContent operation. */ -export type ConnectionCreateOrUpdateResponse = Connection & { +export type NodeReportsGetContentResponse = { + /** + * The parsed response body. + */ + body: any; + /** * The underlying HTTP response. */ @@ -5009,14 +5407,54 @@ export type ConnectionCreateOrUpdateResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: any; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByNodeNext operation. */ -export type ConnectionUpdateResponse = Connection & { +export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { + /** + * 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: DscNodeReportListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { + /** + * 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: DscNodeConfiguration; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & { /** * The underlying HTTP response. */ @@ -5029,14 +5467,14 @@ export type ConnectionUpdateResponse = Connection & { /** * The response body as parsed JSON or XML */ - parsedBody: Connection; + parsedBody: DscNodeConfiguration; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { +export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult & { /** * The underlying HTTP response. */ @@ -5049,14 +5487,14 @@ export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionListResult; + parsedBody: DscNodeConfigurationListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult & { +export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfiguration & { /** * The underlying HTTP response. */ @@ -5069,14 +5507,14 @@ export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionListResult; + parsedBody: DscNodeConfiguration; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type ConnectionTypeGetResponse = ConnectionType & { +export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult & { /** * The underlying HTTP response. */ @@ -5089,14 +5527,14 @@ export type ConnectionTypeGetResponse = ConnectionType & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionType; + parsedBody: DscNodeConfigurationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the create operation. */ -export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { +export type DscCompilationJobCreateResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5109,14 +5547,14 @@ export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionType; + parsedBody: DscCompilationJob; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the get operation. */ -export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult & { +export type DscCompilationJobGetResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5129,14 +5567,14 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionTypeListResult; + parsedBody: DscCompilationJob; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult & { +export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJobListResult & { /** * The underlying HTTP response. */ @@ -5149,14 +5587,14 @@ export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeLi /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionTypeListResult; + parsedBody: DscCompilationJobListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getStream operation. */ -export type CredentialGetResponse = Credential & { +export type DscCompilationJobGetStreamResponse = JobStream & { /** * The underlying HTTP response. */ @@ -5169,14 +5607,14 @@ export type CredentialGetResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: JobStream; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreate operation. */ -export type CredentialCreateOrUpdateResponse = Credential & { +export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { /** * The underlying HTTP response. */ @@ -5189,14 +5627,14 @@ export type CredentialCreateOrUpdateResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: DscCompilationJob; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type CredentialUpdateResponse = Credential & { +export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilationJobListResult & { /** * The underlying HTTP response. */ @@ -5209,14 +5647,14 @@ export type CredentialUpdateResponse = Credential & { /** * The response body as parsed JSON or XML */ - parsedBody: Credential; + parsedBody: DscCompilationJobListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByJob operation. */ -export type CredentialListByAutomationAccountResponse = CredentialListResult & { +export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -5229,14 +5667,14 @@ export type CredentialListByAutomationAccountResponse = CredentialListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: CredentialListResult; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the get operation. */ -export type CredentialListByAutomationAccountNextResponse = CredentialListResult & { +export type NodeCountInformationGetResponse = NodeCounts & { /** * The underlying HTTP response. */ @@ -5249,14 +5687,14 @@ export type CredentialListByAutomationAccountNextResponse = CredentialListResult /** * The response body as parsed JSON or XML */ - parsedBody: CredentialListResult; + parsedBody: NodeCounts; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type DscConfigurationGetResponse = DscConfiguration & { +export type SourceControlCreateOrUpdateResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5269,14 +5707,14 @@ export type DscConfigurationGetResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControl; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the update operation. */ -export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { +export type SourceControlUpdateResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5289,14 +5727,14 @@ export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControl; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type DscConfigurationUpdateResponse = DscConfiguration & { +export type SourceControlGetResponse = SourceControl & { /** * The underlying HTTP response. */ @@ -5309,40 +5747,14 @@ export type DscConfigurationUpdateResponse = DscConfiguration & { /** * The response body as parsed JSON or XML */ - parsedBody: DscConfiguration; + parsedBody: SourceControl; }; }; -/** - * 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. */ -export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult & { +export type SourceControlListByAutomationAccountResponse = SourceControlListResult & { /** * The underlying HTTP response. */ @@ -5355,14 +5767,14 @@ export type DscConfigurationListByAutomationAccountResponse = DscConfigurationLi /** * The response body as parsed JSON or XML */ - parsedBody: DscConfigurationListResult; + parsedBody: SourceControlListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult & { +export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult & { /** * The underlying HTTP response. */ @@ -5375,14 +5787,14 @@ export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: DscConfigurationListResult; + parsedBody: SourceControlListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { +export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { /** * The underlying HTTP response. */ @@ -5395,14 +5807,14 @@ export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroup; + parsedBody: SourceControlSyncJob; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & { +export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { /** * The underlying HTTP response. */ @@ -5415,14 +5827,14 @@ export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroup; + parsedBody: SourceControlSyncJobById; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult & { +export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult & { /** * The underlying HTTP response. */ @@ -5435,14 +5847,14 @@ export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunb /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroupsListResult; + parsedBody: SourceControlSyncJobListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult & { +export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult & { /** * The underlying HTTP response. */ @@ -5455,14 +5867,14 @@ export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = Hybrid /** * The response body as parsed JSON or XML */ - parsedBody: HybridRunbookWorkerGroupsListResult; + parsedBody: SourceControlSyncJobListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySyncJob operation. */ -export type JobScheduleGetResponse = JobSchedule & { +export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob & { /** * The underlying HTTP response. */ @@ -5475,14 +5887,14 @@ export type JobScheduleGetResponse = JobSchedule & { /** * The response body as parsed JSON or XML */ - parsedBody: JobSchedule; + parsedBody: SourceControlSyncJobStreamsListBySyncJob; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type JobScheduleCreateResponse = JobSchedule & { +export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById & { /** * The underlying HTTP response. */ @@ -5495,14 +5907,14 @@ export type JobScheduleCreateResponse = JobSchedule & { /** * The response body as parsed JSON or XML */ - parsedBody: JobSchedule; + parsedBody: SourceControlSyncJobStreamById; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listBySyncJobNext operation. */ -export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & { +export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob & { /** * The underlying HTTP response. */ @@ -5515,14 +5927,14 @@ export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & /** * The response body as parsed JSON or XML */ - parsedBody: JobScheduleListResult; + parsedBody: SourceControlSyncJobStreamsListBySyncJob; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the update operation. */ -export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult & { +export type AutomationAccountUpdateResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5535,14 +5947,14 @@ export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResu /** * The response body as parsed JSON or XML */ - parsedBody: JobScheduleListResult; + parsedBody: AutomationAccount; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type LinkedWorkspaceGetResponse = LinkedWorkspace & { +export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5555,14 +5967,14 @@ export type LinkedWorkspaceGetResponse = LinkedWorkspace & { /** * The response body as parsed JSON or XML */ - parsedBody: LinkedWorkspace; + parsedBody: AutomationAccount; }; }; /** * Contains response data for the get operation. */ -export type ActivityGetResponse = Activity & { +export type AutomationAccountGetResponse = AutomationAccount & { /** * The underlying HTTP response. */ @@ -5575,14 +5987,14 @@ export type ActivityGetResponse = Activity & { /** * The response body as parsed JSON or XML */ - parsedBody: Activity; + parsedBody: AutomationAccount; }; }; /** - * Contains response data for the listByModule operation. + * Contains response data for the listByResourceGroup operation. */ -export type ActivityListByModuleResponse = ActivityListResult & { +export type AutomationAccountListByResourceGroupResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5595,14 +6007,14 @@ export type ActivityListByModuleResponse = ActivityListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ActivityListResult; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the listByModuleNext operation. + * Contains response data for the list operation. */ -export type ActivityListByModuleNextResponse = ActivityListResult & { +export type AutomationAccountListResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5615,14 +6027,14 @@ export type ActivityListByModuleNextResponse = ActivityListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ActivityListResult; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ModuleGetResponse = Module & { +export type AutomationAccountListByResourceGroupNextResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5635,14 +6047,14 @@ export type ModuleGetResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ModuleCreateOrUpdateResponse = Module & { +export type AutomationAccountListNextResponse = AutomationAccountListResult & { /** * The underlying HTTP response. */ @@ -5655,14 +6067,14 @@ export type ModuleCreateOrUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: AutomationAccountListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ModuleUpdateResponse = Module & { +export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { /** * The underlying HTTP response. */ @@ -5675,14 +6087,14 @@ export type ModuleUpdateResponse = Module & { /** * The response body as parsed JSON or XML */ - parsedBody: Module; + parsedBody: StatisticsListResult; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type ModuleListByAutomationAccountResponse = ModuleListResult & { +export type UsagesListByAutomationAccountResponse = UsageListResult & { /** * The underlying HTTP response. */ @@ -5695,14 +6107,14 @@ export type ModuleListByAutomationAccountResponse = ModuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: UsageListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { +export type KeysListByAutomationAccountResponse = KeyListResult & { /** * The underlying HTTP response. */ @@ -5715,14 +6127,14 @@ export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: KeyListResult; }; }; /** - * Contains response data for the listFieldsByModuleAndType operation. + * Contains response data for the get operation. */ -export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult & { +export type CertificateGetResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5735,14 +6147,14 @@ export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResu /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Certificate; }; }; /** - * Contains response data for the listFieldsByType operation. + * Contains response data for the createOrUpdate operation. */ -export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { +export type CertificateCreateOrUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5755,14 +6167,14 @@ export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Certificate; }; }; /** - * Contains response data for the listByType operation. + * Contains response data for the update operation. */ -export type FieldsListByTypeResponse = TypeFieldListResult & { +export type CertificateUpdateResponse = Certificate & { /** * The underlying HTTP response. */ @@ -5775,14 +6187,14 @@ export type FieldsListByTypeResponse = TypeFieldListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: TypeFieldListResult; + parsedBody: Certificate; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccount operation. */ -export type ScheduleCreateOrUpdateResponse = Schedule & { +export type CertificateListByAutomationAccountResponse = CertificateListResult & { /** * The underlying HTTP response. */ @@ -5795,14 +6207,14 @@ export type ScheduleCreateOrUpdateResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: CertificateListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type ScheduleUpdateResponse = Schedule & { +export type CertificateListByAutomationAccountNextResponse = CertificateListResult & { /** * The underlying HTTP response. */ @@ -5815,14 +6227,14 @@ export type ScheduleUpdateResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: CertificateListResult; }; }; /** * Contains response data for the get operation. */ -export type ScheduleGetResponse = Schedule & { +export type ConnectionGetResponse = Connection & { /** * The underlying HTTP response. */ @@ -5835,14 +6247,14 @@ export type ScheduleGetResponse = Schedule & { /** * The response body as parsed JSON or XML */ - parsedBody: Schedule; + parsedBody: Connection; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the createOrUpdate operation. */ -export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { +export type ConnectionCreateOrUpdateResponse = Connection & { /** * The underlying HTTP response. */ @@ -5855,14 +6267,14 @@ export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ScheduleListResult; + parsedBody: Connection; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the update operation. */ -export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { +export type ConnectionUpdateResponse = Connection & { /** * The underlying HTTP response. */ @@ -5875,14 +6287,14 @@ export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ScheduleListResult; + parsedBody: Connection; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByAutomationAccount operation. */ -export type VariableCreateOrUpdateResponse = Variable & { +export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { /** * The underlying HTTP response. */ @@ -5895,14 +6307,14 @@ export type VariableCreateOrUpdateResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: ConnectionListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type VariableUpdateResponse = Variable & { +export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult & { /** * The underlying HTTP response. */ @@ -5915,14 +6327,14 @@ export type VariableUpdateResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: ConnectionListResult; }; }; /** * Contains response data for the get operation. */ -export type VariableGetResponse = Variable & { +export type ConnectionTypeGetResponse = ConnectionType & { /** * The underlying HTTP response. */ @@ -5935,14 +6347,14 @@ export type VariableGetResponse = Variable & { /** * The response body as parsed JSON or XML */ - parsedBody: Variable; + parsedBody: ConnectionType; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the createOrUpdate operation. */ -export type VariableListByAutomationAccountResponse = VariableListResult & { +export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { /** * The underlying HTTP response. */ @@ -5955,14 +6367,14 @@ export type VariableListByAutomationAccountResponse = VariableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VariableListResult; + parsedBody: ConnectionType; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type VariableListByAutomationAccountNextResponse = VariableListResult & { +export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult & { /** * The underlying HTTP response. */ @@ -5975,19 +6387,14 @@ export type VariableListByAutomationAccountNextResponse = VariableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: VariableListResult; + parsedBody: ConnectionTypeListResult; }; }; /** - * 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 ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult & { /** * The underlying HTTP response. */ @@ -6000,14 +6407,14 @@ export type WebhookGenerateUriResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: string; + parsedBody: ConnectionTypeListResult; }; }; /** * Contains response data for the get operation. */ -export type WebhookGetResponse = Webhook & { +export type CredentialGetResponse = Credential & { /** * The underlying HTTP response. */ @@ -6020,14 +6427,14 @@ export type WebhookGetResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: Credential; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type WebhookCreateOrUpdateResponse = Webhook & { +export type CredentialCreateOrUpdateResponse = Credential & { /** * The underlying HTTP response. */ @@ -6040,14 +6447,14 @@ export type WebhookCreateOrUpdateResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: Credential; }; }; /** * Contains response data for the update operation. */ -export type WebhookUpdateResponse = Webhook & { +export type CredentialUpdateResponse = Credential & { /** * The underlying HTTP response. */ @@ -6060,14 +6467,14 @@ export type WebhookUpdateResponse = Webhook & { /** * The response body as parsed JSON or XML */ - parsedBody: Webhook; + parsedBody: Credential; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type WebhookListByAutomationAccountResponse = WebhookListResult & { +export type CredentialListByAutomationAccountResponse = CredentialListResult & { /** * The underlying HTTP response. */ @@ -6080,14 +6487,14 @@ export type WebhookListByAutomationAccountResponse = WebhookListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WebhookListResult; + parsedBody: CredentialListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { +export type CredentialListByAutomationAccountNextResponse = CredentialListResult & { /** * The underlying HTTP response. */ @@ -6100,14 +6507,14 @@ export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WebhookListResult; + parsedBody: CredentialListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type WatcherCreateOrUpdateResponse = Watcher & { +export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { /** * The underlying HTTP response. */ @@ -6120,14 +6527,14 @@ export type WatcherCreateOrUpdateResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: HybridRunbookWorkerGroup; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type WatcherGetResponse = Watcher & { +export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & { /** * The underlying HTTP response. */ @@ -6140,14 +6547,14 @@ export type WatcherGetResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: HybridRunbookWorkerGroup; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByAutomationAccount operation. */ -export type WatcherUpdateResponse = Watcher & { +export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult & { /** * The underlying HTTP response. */ @@ -6160,14 +6567,14 @@ export type WatcherUpdateResponse = Watcher & { /** * The response body as parsed JSON or XML */ - parsedBody: Watcher; + parsedBody: HybridRunbookWorkerGroupsListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type WatcherListByAutomationAccountResponse = WatcherListResult & { +export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult & { /** * The underlying HTTP response. */ @@ -6180,14 +6587,14 @@ export type WatcherListByAutomationAccountResponse = WatcherListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WatcherListResult; + parsedBody: HybridRunbookWorkerGroupsListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the get operation. */ -export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { +export type JobScheduleGetResponse = JobSchedule & { /** * The underlying HTTP response. */ @@ -6200,14 +6607,14 @@ export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WatcherListResult; + parsedBody: JobSchedule; }; }; /** * Contains response data for the create operation. */ -export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration & { +export type JobScheduleCreateResponse = JobSchedule & { /** * The underlying HTTP response. */ @@ -6220,14 +6627,14 @@ export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfigura /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfiguration; + parsedBody: JobSchedule; }; }; /** - * Contains response data for the getByName operation. + * Contains response data for the listByAutomationAccount operation. */ -export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration & { +export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & { /** * The underlying HTTP response. */ @@ -6240,14 +6647,14 @@ export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfig /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfiguration; + parsedBody: JobScheduleListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult & { +export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult & { /** * The underlying HTTP response. */ @@ -6260,14 +6667,14 @@ export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationListResult; + parsedBody: JobScheduleListResult; }; }; /** - * Contains response data for the getById operation. + * Contains response data for the get operation. */ -export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun & { +export type LinkedWorkspaceGetResponse = LinkedWorkspace & { /** * The underlying HTTP response. */ @@ -6280,14 +6687,14 @@ export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfi /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationRun; + parsedBody: LinkedWorkspace; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult & { +export type ActivityGetResponse = Activity & { /** * The underlying HTTP response. */ @@ -6300,14 +6707,14 @@ export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigur /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationRunListResult; + parsedBody: Activity; }; }; /** - * Contains response data for the getById operation. + * Contains response data for the listByModule operation. */ -export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun & { +export type ActivityListByModuleResponse = ActivityListResult & { /** * The underlying HTTP response. */ @@ -6320,14 +6727,14 @@ export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpda /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationMachineRun; + parsedBody: ActivityListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByModuleNext operation. */ -export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult & { +export type ActivityListByModuleNextResponse = ActivityListResult & { /** * The underlying HTTP response. */ @@ -6340,14 +6747,14 @@ export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateC /** * The response body as parsed JSON or XML */ - parsedBody: SoftwareUpdateConfigurationMachineRunListResult; + parsedBody: ActivityListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SourceControlCreateOrUpdateResponse = SourceControl & { +export type ModuleGetResponse = Module & { /** * The underlying HTTP response. */ @@ -6360,14 +6767,14 @@ export type SourceControlCreateOrUpdateResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: Module; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type SourceControlUpdateResponse = SourceControl & { +export type ModuleCreateOrUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -6380,14 +6787,14 @@ export type SourceControlUpdateResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: Module; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SourceControlGetResponse = SourceControl & { +export type ModuleUpdateResponse = Module & { /** * The underlying HTTP response. */ @@ -6400,14 +6807,14 @@ export type SourceControlGetResponse = SourceControl & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControl; + parsedBody: Module; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type SourceControlListByAutomationAccountResponse = SourceControlListResult & { +export type ModuleListByAutomationAccountResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -6420,14 +6827,14 @@ export type SourceControlListByAutomationAccountResponse = SourceControlListResu /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlListResult; + parsedBody: ModuleListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult & { +export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { /** * The underlying HTTP response. */ @@ -6440,14 +6847,14 @@ export type SourceControlListByAutomationAccountNextResponse = SourceControlList /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlListResult; + parsedBody: ModuleListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listFieldsByModuleAndType operation. */ -export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { +export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6460,14 +6867,14 @@ export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJob; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listFieldsByType operation. */ -export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { +export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6480,14 +6887,14 @@ export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobById; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByType operation. */ -export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult & { +export type FieldsListByTypeResponse = TypeFieldListResult & { /** * The underlying HTTP response. */ @@ -6500,14 +6907,14 @@ export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlS /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobListResult; + parsedBody: TypeFieldListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult & { +export type ScheduleCreateOrUpdateResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6520,14 +6927,14 @@ export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceCont /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobListResult; + parsedBody: Schedule; }; }; /** - * Contains response data for the listBySyncJob operation. + * Contains response data for the update operation. */ -export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob & { +export type ScheduleUpdateResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6540,14 +6947,14 @@ export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSync /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamsListBySyncJob; + parsedBody: Schedule; }; }; /** * Contains response data for the get operation. */ -export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById & { +export type ScheduleGetResponse = Schedule & { /** * The underlying HTTP response. */ @@ -6560,14 +6967,14 @@ export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamB /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamById; + parsedBody: Schedule; }; }; /** - * Contains response data for the listBySyncJobNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob & { +export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { /** * The underlying HTTP response. */ @@ -6580,66 +6987,54 @@ export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControl /** * The response body as parsed JSON or XML */ - parsedBody: SourceControlSyncJobStreamsListBySyncJob; + parsedBody: ScheduleListResult; }; }; /** - * Contains response data for the getOutput operation. + * Contains response data for the listByAutomationAccountNext 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; - +export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { /** * The underlying HTTP response. */ - _response: msRest.HttpResponse; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ScheduleListResult; + }; }; /** - * Contains response data for the getRunbookContent operation. + * Contains response data for the createOrUpdate 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; - +export type VariableCreateOrUpdateResponse = Variable & { /** * The underlying HTTP response. */ - _response: msRest.HttpResponse; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Variable; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type JobGetResponse = Job & { +export type VariableUpdateResponse = Variable & { /** * The underlying HTTP response. */ @@ -6652,14 +7047,14 @@ export type JobGetResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: Variable; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type JobCreateResponse = Job & { +export type VariableGetResponse = Variable & { /** * The underlying HTTP response. */ @@ -6672,14 +7067,14 @@ export type JobCreateResponse = Job & { /** * The response body as parsed JSON or XML */ - parsedBody: Job; + parsedBody: Variable; }; }; /** * Contains response data for the listByAutomationAccount operation. */ -export type JobListByAutomationAccountResponse = JobListResultV2 & { +export type VariableListByAutomationAccountResponse = VariableListResult & { /** * The underlying HTTP response. */ @@ -6692,14 +7087,14 @@ export type JobListByAutomationAccountResponse = JobListResultV2 & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResultV2; + parsedBody: VariableListResult; }; }; /** * Contains response data for the listByAutomationAccountNext operation. */ -export type JobListByAutomationAccountNextResponse = JobListResultV2 & { +export type VariableListByAutomationAccountNextResponse = VariableListResult & { /** * The underlying HTTP response. */ @@ -6712,14 +7107,14 @@ export type JobListByAutomationAccountNextResponse = JobListResultV2 & { /** * The response body as parsed JSON or XML */ - parsedBody: JobListResultV2; + parsedBody: VariableListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type JobStreamGetResponse = JobStream & { +export type WatcherCreateOrUpdateResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6732,14 +7127,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 get operation. */ -export type JobStreamListByJobResponse = JobStreamListResult & { +export type WatcherGetResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6752,14 +7147,14 @@ export type JobStreamListByJobResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: Watcher; }; }; /** - * Contains response data for the listByJobNext operation. + * Contains response data for the update operation. */ -export type JobStreamListByJobNextResponse = JobStreamListResult & { +export type WatcherUpdateResponse = Watcher & { /** * The underlying HTTP response. */ @@ -6772,14 +7167,14 @@ export type JobStreamListByJobNextResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: Watcher; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccount operation. */ -export type AgentRegistrationInformationGetResponse = AgentRegistration & { +export type WatcherListByAutomationAccountResponse = WatcherListResult & { /** * The underlying HTTP response. */ @@ -6792,14 +7187,14 @@ export type AgentRegistrationInformationGetResponse = AgentRegistration & { /** * The response body as parsed JSON or XML */ - parsedBody: AgentRegistration; + parsedBody: WatcherListResult; }; }; /** - * Contains response data for the regenerateKey operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistration & { +export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { /** * The underlying HTTP response. */ @@ -6812,14 +7207,14 @@ export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistratio /** * The response body as parsed JSON or XML */ - parsedBody: AgentRegistration; + parsedBody: WatcherListResult; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the get operation. */ -export type DscNodeDeleteMethodResponse = DscNode & { +export type DscConfigurationGetResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6832,14 +7227,14 @@ 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 createOrUpdate operation. */ -export type DscNodeGetResponse = DscNode & { +export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6852,14 +7247,14 @@ export type DscNodeGetResponse = DscNode & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNode; + parsedBody: DscConfiguration; }; }; /** * Contains response data for the update operation. */ -export type DscNodeUpdateResponse = DscNode & { +export type DscConfigurationUpdateResponse = DscConfiguration & { /** * The underlying HTTP response. */ @@ -6872,14 +7267,19 @@ export type DscNodeUpdateResponse = DscNode & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNode; + parsedBody: DscConfiguration; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the getContent operation. */ -export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { +export type DscConfigurationGetContentResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -6892,14 +7292,14 @@ export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeListResult; + parsedBody: string; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByAutomationAccount operation. */ -export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { +export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult & { /** * The underlying HTTP response. */ @@ -6912,14 +7312,14 @@ export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeListResult; + parsedBody: DscConfigurationListResult; }; }; /** - * Contains response data for the listByNode operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type NodeReportsListByNodeResponse = DscNodeReportListResult & { +export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult & { /** * The underlying HTTP response. */ @@ -6932,14 +7332,19 @@ export type NodeReportsListByNodeResponse = DscNodeReportListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReportListResult; + parsedBody: DscConfigurationListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getOutput operation. */ -export type NodeReportsGetResponse = DscNodeReport & { +export type JobGetOutputResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -6952,18 +7357,18 @@ export type NodeReportsGetResponse = DscNodeReport & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReport; + parsedBody: string; }; }; /** - * Contains response data for the getContent operation. + * Contains response data for the getRunbookContent operation. */ -export type NodeReportsGetContentResponse = { +export type JobGetRunbookContentResponse = { /** * The parsed response body. */ - body: any; + body: string; /** * The underlying HTTP response. @@ -6977,14 +7382,14 @@ export type NodeReportsGetContentResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: string; }; }; /** - * Contains response data for the listByNodeNext operation. + * Contains response data for the get operation. */ -export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { +export type JobGetResponse = Job & { /** * The underlying HTTP response. */ @@ -6997,14 +7402,14 @@ export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeReportListResult; + parsedBody: Job; }; }; /** * Contains response data for the create operation. */ -export type DscCompilationJobCreateResponse = DscCompilationJob & { +export type JobCreateResponse = Job & { /** * The underlying HTTP response. */ @@ -7017,14 +7422,14 @@ export type DscCompilationJobCreateResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: Job; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByAutomationAccount operation. */ -export type DscCompilationJobGetResponse = DscCompilationJob & { +export type JobListByAutomationAccountResponse = JobListResultV2 & { /** * The underlying HTTP response. */ @@ -7037,14 +7442,14 @@ export type DscCompilationJobGetResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: JobListResultV2; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the listByAutomationAccountNext operation. */ -export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJobListResult & { +export type JobListByAutomationAccountNextResponse = JobListResultV2 & { /** * The underlying HTTP response. */ @@ -7057,14 +7462,14 @@ export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJob /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJobListResult; + parsedBody: JobListResultV2; }; }; /** - * Contains response data for the getStream operation. + * Contains response data for the get operation. */ -export type DscCompilationJobGetStreamResponse = JobStream & { +export type JobStreamGetResponse = JobStream & { /** * The underlying HTTP response. */ @@ -7082,9 +7487,9 @@ export type DscCompilationJobGetStreamResponse = JobStream & { }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByJob operation. */ -export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { +export type JobStreamListByJobResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -7097,14 +7502,14 @@ export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJob; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the listByJobNext operation. */ -export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilationJobListResult & { +export type JobStreamListByJobNextResponse = JobStreamListResult & { /** * The underlying HTTP response. */ @@ -7117,14 +7522,14 @@ export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilatio /** * The response body as parsed JSON or XML */ - parsedBody: DscCompilationJobListResult; + parsedBody: JobStreamListResult; }; }; /** - * Contains response data for the listByJob operation. + * Contains response data for the list operation. */ -export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -7137,14 +7542,14 @@ export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: JobStreamListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration & { /** * The underlying HTTP response. */ @@ -7157,14 +7562,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 getByName operation. */ -export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration & { /** * The underlying HTTP response. */ @@ -7177,14 +7582,14 @@ export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfiguration; + parsedBody: SoftwareUpdateConfiguration; }; }; /** - * Contains response data for the listByAutomationAccount operation. + * Contains response data for the list operation. */ -export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult & { +export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult & { /** * The underlying HTTP response. */ @@ -7197,14 +7602,14 @@ export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigu /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfigurationListResult; + parsedBody: SoftwareUpdateConfigurationListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the getById operation. */ -export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfiguration & { +export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun & { /** * The underlying HTTP response. */ @@ -7217,14 +7622,14 @@ export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfigurati /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfiguration; + parsedBody: SoftwareUpdateConfigurationRun; }; }; /** - * Contains response data for the listByAutomationAccountNext operation. + * Contains response data for the list operation. */ -export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult & { +export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult & { /** * The underlying HTTP response. */ @@ -7237,14 +7642,14 @@ export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeCon /** * The response body as parsed JSON or XML */ - parsedBody: DscNodeConfigurationListResult; + parsedBody: SoftwareUpdateConfigurationRunListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getById operation. */ -export type NodeCountInformationGetResponse = NodeCounts & { +export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun & { /** * The underlying HTTP response. */ @@ -7257,7 +7662,27 @@ export type NodeCountInformationGetResponse = NodeCounts & { /** * The response body as parsed JSON or XML */ - parsedBody: NodeCounts; + parsedBody: SoftwareUpdateConfigurationMachineRun; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult & { + /** + * 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: SoftwareUpdateConfigurationMachineRunListResult; }; }; @@ -7599,10 +8024,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 +8065,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 +8085,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 +8105,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 +8125,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 +8145,6 @@ export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult /** * The response body as parsed JSON or XML */ - parsedBody: ModuleListResult; + parsedBody: WebhookListResult; }; }; diff --git a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts index c454aab004a3..213fd365e5a3 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,15 +27,24 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, JobCreateParameters, JobListResultV2, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..c48fe287a37d 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,265 @@ export const AdvancedSchedule: msRest.CompositeMapper = { } }; -export const ScheduleCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ScheduleCreateOrUpdateParameters", +export const AutomationAccount: msRest.CompositeMapper = { + serializedName: "AutomationAccount", type: { name: "Composite", - className: "ScheduleCreateOrUpdateParameters", + className: "AutomationAccount", modelProperties: { - name: { - required: true, - serializedName: "name", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, - description: { - serializedName: "properties.description", + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - startTime: { - required: true, + creationTime: { nullable: false, - serializedName: "properties.startTime", + readOnly: true, + serializedName: "properties.creationTime", type: { name: "DateTime" } }, - expiryTime: { - nullable: true, - serializedName: "properties.expiryTime", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - interval: { - serializedName: "properties.interval", + description: { + serializedName: "properties.description", type: { - name: "Object" + name: "String" } }, - frequency: { - required: true, - serializedName: "properties.frequency", + encryption: { + serializedName: "properties.encryption", type: { - name: "String" + name: "Composite", + className: "EncryptionProperties" } }, - timeZone: { - serializedName: "properties.timeZone", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "Boolean" + } + }, + etag: { + serializedName: "etag", type: { name: "String" } }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "AdvancedSchedule" + className: "Identity" } } } } }; -export const ScheduleProperties: msRest.CompositeMapper = { - serializedName: "ScheduleProperties", +export const AutomationAccountCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "AutomationAccountCreateOrUpdateParameters", type: { name: "Composite", - className: "ScheduleProperties", + className: "AutomationAccountCreateOrUpdateParameters", modelProperties: { - startTime: { - nullable: false, - serializedName: "startTime", + sku: { + serializedName: "properties.sku", type: { - name: "DateTime" + name: "Composite", + className: "Sku" } }, - startTimeOffsetMinutes: { - nullable: false, - readOnly: true, - serializedName: "startTimeOffsetMinutes", + encryption: { + serializedName: "properties.encryption", type: { - name: "Number" - } - }, - expiryTime: { - nullable: true, - serializedName: "expiryTime", - type: { - name: "DateTime" - } - }, - expiryTimeOffsetMinutes: { - nullable: false, - serializedName: "expiryTimeOffsetMinutes", - type: { - name: "Number" + name: "Composite", + className: "EncryptionProperties" } }, - isEnabled: { - serializedName: "isEnabled", - defaultValue: false, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", 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", + name: { + serializedName: "name", type: { name: "String" } }, - timeZone: { - serializedName: "timeZone", + location: { + serializedName: "location", type: { name: "String" } }, - advancedSchedule: { - serializedName: "advancedSchedule", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "AdvancedSchedule" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" + className: "Identity" } }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const Schedule: msRest.CompositeMapper = { - serializedName: "Schedule", +export const Statistics: msRest.CompositeMapper = { + serializedName: "Statistics", type: { name: "Composite", - className: "Schedule", + className: "Statistics", modelProperties: { - ...ProxyResource.type.modelProperties, - startTime: { - nullable: false, - serializedName: "properties.startTime", + counterProperty: { + readOnly: true, + serializedName: "counterProperty", type: { - name: "DateTime" + name: "String" } }, - startTimeOffsetMinutes: { - nullable: false, + counterValue: { readOnly: true, - serializedName: "properties.startTimeOffsetMinutes", + serializedName: "counterValue", type: { name: "Number" } }, - expiryTime: { - nullable: true, - serializedName: "properties.expiryTime", - type: { - name: "DateTime" - } - }, - expiryTimeOffsetMinutes: { + startTime: { nullable: false, - serializedName: "properties.expiryTimeOffsetMinutes", - type: { - name: "Number" - } - }, - isEnabled: { - serializedName: "properties.isEnabled", - defaultValue: false, + readOnly: true, + serializedName: "startTime", type: { - name: "Boolean" + name: "DateTime" } }, - nextRun: { + endTime: { nullable: true, - serializedName: "properties.nextRun", + readOnly: true, + serializedName: "endTime", type: { name: "DateTime" } }, - nextRunOffsetMinutes: { - nullable: false, - serializedName: "properties.nextRunOffsetMinutes", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Number" + name: "String" } - }, - interval: { - serializedName: "properties.interval", + } + } + } +}; + +export const UsageCounterName: msRest.CompositeMapper = { + serializedName: "UsageCounterName", + type: { + name: "Composite", + className: "UsageCounterName", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Number" + name: "String" } }, - frequency: { - serializedName: "properties.frequency", + localizedValue: { + serializedName: "localizedValue", type: { name: "String" } - }, - timeZone: { - serializedName: "properties.timeZone", + } + } + } +}; + +export const Usage: msRest.CompositeMapper = { + serializedName: "Usage", + type: { + name: "Composite", + className: "Usage", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", + name: { + serializedName: "name", type: { name: "Composite", - className: "AdvancedSchedule" + className: "UsageCounterName" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + unit: { + serializedName: "unit", type: { - name: "DateTime" + name: "String" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + currentValue: { + serializedName: "currentValue", type: { - name: "DateTime" + name: "Number" } }, - description: { - serializedName: "properties.description", + limit: { + serializedName: "limit", + type: { + name: "Number" + } + }, + throttleStatus: { + serializedName: "throttleStatus", type: { name: "String" } @@ -2413,127 +2599,135 @@ export const Schedule: msRest.CompositeMapper = { } }; -export const ScheduleUpdateParameters: msRest.CompositeMapper = { - serializedName: "ScheduleUpdateParameters", +export const Key: msRest.CompositeMapper = { + serializedName: "Key", type: { name: "Composite", - className: "ScheduleUpdateParameters", + className: "Key", modelProperties: { - name: { - serializedName: "name", + keyName: { + readOnly: true, + serializedName: "KeyName", type: { name: "String" } }, - description: { - serializedName: "properties.description", + permissions: { + readOnly: true, + serializedName: "Permissions", type: { name: "String" } }, - isEnabled: { - serializedName: "properties.isEnabled", + value: { + readOnly: true, + serializedName: "Value", type: { - name: "Boolean" + name: "String" } } } } }; -export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "VariableCreateOrUpdateParameters", +export const KeyListResult: msRest.CompositeMapper = { + serializedName: "KeyListResult", type: { name: "Composite", - className: "VariableCreateOrUpdateParameters", + className: "KeyListResult", modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "properties.value", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - isEncrypted: { - serializedName: "properties.isEncrypted", + keys: { + serializedName: "keys", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Key" + } + } } } } } }; -export const Variable: msRest.CompositeMapper = { - serializedName: "Variable", +export const AutomationAccountUpdateParameters: msRest.CompositeMapper = { + serializedName: "AutomationAccountUpdateParameters", type: { name: "Composite", - className: "Variable", + className: "AutomationAccountUpdateParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - value: { - serializedName: "properties.value", + sku: { + serializedName: "properties.sku", type: { - name: "String" + name: "Composite", + className: "Sku" } }, - isEncrypted: { - nullable: true, - serializedName: "properties.isEncrypted", + encryption: { + serializedName: "properties.encryption", type: { - name: "Boolean" + name: "Composite", + className: "EncryptionProperties" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "DateTime" + name: "Boolean" } }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + name: { + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - description: { - serializedName: "properties.description", + location: { + serializedName: "location", type: { name: "String" } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "Identity" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const VariableUpdateParameters: msRest.CompositeMapper = { - serializedName: "VariableUpdateParameters", +export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "CertificateCreateOrUpdateParameters", type: { name: "Composite", - className: "VariableUpdateParameters", + className: "CertificateCreateOrUpdateParameters", modelProperties: { name: { + required: true, serializedName: "name", type: { name: "String" } }, - value: { - serializedName: "properties.value", + base64Value: { + required: true, + serializedName: "properties.base64Value", type: { name: "String" } @@ -2543,71 +2737,57 @@ export const VariableUpdateParameters: msRest.CompositeMapper = { type: { name: "String" } + }, + thumbprint: { + serializedName: "properties.thumbprint", + type: { + name: "String" + } + }, + isExportable: { + nullable: false, + serializedName: "properties.isExportable", + type: { + name: "Boolean" + } } } } }; -export const Webhook: msRest.CompositeMapper = { - serializedName: "Webhook", +export const Certificate: msRest.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "Webhook", + className: "Certificate", modelProperties: { ...ProxyResource.type.modelProperties, - isEnabled: { - serializedName: "properties.isEnabled", - defaultValue: false, - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "properties.uri", + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { name: "String" } }, expiryTime: { nullable: false, + readOnly: true, 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", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "properties.runOn", + isExportable: { + nullable: false, + readOnly: true, + serializedName: "properties.isExportable", type: { - name: "String" + name: "Boolean" } }, creationTime: { nullable: false, + readOnly: true, serializedName: "properties.creationTime", type: { name: "DateTime" @@ -2615,17 +2795,12 @@ export const Webhook: msRest.CompositeMapper = { }, lastModifiedTime: { nullable: false, + readOnly: true, serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", - type: { - name: "String" - } - }, description: { serializedName: "properties.description", type: { @@ -2636,11 +2811,11 @@ export const Webhook: msRest.CompositeMapper = { } }; -export const WebhookUpdateParameters: msRest.CompositeMapper = { - serializedName: "WebhookUpdateParameters", +export const CertificateUpdateParameters: msRest.CompositeMapper = { + serializedName: "CertificateUpdateParameters", type: { name: "Composite", - className: "WebhookUpdateParameters", + className: "CertificateUpdateParameters", modelProperties: { name: { serializedName: "name", @@ -2648,29 +2823,6 @@ export const WebhookUpdateParameters: msRest.CompositeMapper = { name: "String" } }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, description: { serializedName: "properties.description", type: { @@ -2681,40 +2833,51 @@ export const WebhookUpdateParameters: msRest.CompositeMapper = { } }; -export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "WebhookCreateOrUpdateParameters", +export const ConnectionTypeAssociationProperty: msRest.CompositeMapper = { + serializedName: "ConnectionTypeAssociationProperty", type: { name: "Composite", - className: "WebhookCreateOrUpdateParameters", + className: "ConnectionTypeAssociationProperty", modelProperties: { name: { - required: true, serializedName: "name", type: { name: "String" } - }, - isEnabled: { - serializedName: "properties.isEnabled", + } + } + } +}; + +export const ConnectionCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionCreateOrUpdateParameters", + type: { + name: "Composite", + className: "ConnectionCreateOrUpdateParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { - name: "Boolean" + name: "String" } }, - uri: { - serializedName: "properties.uri", + description: { + serializedName: "properties.description", type: { name: "String" } }, - expiryTime: { - nullable: false, - serializedName: "properties.expiryTime", + connectionType: { + required: true, + serializedName: "properties.connectionType", type: { - name: "DateTime" + name: "Composite", + className: "ConnectionTypeAssociationProperty" } }, - parameters: { - serializedName: "properties.parameters", + fieldDefinitionValues: { + serializedName: "properties.fieldDefinitionValues", type: { name: "Dictionary", value: { @@ -2723,45 +2886,28 @@ export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { } } } - }, - runbook: { - serializedName: "properties.runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" - } } } } }; -export const Watcher: msRest.CompositeMapper = { - serializedName: "Watcher", +export const Connection: msRest.CompositeMapper = { + serializedName: "Connection", type: { name: "Composite", - className: "Watcher", + className: "Connection", modelProperties: { - ...TrackedResource.type.modelProperties, - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", - type: { - name: "Number" - } - }, - scriptName: { - serializedName: "properties.scriptName", + ...ProxyResource.type.modelProperties, + connectionType: { + serializedName: "properties.connectionType", type: { - name: "String" + name: "Composite", + className: "ConnectionTypeAssociationProperty" } }, - scriptParameters: { - serializedName: "properties.scriptParameters", + fieldDefinitionValues: { + readOnly: true, + serializedName: "properties.fieldDefinitionValues", type: { name: "Dictionary", value: { @@ -2771,25 +2917,12 @@ export const Watcher: msRest.CompositeMapper = { } } }, - scriptRunOn: { - serializedName: "properties.scriptRunOn", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" - } - }, - status: { - readOnly: true, - serializedName: "properties.status", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" + name: "DateTime" } }, lastModifiedTime: { @@ -2800,87 +2933,70 @@ 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 ConnectionUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionUpdateParameters", type: { name: "Composite", - className: "WatcherUpdateParameters", + className: "ConnectionUpdateParameters", modelProperties: { - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - name: { - serializedName: "name", + description: { + serializedName: "properties.description", type: { name: "String" } + }, + fieldDefinitionValues: { + serializedName: "properties.fieldDefinitionValues", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const WindowsProperties: msRest.CompositeMapper = { - serializedName: "WindowsProperties", +export const FieldDefinition: msRest.CompositeMapper = { + serializedName: "FieldDefinition", type: { name: "Composite", - className: "WindowsProperties", + className: "FieldDefinition", modelProperties: { - includedUpdateClassifications: { - serializedName: "includedUpdateClassifications", - type: { - name: "String" - } - }, - excludedKbNumbers: { - serializedName: "excludedKbNumbers", + isEncrypted: { + serializedName: "isEncrypted", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - includedKbNumbers: { - serializedName: "includedKbNumbers", + isOptional: { + serializedName: "isOptional", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - rebootSetting: { - serializedName: "rebootSetting", + type: { + required: true, + serializedName: "type", type: { name: "String" } @@ -2889,139 +3005,142 @@ export const WindowsProperties: msRest.CompositeMapper = { } }; -export const LinuxProperties: msRest.CompositeMapper = { - serializedName: "LinuxProperties", +export const ConnectionType: msRest.CompositeMapper = { + serializedName: "ConnectionType", type: { name: "Composite", - className: "LinuxProperties", + className: "ConnectionType", modelProperties: { - includedPackageClassifications: { - serializedName: "includedPackageClassifications", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - excludedPackageNameMasks: { - serializedName: "excludedPackageNameMasks", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - includedPackageNameMasks: { - serializedName: "includedPackageNameMasks", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - rebootSetting: { - serializedName: "rebootSetting", + isGlobal: { + serializedName: "properties.isGlobal", type: { - name: "String" + name: "Boolean" } - } - } - } -}; - -export const TagSettingsProperties: msRest.CompositeMapper = { - serializedName: "TagSettingsProperties", - type: { - name: "Composite", - className: "TagSettingsProperties", - modelProperties: { - tags: { - serializedName: "tags", + }, + fieldDefinitions: { + readOnly: true, + serializedName: "properties.fieldDefinitions", type: { name: "Dictionary", value: { type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "FieldDefinition" } } } }, - filterOperator: { - serializedName: "filterOperator", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Enum", - allowedValues: [ - "All", - "Any" - ] + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const AzureQueryProperties: msRest.CompositeMapper = { - serializedName: "AzureQueryProperties", +export const ConnectionTypeCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionTypeCreateOrUpdateParameters", type: { name: "Composite", - className: "AzureQueryProperties", + className: "ConnectionTypeCreateOrUpdateParameters", modelProperties: { - scope: { - serializedName: "scope", + name: { + required: true, + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - locations: { - serializedName: "locations", + isGlobal: { + serializedName: "properties.isGlobal", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - tagSettings: { - serializedName: "tagSettings", + fieldDefinitions: { + required: true, + serializedName: "properties.fieldDefinitions", type: { - name: "Composite", - className: "TagSettingsProperties" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "FieldDefinition" + } + } } } } } }; -export const NonAzureQueryProperties: msRest.CompositeMapper = { - serializedName: "NonAzureQueryProperties", +export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "CredentialCreateOrUpdateParameters", type: { name: "Composite", - className: "NonAzureQueryProperties", + className: "CredentialCreateOrUpdateParameters", modelProperties: { - functionAlias: { - serializedName: "functionAlias", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - workspaceId: { - serializedName: "workspaceId", + userName: { + required: true, + serializedName: "properties.userName", + type: { + name: "String" + } + }, + password: { + required: true, + serializedName: "properties.password", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } @@ -3030,129 +3149,171 @@ export const NonAzureQueryProperties: msRest.CompositeMapper = { } }; -export const TargetProperties: msRest.CompositeMapper = { - serializedName: "TargetProperties", +export const Credential: msRest.CompositeMapper = { + serializedName: "Credential", type: { name: "Composite", - className: "TargetProperties", + className: "Credential", modelProperties: { - azureQueries: { - serializedName: "azureQueries", + ...ProxyResource.type.modelProperties, + userName: { + readOnly: true, + serializedName: "properties.userName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureQueryProperties" - } - } + name: "String" } }, - nonAzureQueries: { - serializedName: "nonAzureQueries", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NonAzureQueryProperties" - } - } + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const UpdateConfiguration: msRest.CompositeMapper = { - serializedName: "updateConfiguration", +export const CredentialUpdateParameters: msRest.CompositeMapper = { + serializedName: "CredentialUpdateParameters", type: { name: "Composite", - className: "UpdateConfiguration", + className: "CredentialUpdateParameters", modelProperties: { - operatingSystem: { - required: true, - serializedName: "operatingSystem", + name: { + serializedName: "name", type: { - name: "Enum", - allowedValues: [ - "Windows", - "Linux" - ] + name: "String" } }, - windows: { - serializedName: "windows", + userName: { + serializedName: "properties.userName", type: { - name: "Composite", - className: "WindowsProperties" + name: "String" } }, - linux: { - serializedName: "linux", + password: { + serializedName: "properties.password", type: { - name: "Composite", - className: "LinuxProperties" + name: "String" } }, - duration: { - serializedName: "duration", + description: { + serializedName: "properties.description", type: { - name: "TimeSpan" + name: "String" + } + } + } + } +}; + +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", + type: { + name: "Composite", + className: "HybridRunbookWorker", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" } }, - azureVirtualMachines: { - serializedName: "azureVirtualMachines", + ip: { + serializedName: "ip", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - nonAzureComputerNames: { - serializedName: "nonAzureComputerNames", + registrationTime: { + nullable: false, + serializedName: "registrationTime", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - targets: { - serializedName: "targets", + lastSeenDateTime: { + nullable: false, + serializedName: "lastSeenDateTime", type: { - name: "Composite", - className: "TargetProperties" + name: "DateTime" } } } } }; -export const TaskProperties: msRest.CompositeMapper = { - serializedName: "taskProperties", +export const HybridRunbookWorkerGroup: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroup", type: { name: "Composite", - className: "TaskProperties", + className: "HybridRunbookWorkerGroup", modelProperties: { - parameters: { - serializedName: "parameters", + id: { + serializedName: "id", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + hybridRunbookWorkers: { + serializedName: "hybridRunbookWorkers", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "HybridRunbookWorker" } } } }, - source: { - serializedName: "source", + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "RunAsCredentialAssociationProperty" + } + }, + groupType: { + serializedName: "groupType", type: { name: "String" } @@ -3161,43 +3322,61 @@ export const TaskProperties: msRest.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationTasks", +export const HybridRunbookWorkerGroupUpdateParameters: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroupUpdateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfigurationTasks", + className: "HybridRunbookWorkerGroupUpdateParameters", modelProperties: { - preTask: { - serializedName: "preTask", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "TaskProperties" + className: "RunAsCredentialAssociationProperty" } - }, - postTask: { - serializedName: "postTask", + } + } + } +}; + +export const ScheduleAssociationProperty: msRest.CompositeMapper = { + serializedName: "ScheduleAssociationProperty", + type: { + name: "Composite", + className: "ScheduleAssociationProperty", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Composite", - className: "TaskProperties" + name: "String" } } } } }; -export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfiguration", +export const RunbookAssociationProperty: msRest.CompositeMapper = { + serializedName: "RunbookAssociationProperty", type: { name: "Composite", - className: "SoftwareUpdateConfiguration", + 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", @@ -3205,6 +3384,13 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { name: "String" } }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, type: { readOnly: true, serializedName: "type", @@ -3212,648 +3398,505 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { name: "String" } }, - updateConfiguration: { - required: true, - serializedName: "properties.updateConfiguration", + jobScheduleId: { + serializedName: "properties.jobScheduleId", type: { - name: "Composite", - className: "UpdateConfiguration" + name: "String" } }, - scheduleInfo: { - required: true, - serializedName: "properties.scheduleInfo", - type: { - name: "Composite", - className: "ScheduleProperties" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - error: { - serializedName: "properties.error", + schedule: { + serializedName: "properties.schedule", 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" + className: "ScheduleAssociationProperty" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + runbook: { + 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", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks" - } - } - } - } -}; - -export const CollectionItemUpdateConfiguration: msRest.CompositeMapper = { - serializedName: "collectionItemUpdateConfiguration", - type: { - name: "Composite", - className: "CollectionItemUpdateConfiguration", - modelProperties: { - azureVirtualMachines: { - serializedName: "azureVirtualMachines", + parameters: { + serializedName: "properties.parameters", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } - }, - duration: { - serializedName: "duration", - type: { - name: "TimeSpan" - } } } } }; -export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationCollectionItem", +export const JobScheduleCreateParameters: msRest.CompositeMapper = { + serializedName: "JobScheduleCreateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem", + className: "JobScheduleCreateParameters", modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - updateConfiguration: { - serializedName: "properties.updateConfiguration", + schedule: { + required: true, + serializedName: "properties.schedule", type: { name: "Composite", - className: "CollectionItemUpdateConfiguration" - } - }, - frequency: { - serializedName: "properties.frequency", - type: { - name: "String" - } - }, - startTime: { - nullable: false, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" + className: "ScheduleAssociationProperty" } }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", + runbook: { + required: true, + serializedName: "properties.runbook", type: { - name: "DateTime" + name: "Composite", + className: "RunbookAssociationProperty" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } }, - nextRun: { - nullable: true, - serializedName: "properties.nextRun", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationListResult", +export const LinkedWorkspace: msRest.CompositeMapper = { + serializedName: "LinkedWorkspace", type: { name: "Composite", - className: "SoftwareUpdateConfigurationListResult", + className: "LinkedWorkspace", modelProperties: { - value: { - serializedName: "value", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem" - } - } + name: "String" } } } } }; -export const UpdateConfigurationNavigation: msRest.CompositeMapper = { - serializedName: "updateConfigurationNavigation", +export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ModuleCreateOrUpdateParameters", type: { name: "Composite", - className: "UpdateConfigurationNavigation", + className: "ModuleCreateOrUpdateParameters", modelProperties: { + contentLink: { + required: true, + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, name: { - readOnly: true, serializedName: "name", type: { name: "String" } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const SoftareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTaskProperties", +export const ModuleUpdateParameters: msRest.CompositeMapper = { + serializedName: "ModuleUpdateParameters", type: { name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties", + className: "ModuleUpdateParameters", modelProperties: { - status: { - serializedName: "status", + contentLink: { + serializedName: "properties.contentLink", type: { - name: "String" + name: "Composite", + className: "ContentLink" } }, - source: { - serializedName: "source", + name: { + serializedName: "name", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + location: { + serializedName: "location", type: { name: "String" } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const SoftareUpdateConfigurationRunTasks: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTasks", +export const AdvancedScheduleMonthlyOccurrence: msRest.CompositeMapper = { + serializedName: "AdvancedScheduleMonthlyOccurrence", type: { name: "Composite", - className: "SoftareUpdateConfigurationRunTasks", + className: "AdvancedScheduleMonthlyOccurrence", modelProperties: { - preTask: { - serializedName: "preTask", + occurrence: { + serializedName: "occurrence", type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" + name: "Number" } }, - postTask: { - serializedName: "postTask", + day: { + serializedName: "day", type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" + name: "String" } } } } }; -export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationRun", +export const AdvancedSchedule: msRest.CompositeMapper = { + serializedName: "AdvancedSchedule", type: { name: "Composite", - className: "SoftwareUpdateConfigurationRun", + className: "AdvancedSchedule", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + weekDays: { + serializedName: "weekDays", type: { - name: "String" - } - }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", + monthDays: { + serializedName: "monthDays", type: { - name: "Composite", - className: "UpdateConfigurationNavigation" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - status: { - readOnly: true, - serializedName: "properties.status", + monthlyOccurrences: { + serializedName: "monthlyOccurrences", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AdvancedScheduleMonthlyOccurrence" + } + } } - }, - configuredDuration: { - readOnly: true, - serializedName: "properties.configuredDuration", + } + } + } +}; + +export const ScheduleCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ScheduleCreateOrUpdateParameters", + type: { + name: "Composite", + className: "ScheduleCreateOrUpdateParameters", + modelProperties: { + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - osType: { - readOnly: true, - serializedName: "properties.osType", + description: { + serializedName: "properties.description", type: { 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" } }, - computerCount: { - readOnly: true, - serializedName: "properties.computerCount", - type: { - name: "Number" - } - }, - failedCount: { - readOnly: true, - serializedName: "properties.failedCount", - type: { - name: "Number" - } - }, - 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" } }, - tasks: { - serializedName: "properties.tasks", + advancedSchedule: { + serializedName: "properties.advancedSchedule", type: { name: "Composite", - className: "SoftareUpdateConfigurationRunTasks" + className: "AdvancedSchedule" } } } } }; -export const SoftwareUpdateConfigurationRunListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationRunListResult", +export const Schedule: msRest.CompositeMapper = { + serializedName: "Schedule", type: { name: "Composite", - className: "SoftwareUpdateConfigurationRunListResult", + className: "Schedule", modelProperties: { - value: { - serializedName: "value", + ...ProxyResource.type.modelProperties, + startTime: { + nullable: false, + serializedName: "properties.startTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRun" - } - } + name: "DateTime" } }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const JobNavigation: msRest.CompositeMapper = { - serializedName: "jobNavigation", - type: { - name: "Composite", - className: "JobNavigation", - modelProperties: { - id: { + startTimeOffsetMinutes: { + nullable: false, readOnly: true, - serializedName: "id", + serializedName: "properties.startTimeOffsetMinutes", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRun", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", + }, + expiryTime: { + nullable: true, + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - id: { - readOnly: true, - serializedName: "id", + expiryTimeOffsetMinutes: { + nullable: false, + serializedName: "properties.expiryTimeOffsetMinutes", type: { - name: "String" + name: "Number" } }, - targetComputer: { - readOnly: true, - serializedName: "properties.targetComputer", + isEnabled: { + serializedName: "properties.isEnabled", + defaultValue: false, type: { - name: "String" + name: "Boolean" } }, - targetComputerType: { - readOnly: true, - serializedName: "properties.targetComputerType", + nextRun: { + nullable: true, + serializedName: "properties.nextRun", type: { - name: "String" + name: "DateTime" } }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", + nextRunOffsetMinutes: { + nullable: false, + serializedName: "properties.nextRunOffsetMinutes", type: { - name: "Composite", - className: "UpdateConfigurationNavigation" + name: "Number" } }, - status: { - readOnly: true, - serializedName: "properties.status", + interval: { + serializedName: "properties.interval", type: { - name: "String" + name: "Object" } }, - osType: { - readOnly: true, - serializedName: "properties.osType", + frequency: { + serializedName: "properties.frequency", type: { name: "String" } }, - correlationId: { - readOnly: true, - serializedName: "properties.correlationId", + timeZone: { + serializedName: "properties.timeZone", type: { - name: "Uuid" + name: "String" } }, - sourceComputerId: { - readOnly: true, - serializedName: "properties.sourceComputerId", + advancedSchedule: { + serializedName: "properties.advancedSchedule", type: { - name: "Uuid" + name: "Composite", + className: "AdvancedSchedule" } }, - startTime: { + creationTime: { nullable: false, - readOnly: true, - serializedName: "properties.startTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - configuredDuration: { - readOnly: true, - serializedName: "properties.configuredDuration", + description: { + serializedName: "properties.description", type: { name: "String" } - }, - job: { - serializedName: "properties.job", - type: { - name: "Composite", - className: "JobNavigation" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - createdBy: { - readOnly: true, - serializedName: "properties.createdBy", - type: { - name: "String" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", - type: { - name: "String" - } - }, - error: { - serializedName: "properties.error", - type: { - name: "Composite", - className: "ErrorResponse" - } } } } }; -export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRunListResult", +export const ScheduleUpdateParameters: msRest.CompositeMapper = { + serializedName: "ScheduleUpdateParameters", type: { name: "Composite", - className: "SoftwareUpdateConfigurationMachineRunListResult", + className: "ScheduleUpdateParameters", modelProperties: { - value: { - serializedName: "value", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "properties.description", type: { name: "String" } + }, + isEnabled: { + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } } } } }; -export const SourceControl: msRest.CompositeMapper = { - serializedName: "SourceControl", +export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "VariableCreateOrUpdateParameters", type: { name: "Composite", - className: "SourceControl", + className: "VariableCreateOrUpdateParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - repoUrl: { - serializedName: "properties.repoUrl", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - branch: { - serializedName: "properties.branch", + value: { + serializedName: "properties.value", type: { name: "String" } }, - folderPath: { - serializedName: "properties.folderPath", + description: { + serializedName: "properties.description", type: { name: "String" } }, - autoSync: { - serializedName: "properties.autoSync", - type: { - name: "Boolean" - } - }, - publishRunbook: { - serializedName: "properties.publishRunbook", + isEncrypted: { + serializedName: "properties.isEncrypted", type: { name: "Boolean" } - }, - sourceType: { - serializedName: "properties.sourceType", + } + } + } +}; + +export const Variable: msRest.CompositeMapper = { + serializedName: "Variable", + type: { + name: "Composite", + className: "Variable", + modelProperties: { + ...ProxyResource.type.modelProperties, + value: { + serializedName: "properties.value", type: { name: "String" } }, - description: { - serializedName: "properties.description", + isEncrypted: { + nullable: true, + serializedName: "properties.isEncrypted", type: { - name: "String" + name: "Boolean" } }, creationTime: { @@ -3869,37 +3912,37 @@ export const SourceControl: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } } } } }; -export const SourceControlSecurityTokenProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSecurityTokenProperties", +export const VariableUpdateParameters: msRest.CompositeMapper = { + serializedName: "VariableUpdateParameters", type: { name: "Composite", - className: "SourceControlSecurityTokenProperties", + className: "VariableUpdateParameters", modelProperties: { - accessToken: { - serializedName: "accessToken", - constraints: { - MaxLength: 1024 - }, + name: { + serializedName: "name", type: { name: "String" } }, - refreshToken: { - serializedName: "refreshToken", - constraints: { - MaxLength: 1024 - }, + value: { + serializedName: "properties.value", type: { name: "String" } }, - tokenType: { - serializedName: "tokenType", + description: { + serializedName: "properties.description", type: { name: "String" } @@ -3908,116 +3951,119 @@ export const SourceControlSecurityTokenProperties: msRest.CompositeMapper = { } }; -export const SourceControlUpdateParameters: msRest.CompositeMapper = { - serializedName: "SourceControlUpdateParameters", +export const Watcher: msRest.CompositeMapper = { + serializedName: "Watcher", type: { name: "Composite", - className: "SourceControlUpdateParameters", + className: "Watcher", modelProperties: { - branch: { - serializedName: "properties.branch", + ...Resource.type.modelProperties, + executionFrequencyInSeconds: { + serializedName: "properties.executionFrequencyInSeconds", type: { - name: "String" + name: "Number" } }, - folderPath: { - serializedName: "properties.folderPath", + scriptName: { + serializedName: "properties.scriptName", type: { name: "String" } }, - autoSync: { - serializedName: "properties.autoSync", + scriptParameters: { + serializedName: "properties.scriptParameters", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + scriptRunOn: { + serializedName: "properties.scriptRunOn", type: { - name: "Boolean" + name: "String" } }, - securityToken: { - serializedName: "properties.securityToken", + status: { + readOnly: true, + serializedName: "properties.status", type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" + name: "String" } }, - description: { - serializedName: "properties.description", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "SourceControlCreateOrUpdateParameters", - type: { - name: "Composite", - className: "SourceControlCreateOrUpdateParameters", - modelProperties: { - repoUrl: { - serializedName: "properties.repoUrl", - constraints: { - MaxLength: 2000 - }, + }, + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "String" + name: "DateTime" } }, - branch: { - serializedName: "properties.branch", - constraints: { - MaxLength: 255 - }, + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, - folderPath: { - serializedName: "properties.folderPath", - constraints: { - MaxLength: 255 - }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - autoSync: { - serializedName: "properties.autoSync", + etag: { + serializedName: "etag", type: { - name: "Boolean" + name: "String" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - sourceType: { - serializedName: "properties.sourceType", + location: { + serializedName: "location", type: { name: "String" } - }, - securityToken: { - serializedName: "properties.securityToken", + } + } + } +}; + +export const WatcherUpdateParameters: msRest.CompositeMapper = { + serializedName: "WatcherUpdateParameters", + type: { + name: "Composite", + className: "WatcherUpdateParameters", + modelProperties: { + executionFrequencyInSeconds: { + serializedName: "properties.executionFrequencyInSeconds", type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" + name: "Number" } }, - description: { - serializedName: "properties.description", - constraints: { - MaxLength: 512 - }, + name: { + serializedName: "name", type: { name: "String" } @@ -4026,155 +4072,193 @@ export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const SourceControlSyncJob: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJob", +export const DscConfigurationParameter: msRest.CompositeMapper = { + serializedName: "DscConfigurationParameter", type: { name: "Composite", - className: "SourceControlSyncJob", + className: "DscConfigurationParameter", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + type: { + serializedName: "type", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + isMandatory: { + serializedName: "isMandatory", type: { - name: "String" + name: "Boolean" } }, - id: { - readOnly: true, - serializedName: "id", + position: { + serializedName: "position", type: { - name: "String" + name: "Number" } }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } + } + } + } +}; + +export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscConfigurationCreateOrUpdateParameters", + type: { + name: "Composite", + className: "DscConfigurationCreateOrUpdateParameters", + modelProperties: { + logVerbose: { + serializedName: "properties.logVerbose", + type: { + name: "Boolean" + } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + logProgress: { + serializedName: "properties.logProgress", type: { - name: "DateTime" + name: "Boolean" } }, - provisioningState: { - serializedName: "properties.provisioningState", + source: { + required: true, + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "ContentSource" } }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "properties.startTime", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "DscConfigurationParameter" + } + } } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + description: { + serializedName: "properties.description", type: { - name: "DateTime" + name: "String" } }, - syncType: { - serializedName: "properties.syncType", + name: { + serializedName: "name", 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 - }, + }, + location: { + serializedName: "location", type: { name: "String" } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } }; -export const SourceControlSyncJobById: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobById", +export const DscConfiguration: msRest.CompositeMapper = { + serializedName: "DscConfiguration", type: { name: "Composite", - className: "SourceControlSyncJobById", + className: "DscConfiguration", modelProperties: { - id: { - serializedName: "id", + ...TrackedResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Succeeded" + ] } }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", + jobCount: { + serializedName: "properties.jobCount", type: { - name: "String" + name: "Number" } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + parameters: { + serializedName: "properties.parameters", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "DscConfigurationParameter" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "ContentSource" + } + }, + state: { + serializedName: "properties.state", type: { name: "String" } }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "properties.startTime", + logVerbose: { + serializedName: "properties.logVerbose", + type: { + name: "Boolean" + } + }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", type: { name: "DateTime" } }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "properties.endTime", + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - syncType: { - serializedName: "properties.syncType", + nodeConfigurationCount: { + nullable: false, + serializedName: "properties.nodeConfigurationCount", + type: { + name: "Number" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } }, - exception: { - serializedName: "properties.exception", + etag: { + serializedName: "etag", type: { name: "String" } @@ -4183,159 +4267,63 @@ export const SourceControlSyncJobById: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobStream: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStream", +export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscConfigurationUpdateParameters", type: { name: "Composite", - className: "SourceControlSyncJobStream", + className: "DscConfigurationUpdateParameters", 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" - } - }, - time: { - nullable: true, - readOnly: true, - serializedName: "properties.time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "properties.streamType", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamById", - type: { - name: "Composite", - className: "SourceControlSyncJobStreamById", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - sourceControlSyncJobStreamId: { - serializedName: "properties.sourceControlSyncJobStreamId", - type: { - name: "String" - } - }, - summary: { - serializedName: "properties.summary", - type: { - name: "String" - } - }, - time: { - nullable: true, - readOnly: true, - serializedName: "properties.time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "properties.streamType", - type: { - name: "String" - } - }, - streamText: { - serializedName: "properties.streamText", - type: { - name: "String" + name: "Composite", + className: "ContentSource" } }, - value: { - serializedName: "properties.value", + parameters: { + serializedName: "properties.parameters", type: { name: "Dictionary", value: { type: { - name: "Object" + name: "Composite", + className: "DscConfigurationParameter" } } } - } - } - } -}; - -export const JobStream: msRest.CompositeMapper = { - serializedName: "JobStream", - type: { - name: "Composite", - className: "JobStream", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - jobStreamId: { - serializedName: "properties.jobStreamId", - type: { - name: "String" - } - }, - time: { - nullable: false, - serializedName: "properties.time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "properties.streamType", - type: { - name: "String" - } }, - streamText: { - serializedName: "properties.streamText", + description: { + serializedName: "properties.description", type: { name: "String" } }, - summary: { - serializedName: "properties.summary", + name: { + serializedName: "name", type: { name: "String" } }, - value: { - serializedName: "properties.value", + tags: { + serializedName: "tags", type: { name: "Dictionary", value: { type: { - name: "Object" + name: "String" } } } @@ -4564,44 +4552,26 @@ export const JobCreateParameters: msRest.CompositeMapper = { } }; -export const DscReportError: msRest.CompositeMapper = { - serializedName: "DscReportError", +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", type: { name: "Composite", - className: "DscReportError", + className: "OperationDisplay", modelProperties: { - errorSource: { - serializedName: "errorSource", - type: { - name: "String" - } - }, - resourceId: { - serializedName: "resourceId", - type: { - name: "String" - } - }, - errorCode: { - serializedName: "errorCode", - type: { - name: "String" - } - }, - errorMessage: { - serializedName: "errorMessage", + provider: { + serializedName: "provider", type: { name: "String" } }, - locale: { - serializedName: "locale", + resource: { + serializedName: "resource", type: { name: "String" } }, - errorDetails: { - serializedName: "errorDetails", + operation: { + serializedName: "operation", type: { name: "String" } @@ -4610,265 +4580,287 @@ export const DscReportError: msRest.CompositeMapper = { } }; -export const DscReportResourceNavigation: msRest.CompositeMapper = { - serializedName: "DscReportResourceNavigation", +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", type: { name: "Composite", - className: "DscReportResourceNavigation", + className: "Operation", modelProperties: { - resourceId: { - serializedName: "resourceId", + name: { + serializedName: "name", type: { name: "String" } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } } } } }; -export const DscReportResource: msRest.CompositeMapper = { - serializedName: "DscReportResource", +export const WindowsProperties: msRest.CompositeMapper = { + serializedName: "WindowsProperties", type: { name: "Composite", - className: "DscReportResource", + className: "WindowsProperties", modelProperties: { - resourceId: { - serializedName: "resourceId", + includedUpdateClassifications: { + serializedName: "includedUpdateClassifications", type: { name: "String" } }, - sourceInfo: { - serializedName: "sourceInfo", + excludedKbNumbers: { + serializedName: "excludedKbNumbers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - dependsOn: { - serializedName: "dependsOn", + includedKbNumbers: { + serializedName: "includedKbNumbers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DscReportResourceNavigation" + name: "String" } } } }, - moduleName: { - serializedName: "moduleName", + rebootSetting: { + serializedName: "rebootSetting", type: { name: "String" } - }, - moduleVersion: { - serializedName: "moduleVersion", + } + } + } +}; + +export const LinuxProperties: msRest.CompositeMapper = { + serializedName: "LinuxProperties", + type: { + name: "Composite", + className: "LinuxProperties", + modelProperties: { + includedPackageClassifications: { + serializedName: "includedPackageClassifications", type: { name: "String" } }, - resourceName: { - serializedName: "resourceName", + excludedPackageNameMasks: { + serializedName: "excludedPackageNameMasks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - error: { - serializedName: "error", + includedPackageNameMasks: { + serializedName: "includedPackageNameMasks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - status: { - serializedName: "status", + rebootSetting: { + serializedName: "rebootSetting", type: { name: "String" } - }, - durationInSeconds: { - serializedName: "durationInSeconds", - type: { - name: "Number" - } - }, - startDate: { - nullable: false, - serializedName: "startDate", - type: { - name: "DateTime" - } } } } }; -export const DscMetaConfiguration: msRest.CompositeMapper = { - serializedName: "DscMetaConfiguration", +export const TagSettingsProperties: msRest.CompositeMapper = { + serializedName: "TagSettingsProperties", type: { name: "Composite", - className: "DscMetaConfiguration", + className: "TagSettingsProperties", modelProperties: { - configurationModeFrequencyMins: { - serializedName: "configurationModeFrequencyMins", - type: { - name: "Number" - } - }, - rebootNodeIfNeeded: { - serializedName: "rebootNodeIfNeeded", - type: { - name: "Boolean" - } - }, - configurationMode: { - serializedName: "configurationMode", - type: { - name: "String" - } - }, - actionAfterReboot: { - serializedName: "actionAfterReboot", - type: { - name: "String" - } - }, - certificateId: { - serializedName: "certificateId", - type: { - name: "String" - } - }, - refreshFrequencyMins: { - serializedName: "refreshFrequencyMins", + tags: { + serializedName: "tags", type: { - name: "Number" + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } }, - allowModuleOverwrite: { - serializedName: "allowModuleOverwrite", + filterOperator: { + serializedName: "filterOperator", type: { - name: "Boolean" + name: "Enum", + allowedValues: [ + "All", + "Any" + ] } } } } }; -export const DscNodeReport: msRest.CompositeMapper = { - serializedName: "DscNodeReport", +export const AzureQueryProperties: msRest.CompositeMapper = { + serializedName: "AzureQueryProperties", type: { name: "Composite", - className: "DscNodeReport", + className: "AzureQueryProperties", modelProperties: { - endTime: { - nullable: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - startTime: { - nullable: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, - reportId: { - serializedName: "reportId", - type: { - name: "String" - } - }, - status: { - serializedName: "status", - type: { - name: "String" - } - }, - refreshMode: { - serializedName: "refreshMode", + scope: { + serializedName: "scope", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - rebootRequested: { - serializedName: "rebootRequested", + locations: { + serializedName: "locations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - reportFormatVersion: { - serializedName: "reportFormatVersion", + tagSettings: { + serializedName: "tagSettings", type: { - name: "String" + name: "Composite", + className: "TagSettingsProperties" } - }, - configurationVersion: { - serializedName: "configurationVersion", + } + } + } +}; + +export const NonAzureQueryProperties: msRest.CompositeMapper = { + serializedName: "NonAzureQueryProperties", + type: { + name: "Composite", + className: "NonAzureQueryProperties", + modelProperties: { + functionAlias: { + serializedName: "functionAlias", type: { name: "String" } }, - id: { - serializedName: "id", + workspaceId: { + serializedName: "workspaceId", type: { name: "String" } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const TargetProperties: msRest.CompositeMapper = { + serializedName: "TargetProperties", + type: { + name: "Composite", + className: "TargetProperties", + modelProperties: { + azureQueries: { + serializedName: "azureQueries", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DscReportError" + className: "AzureQueryProperties" } } } }, - resources: { - serializedName: "resources", + nonAzureQueries: { + serializedName: "nonAzureQueries", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DscReportResource" + 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" + ] + } }, - metaConfiguration: { - serializedName: "metaConfiguration", + windows: { + serializedName: "windows", type: { name: "Composite", - className: "DscMetaConfiguration" + className: "WindowsProperties" } }, - hostName: { - serializedName: "hostName", + linux: { + serializedName: "linux", type: { - name: "String" + name: "Composite", + className: "LinuxProperties" } }, - iPV4Addresses: { - serializedName: "iPV4Addresses", + duration: { + serializedName: "duration", + type: { + name: "TimeSpan" + } + }, + azureVirtualMachines: { + serializedName: "azureVirtualMachines", type: { name: "Sequence", element: { @@ -4878,8 +4870,8 @@ export const DscNodeReport: msRest.CompositeMapper = { } } }, - iPV6Addresses: { - serializedName: "iPV6Addresses", + nonAzureComputerNames: { + serializedName: "nonAzureComputerNames", type: { name: "Sequence", element: { @@ -4889,205 +4881,141 @@ export const DscNodeReport: msRest.CompositeMapper = { } } }, - numberOfResources: { - serializedName: "numberOfResources", - type: { - name: "Number" - } - }, - rawErrors: { - serializedName: "rawErrors", + targets: { + serializedName: "targets", type: { - name: "String" + name: "Composite", + className: "TargetProperties" } } } } }; -export const AgentRegistrationKeys: msRest.CompositeMapper = { - serializedName: "AgentRegistrationKeys", +export const SUCScheduleProperties: msRest.CompositeMapper = { + serializedName: "SUCScheduleProperties", type: { name: "Composite", - className: "AgentRegistrationKeys", + className: "SUCScheduleProperties", modelProperties: { - primary: { - serializedName: "primary", + startTime: { + nullable: false, + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } }, - secondary: { - serializedName: "secondary", - type: { - name: "String" - } - } - } - } -}; - -export const AgentRegistration: msRest.CompositeMapper = { - serializedName: "AgentRegistration", - type: { - name: "Composite", - className: "AgentRegistration", - modelProperties: { - dscMetaConfiguration: { - serializedName: "dscMetaConfiguration", + startTimeOffsetMinutes: { + nullable: false, + readOnly: true, + serializedName: "startTimeOffsetMinutes", type: { - name: "String" + name: "Number" } }, - endpoint: { - serializedName: "endpoint", + expiryTime: { + nullable: true, + serializedName: "expiryTime", type: { - name: "String" + name: "DateTime" } }, - keys: { - serializedName: "keys", + expiryTimeOffsetMinutes: { + nullable: false, + serializedName: "expiryTimeOffsetMinutes", type: { - name: "Composite", - className: "AgentRegistrationKeys" + name: "Number" } }, - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const DscNodeExtensionHandlerAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscNodeExtensionHandlerAssociationProperty", - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty", - modelProperties: { - name: { - serializedName: "name", + isEnabled: { + serializedName: "isEnabled", + defaultValue: false, type: { - name: "String" + name: "Boolean" } }, - version: { - serializedName: "version", - 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", + nextRun: { + nullable: true, + serializedName: "nextRun", type: { name: "DateTime" } }, - registrationTime: { + nextRunOffsetMinutes: { nullable: false, - serializedName: "properties.registrationTime", - type: { - name: "DateTime" - } - }, - ip: { - serializedName: "properties.ip", + serializedName: "nextRunOffsetMinutes", type: { - name: "String" + name: "Number" } }, - accountId: { - serializedName: "properties.accountId", + interval: { + serializedName: "interval", type: { - name: "String" + name: "Number" } }, - dscNodeName: { - serializedName: "properties.nodeConfiguration.name", + frequency: { + serializedName: "frequency", type: { name: "String" } }, - status: { - serializedName: "properties.status", + timeZone: { + serializedName: "timeZone", type: { name: "String" } }, - nodeId: { - serializedName: "properties.nodeId", + advancedSchedule: { + serializedName: "advancedSchedule", type: { - name: "String" + name: "Composite", + className: "AdvancedSchedule" } }, - etag: { - serializedName: "properties.etag", + creationTime: { + nullable: false, + serializedName: "creationTime", type: { - name: "String" + name: "DateTime" } }, - totalCount: { - serializedName: "properties.totalCount", + lastModifiedTime: { + nullable: false, + serializedName: "lastModifiedTime", type: { - name: "Number" + name: "DateTime" } }, - extensionHandler: { - serializedName: "properties.extensionHandler", + description: { + serializedName: "description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty" - } - } + name: "String" } } } } }; -export const AgentRegistrationRegenerateKeyParameter: msRest.CompositeMapper = { - serializedName: "AgentRegistrationRegenerateKeyParameter", +export const TaskProperties: msRest.CompositeMapper = { + serializedName: "taskProperties", type: { name: "Composite", - className: "AgentRegistrationRegenerateKeyParameter", + className: "TaskProperties", modelProperties: { - keyName: { - required: true, - serializedName: "keyName", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - } - } - } -}; - -export const DscNodeUpdateParametersProperties: msRest.CompositeMapper = { - serializedName: "DscNodeUpdateParameters_properties", - type: { - name: "Composite", - className: "DscNodeUpdateParametersProperties", - modelProperties: { - name: { - serializedName: "nodeConfiguration.name", + }, + source: { + serializedName: "source", type: { name: "String" } @@ -5096,129 +5024,183 @@ export const DscNodeUpdateParametersProperties: msRest.CompositeMapper = { } }; -export const DscNodeUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscNodeUpdateParameters", +export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationTasks", type: { name: "Composite", - className: "DscNodeUpdateParameters", + className: "SoftwareUpdateConfigurationTasks", modelProperties: { - nodeId: { - serializedName: "nodeId", + preTask: { + serializedName: "preTask", type: { - name: "String" + name: "Composite", + className: "TaskProperties" } }, - properties: { - serializedName: "properties", + postTask: { + serializedName: "postTask", type: { name: "Composite", - className: "DscNodeUpdateParametersProperties" + className: "TaskProperties" } } } } }; -export const DscConfigurationAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscConfigurationAssociationProperty", +export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfiguration", type: { name: "Composite", - className: "DscConfigurationAssociationProperty", + className: "SoftwareUpdateConfiguration", modelProperties: { name: { + readOnly: true, serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const DscCompilationJob: msRest.CompositeMapper = { - serializedName: "DscCompilationJob", - type: { - name: "Composite", - className: "DscCompilationJob", - modelProperties: { - ...ProxyResource.type.modelProperties, - configuration: { - serializedName: "properties.configuration", + }, + id: { + readOnly: true, + serializedName: "id", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "String" } }, - startedBy: { + type: { readOnly: true, - serializedName: "properties.startedBy", + serializedName: "type", type: { name: "String" } }, - jobId: { - nullable: false, - readOnly: true, - serializedName: "properties.jobId", + updateConfiguration: { + required: true, + serializedName: "properties.updateConfiguration", type: { - name: "Uuid" + name: "Composite", + className: "UpdateConfiguration" } }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", + scheduleInfo: { + required: true, + serializedName: "properties.scheduleInfo", type: { - name: "DateTime" + name: "Composite", + className: "SUCScheduleProperties" } }, provisioningState: { + readOnly: true, serializedName: "properties.provisioningState", type: { name: "String" } }, - runOn: { - serializedName: "properties.runOn", + error: { + serializedName: "properties.error", type: { - name: "String" + name: "Composite", + className: "ErrorResponse" } }, - status: { - serializedName: "properties.status", + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "String" + name: "DateTime" } }, - statusDetails: { - serializedName: "properties.statusDetails", + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", type: { name: "String" } }, - startTime: { - nullable: true, + lastModifiedTime: { + nullable: false, readOnly: true, - serializedName: "properties.startTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - endTime: { - nullable: true, + lastModifiedBy: { readOnly: true, - serializedName: "properties.endTime", + serializedName: "properties.lastModifiedBy", type: { - name: "DateTime" + name: "String" } }, - exception: { + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationCollectionItem", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationCollectionItem", + modelProperties: { + name: { readOnly: true, - serializedName: "properties.exception", + serializedName: "name", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + updateConfiguration: { + serializedName: "properties.updateConfiguration", + type: { + name: "Composite", + className: "UpdateConfiguration" + } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" + } + }, + frequency: { + serializedName: "properties.frequency", type: { name: "String" } }, + startTime: { + nullable: false, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, lastModifiedTime: { nullable: false, readOnly: true, @@ -5227,21 +5209,38 @@ export const DscCompilationJob: msRest.CompositeMapper = { name: "DateTime" } }, - lastStatusModifiedTime: { - nullable: true, + provisioningState: { readOnly: true, - serializedName: "properties.lastStatusModifiedTime", + serializedName: "properties.provisioningState", type: { - name: "DateTime" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + nextRun: { + nullable: true, + serializedName: "properties.nextRun", type: { - name: "Dictionary", - value: { + name: "DateTime" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationListResult", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationCollectionItem" } } } @@ -5250,207 +5249,384 @@ export const DscCompilationJob: msRest.CompositeMapper = { } }; -export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { - serializedName: "DscCompilationJobCreateParameters", +export const UpdateConfigurationNavigation: msRest.CompositeMapper = { + serializedName: "updateConfigurationNavigation", type: { name: "Composite", - className: "DscCompilationJobCreateParameters", + className: "UpdateConfigurationNavigation", modelProperties: { - configuration: { - required: true, - serializedName: "properties.configuration", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "String" } - }, - parameters: { - serializedName: "properties.parameters", + } + } + } +}; + +export const SoftwareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRunTaskProperties", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties", + modelProperties: { + status: { + serializedName: "status", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", + source: { + serializedName: "source", type: { - name: "Boolean" + name: "String" } }, - name: { - serializedName: "name", + jobId: { + serializedName: "jobId", type: { name: "String" } - }, - location: { - serializedName: "location", + } + } + } +}; + +export const SoftwareUpdateConfigurationRunTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRunTasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTasks", + modelProperties: { + preTask: { + serializedName: "preTask", type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" } }, - tags: { - serializedName: "tags", + postTask: { + serializedName: "postTask", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" } } } } }; -export const DscNodeConfiguration: msRest.CompositeMapper = { - serializedName: "DscNodeConfiguration", +export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationRun", type: { name: "Composite", - className: "DscNodeConfiguration", + className: "SoftwareUpdateConfigurationRun", modelProperties: { - ...ProxyResource.type.modelProperties, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", + name: { + readOnly: true, + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", + id: { + readOnly: true, + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - configuration: { - serializedName: "properties.configuration", + softwareUpdateConfiguration: { + serializedName: "properties.softwareUpdateConfiguration", type: { name: "Composite", - className: "DscConfigurationAssociationProperty" + className: "UpdateConfigurationNavigation" } }, - source: { - serializedName: "properties.source", + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - nodeCount: { - serializedName: "properties.nodeCount", + configuredDuration: { + readOnly: true, + serializedName: "properties.configuredDuration", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "properties.osType", + type: { + name: "String" + } + }, + startTime: { + nullable: false, + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + computerCount: { + readOnly: true, + serializedName: "properties.computerCount", type: { name: "Number" } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", + failedCount: { + readOnly: true, + serializedName: "properties.failedCount", type: { - name: "Boolean" + name: "Number" } - } - } - } -}; - -export const DscNodeConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationCreateOrUpdateParameters", - type: { - name: "Composite", - className: "DscNodeConfigurationCreateOrUpdateParameters", - modelProperties: { - source: { - required: true, - serializedName: "properties.source", + }, + creationTime: { + nullable: false, + readOnly: true, + serializedName: "properties.creationTime", type: { - name: "Composite", - className: "ContentSource" + name: "DateTime" } }, - configuration: { - required: true, - serializedName: "properties.configuration", + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "String" } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", type: { - name: "Boolean" + name: "DateTime" } }, - name: { - serializedName: "name", + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, - tags: { - serializedName: "tags", + tasks: { + serializedName: "properties.tasks", type: { - name: "Dictionary", - value: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTasks" + } + } + } + } +}; + +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" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const NodeCountProperties: msRest.CompositeMapper = { - serializedName: "NodeCountProperties", +export const JobNavigation: msRest.CompositeMapper = { + serializedName: "jobNavigation", type: { name: "Composite", - className: "NodeCountProperties", + className: "JobNavigation", modelProperties: { - count: { - serializedName: "count", + id: { + readOnly: true, + serializedName: "id", type: { - name: "Number" + name: "String" } } } } }; -export const NodeCount: msRest.CompositeMapper = { - serializedName: "NodeCount", +export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRun", type: { name: "Composite", - className: "NodeCount", + className: "SoftwareUpdateConfigurationMachineRun", modelProperties: { name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - properties: { - serializedName: "properties", + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + targetComputer: { + readOnly: true, + serializedName: "properties.targetComputer", + type: { + name: "String" + } + }, + targetComputerType: { + readOnly: true, + serializedName: "properties.targetComputerType", + type: { + name: "String" + } + }, + softwareUpdateConfiguration: { + serializedName: "properties.softwareUpdateConfiguration", type: { name: "Composite", - className: "NodeCountProperties" + className: "UpdateConfigurationNavigation" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "properties.osType", + type: { + name: "String" + } + }, + correlationId: { + readOnly: true, + serializedName: "properties.correlationId", + type: { + name: "Uuid" + } + }, + sourceComputerId: { + readOnly: true, + serializedName: "properties.sourceComputerId", + type: { + name: "Uuid" + } + }, + startTime: { + nullable: false, + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", + 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", + type: { + name: "DateTime" + } + }, + createdBy: { + readOnly: true, + serializedName: "properties.createdBy", + type: { + name: "String" + } + }, + lastModifiedTime: { + nullable: false, + readOnly: true, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + readOnly: true, + serializedName: "properties.lastModifiedBy", + type: { + name: "String" + } + }, + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ErrorResponse" } } } } }; -export const NodeCounts: msRest.CompositeMapper = { - serializedName: "NodeCounts", +export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRunListResult", type: { name: "Composite", - className: "NodeCounts", + className: "SoftwareUpdateConfigurationMachineRunListResult", modelProperties: { value: { serializedName: "value", @@ -5459,15 +5635,15 @@ export const NodeCounts: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "NodeCount" + className: "SoftwareUpdateConfigurationMachineRun" } } } }, - totalCount: { - serializedName: "totalCount", + nextLink: { + serializedName: "nextLink", type: { - name: "Number" + name: "String" } } } @@ -6029,22 +6205,120 @@ export const RunbookCreateOrUpdateDraftParameters: msRest.CompositeMapper = { } }; -export const PythonPackageCreateParameters: msRest.CompositeMapper = { - serializedName: "PythonPackageCreateParameters", +export const Webhook: msRest.CompositeMapper = { + serializedName: "Webhook", type: { name: "Composite", - className: "PythonPackageCreateParameters", + className: "Webhook", modelProperties: { - contentLink: { - required: true, - serializedName: "properties.contentLink", + ...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", type: { name: "Composite", - className: "ContentLink" + className: "RunbookAssociationProperty" } }, - tags: { - serializedName: "tags", + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + }, + creationTime: { + nullable: false, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + nullable: false, + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", + type: { + name: "String" + } + }, + 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", + type: { + name: "Boolean" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + }, + parameters: { + serializedName: "properties.parameters", type: { name: "Dictionary", value: { @@ -6053,19 +6327,51 @@ export const PythonPackageCreateParameters: msRest.CompositeMapper = { } } } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } } } } }; -export const PythonPackageUpdateParameters: msRest.CompositeMapper = { - serializedName: "PythonPackageUpdateParameters", +export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "WebhookCreateOrUpdateParameters", type: { name: "Composite", - className: "PythonPackageUpdateParameters", + className: "WebhookCreateOrUpdateParameters", modelProperties: { - tags: { - serializedName: "tags", + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + isEnabled: { + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } + }, + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + expiryTime: { + nullable: false, + serializedName: "properties.expiryTime", + type: { + name: "DateTime" + } + }, + parameters: { + serializedName: "properties.parameters", type: { name: "Dictionary", value: { @@ -6074,6 +6380,19 @@ export const PythonPackageUpdateParameters: msRest.CompositeMapper = { } } } + }, + runbook: { + serializedName: "properties.runbook", + type: { + name: "Composite", + className: "RunbookAssociationProperty" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } } } } @@ -6111,11 +6430,11 @@ export const RunbookPublishHeaders: msRest.CompositeMapper = { } }; -export const AutomationAccountListResult: msRest.CompositeMapper = { - serializedName: "AutomationAccountListResult", +export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionListResult", type: { name: "Composite", - className: "AutomationAccountListResult", + className: "PrivateEndpointConnectionListResult", modelProperties: { value: { serializedName: "", @@ -6124,26 +6443,42 @@ export const AutomationAccountListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "AutomationAccount" + className: "PrivateEndpointConnection" } } } - }, - nextLink: { - serializedName: "nextLink", + } + } + } +}; + +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } } } } } }; -export const OperationListResult: msRest.CompositeMapper = { - serializedName: "OperationListResult", +export const ModuleListResult: msRest.CompositeMapper = { + serializedName: "ModuleListResult", type: { name: "Composite", - className: "OperationListResult", + className: "ModuleListResult", modelProperties: { value: { serializedName: "", @@ -6152,20 +6487,26 @@ export const OperationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "Module" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const StatisticsListResult: msRest.CompositeMapper = { - serializedName: "StatisticsListResult", +export const DscNodeListResult: msRest.CompositeMapper = { + serializedName: "DscNodeListResult", type: { name: "Composite", - className: "StatisticsListResult", + className: "DscNodeListResult", modelProperties: { value: { serializedName: "", @@ -6174,20 +6515,32 @@ export const StatisticsListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Statistics" + className: "DscNode" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } } } } }; -export const UsageListResult: msRest.CompositeMapper = { - serializedName: "UsageListResult", +export const DscNodeReportListResult: msRest.CompositeMapper = { + serializedName: "DscNodeReportListResult", type: { name: "Composite", - className: "UsageListResult", + className: "DscNodeReportListResult", modelProperties: { value: { serializedName: "", @@ -6196,20 +6549,26 @@ export const UsageListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Usage" + className: "DscNodeReport" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const CertificateListResult: msRest.CompositeMapper = { - serializedName: "CertificateListResult", +export const DscNodeConfigurationListResult: msRest.CompositeMapper = { + serializedName: "DscNodeConfigurationListResult", type: { name: "Composite", - className: "CertificateListResult", + className: "DscNodeConfigurationListResult", modelProperties: { value: { serializedName: "", @@ -6218,7 +6577,7 @@ export const CertificateListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Certificate" + className: "DscNodeConfiguration" } } } @@ -6228,16 +6587,22 @@ export const CertificateListResult: msRest.CompositeMapper = { type: { name: "String" } + }, + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } } } } }; -export const ConnectionListResult: msRest.CompositeMapper = { - serializedName: "ConnectionListResult", +export const DscCompilationJobListResult: msRest.CompositeMapper = { + serializedName: "DscCompilationJobListResult", type: { name: "Composite", - className: "ConnectionListResult", + className: "DscCompilationJobListResult", modelProperties: { value: { serializedName: "", @@ -6246,7 +6611,7 @@ export const ConnectionListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Connection" + className: "DscCompilationJob" } } } @@ -6261,11 +6626,11 @@ export const ConnectionListResult: msRest.CompositeMapper = { } }; -export const ConnectionTypeListResult: msRest.CompositeMapper = { - serializedName: "ConnectionTypeListResult", +export const SourceControlListResult: msRest.CompositeMapper = { + serializedName: "SourceControlListResult", type: { name: "Composite", - className: "ConnectionTypeListResult", + className: "SourceControlListResult", modelProperties: { value: { serializedName: "", @@ -6274,7 +6639,7 @@ export const ConnectionTypeListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ConnectionType" + className: "SourceControl" } } } @@ -6289,11 +6654,11 @@ export const ConnectionTypeListResult: msRest.CompositeMapper = { } }; -export const CredentialListResult: msRest.CompositeMapper = { - serializedName: "CredentialListResult", +export const SourceControlSyncJobListResult: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobListResult", type: { name: "Composite", - className: "CredentialListResult", + className: "SourceControlSyncJobListResult", modelProperties: { value: { serializedName: "", @@ -6302,7 +6667,7 @@ export const CredentialListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Credential" + className: "SourceControlSyncJob" } } } @@ -6317,11 +6682,11 @@ export const CredentialListResult: msRest.CompositeMapper = { } }; -export const DscConfigurationListResult: msRest.CompositeMapper = { - serializedName: "DscConfigurationListResult", +export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobStreamsListBySyncJob", type: { name: "Composite", - className: "DscConfigurationListResult", + className: "SourceControlSyncJobStreamsListBySyncJob", modelProperties: { value: { serializedName: "", @@ -6330,32 +6695,27 @@ export const DscConfigurationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscConfiguration" + className: "SourceControlSyncJobStream" } } } }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } } } } }; -export const HybridRunbookWorkerGroupsListResult: msRest.CompositeMapper = { - serializedName: "HybridRunbookWorkerGroupsListResult", +export const AutomationAccountListResult: msRest.CompositeMapper = { + serializedName: "AutomationAccountListResult", type: { name: "Composite", - className: "HybridRunbookWorkerGroupsListResult", + className: "AutomationAccountListResult", modelProperties: { value: { serializedName: "", @@ -6364,7 +6724,7 @@ export const HybridRunbookWorkerGroupsListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "HybridRunbookWorkerGroup" + className: "AutomationAccount" } } } @@ -6379,11 +6739,11 @@ export const HybridRunbookWorkerGroupsListResult: msRest.CompositeMapper = { } }; -export const JobScheduleListResult: msRest.CompositeMapper = { - serializedName: "JobScheduleListResult", +export const StatisticsListResult: msRest.CompositeMapper = { + serializedName: "StatisticsListResult", type: { name: "Composite", - className: "JobScheduleListResult", + className: "StatisticsListResult", modelProperties: { value: { serializedName: "", @@ -6392,26 +6752,20 @@ export const JobScheduleListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobSchedule" + className: "Statistics" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const ActivityListResult: msRest.CompositeMapper = { - serializedName: "ActivityListResult", +export const UsageListResult: msRest.CompositeMapper = { + serializedName: "UsageListResult", type: { name: "Composite", - className: "ActivityListResult", + className: "UsageListResult", modelProperties: { value: { serializedName: "", @@ -6420,26 +6774,20 @@ export const ActivityListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Activity" + className: "Usage" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const ModuleListResult: msRest.CompositeMapper = { - serializedName: "ModuleListResult", +export const CertificateListResult: msRest.CompositeMapper = { + serializedName: "CertificateListResult", type: { name: "Composite", - className: "ModuleListResult", + className: "CertificateListResult", modelProperties: { value: { serializedName: "", @@ -6448,7 +6796,7 @@ export const ModuleListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Module" + className: "Certificate" } } } @@ -6463,11 +6811,11 @@ export const ModuleListResult: msRest.CompositeMapper = { } }; -export const TypeFieldListResult: msRest.CompositeMapper = { - serializedName: "TypeFieldListResult", +export const ConnectionListResult: msRest.CompositeMapper = { + serializedName: "ConnectionListResult", type: { name: "Composite", - className: "TypeFieldListResult", + className: "ConnectionListResult", modelProperties: { value: { serializedName: "", @@ -6476,20 +6824,26 @@ export const TypeFieldListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "TypeField" + className: "Connection" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ScheduleListResult: msRest.CompositeMapper = { - serializedName: "ScheduleListResult", +export const ConnectionTypeListResult: msRest.CompositeMapper = { + serializedName: "ConnectionTypeListResult", type: { name: "Composite", - className: "ScheduleListResult", + className: "ConnectionTypeListResult", modelProperties: { value: { serializedName: "", @@ -6498,7 +6852,7 @@ export const ScheduleListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Schedule" + className: "ConnectionType" } } } @@ -6513,11 +6867,11 @@ export const ScheduleListResult: msRest.CompositeMapper = { } }; -export const VariableListResult: msRest.CompositeMapper = { - serializedName: "VariableListResult", +export const CredentialListResult: msRest.CompositeMapper = { + serializedName: "CredentialListResult", type: { name: "Composite", - className: "VariableListResult", + className: "CredentialListResult", modelProperties: { value: { serializedName: "", @@ -6526,7 +6880,7 @@ export const VariableListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Variable" + className: "Credential" } } } @@ -6541,11 +6895,11 @@ export const VariableListResult: msRest.CompositeMapper = { } }; -export const WebhookListResult: msRest.CompositeMapper = { - serializedName: "WebhookListResult", +export const HybridRunbookWorkerGroupsListResult: msRest.CompositeMapper = { + serializedName: "HybridRunbookWorkerGroupsListResult", type: { name: "Composite", - className: "WebhookListResult", + className: "HybridRunbookWorkerGroupsListResult", modelProperties: { value: { serializedName: "", @@ -6554,7 +6908,7 @@ export const WebhookListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Webhook" + className: "HybridRunbookWorkerGroup" } } } @@ -6569,11 +6923,11 @@ export const WebhookListResult: msRest.CompositeMapper = { } }; -export const WatcherListResult: msRest.CompositeMapper = { - serializedName: "WatcherListResult", +export const JobScheduleListResult: msRest.CompositeMapper = { + serializedName: "JobScheduleListResult", type: { name: "Composite", - className: "WatcherListResult", + className: "JobScheduleListResult", modelProperties: { value: { serializedName: "", @@ -6582,7 +6936,7 @@ export const WatcherListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Watcher" + className: "JobSchedule" } } } @@ -6597,11 +6951,11 @@ export const WatcherListResult: msRest.CompositeMapper = { } }; -export const SourceControlListResult: msRest.CompositeMapper = { - serializedName: "SourceControlListResult", +export const ActivityListResult: msRest.CompositeMapper = { + serializedName: "ActivityListResult", type: { name: "Composite", - className: "SourceControlListResult", + className: "ActivityListResult", modelProperties: { value: { serializedName: "", @@ -6610,7 +6964,7 @@ export const SourceControlListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControl" + className: "Activity" } } } @@ -6625,11 +6979,11 @@ export const SourceControlListResult: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobListResult: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobListResult", +export const TypeFieldListResult: msRest.CompositeMapper = { + serializedName: "TypeFieldListResult", type: { name: "Composite", - className: "SourceControlSyncJobListResult", + className: "TypeFieldListResult", modelProperties: { value: { serializedName: "", @@ -6638,26 +6992,20 @@ export const SourceControlSyncJobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControlSyncJob" + className: "TypeField" } } } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamsListBySyncJob", +export const ScheduleListResult: msRest.CompositeMapper = { + serializedName: "ScheduleListResult", type: { name: "Composite", - className: "SourceControlSyncJobStreamsListBySyncJob", + className: "ScheduleListResult", modelProperties: { value: { serializedName: "", @@ -6666,13 +7014,12 @@ export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "SourceControlSyncJobStream" + className: "Schedule" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -6682,11 +7029,11 @@ export const SourceControlSyncJobStreamsListBySyncJob: msRest.CompositeMapper = } }; -export const JobListResultV2: msRest.CompositeMapper = { - serializedName: "JobListResultV2", +export const VariableListResult: msRest.CompositeMapper = { + serializedName: "VariableListResult", type: { name: "Composite", - className: "JobListResultV2", + className: "VariableListResult", modelProperties: { value: { serializedName: "", @@ -6695,13 +7042,12 @@ export const JobListResultV2: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobCollectionItem" + className: "Variable" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -6711,11 +7057,11 @@ export const JobListResultV2: msRest.CompositeMapper = { } }; -export const JobStreamListResult: msRest.CompositeMapper = { - serializedName: "JobStreamListResult", +export const WatcherListResult: msRest.CompositeMapper = { + serializedName: "WatcherListResult", type: { name: "Composite", - className: "JobStreamListResult", + className: "WatcherListResult", modelProperties: { value: { serializedName: "", @@ -6724,7 +7070,7 @@ export const JobStreamListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "JobStream" + className: "Watcher" } } } @@ -6739,11 +7085,11 @@ export const JobStreamListResult: msRest.CompositeMapper = { } }; -export const DscNodeListResult: msRest.CompositeMapper = { - serializedName: "DscNodeListResult", +export const DscConfigurationListResult: msRest.CompositeMapper = { + serializedName: "DscConfigurationListResult", type: { name: "Composite", - className: "DscNodeListResult", + className: "DscConfigurationListResult", modelProperties: { value: { serializedName: "", @@ -6752,7 +7098,7 @@ export const DscNodeListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNode" + className: "DscConfiguration" } } } @@ -6773,11 +7119,11 @@ export const DscNodeListResult: msRest.CompositeMapper = { } }; -export const DscNodeReportListResult: msRest.CompositeMapper = { - serializedName: "DscNodeReportListResult", +export const JobListResultV2: msRest.CompositeMapper = { + serializedName: "JobListResultV2", type: { name: "Composite", - className: "DscNodeReportListResult", + className: "JobListResultV2", modelProperties: { value: { serializedName: "", @@ -6786,12 +7132,13 @@ export const DscNodeReportListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNodeReport" + className: "JobCollectionItem" } } } }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -6801,11 +7148,11 @@ export const DscNodeReportListResult: msRest.CompositeMapper = { } }; -export const DscCompilationJobListResult: msRest.CompositeMapper = { - serializedName: "DscCompilationJobListResult", +export const JobStreamListResult: msRest.CompositeMapper = { + serializedName: "JobStreamListResult", type: { name: "Composite", - className: "DscCompilationJobListResult", + className: "JobStreamListResult", modelProperties: { value: { serializedName: "", @@ -6814,7 +7161,7 @@ export const DscCompilationJobListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscCompilationJob" + className: "JobStream" } } } @@ -6829,11 +7176,11 @@ export const DscCompilationJobListResult: msRest.CompositeMapper = { } }; -export const DscNodeConfigurationListResult: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationListResult", +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", type: { name: "Composite", - className: "DscNodeConfigurationListResult", + className: "OperationListResult", modelProperties: { value: { serializedName: "", @@ -6842,7 +7189,29 @@ export const DscNodeConfigurationListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNodeConfiguration" + className: "Operation" + } + } + } + } + } + } +}; + +export const RunbookListResult: msRest.CompositeMapper = { + serializedName: "RunbookListResult", + type: { + name: "Composite", + className: "RunbookListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Runbook" } } } @@ -6852,22 +7221,16 @@ export const DscNodeConfigurationListResult: msRest.CompositeMapper = { type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } } } } }; -export const RunbookListResult: msRest.CompositeMapper = { - serializedName: "RunbookListResult", +export const WebhookListResult: msRest.CompositeMapper = { + serializedName: "WebhookListResult", type: { name: "Composite", - className: "RunbookListResult", + className: "WebhookListResult", modelProperties: { value: { serializedName: "", @@ -6876,7 +7239,7 @@ export const RunbookListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Runbook" + className: "Webhook" } } } diff --git a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts index 2753e228b7a2..cc2d7a04e8aa 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,14 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleCreateOrUpdateParameters, @@ -36,6 +41,10 @@ export { ModuleListResult, ModuleUpdateParameters, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..b20cd92bf3e5 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: '2019-06-01', type: { name: "String" } @@ -60,7 +59,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-01-15', + defaultValue: '2018-06-30', type: { name: "String" } @@ -72,7 +71,7 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-30', + defaultValue: '2015-10-31', type: { name: "String" } @@ -295,6 +294,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..aa4309faa0ea --- /dev/null +++ b/sdk/automation/arm-automation/src/models/privateEndpointConnectionsMappers.ts @@ -0,0 +1,68 @@ +/* + * 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, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointConnectionListResult, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + 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..684480c50d5d --- /dev/null +++ b/sdk/automation/arm-automation/src/models/privateLinkResourcesMappers.ts @@ -0,0 +1,68 @@ +/* + * 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, + Identity, + IdentityUserAssignedIdentitiesValue, + Job, + JobCollectionItem, + KeyVaultProperties, + LinuxProperties, + Module, + ModuleErrorInfo, + NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkResourceListResult, + PrivateLinkServiceConnectionStateProperty, + ProxyResource, + Resource, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, + Schedule, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + SUCScheduleProperties, + 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..b78e0d223b34 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,14 +26,23 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, ModuleListResult, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, PythonPackageCreateParameters, PythonPackageUpdateParameters, @@ -43,11 +52,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..c3a845f6a18b 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,13 +27,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -45,11 +54,11 @@ export { RunbookPublishHeaders, RunbookUpdateParameters, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..0e9c8a5d6e7b 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -42,12 +51,12 @@ export { Schedule, ScheduleCreateOrUpdateParameters, ScheduleListResult, - ScheduleProperties, ScheduleUpdateParameters, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..49ceea4ba130 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -41,13 +49,13 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationCollectionItem, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..810a400ffc3b 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -40,7 +49,6 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, @@ -49,6 +57,7 @@ export { SourceControlListResult, SourceControlSecurityTokenProperties, SourceControlUpdateParameters, + SUCScheduleProperties, 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..bc67c2d364bf 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -40,11 +49,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..813d51d48cdc 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -40,11 +49,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..1d628f84ff0f 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,13 +26,22 @@ export { DscNode, DscNodeConfiguration, DscNodeExtensionHandlerAssociationProperty, + EncryptionProperties, + EncryptionPropertiesIdentity, ErrorResponse, + Identity, + IdentityUserAssignedIdentitiesValue, Job, JobCollectionItem, + KeyVaultProperties, LinuxProperties, Module, ModuleErrorInfo, NonAzureQueryProperties, + PrivateEndpointConnection, + PrivateEndpointProperty, + PrivateLinkResource, + PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, Runbook, @@ -40,11 +49,11 @@ export { RunbookDraft, RunbookParameter, Schedule, - ScheduleProperties, Sku, SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, SourceControl, + SUCScheduleProperties, 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..5c559cfeabae 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 @@ -445,6 +444,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -466,6 +468,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], 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..f5b9c0747b2d 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.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +307,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +333,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -370,7 +369,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -403,7 +402,7 @@ const getContentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], 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.apiVersion1, Parameters.filter, Parameters.skip0, Parameters.top0, @@ -460,6 +459,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion1, + 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..04dbf9c5aa4d 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 @@ -176,7 +175,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 +186,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, @@ -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/index.ts b/sdk/automation/arm-automation/src/operations/index.ts index fff8baafa93a..3e649004201d 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,16 @@ 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"; diff --git a/sdk/automation/arm-automation/src/operations/jobOperations.ts b/sdk/automation/arm-automation/src/operations/jobOperations.ts index 7f7428c00135..8c91375d6ec2 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, @@ -366,7 +365,7 @@ const getOutputOperationSpec: msRest.OperationSpec = { bodyMapper: { serializedName: "parsedResponse", type: { - name: "Stream" + name: "String" } } }, @@ -398,12 +397,12 @@ const getRunbookContentOperationSpec: msRest.OperationSpec = { bodyMapper: { serializedName: "parsedResponse", type: { - name: "Stream" + name: "String" } } }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -579,6 +578,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], 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..58e987aa8d52 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 @@ -196,6 +195,10 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], 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..1ea88b98af1f 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 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..0307f5d8fb3c 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 @@ -184,7 +183,7 @@ const getContentOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -215,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +240,7 @@ const undoEditOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -267,7 +266,7 @@ const beginReplaceContentOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -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..5bc2b1c52764 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 @@ -324,7 +323,7 @@ const getContentOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -355,7 +354,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -381,7 +380,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -417,7 +416,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -450,7 +449,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +473,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { Parameters.automationAccountName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -500,7 +499,7 @@ const beginPublishOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -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.apiVersion2 + ], 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..f057d508df1d 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 diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts index 643115941fde..564ed3a24bd0 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 diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts index ca41bd378623..b514136e7ee2 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 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..af14cc8e9b6d 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 diff --git a/sdk/automation/arm-automation/src/operations/testJobOperations.ts b/sdk/automation/arm-automation/src/operations/testJobOperations.ts index d367307b61b4..09f2ec2e39d8 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 @@ -223,7 +222,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +255,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -282,7 +281,7 @@ const resumeOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -306,7 +305,7 @@ const stopOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +329,7 @@ const suspendOperationSpec: msRest.OperationSpec = { Parameters.runbookName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/testJobStreams.ts b/sdk/automation/arm-automation/src/operations/testJobStreams.ts index 584e3c1691dc..8a0f85bdbb8f 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, @@ -144,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.jobStreamId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -171,7 +170,7 @@ const listByTestJobOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion3 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -194,6 +193,10 @@ const listByTestJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion2 + ], 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..a33bf84d3584 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 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..b85e5e771db6 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.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -313,7 +312,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -337,7 +336,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -363,7 +362,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -399,7 +398,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +431,7 @@ const listByAutomationAccountOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -455,6 +454,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ],