From dcb5b4044d7f3a9c7c4020100d29337cfb73814a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 15 Oct 2018 17:02:29 -0700 Subject: [PATCH] [AutoPR automation/resource-manager] Swagger change for Update configuration dynamic group (#171) * Generated from fc491695edaba989b6f14e4a7541852d0e98b780 Addressing the feedback and adding the sample examples * Generated from 010387285df8d64aa4d2a36593fce01cd95e2efe fixing the capitalization and grammer on the description * Generated from 7546ceb3e18b6db70ad4da5aadf2d1db24d621e4 Changes after reviewing the decriptions * Generated from 915d19ed0f6a41d54a20040b8166514b5c9ef7f8 Changes after reviewing the descriptions --- packages/@azure/arm-automation/.npmignore | 70 +- packages/@azure/arm-automation/LICENSE.txt | 42 +- packages/@azure/arm-automation/README.md | 152 +- .../automationAccountOperationsMappers.ts | 3 + .../models/certificateOperationsMappers.ts | 3 + .../lib/models/connectionOperationsMappers.ts | 3 + .../lib/models/credentialOperationsMappers.ts | 3 + .../dscCompilationJobOperationsMappers.ts | 3 + .../dscConfigurationOperationsMappers.ts | 3 + .../dscNodeConfigurationOperationsMappers.ts | 3 + .../lib/models/dscNodeOperationsMappers.ts | 3 + .../@azure/arm-automation/lib/models/index.ts | 2401 +---------- .../lib/models/jobOperationsMappers.ts | 3 + .../arm-automation/lib/models/mappers.ts | 3623 ++--------------- .../lib/models/moduleOperationsMappers.ts | 3 + .../lib/models/python2PackageMappers.ts | 3 + .../lib/models/runbookOperationsMappers.ts | 3 + .../lib/models/scheduleOperationsMappers.ts | 3 + .../softwareUpdateConfigurationsMappers.ts | 3 + .../models/sourceControlOperationsMappers.ts | 3 + .../lib/models/variableOperationsMappers.ts | 3 + .../lib/models/watcherOperationsMappers.ts | 3 + .../lib/models/webhookOperationsMappers.ts | 3 + packages/@azure/arm-automation/package.json | 25 +- .../@azure/arm-automation/tsconfig.esm.json | 8 + packages/@azure/arm-automation/tsconfig.json | 7 +- .../@azure/arm-automation/webpack.config.js | 30 + 27 files changed, 799 insertions(+), 5613 deletions(-) create mode 100644 packages/@azure/arm-automation/tsconfig.esm.json create mode 100644 packages/@azure/arm-automation/webpack.config.js diff --git a/packages/@azure/arm-automation/.npmignore b/packages/@azure/arm-automation/.npmignore index 3b46bc6202d8..a07a455ac10c 100644 --- a/packages/@azure/arm-automation/.npmignore +++ b/packages/@azure/arm-automation/.npmignore @@ -1,35 +1,35 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config +#git +.git +.gitignore +#gulp +gulpfile.js +#documentation +doc/ +docs/ +#dependencies +node_modules/ +#samples +sample/ +samples/ +#tests +test/ +tests/ +coverage/ +#tools and scripts +tools/ +scripts/ +#IDE settings +*.sln +.vscode/ +.idea +.editorconfig +.ntvs_analysis.* +#build tools +.travis.yml +.jenkins.yml +.codeclimate.yml +appveyor.yml +# Nuget packages # +.nuget/ +packages/ +packages.config diff --git a/packages/@azure/arm-automation/LICENSE.txt b/packages/@azure/arm-automation/LICENSE.txt index a70e8cf66038..5431ba98b936 100644 --- a/packages/@azure/arm-automation/LICENSE.txt +++ b/packages/@azure/arm-automation/LICENSE.txt @@ -1,21 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2018 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 -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/arm-automation/README.md b/packages/@azure/arm-automation/README.md index a609260a8a2f..85890d4ef5a8 100644 --- a/packages/@azure/arm-automation/README.md +++ b/packages/@azure/arm-automation/README.md @@ -1,81 +1,71 @@ -# Azure AutomationClient SDK for JavaScript -This package contains an isomorphic SDK for AutomationClient. - -## Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript - -## How to Install -``` -npm install @azure/arm-automation -``` - - -## How to use - -### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. - -```ts -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; -import { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AutomationClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const automationAccountName = "testautomationAccountName"; - client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - -- index.html -```html - - - - @azure/arm-automation sample - - - - - - - - - -``` - -# Related projects - - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +# Azure AutomationClient SDK for JavaScript +This package contains an isomorphic SDK for AutomationClient. + +## Currently supported environments +- Node.js version 6.x.x or higher +- Browser JavaScript + +## How to Install +``` +npm install @azure/arm-automation +``` + + +## How to use + +### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. + +```ts +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; +import { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new AutomationClient(creds, subscriptionId); + const resourceGroupName = "testresourceGroupName"; + const automationAccountName = "testautomationAccountName"; + client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. + +- index.html +```html + + + + @azure/arm-automation sample + + + + + + + + +``` + +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts index 4ebb76af1aa3..74ced4b10476 100644 --- a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts index 96ad7f8512e9..b7e043c205fd 100644 --- a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts @@ -39,6 +39,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts index a9e217fe67b6..90a007777c4a 100644 --- a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts @@ -39,6 +39,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts index 5936d8075a04..b2aa84633490 100644 --- a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts @@ -40,6 +40,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts index 3aeb2676079f..f64115f232e8 100644 --- a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts index 15b48d513e03..6d4a8eeeeb8d 100644 --- a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts @@ -42,6 +42,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts index 848795bf5b58..ba617cab6827 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts @@ -40,6 +40,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts index a78ed7f0a9a1..f542fea8a9a3 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index 2954ef0c9887..a078a237ecd1 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -36,46 +36,6 @@ export interface Sku { capacity?: number; } -/** - * @interface - * An interface representing AutomationAccountProperties. - * Definition of the account property. - * - */ -export interface AutomationAccountProperties { - /** - * @member {Sku} [sku] Gets or sets the SKU of account. - */ - sku?: Sku; - /** - * @member {string} [lastModifiedBy] Gets or sets the last modified by. - */ - lastModifiedBy?: string; - /** - * @member {AutomationAccountState} [state] 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.** - */ - readonly state?: AutomationAccountState; - /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Resource. @@ -167,19 +127,6 @@ export interface AutomationAccount extends TrackedResource { etag?: string; } -/** - * @interface - * An interface representing AutomationAccountCreateOrUpdateProperties. - * The parameters supplied to the create or update account properties. - * - */ -export interface AutomationAccountCreateOrUpdateProperties { - /** - * @member {Sku} [sku] Gets or sets account SKU. - */ - sku?: Sku; -} - /** * @interface * An interface representing AutomationAccountCreateOrUpdateParameters. @@ -379,19 +326,6 @@ export interface KeyListResult { keys?: Key[]; } -/** - * @interface - * An interface representing AutomationAccountUpdateProperties. - * The parameters supplied to the update account properties. - * - */ -export interface AutomationAccountUpdateProperties { - /** - * @member {Sku} [sku] Gets or sets account SKU. - */ - sku?: Sku; -} - /** * @interface * An interface representing AutomationAccountUpdateParameters. @@ -446,35 +380,6 @@ export interface ErrorResponse { message?: string; } -/** - * @interface - * An interface representing CertificateCreateOrUpdateProperties. - * The properties of the create certificate operation. - * - */ -export interface CertificateCreateOrUpdateProperties { - /** - * @member {string} base64Value Gets or sets the base64 encoded value of the - * certificate. - */ - base64Value: string; - /** - * @member {string} [description] Gets or sets the description of the - * certificate. - */ - description?: string; - /** - * @member {string} [thumbprint] Gets or sets the thumbprint of the - * certificate. - */ - thumbprint?: string; - /** - * @member {boolean} [isExportable] Gets or sets the is exportable flag of - * the certificate. - */ - isExportable?: boolean; -} - /** * @interface * An interface representing CertificateCreateOrUpdateParameters. @@ -509,50 +414,6 @@ export interface CertificateCreateOrUpdateParameters { isExportable?: boolean; } -/** - * @interface - * An interface representing CertificateProperties. - * Properties of the certificate. - * - */ -export interface CertificateProperties { - /** - * @member {string} [thumbprint] Gets the thumbprint of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly thumbprint?: string; - /** - * @member {Date} [expiryTime] Gets the expiry time of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly expiryTime?: Date; - /** - * @member {boolean} [isExportable] Gets the is exportable flag of the - * certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly isExportable?: boolean; - /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Certificate. @@ -598,20 +459,6 @@ export interface Certificate extends ProxyResource { description?: string; } -/** - * @interface - * An interface representing CertificateUpdateProperties. - * The properties of the update certificate operation - * - */ -export interface CertificateUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * certificate. - */ - description?: string; -} - /** * @interface * An interface representing CertificateUpdateParameters. @@ -643,30 +490,6 @@ export interface ConnectionTypeAssociationProperty { name?: string; } -/** - * @interface - * An interface representing ConnectionCreateOrUpdateProperties. - * The properties of the create connection properties - * - */ -export interface ConnectionCreateOrUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * connection. - */ - description?: string; - /** - * @member {ConnectionTypeAssociationProperty} connectionType Gets or sets - * the connectionType of the connection. - */ - connectionType: ConnectionTypeAssociationProperty; - /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * or sets the field definition properties of the connection. - */ - fieldDefinitionValues?: { [propertyName: string]: string }; -} - /** * @interface * An interface representing ConnectionCreateOrUpdateParameters. @@ -695,43 +518,6 @@ export interface ConnectionCreateOrUpdateParameters { fieldDefinitionValues?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing ConnectionProperties. - * Definition of the connection properties. - * - */ -export interface ConnectionProperties { - /** - * @member {ConnectionTypeAssociationProperty} [connectionType] Gets or sets - * the connectionType of the connection. - */ - connectionType?: ConnectionTypeAssociationProperty; - /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * the field definition values of the connection. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly fieldDefinitionValues?: { [propertyName: string]: string }; - /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Connection. @@ -770,25 +556,6 @@ export interface Connection extends ProxyResource { description?: string; } -/** - * @interface - * An interface representing ConnectionUpdateProperties. - * The properties of the update connection operation. - * - */ -export interface ConnectionUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * connection. - */ - description?: string; - /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * or sets the field definition values of the connection. - */ - fieldDefinitionValues?: { [propertyName: string]: string }; -} - /** * @interface * An interface representing ConnectionUpdateParameters. @@ -836,41 +603,6 @@ export interface FieldDefinition { type: string; } -/** - * @interface - * An interface representing ConnectionTypeProperties. - * Properties of the connection type. - * - */ -export interface ConnectionTypeProperties { - /** - * @member {boolean} [isGlobal] Gets or sets a Boolean value to indicate if - * the connection type is global. - */ - isGlobal?: boolean; - /** - * @member {{ [propertyName: string]: FieldDefinition }} [fieldDefinitions] - * Gets the field definitions of the connection type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly fieldDefinitions?: { [propertyName: string]: FieldDefinition }; - /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing ConnectionType. @@ -924,25 +656,6 @@ export interface ConnectionType { description?: string; } -/** - * @interface - * An interface representing ConnectionTypeCreateOrUpdateProperties. - * The properties of the create connection type. - * - */ -export interface ConnectionTypeCreateOrUpdateProperties { - /** - * @member {boolean} [isGlobal] Gets or sets a Boolean value to indicate if - * the connection type is global. - */ - isGlobal?: boolean; - /** - * @member {{ [propertyName: string]: FieldDefinition }} fieldDefinitions - * Gets or sets the field definitions of the connection type. - */ - fieldDefinitions: { [propertyName: string]: FieldDefinition }; -} - /** * @interface * An interface representing ConnectionTypeCreateOrUpdateParameters. @@ -968,30 +681,8 @@ export interface ConnectionTypeCreateOrUpdateParameters { /** * @interface - * An interface representing CredentialCreateOrUpdateProperties. - * The properties of the create cerdential operation. - * - */ -export interface CredentialCreateOrUpdateProperties { - /** - * @member {string} userName Gets or sets the user name of the credential. - */ - userName: string; - /** - * @member {string} password Gets or sets the password of the credential. - */ - password: string; - /** - * @member {string} [description] Gets or sets the description of the - * credential. - */ - description?: string; -} - -/** - * @interface - * An interface representing CredentialCreateOrUpdateParameters. - * The parameters supplied to the create or update credential operation. + * An interface representing CredentialCreateOrUpdateParameters. + * The parameters supplied to the create or update credential operation. * */ export interface CredentialCreateOrUpdateParameters { @@ -1014,37 +705,6 @@ export interface CredentialCreateOrUpdateParameters { description?: string; } -/** - * @interface - * An interface representing CredentialProperties. - * Definition of the credential properties - * - */ -export interface CredentialProperties { - /** - * @member {string} [userName] Gets the user name of the credential. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly userName?: string; - /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Credential. @@ -1077,28 +737,6 @@ export interface Credential extends ProxyResource { description?: string; } -/** - * @interface - * An interface representing CredentialUpdateProperties. - * The properties of the Update credential - * - */ -export interface CredentialUpdateProperties { - /** - * @member {string} [userName] Gets or sets the user name of the credential. - */ - userName?: string; - /** - * @member {string} [password] Gets or sets the password of the credential. - */ - password?: string; - /** - * @member {string} [description] Gets or sets the description of the - * credential. - */ - description?: string; -} - /** * @interface * An interface representing CredentialUpdateParameters. @@ -1197,37 +835,6 @@ export interface DscConfigurationParameter { defaultValue?: string; } -/** - * @interface - * An interface representing DscConfigurationCreateOrUpdateProperties. - * The properties to create or update configuration. - * - */ -export interface DscConfigurationCreateOrUpdateProperties { - /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. - */ - logVerbose?: boolean; - /** - * @member {boolean} [logProgress] Gets or sets progress log option. - */ - logProgress?: boolean; - /** - * @member {ContentSource} source Gets or sets the source. - */ - source: ContentSource; - /** - * @member {{ [propertyName: string]: DscConfigurationParameter }} - * [parameters] Gets or sets the configuration parameters. - */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; - /** - * @member {string} [description] Gets or sets the description of the - * configuration. - */ - description?: string; -} - /** * @interface * An interface representing DscConfigurationCreateOrUpdateParameters. @@ -1272,61 +879,6 @@ export interface DscConfigurationCreateOrUpdateParameters { tags?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing DscConfigurationProperties. - * Definition of the configuration property type. - * - */ -export interface DscConfigurationProperties { - /** - * @member {DscConfigurationProvisioningState} [provisioningState] Gets or - * sets the provisioning state of the configuration. Possible values include: - * 'Succeeded' - */ - provisioningState?: DscConfigurationProvisioningState; - /** - * @member {number} [jobCount] Gets or sets the job count of the - * configuration. - */ - jobCount?: number; - /** - * @member {{ [propertyName: string]: DscConfigurationParameter }} - * [parameters] Gets or sets the configuration parameters. - */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; - /** - * @member {ContentSource} [source] Gets or sets the source. - */ - source?: ContentSource; - /** - * @member {DscConfigurationState} [state] Gets or sets the state of the - * configuration. Possible values include: 'New', 'Edit', 'Published' - */ - state?: DscConfigurationState; - /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. - */ - logVerbose?: boolean; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {number} [nodeConfigurationCount] Gets the number of compiled node - * configurations. - */ - nodeConfigurationCount?: number; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing DscConfiguration. @@ -1538,38 +1090,6 @@ export interface RunbookAssociationProperty { name?: string; } -/** - * @interface - * An interface representing JobScheduleProperties. - * Definition of job schedule parameters. - * - */ -export interface JobScheduleProperties { - /** - * @member {string} [jobScheduleId] Gets or sets the id of job schedule. - */ - jobScheduleId?: string; - /** - * @member {ScheduleAssociationProperty} [schedule] Gets or sets the - * schedule. - */ - schedule?: ScheduleAssociationProperty; - /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. - */ - runbook?: RunbookAssociationProperty; - /** - * @member {string} [runOn] Gets or sets the hybrid worker group that the - * scheduled job should run on. - */ - runOn?: string; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job schedule. - */ - parameters?: { [propertyName: string]: string }; -} - /** * @interface * An interface representing JobSchedule. @@ -1620,33 +1140,6 @@ export interface JobSchedule { parameters?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing JobScheduleCreateProperties. - * The parameters supplied to the create job schedule operation. - * - */ -export interface JobScheduleCreateProperties { - /** - * @member {ScheduleAssociationProperty} schedule Gets or sets the schedule. - */ - schedule: ScheduleAssociationProperty; - /** - * @member {RunbookAssociationProperty} runbook Gets or sets the runbook. - */ - runbook: RunbookAssociationProperty; - /** - * @member {string} [runOn] Gets or sets the hybrid worker group that the - * scheduled job should run on. - */ - runOn?: string; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets a - * list of job properties. - */ - parameters?: { [propertyName: string]: string }; -} - /** * @interface * An interface representing JobScheduleCreateParameters. @@ -1806,41 +1299,6 @@ export interface ActivityOutputType { type?: string; } -/** - * @interface - * An interface representing ActivityProperties. - * Properties of the activity. - * - */ -export interface ActivityProperties { - /** - * @member {string} [definition] Gets or sets the user name of the activity. - */ - definition?: string; - /** - * @member {ActivityParameterSet[]} [parameterSets] Gets or sets the - * parameter sets of the activity. - */ - parameterSets?: ActivityParameterSet[]; - /** - * @member {ActivityOutputType[]} [outputTypes] Gets or sets the output types - * of the activity. - */ - outputTypes?: ActivityOutputType[]; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Activity. @@ -1926,11 +1384,12 @@ export interface ContentLink { /** * @interface - * An interface representing ModuleProperties. - * Definition of the module property type. + * An interface representing Module. + * Definition of the module type. * + * @extends TrackedResource */ -export interface ModuleProperties { +export interface Module extends TrackedResource { /** * @member {boolean} [isGlobal] Gets or sets the isGlobal flag of the module. */ @@ -1986,103 +1445,25 @@ export interface ModuleProperties { * composite or not. */ isComposite?: boolean; + /** + * @member {string} [etag] Gets or sets the etag of the resource. + */ + etag?: string; } /** * @interface - * An interface representing Module. - * Definition of the module type. + * An interface representing ModuleCreateOrUpdateParameters. + * The parameters supplied to the create or update module operation. * - * @extends TrackedResource */ -export interface Module extends TrackedResource { +export interface ModuleCreateOrUpdateParameters { /** - * @member {boolean} [isGlobal] Gets or sets the isGlobal flag of the module. + * @member {ContentLink} contentLink Gets or sets the module content link. */ - isGlobal?: boolean; + contentLink: ContentLink; /** - * @member {string} [version] Gets or sets the version of the module. - */ - version?: string; - /** - * @member {number} [sizeInBytes] Gets or sets the size in bytes of the - * module. - */ - sizeInBytes?: number; - /** - * @member {number} [activityCount] Gets or sets the activity count of the - * module. - */ - activityCount?: number; - /** - * @member {ModuleProvisioningState} [provisioningState] 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' - */ - provisioningState?: ModuleProvisioningState; - /** - * @member {ContentLink} [contentLink] Gets or sets the contentLink of the - * module. - */ - contentLink?: ContentLink; - /** - * @member {ModuleErrorInfo} [error] Gets or sets the error info of the - * module. - */ - error?: ModuleErrorInfo; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; - /** - * @member {boolean} [isComposite] Gets or sets type of module, if its - * composite or not. - */ - isComposite?: boolean; - /** - * @member {string} [etag] Gets or sets the etag of the resource. - */ - etag?: string; -} - -/** - * @interface - * An interface representing ModuleCreateOrUpdateProperties. - * The parameters supplied to the create or update module properties. - * - */ -export interface ModuleCreateOrUpdateProperties { - /** - * @member {ContentLink} contentLink Gets or sets the module content link. - */ - contentLink: ContentLink; -} - -/** - * @interface - * An interface representing ModuleCreateOrUpdateParameters. - * The parameters supplied to the create or update module operation. - * - */ -export interface ModuleCreateOrUpdateParameters { - /** - * @member {ContentLink} contentLink Gets or sets the module content link. - */ - contentLink: ContentLink; - /** - * @member {string} [name] Gets or sets name of the resource. + * @member {string} [name] Gets or sets name of the resource. */ name?: string; /** @@ -2096,19 +1477,6 @@ export interface ModuleCreateOrUpdateParameters { tags?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing ModuleUpdateProperties. - * The parameters supplied to the update properties. - * - */ -export interface ModuleUpdateProperties { - /** - * @member {ContentLink} [contentLink] Gets or sets the module content link. - */ - contentLink?: ContentLink; -} - /** * @interface * An interface representing ModuleUpdateParameters. @@ -2197,46 +1565,6 @@ export interface AdvancedSchedule { monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; } -/** - * @interface - * An interface representing ScheduleCreateOrUpdateProperties. - * The parameters supplied to the create or update schedule operation. - * - */ -export interface ScheduleCreateOrUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * schedule. - */ - description?: string; - /** - * @member {Date} startTime Gets or sets the start time of the schedule. - */ - startTime: Date; - /** - * @member {Date} [expiryTime] Gets or sets the end time of the schedule. - */ - expiryTime?: Date; - /** - * @member {any} [interval] Gets or sets the interval of the schedule. - */ - interval?: any; - /** - * @member {ScheduleFrequency} frequency Possible values include: 'OneTime', - * 'Day', 'Hour', 'Week', 'Month' - */ - frequency: ScheduleFrequency; - /** - * @member {string} [timeZone] Gets or sets the time zone of the schedule. - */ - timeZone?: string; - /** - * @member {AdvancedSchedule} [advancedSchedule] Gets or sets the - * AdvancedSchedule. - */ - advancedSchedule?: AdvancedSchedule; -} - /** * @interface * An interface representing ScheduleCreateOrUpdateParameters. @@ -2430,25 +1758,6 @@ export interface Schedule extends ProxyResource { description?: string; } -/** - * @interface - * An interface representing ScheduleUpdateProperties. - * The parameters supplied to the update schedule operation. - * - */ -export interface ScheduleUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * schedule. - */ - description?: string; - /** - * @member {boolean} [isEnabled] Gets or sets a value indicating whether this - * schedule is enabled. - */ - isEnabled?: boolean; -} - /** * @interface * An interface representing ScheduleUpdateParameters. @@ -2472,29 +1781,6 @@ export interface ScheduleUpdateParameters { isEnabled?: boolean; } -/** - * @interface - * An interface representing VariableCreateOrUpdateProperties. - * The properties of the create variable operation. - * - */ -export interface VariableCreateOrUpdateProperties { - /** - * @member {string} [value] Gets or sets the value of the variable. - */ - value?: string; - /** - * @member {string} [description] Gets or sets the description of the - * variable. - */ - description?: string; - /** - * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the - * variable. - */ - isEncrypted?: boolean; -} - /** * @interface * An interface representing VariableCreateOrUpdateParameters. @@ -2522,36 +1808,6 @@ export interface VariableCreateOrUpdateParameters { isEncrypted?: boolean; } -/** - * @interface - * An interface representing VariableProperties. - * Definition of the varible properties - * - */ -export interface VariableProperties { - /** - * @member {string} [value] Gets or sets the value of the variable. - */ - value?: string; - /** - * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the - * variable. - */ - isEncrypted?: boolean; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Variable. @@ -2583,24 +1839,6 @@ export interface Variable extends ProxyResource { description?: string; } -/** - * @interface - * An interface representing VariableUpdateProperties. - * The properties of the update variable - * - */ -export interface VariableUpdateProperties { - /** - * @member {string} [value] Gets or sets the value of the variable. - */ - value?: string; - /** - * @member {string} [description] Gets or sets the description of the - * variable. - */ - description?: string; -} - /** * @interface * An interface representing VariableUpdateParameters. @@ -2625,11 +1863,12 @@ export interface VariableUpdateParameters { /** * @interface - * An interface representing WebhookProperties. - * Definition of the webhook properties + * An interface representing Webhook. + * Definition of the webhook type. * + * @extends ProxyResource */ -export interface WebhookProperties { +export interface Webhook extends ProxyResource { /** * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag * of the webhook. Default value: false . @@ -2684,171 +1923,46 @@ export interface WebhookProperties { /** * @interface - * An interface representing Webhook. - * Definition of the webhook type. + * An interface representing WebhookUpdateParameters. + * The parameters supplied to the update webhook operation. * - * @extends ProxyResource */ -export interface Webhook extends ProxyResource { - /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of the webhook. Default value: false . - */ - isEnabled?: boolean; +export interface WebhookUpdateParameters { /** - * @member {string} [uri] Gets or sets the webhook uri. + * @member {string} [name] Gets or sets the name of the webhook. */ - uri?: string; + name?: string; /** - * @member {Date} [expiryTime] Gets or sets the expiry time. + * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag + * of webhook. */ - expiryTime?: Date; + isEnabled?: boolean; /** - * @member {Date} [lastInvokedTime] Gets or sets the last invoked time. + * @member {string} [runOn] Gets or sets the name of the hybrid worker group + * the webhook job will run on. */ - lastInvokedTime?: Date; + runOn?: string; /** * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job that is created when the webhook calls the runbook - * it is associated with. + * parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook - * the webhook is associated with. + * @member {string} [description] Gets or sets the description of the + * webhook. */ - runbook?: RunbookAssociationProperty; + description?: string; +} + +/** + * @interface + * An interface representing WebhookCreateOrUpdateParameters. + * The parameters supplied to the create or update webhook operation. + * + */ +export interface WebhookCreateOrUpdateParameters { /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. - */ - runOn?: string; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [lastModifiedBy] Details of the user who last modified - * the Webhook - */ - lastModifiedBy?: string; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - -/** - * @interface - * An interface representing WebhookUpdateProperties. - * The properties of the update webhook. - * - */ -export interface WebhookUpdateProperties { - /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of webhook. - */ - isEnabled?: boolean; - /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. - */ - runOn?: string; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {string} [description] Gets or sets the description of the - * webhook. - */ - description?: string; -} - -/** - * @interface - * An interface representing WebhookUpdateParameters. - * The parameters supplied to the update webhook operation. - * - */ -export interface WebhookUpdateParameters { - /** - * @member {string} [name] Gets or sets the name of the webhook. - */ - name?: string; - /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of webhook. - */ - isEnabled?: boolean; - /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. - */ - runOn?: string; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {string} [description] Gets or sets the description of the - * webhook. - */ - description?: string; -} - -/** - * @interface - * An interface representing WebhookCreateOrUpdateProperties. - * The properties of the create webhook operation. - * - */ -export interface WebhookCreateOrUpdateProperties { - /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of webhook. - */ - isEnabled?: boolean; - /** - * @member {string} [uri] Gets or sets the uri. - */ - uri?: string; - /** - * @member {Date} [expiryTime] Gets or sets the expiry time. - */ - expiryTime?: Date; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. - */ - runbook?: RunbookAssociationProperty; - /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. - */ - runOn?: string; -} - -/** - * @interface - * An interface representing WebhookCreateOrUpdateParameters. - * The parameters supplied to the create or update webhook operation. - * - */ -export interface WebhookCreateOrUpdateParameters { - /** - * @member {string} name Gets or sets the name of the webhook. + * @member {string} name Gets or sets the name of the webhook. */ name: string; /** @@ -2880,64 +1994,6 @@ export interface WebhookCreateOrUpdateParameters { runOn?: string; } -/** - * @interface - * An interface representing WatcherProperties. - * Definition of the watcher properties - * - */ -export interface WatcherProperties { - /** - * @member {number} [executionFrequencyInSeconds] Gets or sets the frequency - * at which the watcher is invoked. - */ - executionFrequencyInSeconds?: number; - /** - * @member {string} [scriptName] Gets or sets the name of the script the - * watcher is attached to, i.e. the name of an existing runbook. - */ - scriptName?: string; - /** - * @member {{ [propertyName: string]: string }} [scriptParameters] Gets or - * sets the parameters of the script. - */ - scriptParameters?: { [propertyName: string]: string }; - /** - * @member {string} [scriptRunOn] Gets or sets the name of the hybrid worker - * group the watcher will run on. - */ - scriptRunOn?: string; - /** - * @member {string} [status] Gets the current status of the watcher. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly status?: string; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] 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; - /** - * @member {string} [lastModifiedBy] 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; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Watcher. @@ -3001,20 +2057,6 @@ export interface Watcher extends TrackedResource { etag?: string; } -/** - * @interface - * An interface representing WatcherUpdateProperties. - * The properties of the update watcher operation. - * - */ -export interface WatcherUpdateProperties { - /** - * @member {number} [executionFrequencyInSeconds] Gets or sets the frequency - * at which the watcher is invoked. - */ - executionFrequencyInSeconds?: number; -} - /** * @interface * An interface representing WatcherUpdateParameters. @@ -3093,6 +2135,60 @@ export interface LinuxProperties { rebootSetting?: string; } +/** + * @interface + * An interface representing TagSettingsProperties. + * Tag filter information for the VM. + * + */ +export interface TagSettingsProperties { + /** + * @member {{ [propertyName: string]: string[] }} [tags] Dictionary of tags + * with its list of values. + */ + tags?: { [propertyName: string]: string[] }; + /** + * @member {TagOperators} [filterOperator] Filter VMs by Any or All specified + * tags. Possible values include: 'All', 'Any' + */ + filterOperator?: TagOperators; +} + +/** + * @interface + * An interface representing AzureQueryProperties. + * Azure query for the update configuration. + * + */ +export interface AzureQueryProperties { + /** + * @member {string[]} [scope] List of Subscription or Resource Group ARM Ids. + */ + scope?: string[]; + /** + * @member {string[]} [location] List of locations to scope the query to. + */ + location?: string[]; + /** + * @member {TagSettingsProperties} [tagSettings] Tag settings for the VM. + */ + tagSettings?: TagSettingsProperties; +} + +/** + * @interface + * An interface representing TargetProperties. + * Group specific to the update configuration. + * + */ +export interface TargetProperties { + /** + * @member {AzureQueryProperties[]} [azureQueries] List of Azure queries in + * the software update configuration. + */ + azureQueries?: AzureQueryProperties[]; +} + /** * @interface * An interface representing UpdateConfiguration. @@ -3130,64 +2226,11 @@ export interface UpdateConfiguration { * machines targeted by the software update configuration. */ nonAzureComputerNames?: string[]; -} - -/** - * @interface - * An interface representing SoftwareUpdateConfigurationProperties. - * Software update configuration properties. - * - */ -export interface SoftwareUpdateConfigurationProperties { - /** - * @member {UpdateConfiguration} updateConfiguration update specific - * properties for the Software update configuration - */ - updateConfiguration: UpdateConfiguration; - /** - * @member {ScheduleProperties} scheduleInfo Schedule information for the - * Software update configuration - */ - scheduleInfo: ScheduleProperties; - /** - * @member {string} [provisioningState] 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; - /** - * @member {ErrorResponse} [error] detailes of provisioning error - */ - error?: ErrorResponse; - /** - * @member {Date} [creationTime] Creation time of theresource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {string} [createdBy] 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; - /** - * @member {Date} [lastModifiedTime] 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; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * @member {TargetProperties} [targets] Group targets for the software update + * configuration. */ - readonly lastModifiedBy?: string; + targets?: TargetProperties; } /** @@ -3288,55 +2331,6 @@ export interface CollectionItemUpdateConfiguration { duration?: string; } -/** - * @interface - * An interface representing SoftwareUpdateConfigurationCollectionItemProperties. - * Software update configuration collection item properties. - * - */ -export interface SoftwareUpdateConfigurationCollectionItemProperties { - /** - * @member {CollectionItemUpdateConfiguration} [updateConfiguration] Update - * specific properties of the software update configuration. - */ - updateConfiguration?: CollectionItemUpdateConfiguration; - /** - * @member {ScheduleFrequency} [frequency] execution frequency of the - * schedule associated with the software update configuration. Possible - * values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' - */ - frequency?: ScheduleFrequency; - /** - * @member {Date} [startTime] the start time of the update. - */ - startTime?: Date; - /** - * @member {Date} [creationTime] 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 creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] 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; - /** - * @member {string} [provisioningState] 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; - /** - * @member {Date} [nextRun] ext run time of the update. - */ - nextRun?: Date; -} - /** * @interface * An interface representing SoftwareUpdateConfigurationCollectionItem. @@ -3402,119 +2396,30 @@ export interface SoftwareUpdateConfigurationCollectionItem { * @interface * An interface representing SoftwareUpdateConfigurationListResult. * result of listing all software update configuration - * - */ -export interface SoftwareUpdateConfigurationListResult { - /** - * @member {SoftwareUpdateConfigurationCollectionItem[]} [value] outer object - * returned when listing all software update configurations - */ - value?: SoftwareUpdateConfigurationCollectionItem[]; -} - -/** - * @interface - * An interface representing UpdateConfigurationNavigation. - * Software update configuration Run Navigation model. - * - */ -export interface UpdateConfigurationNavigation { - /** - * @member {string} [name] 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.** - */ - readonly name?: string; -} - -/** - * @interface - * An interface representing SoftwareUpdateConfigurationRunProperties. - * Software update configuration properties. - * - */ -export interface SoftwareUpdateConfigurationRunProperties { - /** - * @member {UpdateConfigurationNavigation} [softwareUpdateConfiguration] - * software update configuration triggered this run - */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; - /** - * @member {string} [status] Status of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly status?: string; - /** - * @member {string} [configuredDuration] configured duration for the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly configuredDuration?: string; - /** - * @member {string} [osType] 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.** - */ - readonly osType?: string; - /** - * @member {Date} [startTime] Etart time of the software update configuration - * run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] End time of the software update configuration - * run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {number} [computerCount] Number of computers in the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly computerCount?: number; - /** - * @member {number} [failedCount] Number of computers with failed status. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly failedCount?: number; - /** - * @member {Date} [creationTime] Creation time of theresource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {string} [createdBy] 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; + * + */ +export interface SoftwareUpdateConfigurationListResult { /** - * @member {Date} [lastModifiedTime] 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.** + * @member {SoftwareUpdateConfigurationCollectionItem[]} [value] outer object + * returned when listing all software update configurations */ - readonly lastModifiedTime?: Date; + value?: SoftwareUpdateConfigurationCollectionItem[]; +} + +/** + * @interface + * An interface representing UpdateConfigurationNavigation. + * Software update configuration Run Navigation model. + * + */ +export interface UpdateConfigurationNavigation { /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only - * appears in the response. + * @member {string} [name] 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.** */ - readonly lastModifiedBy?: string; + readonly name?: string; } /** @@ -3652,114 +2557,6 @@ export interface JobNavigation { readonly id?: string; } -/** - * @interface - * An interface representing UpdateConfigurationMachineRunProperties. - * Software update configuration machine run properties. - * - */ -export interface UpdateConfigurationMachineRunProperties { - /** - * @member {string} [targetComputer] name of the updated computer - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly targetComputer?: string; - /** - * @member {string} [targetComputerType] type of the updated computer. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly targetComputerType?: string; - /** - * @member {UpdateConfigurationNavigation} [softwareUpdateConfiguration] - * software update configuration triggered this run - */ - softwareUpdateConfiguration?: UpdateConfigurationNavigation; - /** - * @member {string} [status] Status of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly status?: string; - /** - * @member {string} [osType] 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.** - */ - readonly osType?: string; - /** - * @member {string} [correlationId] correlation id of the software update - * configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly correlationId?: string; - /** - * @member {string} [sourceComputerId] 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.** - */ - readonly sourceComputerId?: string; - /** - * @member {Date} [startTime] Start time of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] End time of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {string} [configuredDuration] configured duration for the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly configuredDuration?: string; - /** - * @member {JobNavigation} [job] Job associated with the software update - * configuration machine run - */ - job?: JobNavigation; - /** - * @member {Date} [creationTime] Creation time of theresource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {string} [createdBy] 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; - /** - * @member {Date} [lastModifiedTime] 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; - /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly lastModifiedBy?: string; -} - /** * @interface * An interface representing SoftwareUpdateConfigurationMachineRun. @@ -3900,55 +2697,6 @@ export interface SoftwareUpdateConfigurationMachineRunListResult { nextLink?: string; } -/** - * @interface - * An interface representing SourceControlProperties. - * Definition of the source control properties - * - */ -export interface SourceControlProperties { - /** - * @member {string} [repoUrl] The repo url of the source control. - */ - repoUrl?: string; - /** - * @member {string} [branch] The repo branch of the source control. Include - * branch as empty string for VsoTfvc. - */ - branch?: string; - /** - * @member {string} [folderPath] The folder path of the source control. - */ - folderPath?: string; - /** - * @member {boolean} [autoSync] The auto sync of the source control. Default - * is false. - */ - autoSync?: boolean; - /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. - */ - publishRunbook?: boolean; - /** - * @member {SourceType} [sourceType] The source type. Must be one of VsoGit, - * VsoTfvc, GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' - */ - sourceType?: SourceType; - /** - * @member {string} [description] The description. - */ - description?: string; - /** - * @member {Date} [creationTime] The creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] The last modified time. - */ - lastModifiedTime?: Date; -} - /** * @interface * An interface representing SourceControl. @@ -4020,43 +2768,6 @@ export interface SourceControlSecurityTokenProperties { tokenType?: TokenType; } -/** - * @interface - * An interface representing SourceControlUpdateProperties. - * The properties of the update source control - * - */ -export interface SourceControlUpdateProperties { - /** - * @member {string} [branch] The repo branch of the source control. - */ - branch?: string; - /** - * @member {string} [folderPath] The folder path of the source control. Path - * must be relative. - */ - folderPath?: string; - /** - * @member {boolean} [autoSync] The auto sync of the source control. Default - * is false. - */ - autoSync?: boolean; - /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. - */ - publishRunbook?: boolean; - /** - * @member {SourceControlSecurityTokenProperties} [securityToken] The - * authorization token for the repo of the source control. - */ - securityToken?: SourceControlSecurityTokenProperties; - /** - * @member {string} [description] The user description of the source control. - */ - description?: string; -} - /** * @interface * An interface representing SourceControlUpdateParameters. @@ -4082,55 +2793,7 @@ export interface SourceControlUpdateParameters { * @member {boolean} [publishRunbook] The auto publish of the source control. * Default is true. */ - publishRunbook?: boolean; - /** - * @member {SourceControlSecurityTokenProperties} [securityToken] The - * authorization token for the repo of the source control. - */ - securityToken?: SourceControlSecurityTokenProperties; - /** - * @member {string} [description] The user description of the source control. - */ - description?: string; -} - -/** - * @interface - * An interface representing SourceControlCreateOrUpdateProperties. - * The properties of the create source control operation. - * - */ -export interface SourceControlCreateOrUpdateProperties { - /** - * @member {string} [repoUrl] The repo url of the source control. - */ - repoUrl?: string; - /** - * @member {string} [branch] The repo branch of the source control. Include - * branch as empty string for VsoTfvc. - */ - branch?: string; - /** - * @member {string} [folderPath] The folder path of the source control. Path - * must be relative. - */ - folderPath?: string; - /** - * @member {boolean} [autoSync] The auto async of the source control. Default - * is false. - */ - autoSync?: boolean; - /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. - */ - publishRunbook?: boolean; - /** - * @member {SourceType} [sourceType] The source type. Must be one of VsoGit, - * VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', - * 'VsoTfvc', 'GitHub' - */ - sourceType?: SourceType; + publishRunbook?: boolean; /** * @member {SourceControlSecurityTokenProperties} [securityToken] The * authorization token for the repo of the source control. @@ -4190,47 +2853,6 @@ export interface SourceControlCreateOrUpdateParameters { description?: string; } -/** - * @interface - * An interface representing SourceControlSyncJobProperties. - * Definition of source control sync job properties. - * - */ -export interface SourceControlSyncJobProperties { - /** - * @member {string} [sourceControlSyncJobId] The source control sync job id. - */ - sourceControlSyncJobId?: string; - /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the job. Possible values include: 'Completed', 'Failed', 'Running' - */ - provisioningState?: ProvisioningState; - /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' - */ - syncType?: SyncType; -} - /** * @interface * An interface representing SourceControlSyncJob. @@ -4290,20 +2912,6 @@ export interface SourceControlSyncJob { syncType?: SyncType; } -/** - * @interface - * An interface representing SourceControlSyncJobCreateProperties. - * Definition of create source control sync job properties. - * - */ -export interface SourceControlSyncJobCreateProperties { - /** - * @member {string} commitId The commit id of the source control sync job. If - * not syncing to a commitId, enter an empty string. - */ - commitId: string; -} - /** * @interface * An interface representing SourceControlSyncJobCreateParameters. @@ -4318,52 +2926,6 @@ export interface SourceControlSyncJobCreateParameters { commitId: string; } -/** - * @interface - * An interface representing SourceControlSyncJobByIdProperties. - * Definition of source control sync job properties. - * - */ -export interface SourceControlSyncJobByIdProperties { - /** - * @member {string} [sourceControlSyncJobId] The source control sync job id. - */ - sourceControlSyncJobId?: string; - /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the job. Possible values include: 'Completed', 'Failed', 'Running' - */ - provisioningState?: ProvisioningState; - /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' - */ - syncType?: SyncType; - /** - * @member {string} [exception] The exceptions that occured while running the - * sync job. - */ - exception?: string; -} - /** * @interface * An interface representing SourceControlSyncJobById. @@ -4414,34 +2976,6 @@ export interface SourceControlSyncJobById { exception?: string; } -/** - * @interface - * An interface representing SourceControlSyncJobStreamProperties. - * Definition of source control sync job stream properties. - * - */ -export interface SourceControlSyncJobStreamProperties { - /** - * @member {string} [sourceControlSyncJobStreamId] The sync job stream id. - */ - sourceControlSyncJobStreamId?: string; - /** - * @member {string} [summary] The summary of the sync job stream. - */ - summary?: string; - /** - * @member {Date} [time] The time of the sync job stream. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly time?: Date; - /** - * @member {StreamType} [streamType] The type of the sync job stream. - * Possible values include: 'Error', 'Output' - */ - streamType?: StreamType; -} - /** * @interface * An interface representing SourceControlSyncJobStream. @@ -4476,43 +3010,6 @@ export interface SourceControlSyncJobStream { streamType?: StreamType; } -/** - * @interface - * An interface representing SourceControlSyncJobStreamByIdProperties. - * Definition of source control sync job stream by id properties. - * - */ -export interface SourceControlSyncJobStreamByIdProperties { - /** - * @member {string} [sourceControlSyncJobStreamId] The sync job stream id. - */ - sourceControlSyncJobStreamId?: string; - /** - * @member {string} [summary] The summary of the sync job stream. - */ - summary?: string; - /** - * @member {Date} [time] The time of the sync job stream. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly time?: Date; - /** - * @member {StreamType} [streamType] The type of the sync job stream. - * Possible values include: 'Error', 'Output' - */ - streamType?: StreamType; - /** - * @member {string} [streamText] The text of the sync job stream. - */ - streamText?: string; - /** - * @member {{ [propertyName: string]: any }} [value] The values of the job - * stream. - */ - value?: { [propertyName: string]: any }; -} - /** * @interface * An interface representing SourceControlSyncJobStreamById. @@ -4556,42 +3053,6 @@ export interface SourceControlSyncJobStreamById { value?: { [propertyName: string]: any }; } -/** - * @interface - * An interface representing JobStreamProperties. - * Definition of the job stream. - * - */ -export interface JobStreamProperties { - /** - * @member {string} [jobStreamId] Gets or sets the id of the job stream. - */ - jobStreamId?: string; - /** - * @member {Date} [time] Gets or sets the creation time of the job. - */ - time?: Date; - /** - * @member {JobStreamType} [streamType] Gets or sets the stream type. - * Possible values include: 'Progress', 'Output', 'Warning', 'Error', - * 'Debug', 'Verbose', 'Any' - */ - streamType?: JobStreamType; - /** - * @member {string} [streamText] Gets or sets the stream text. - */ - streamText?: string; - /** - * @member {string} [summary] Gets or sets the summary. - */ - summary?: string; - /** - * @member {{ [propertyName: string]: any }} [value] Gets or sets the values - * of the job stream. - */ - value?: { [propertyName: string]: any }; -} - /** * @interface * An interface representing JobStream. @@ -4618,93 +3079,18 @@ export interface JobStream { */ streamType?: JobStreamType; /** - * @member {string} [streamText] Gets or sets the stream text. - */ - streamText?: string; - /** - * @member {string} [summary] Gets or sets the summary. - */ - summary?: string; - /** - * @member {{ [propertyName: string]: any }} [value] Gets or sets the values - * of the job stream. - */ - value?: { [propertyName: string]: any }; -} - -/** - * @interface - * An interface representing JobProperties. - * Definition of job properties. - * - */ -export interface JobProperties { - /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. - */ - runbook?: RunbookAssociationProperty; - /** - * @member {string} [startedBy] Gets or sets the job started by. - */ - startedBy?: string; - /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. - */ - runOn?: string; - /** - * @member {string} [jobId] Gets or sets the id of the job. - */ - jobId?: string; - /** - * @member {Date} [creationTime] Gets or sets the creation time of the job. - */ - creationTime?: Date; - /** - * @member {JobStatus} [status] Gets or sets the status of the job. Possible - * values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', - * 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', - * 'Stopping', 'Resuming', 'Removing' - */ - status?: JobStatus; - /** - * @member {string} [statusDetails] Gets or sets the status details of the - * job. - */ - statusDetails?: string; - /** - * @member {Date} [startTime] Gets or sets the start time of the job. - */ - startTime?: Date; - /** - * @member {Date} [endTime] Gets or sets the end time of the job. - */ - endTime?: Date; - /** - * @member {string} [exception] Gets or sets the exception of the job. - */ - exception?: string; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time of - * the job. - */ - lastModifiedTime?: Date; - /** - * @member {Date} [lastStatusModifiedTime] Gets or sets the last status - * modified time of the job. + * @member {string} [streamText] Gets or sets the stream text. */ - lastStatusModifiedTime?: Date; + streamText?: string; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * @member {string} [summary] Gets or sets the summary. */ - parameters?: { [propertyName: string]: string }; + summary?: string; /** - * @member {JobProvisioningState} [provisioningState] The current - * provisioning state of the job. Possible values include: 'Failed', - * 'Succeeded', 'Suspended', 'Processing' + * @member {{ [propertyName: string]: any }} [value] Gets or sets the values + * of the job stream. */ - provisioningState?: JobProvisioningState; + value?: { [propertyName: string]: any }; } /** @@ -4783,71 +3169,6 @@ export interface Job extends ProxyResource { provisioningState?: JobProvisioningState; } -/** - * @interface - * An interface representing JobCollectionItemProperties. - * Job collection item properties. - * - */ -export interface JobCollectionItemProperties { - /** - * @member {RunbookAssociationProperty} [runbook] The runbook association. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly runbook?: RunbookAssociationProperty; - /** - * @member {string} [jobId] The id of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly jobId?: string; - /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {JobStatus} [status] 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.** - */ - readonly status?: JobStatus; - /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {Date} [lastModifiedTime] 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; - /** - * @member {string} [provisioningState] The provisioning state of a resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly provisioningState?: string; - /** - * @member {string} [runOn] Specifies the runOn group name where the job was - * executed. - */ - runOn?: string; -} - /** * @interface * An interface representing JobCollectionItem. @@ -4914,27 +3235,6 @@ export interface JobCollectionItem extends ProxyResource { runOn?: string; } -/** - * @interface - * An interface representing JobCreateProperties. - */ -export interface JobCreateProperties { - /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. - */ - runbook?: RunbookAssociationProperty; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. - */ - runOn?: string; -} - /** * @interface * An interface representing JobCreateParameters. @@ -5246,20 +3546,6 @@ export interface AgentRegistration { id?: string; } -/** - * @interface - * An interface representing DscNodeConfigurationAssociationProperty. - * The dsc nodeconfiguration property associated with the entity. - * - */ -export interface DscNodeConfigurationAssociationProperty { - /** - * @member {string} [name] Gets or sets the name of the dsc - * nodeconfiguration. - */ - name?: string; -} - /** * @interface * An interface representing DscNodeExtensionHandlerAssociationProperty. @@ -5278,59 +3564,6 @@ export interface DscNodeExtensionHandlerAssociationProperty { version?: string; } -/** - * @interface - * An interface representing DscNodeProperties. - * The properties of a DscNode - * - */ -export interface DscNodeProperties { - /** - * @member {Date} [lastSeen] Gets or sets the last seen time of the node. - */ - lastSeen?: Date; - /** - * @member {Date} [registrationTime] Gets or sets the registration time of - * the node. - */ - registrationTime?: Date; - /** - * @member {string} [ip] Gets or sets the ip of the node. - */ - ip?: string; - /** - * @member {string} [accountId] Gets or sets the account id of the node. - */ - accountId?: string; - /** - * @member {string} [name] Gets or sets the name of the dsc - * nodeconfiguration. - */ - name?: string; - /** - * @member {string} [status] Gets or sets the status of the node. - */ - status?: string; - /** - * @member {string} [nodeId] Gets or sets the node id. - */ - nodeId?: string; - /** - * @member {string} [etag] Gets or sets the etag of the resource. - */ - etag?: string; - /** - * @member {number} [totalCount] Gets the total number of records matching - * filter criteria. - */ - totalCount?: number; - /** - * @member {DscNodeExtensionHandlerAssociationProperty[]} [extensionHandler] - * Gets or sets the list of extensionHandler properties for a Node. - */ - extensionHandler?: DscNodeExtensionHandlerAssociationProperty[]; -} - /** * @interface * An interface representing DscNode. @@ -5418,119 +3651,28 @@ export interface DscNodeUpdateParametersProperties { * The parameters supplied to the update dsc node operation. * */ -export interface DscNodeUpdateParameters { - /** - * @member {string} [nodeId] Gets or sets the id of the dsc node. - */ - nodeId?: string; - /** - * @member {DscNodeUpdateParametersProperties} [properties] - */ - properties?: DscNodeUpdateParametersProperties; -} - -/** - * @interface - * An interface representing DscConfigurationAssociationProperty. - * The Dsc configuration property associated with the entity. - * - */ -export interface DscConfigurationAssociationProperty { - /** - * @member {string} [name] Gets or sets the name of the Dsc configuration. - */ - name?: string; -} - -/** - * @interface - * An interface representing DscCompilationJobProperties. - * Definition of Dsc Compilation job properties. - * - */ -export interface DscCompilationJobProperties { - /** - * @member {DscConfigurationAssociationProperty} [configuration] Gets or sets - * the configuration. - */ - configuration?: DscConfigurationAssociationProperty; - /** - * @member {string} [startedBy] Gets the compilation job started by. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startedBy?: string; - /** - * @member {string} [jobId] Gets the id of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly jobId?: string; - /** - * @member {Date} [creationTime] Gets the creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly creationTime?: Date; - /** - * @member {JobProvisioningState} [provisioningState] The current - * provisioning state of the job. Possible values include: 'Failed', - * 'Succeeded', 'Suspended', 'Processing' - */ - provisioningState?: JobProvisioningState; - /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. - */ - runOn?: string; - /** - * @member {JobStatus} [status] Gets or sets the status of the job. Possible - * values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', - * 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', - * 'Stopping', 'Resuming', 'Removing' - */ - status?: JobStatus; - /** - * @member {string} [statusDetails] Gets or sets the status details of the - * job. - */ - statusDetails?: string; - /** - * @member {Date} [startTime] Gets the start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly startTime?: Date; - /** - * @member {Date} [endTime] Gets the end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly endTime?: Date; - /** - * @member {string} [exception] Gets the exception of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** - */ - readonly exception?: string; - /** - * @member {Date} [lastModifiedTime] Gets the last modified time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** +export interface DscNodeUpdateParameters { + /** + * @member {string} [nodeId] Gets or sets the id of the dsc node. */ - readonly lastModifiedTime?: Date; + nodeId?: string; /** - * @member {Date} [lastStatusModifiedTime] Gets the last status modified time - * of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * @member {DscNodeUpdateParametersProperties} [properties] */ - readonly lastStatusModifiedTime?: Date; + properties?: DscNodeUpdateParametersProperties; +} + +/** + * @interface + * An interface representing DscConfigurationAssociationProperty. + * The Dsc configuration property associated with the entity. + * + */ +export interface DscConfigurationAssociationProperty { /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * @member {string} [name] Gets or sets the name of the Dsc configuration. */ - parameters?: { [propertyName: string]: string }; + name?: string; } /** @@ -5625,30 +3767,6 @@ export interface DscCompilationJob extends ProxyResource { parameters?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing DscCompilationJobCreateProperties. - * The parameters supplied to the create compilation job operation. - * - */ -export interface DscCompilationJobCreateProperties { - /** - * @member {DscConfigurationAssociationProperty} configuration Gets or sets - * the configuration. - */ - configuration: DscConfigurationAssociationProperty; - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. - */ - incrementNodeConfigurationBuild?: boolean; -} - /** * @interface * An interface representing DscCompilationJobCreateParameters. @@ -5686,42 +3804,6 @@ export interface DscCompilationJobCreateParameters { tags?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing DscNodeConfigurationProperties. - * Properties for the DscNodeConfiguration - * - */ -export interface DscNodeConfigurationProperties { - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {Date} [creationTime] Gets or sets creation time. - */ - creationTime?: Date; - /** - * @member {DscConfigurationAssociationProperty} [configuration] Gets or sets - * the configuration of the node. - */ - configuration?: DscConfigurationAssociationProperty; - /** - * @member {string} [source] Source of node configuration. - */ - source?: string; - /** - * @member {number} [nodeCount] Number of nodes with this nodeconfiguration - * assigned - */ - nodeCount?: number; - /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. - */ - incrementNodeConfigurationBuild?: boolean; -} - /** * @interface * An interface representing DscNodeConfiguration. @@ -5759,30 +3841,6 @@ export interface DscNodeConfiguration extends ProxyResource { incrementNodeConfigurationBuild?: boolean; } -/** - * @interface - * An interface representing DscNodeConfigurationCreateOrUpdateParametersProperties. - * The parameter properties supplied to the create or update node configuration - * operation. - * - */ -export interface DscNodeConfigurationCreateOrUpdateParametersProperties { - /** - * @member {ContentSource} source Gets or sets the source. - */ - source: ContentSource; - /** - * @member {DscConfigurationAssociationProperty} configuration Gets or sets - * the configuration of the node. - */ - configuration: DscConfigurationAssociationProperty; - /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. - */ - incrementNodeConfigurationBuild?: boolean; -} - /** * @interface * An interface representing DscNodeConfigurationCreateOrUpdateParameters. @@ -5924,82 +3982,6 @@ export interface RunbookDraft { outputTypes?: string[]; } -/** - * @interface - * An interface representing RunbookProperties. - * Definition of the runbook property type. - * - */ -export interface RunbookProperties { - /** - * @member {RunbookTypeEnum} [runbookType] Gets or sets the type of the - * runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' - */ - runbookType?: RunbookTypeEnum; - /** - * @member {ContentLink} [publishContentLink] Gets or sets the published - * runbook content link. - */ - publishContentLink?: ContentLink; - /** - * @member {RunbookState} [state] Gets or sets the state of the runbook. - * Possible values include: 'New', 'Edit', 'Published' - */ - state?: RunbookState; - /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. - */ - logVerbose?: boolean; - /** - * @member {boolean} [logProgress] Gets or sets progress log option. - */ - logProgress?: boolean; - /** - * @member {number} [logActivityTrace] Gets or sets the option to log - * activity trace of the runbook. - */ - logActivityTrace?: number; - /** - * @member {number} [jobCount] Gets or sets the job count of the runbook. - */ - jobCount?: number; - /** - * @member {{ [propertyName: string]: RunbookParameter }} [parameters] Gets - * or sets the runbook parameters. - */ - parameters?: { [propertyName: string]: RunbookParameter }; - /** - * @member {string[]} [outputTypes] Gets or sets the runbook output types. - */ - outputTypes?: string[]; - /** - * @member {RunbookDraft} [draft] Gets or sets the draft runbook properties. - */ - draft?: RunbookDraft; - /** - * @member {RunbookProvisioningState} [provisioningState] Gets or sets the - * provisioning state of the runbook. Possible values include: 'Succeeded' - */ - provisioningState?: RunbookProvisioningState; - /** - * @member {string} [lastModifiedBy] Gets or sets the last modified by. - */ - lastModifiedBy?: string; - /** - * @member {Date} [creationTime] Gets or sets the creation time. - */ - creationTime?: Date; - /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - */ - lastModifiedTime?: Date; - /** - * @member {string} [description] Gets or sets the description. - */ - description?: string; -} - /** * @interface * An interface representing Runbook. @@ -6081,48 +4063,6 @@ export interface Runbook extends TrackedResource { etag?: string; } -/** - * @interface - * An interface representing RunbookCreateOrUpdateProperties. - * The parameters supplied to the create or update runbook properties. - * - */ -export interface RunbookCreateOrUpdateProperties { - /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. - */ - logVerbose?: boolean; - /** - * @member {boolean} [logProgress] Gets or sets progress log option. - */ - logProgress?: boolean; - /** - * @member {RunbookTypeEnum} runbookType Gets or sets the type of the - * runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' - */ - runbookType: RunbookTypeEnum; - /** - * @member {RunbookDraft} [draft] Gets or sets the draft runbook properties. - */ - draft?: RunbookDraft; - /** - * @member {ContentLink} [publishContentLink] Gets or sets the published - * runbook content link. - */ - publishContentLink?: ContentLink; - /** - * @member {string} [description] Gets or sets the description of the - * runbook. - */ - description?: string; - /** - * @member {number} [logActivityTrace] Gets or sets the activity-level - * tracing options of the runbook. - */ - logActivityTrace?: number; -} - /** * @interface * An interface representing RunbookCreateOrUpdateParameters. @@ -6178,33 +4118,6 @@ export interface RunbookCreateOrUpdateParameters { tags?: { [propertyName: string]: string }; } -/** - * @interface - * An interface representing RunbookUpdateProperties. - * The parameters supplied to the update runbook properties. - * - */ -export interface RunbookUpdateProperties { - /** - * @member {string} [description] Gets or sets the description of the - * runbook. - */ - description?: string; - /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. - */ - logVerbose?: boolean; - /** - * @member {boolean} [logProgress] Gets or sets progress log option. - */ - logProgress?: boolean; - /** - * @member {number} [logActivityTrace] Gets or sets the activity-level - * tracing options of the runbook. - */ - logActivityTrace?: number; -} - /** * @interface * An interface representing RunbookUpdateParameters. @@ -6404,19 +4317,6 @@ export interface RunbookCreateOrUpdateDraftParameters { runbookContent: string; } -/** - * @interface - * An interface representing PythonPackageCreateProperties. - * The parameters supplied to the create or update module properties. - * - */ -export interface PythonPackageCreateProperties { - /** - * @member {ContentLink} contentLink Gets or sets the module content link. - */ - contentLink: ContentLink; -} - /** * @interface * An interface representing PythonPackageCreateParameters. @@ -7722,6 +5622,17 @@ export enum LinuxUpdateClasses { Other = 'Other', } +/** + * Defines values for TagOperators. + * Possible values include: 'All', 'Any' + * @readonly + * @enum {string} + */ +export enum TagOperators { + All = 'All', + Any = 'Any', +} + /** * Defines values for SourceType. * Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts index 4edadf040275..450c49eedf88 100644 --- a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, DscNode, diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index cbdba56ddb8d..e83453863298 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -43,58 +43,6 @@ export const Sku: msRest.CompositeMapper = { } }; -export const AutomationAccountProperties: msRest.CompositeMapper = { - serializedName: "AutomationAccountProperties", - type: { - name: "Composite", - className: "AutomationAccountProperties", - modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - state: { - readOnly: true, - serializedName: "state", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -213,23 +161,6 @@ export const AutomationAccount: msRest.CompositeMapper = { } }; -export const AutomationAccountCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "AutomationAccountCreateOrUpdateProperties", - type: { - name: "Composite", - className: "AutomationAccountCreateOrUpdateProperties", - modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - } - } - } -}; - export const AutomationAccountCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "AutomationAccountCreateOrUpdateParameters", type: { @@ -490,23 +421,6 @@ export const KeyListResult: msRest.CompositeMapper = { } }; -export const AutomationAccountUpdateProperties: msRest.CompositeMapper = { - serializedName: "AutomationAccountUpdateProperties", - type: { - name: "Composite", - className: "AutomationAccountUpdateProperties", - modelProperties: { - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - } - } - } -}; - export const AutomationAccountUpdateParameters: msRest.CompositeMapper = { serializedName: "AutomationAccountUpdateParameters", type: { @@ -580,42 +494,6 @@ export const ErrorResponse: msRest.CompositeMapper = { } }; -export const CertificateCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "CertificateCreateOrUpdateProperties", - type: { - name: "Composite", - className: "CertificateCreateOrUpdateProperties", - modelProperties: { - base64Value: { - required: true, - serializedName: "base64Value", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - thumbprint: { - serializedName: "thumbprint", - type: { - name: "String" - } - }, - isExportable: { - nullable: false, - serializedName: "isExportable", - type: { - name: "Boolean" - } - } - } - } -}; - export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "CertificateCreateOrUpdateParameters", type: { @@ -659,61 +537,6 @@ export const CertificateCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const CertificateProperties: msRest.CompositeMapper = { - serializedName: "CertificateProperties", - type: { - name: "Composite", - className: "CertificateProperties", - modelProperties: { - thumbprint: { - readOnly: true, - serializedName: "thumbprint", - type: { - name: "String" - } - }, - expiryTime: { - nullable: false, - readOnly: true, - serializedName: "expiryTime", - type: { - name: "DateTime" - } - }, - isExportable: { - nullable: false, - readOnly: true, - serializedName: "isExportable", - type: { - name: "Boolean" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Certificate: msRest.CompositeMapper = { serializedName: "Certificate", type: { @@ -770,22 +593,6 @@ export const Certificate: msRest.CompositeMapper = { } }; -export const CertificateUpdateProperties: msRest.CompositeMapper = { - serializedName: "CertificateUpdateProperties", - type: { - name: "Composite", - className: "CertificateUpdateProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const CertificateUpdateParameters: msRest.CompositeMapper = { serializedName: "CertificateUpdateParameters", type: { @@ -824,41 +631,6 @@ export const ConnectionTypeAssociationProperty: msRest.CompositeMapper = { } }; -export const ConnectionCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "ConnectionCreateOrUpdateProperties", - type: { - name: "Composite", - className: "ConnectionCreateOrUpdateProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - connectionType: { - required: true, - serializedName: "connectionType", - type: { - name: "Composite", - className: "ConnectionTypeAssociationProperty" - } - }, - fieldDefinitionValues: { - serializedName: "fieldDefinitionValues", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const ConnectionCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "ConnectionCreateOrUpdateParameters", type: { @@ -901,57 +673,6 @@ export const ConnectionCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const ConnectionProperties: msRest.CompositeMapper = { - serializedName: "ConnectionProperties", - type: { - name: "Composite", - className: "ConnectionProperties", - modelProperties: { - connectionType: { - serializedName: "connectionType", - type: { - name: "Composite", - className: "ConnectionTypeAssociationProperty" - } - }, - fieldDefinitionValues: { - readOnly: true, - serializedName: "fieldDefinitionValues", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Connection: msRest.CompositeMapper = { serializedName: "Connection", type: { @@ -1004,53 +725,26 @@ export const Connection: msRest.CompositeMapper = { } }; -export const ConnectionUpdateProperties: msRest.CompositeMapper = { - serializedName: "ConnectionUpdateProperties", +export const ConnectionUpdateParameters: msRest.CompositeMapper = { + serializedName: "ConnectionUpdateParameters", type: { name: "Composite", - className: "ConnectionUpdateProperties", + className: "ConnectionUpdateParameters", modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, description: { - serializedName: "description", + serializedName: "properties.description", type: { name: "String" } }, fieldDefinitionValues: { - serializedName: "fieldDefinitionValues", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const ConnectionUpdateParameters: msRest.CompositeMapper = { - serializedName: "ConnectionUpdateParameters", - type: { - name: "Composite", - className: "ConnectionUpdateParameters", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - fieldDefinitionValues: { - serializedName: "properties.fieldDefinitionValues", + serializedName: "properties.fieldDefinitionValues", type: { name: "Dictionary", value: { @@ -1093,56 +787,6 @@ export const FieldDefinition: msRest.CompositeMapper = { } }; -export const ConnectionTypeProperties: msRest.CompositeMapper = { - serializedName: "ConnectionTypeProperties", - type: { - name: "Composite", - className: "ConnectionTypeProperties", - modelProperties: { - isGlobal: { - serializedName: "isGlobal", - type: { - name: "Boolean" - } - }, - fieldDefinitions: { - readOnly: true, - serializedName: "fieldDefinitions", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "FieldDefinition" - } - } - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const ConnectionType: msRest.CompositeMapper = { serializedName: "ConnectionType", type: { @@ -1214,35 +858,6 @@ export const ConnectionType: msRest.CompositeMapper = { } }; -export const ConnectionTypeCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "ConnectionTypeCreateOrUpdateProperties", - type: { - name: "Composite", - className: "ConnectionTypeCreateOrUpdateProperties", - modelProperties: { - isGlobal: { - serializedName: "isGlobal", - type: { - name: "Boolean" - } - }, - fieldDefinitions: { - required: true, - serializedName: "fieldDefinitions", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "FieldDefinition" - } - } - } - } - } - } -}; - export const ConnectionTypeCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "ConnectionTypeCreateOrUpdateParameters", type: { @@ -1279,36 +894,6 @@ export const ConnectionTypeCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const CredentialCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "CredentialCreateOrUpdateProperties", - type: { - name: "Composite", - className: "CredentialCreateOrUpdateProperties", - modelProperties: { - userName: { - required: true, - serializedName: "userName", - type: { - name: "String" - } - }, - password: { - required: true, - serializedName: "password", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "CredentialCreateOrUpdateParameters", type: { @@ -1346,45 +931,6 @@ export const CredentialCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const CredentialProperties: msRest.CompositeMapper = { - serializedName: "CredentialProperties", - type: { - name: "Composite", - className: "CredentialProperties", - modelProperties: { - userName: { - readOnly: true, - serializedName: "userName", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Credential: msRest.CompositeMapper = { serializedName: "Credential", type: { @@ -1425,34 +971,6 @@ export const Credential: msRest.CompositeMapper = { } }; -export const CredentialUpdateProperties: msRest.CompositeMapper = { - serializedName: "CredentialUpdateProperties", - type: { - name: "Composite", - className: "CredentialUpdateProperties", - modelProperties: { - userName: { - serializedName: "userName", - type: { - name: "String" - } - }, - password: { - serializedName: "password", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const CredentialUpdateParameters: msRest.CompositeMapper = { serializedName: "CredentialUpdateParameters", type: { @@ -1580,54 +1098,6 @@ export const DscConfigurationParameter: msRest.CompositeMapper = { } }; -export const DscConfigurationCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "DscConfigurationCreateOrUpdateProperties", - type: { - name: "Composite", - className: "DscConfigurationCreateOrUpdateProperties", - modelProperties: { - logVerbose: { - serializedName: "logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "logProgress", - type: { - name: "Boolean" - } - }, - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "ContentSource" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "DscConfigurationParameter" - } - } - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "DscConfigurationCreateOrUpdateParameters", type: { @@ -1699,14 +1169,15 @@ export const DscConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = } }; -export const DscConfigurationProperties: msRest.CompositeMapper = { - serializedName: "DscConfigurationProperties", +export const DscConfiguration: msRest.CompositeMapper = { + serializedName: "DscConfiguration", type: { name: "Composite", - className: "DscConfigurationProperties", + className: "DscConfiguration", modelProperties: { + ...TrackedResource.type.modelProperties, provisioningState: { - serializedName: "provisioningState", + serializedName: "properties.provisioningState", type: { name: "Enum", allowedValues: [ @@ -1715,13 +1186,13 @@ export const DscConfigurationProperties: msRest.CompositeMapper = { } }, jobCount: { - serializedName: "jobCount", + serializedName: "properties.jobCount", type: { name: "Number" } }, parameters: { - serializedName: "parameters", + serializedName: "properties.parameters", type: { name: "Dictionary", value: { @@ -1733,47 +1204,53 @@ export const DscConfigurationProperties: msRest.CompositeMapper = { } }, source: { - serializedName: "source", + serializedName: "properties.source", type: { name: "Composite", className: "ContentSource" } }, state: { - serializedName: "state", + serializedName: "properties.state", type: { name: "String" } }, logVerbose: { - serializedName: "logVerbose", + serializedName: "properties.logVerbose", type: { name: "Boolean" } }, creationTime: { nullable: false, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, lastModifiedTime: { nullable: false, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, nodeConfigurationCount: { nullable: false, - serializedName: "nodeConfigurationCount", + serializedName: "properties.nodeConfigurationCount", type: { name: "Number" } }, description: { - serializedName: "description", + serializedName: "properties.description", + type: { + name: "String" + } + }, + etag: { + serializedName: "etag", type: { name: "String" } @@ -1782,98 +1259,8 @@ export const DscConfigurationProperties: msRest.CompositeMapper = { } }; -export const DscConfiguration: msRest.CompositeMapper = { - serializedName: "DscConfiguration", - type: { - name: "Composite", - className: "DscConfiguration", - modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", - type: { - name: "Enum", - allowedValues: [ - "Succeeded" - ] - } - }, - jobCount: { - serializedName: "properties.jobCount", - type: { - name: "Number" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "DscConfigurationParameter" - } - } - } - }, - source: { - serializedName: "properties.source", - type: { - name: "Composite", - className: "ContentSource" - } - }, - state: { - serializedName: "properties.state", - type: { - name: "String" - } - }, - logVerbose: { - serializedName: "properties.logVerbose", - type: { - name: "Boolean" - } - }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - nodeConfigurationCount: { - nullable: false, - serializedName: "properties.nodeConfigurationCount", - type: { - name: "Number" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - etag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - -export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { - serializedName: "DscConfigurationUpdateParameters", +export const DscConfigurationUpdateParameters: msRest.CompositeMapper = { + serializedName: "DscConfigurationUpdateParameters", type: { name: "Composite", className: "DscConfigurationUpdateParameters", @@ -2085,53 +1472,6 @@ export const RunbookAssociationProperty: msRest.CompositeMapper = { } }; -export const JobScheduleProperties: msRest.CompositeMapper = { - serializedName: "JobScheduleProperties", - type: { - name: "Composite", - className: "JobScheduleProperties", - modelProperties: { - jobScheduleId: { - serializedName: "jobScheduleId", - type: { - name: "String" - } - }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "ScheduleAssociationProperty" - } - }, - runbook: { - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const JobSchedule: msRest.CompositeMapper = { serializedName: "JobSchedule", type: { @@ -2200,49 +1540,6 @@ export const JobSchedule: msRest.CompositeMapper = { } }; -export const JobScheduleCreateProperties: msRest.CompositeMapper = { - serializedName: "JobScheduleCreateProperties", - type: { - name: "Composite", - className: "JobScheduleCreateProperties", - modelProperties: { - schedule: { - required: true, - serializedName: "schedule", - type: { - name: "Composite", - className: "ScheduleAssociationProperty" - } - }, - runbook: { - required: true, - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const JobScheduleCreateParameters: msRest.CompositeMapper = { serializedName: "JobScheduleCreateParameters", type: { @@ -2445,66 +1742,6 @@ export const ActivityOutputType: msRest.CompositeMapper = { } }; -export const ActivityProperties: msRest.CompositeMapper = { - serializedName: "ActivityProperties", - type: { - name: "Composite", - className: "ActivityProperties", - modelProperties: { - definition: { - serializedName: "definition", - type: { - name: "String" - } - }, - parameterSets: { - serializedName: "parameterSets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameterSet" - } - } - } - }, - outputTypes: { - serializedName: "outputTypes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityOutputType" - } - } - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Activity: msRest.CompositeMapper = { serializedName: "Activity", type: { @@ -2629,38 +1866,39 @@ export const ContentLink: msRest.CompositeMapper = { } }; -export const ModuleProperties: msRest.CompositeMapper = { - serializedName: "ModuleProperties", +export const Module: msRest.CompositeMapper = { + serializedName: "Module", type: { name: "Composite", - className: "ModuleProperties", + className: "Module", modelProperties: { + ...TrackedResource.type.modelProperties, isGlobal: { - serializedName: "isGlobal", + serializedName: "properties.isGlobal", type: { name: "Boolean" } }, version: { - serializedName: "version", + serializedName: "properties.version", type: { name: "String" } }, sizeInBytes: { - serializedName: "sizeInBytes", + serializedName: "properties.sizeInBytes", type: { name: "Number" } }, activityCount: { - serializedName: "activityCount", + serializedName: "properties.activityCount", type: { name: "Number" } }, provisioningState: { - serializedName: "provisioningState", + serializedName: "properties.provisioningState", type: { name: "Enum", allowedValues: [ @@ -2684,14 +1922,14 @@ export const ModuleProperties: msRest.CompositeMapper = { } }, contentLink: { - serializedName: "contentLink", + serializedName: "properties.contentLink", type: { name: "Composite", className: "ContentLink" } }, error: { - serializedName: "error", + serializedName: "properties.error", type: { name: "Composite", className: "ModuleErrorInfo" @@ -2699,162 +1937,45 @@ export const ModuleProperties: msRest.CompositeMapper = { }, creationTime: { nullable: false, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, lastModifiedTime: { nullable: false, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, description: { - serializedName: "description", + serializedName: "properties.description", type: { name: "String" } }, isComposite: { - serializedName: "isComposite", + serializedName: "properties.isComposite", type: { name: "Boolean" } + }, + etag: { + serializedName: "etag", + type: { + name: "String" + } } } } }; -export const Module: msRest.CompositeMapper = { - serializedName: "Module", +export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { + serializedName: "ModuleCreateOrUpdateParameters", type: { name: "Composite", - className: "Module", - modelProperties: { - ...TrackedResource.type.modelProperties, - isGlobal: { - serializedName: "properties.isGlobal", - type: { - name: "Boolean" - } - }, - version: { - serializedName: "properties.version", - type: { - name: "String" - } - }, - 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" - } - }, - isComposite: { - serializedName: "properties.isComposite", - type: { - name: "Boolean" - } - }, - etag: { - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - -export const ModuleCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "ModuleCreateOrUpdateProperties", - type: { - name: "Composite", - className: "ModuleCreateOrUpdateProperties", - modelProperties: { - contentLink: { - required: true, - serializedName: "contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - } - } - } -}; - -export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { - serializedName: "ModuleCreateOrUpdateParameters", - type: { - name: "Composite", - className: "ModuleCreateOrUpdateParameters", + className: "ModuleCreateOrUpdateParameters", modelProperties: { contentLink: { required: true, @@ -2891,23 +2012,6 @@ export const ModuleCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const ModuleUpdateProperties: msRest.CompositeMapper = { - serializedName: "ModuleUpdateProperties", - type: { - name: "Composite", - className: "ModuleUpdateProperties", - modelProperties: { - contentLink: { - serializedName: "contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - } - } - } -}; - export const ModuleUpdateParameters: msRest.CompositeMapper = { serializedName: "ModuleUpdateParameters", type: { @@ -3036,63 +2140,6 @@ export const AdvancedSchedule: msRest.CompositeMapper = { } }; -export const ScheduleCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "ScheduleCreateOrUpdateProperties", - type: { - name: "Composite", - className: "ScheduleCreateOrUpdateProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - startTime: { - required: true, - nullable: false, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - expiryTime: { - nullable: true, - serializedName: "expiryTime", - type: { - name: "DateTime" - } - }, - interval: { - serializedName: "interval", - type: { - name: "Object" - } - }, - frequency: { - required: true, - serializedName: "frequency", - type: { - name: "String" - } - }, - timeZone: { - serializedName: "timeZone", - type: { - name: "String" - } - }, - advancedSchedule: { - serializedName: "advancedSchedule", - type: { - name: "Composite", - className: "AdvancedSchedule" - } - } - } - } -}; - export const ScheduleCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "ScheduleCreateOrUpdateParameters", type: { @@ -3368,28 +2415,6 @@ export const Schedule: msRest.CompositeMapper = { } }; -export const ScheduleUpdateProperties: msRest.CompositeMapper = { - serializedName: "ScheduleUpdateProperties", - type: { - name: "Composite", - className: "ScheduleUpdateProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - isEnabled: { - serializedName: "isEnabled", - type: { - name: "Boolean" - } - } - } - } -}; - export const ScheduleUpdateParameters: msRest.CompositeMapper = { serializedName: "ScheduleUpdateParameters", type: { @@ -3418,34 +2443,6 @@ export const ScheduleUpdateParameters: msRest.CompositeMapper = { } }; -export const VariableCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "VariableCreateOrUpdateProperties", - type: { - name: "Composite", - className: "VariableCreateOrUpdateProperties", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - isEncrypted: { - serializedName: "isEncrypted", - type: { - name: "Boolean" - } - } - } - } -}; - export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "VariableCreateOrUpdateParameters", type: { @@ -3481,41 +2478,42 @@ export const VariableCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const VariableProperties: msRest.CompositeMapper = { - serializedName: "VariableProperties", +export const Variable: msRest.CompositeMapper = { + serializedName: "Variable", type: { name: "Composite", - className: "VariableProperties", + className: "Variable", modelProperties: { + ...ProxyResource.type.modelProperties, value: { - serializedName: "value", + serializedName: "properties.value", type: { name: "String" } }, isEncrypted: { nullable: true, - serializedName: "isEncrypted", + serializedName: "properties.isEncrypted", type: { name: "Boolean" } }, creationTime: { nullable: false, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, lastModifiedTime: { nullable: false, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, description: { - serializedName: "description", + serializedName: "properties.description", type: { name: "String" } @@ -3524,84 +2522,18 @@ export const VariableProperties: msRest.CompositeMapper = { } }; -export const Variable: msRest.CompositeMapper = { - serializedName: "Variable", +export const VariableUpdateParameters: msRest.CompositeMapper = { + serializedName: "VariableUpdateParameters", type: { name: "Composite", - className: "Variable", + className: "VariableUpdateParameters", modelProperties: { - ...ProxyResource.type.modelProperties, - value: { - serializedName: "properties.value", - type: { - name: "String" - } - }, - isEncrypted: { - nullable: true, - serializedName: "properties.isEncrypted", - type: { - name: "Boolean" - } - }, - creationTime: { - nullable: false, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - -export const VariableUpdateProperties: msRest.CompositeMapper = { - serializedName: "VariableUpdateProperties", - type: { - name: "Composite", - className: "VariableUpdateProperties", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - -export const VariableUpdateParameters: msRest.CompositeMapper = { - serializedName: "VariableUpdateParameters", - type: { - name: "Composite", - className: "VariableUpdateParameters", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, value: { serializedName: "properties.value", type: { @@ -3618,93 +2550,6 @@ export const VariableUpdateParameters: msRest.CompositeMapper = { } }; -export const WebhookProperties: msRest.CompositeMapper = { - serializedName: "WebhookProperties", - type: { - name: "Composite", - className: "WebhookProperties", - modelProperties: { - isEnabled: { - serializedName: "isEnabled", - defaultValue: false, - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "uri", - type: { - name: "String" - } - }, - expiryTime: { - nullable: false, - serializedName: "expiryTime", - type: { - name: "DateTime" - } - }, - lastInvokedTime: { - nullable: true, - serializedName: "lastInvokedTime", - type: { - name: "DateTime" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - runbook: { - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Webhook: msRest.CompositeMapper = { serializedName: "Webhook", type: { @@ -3793,45 +2638,6 @@ export const Webhook: msRest.CompositeMapper = { } }; -export const WebhookUpdateProperties: msRest.CompositeMapper = { - serializedName: "WebhookUpdateProperties", - type: { - name: "Composite", - className: "WebhookUpdateProperties", - modelProperties: { - isEnabled: { - serializedName: "isEnabled", - type: { - name: "Boolean" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const WebhookUpdateParameters: msRest.CompositeMapper = { serializedName: "WebhookUpdateParameters", type: { @@ -3877,59 +2683,6 @@ export const WebhookUpdateParameters: msRest.CompositeMapper = { } }; -export const WebhookCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "WebhookCreateOrUpdateProperties", - type: { - name: "Composite", - className: "WebhookCreateOrUpdateProperties", - modelProperties: { - isEnabled: { - serializedName: "isEnabled", - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "uri", - type: { - name: "String" - } - }, - expiryTime: { - nullable: false, - serializedName: "expiryTime", - type: { - name: "DateTime" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - runbook: { - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - } - } - } -}; - export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "WebhookCreateOrUpdateParameters", type: { @@ -3990,26 +2743,27 @@ export const WebhookCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const WatcherProperties: msRest.CompositeMapper = { - serializedName: "WatcherProperties", +export const Watcher: msRest.CompositeMapper = { + serializedName: "Watcher", type: { name: "Composite", - className: "WatcherProperties", + className: "Watcher", modelProperties: { + ...TrackedResource.type.modelProperties, executionFrequencyInSeconds: { - serializedName: "executionFrequencyInSeconds", + serializedName: "properties.executionFrequencyInSeconds", type: { name: "Number" } }, scriptName: { - serializedName: "scriptName", + serializedName: "properties.scriptName", type: { name: "String" } }, scriptParameters: { - serializedName: "scriptParameters", + serializedName: "properties.scriptParameters", type: { name: "Dictionary", value: { @@ -4020,14 +2774,14 @@ export const WatcherProperties: msRest.CompositeMapper = { } }, scriptRunOn: { - serializedName: "scriptRunOn", + serializedName: "properties.scriptRunOn", type: { name: "String" } }, status: { readOnly: true, - serializedName: "status", + serializedName: "properties.status", type: { name: "String" } @@ -4035,7 +2789,7 @@ export const WatcherProperties: msRest.CompositeMapper = { creationTime: { nullable: false, readOnly: true, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } @@ -4043,96 +2797,20 @@ export const WatcherProperties: msRest.CompositeMapper = { lastModifiedTime: { nullable: false, readOnly: true, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, lastModifiedBy: { readOnly: true, - serializedName: "lastModifiedBy", + serializedName: "properties.lastModifiedBy", type: { name: "String" } }, description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - -export const Watcher: msRest.CompositeMapper = { - serializedName: "Watcher", - type: { - name: "Composite", - className: "Watcher", - modelProperties: { - ...TrackedResource.type.modelProperties, - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", - type: { - name: "Number" - } - }, - scriptName: { - serializedName: "properties.scriptName", - type: { - name: "String" - } - }, - scriptParameters: { - serializedName: "properties.scriptParameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - scriptRunOn: { - serializedName: "properties.scriptRunOn", - type: { - name: "String" - } - }, - status: { - readOnly: true, - serializedName: "properties.status", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - readOnly: true, - serializedName: "properties.lastModifiedBy", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", + serializedName: "properties.description", type: { name: "String" } @@ -4147,22 +2825,6 @@ export const Watcher: msRest.CompositeMapper = { } }; -export const WatcherUpdateProperties: msRest.CompositeMapper = { - serializedName: "WatcherUpdateProperties", - type: { - name: "Composite", - className: "WatcherUpdateProperties", - modelProperties: { - executionFrequencyInSeconds: { - serializedName: "executionFrequencyInSeconds", - type: { - name: "Number" - } - } - } - } -}; - export const WatcherUpdateParameters: msRest.CompositeMapper = { serializedName: "WatcherUpdateParameters", type: { @@ -4273,6 +2935,103 @@ export const LinuxProperties: msRest.CompositeMapper = { } }; +export const TagSettingsProperties: msRest.CompositeMapper = { + serializedName: "TagSettingsProperties", + type: { + name: "Composite", + className: "TagSettingsProperties", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + }, + filterOperator: { + serializedName: "filterOperator", + type: { + name: "Enum", + allowedValues: [ + "All", + "Any" + ] + } + } + } + } +}; + +export const AzureQueryProperties: msRest.CompositeMapper = { + serializedName: "AzureQueryProperties", + type: { + name: "Composite", + className: "AzureQueryProperties", + modelProperties: { + scope: { + serializedName: "scope", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + location: { + serializedName: "location", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + tagSettings: { + serializedName: "tagSettings", + type: { + name: "Composite", + className: "TagSettingsProperties" + } + } + } + } +}; + +export const TargetProperties: msRest.CompositeMapper = { + serializedName: "TargetProperties", + type: { + name: "Composite", + className: "TargetProperties", + modelProperties: { + azureQueries: { + serializedName: "azureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureQueryProperties" + } + } + } + } + } + } +}; + export const UpdateConfiguration: msRest.CompositeMapper = { serializedName: "updateConfiguration", type: { @@ -4331,75 +3090,12 @@ export const UpdateConfiguration: msRest.CompositeMapper = { } } } - } - } - } -}; - -export const SoftwareUpdateConfigurationProperties: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationProperties", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationProperties", - modelProperties: { - updateConfiguration: { - required: true, - serializedName: "updateConfiguration", - type: { - name: "Composite", - className: "UpdateConfiguration" - } - }, - scheduleInfo: { - required: true, - serializedName: "scheduleInfo", - type: { - name: "Composite", - className: "ScheduleProperties" - } - }, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", - type: { - name: "String" - } }, - error: { - serializedName: "error", + targets: { + serializedName: "targets", type: { name: "Composite", - className: "ErrorResponse" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - createdBy: { - readOnly: true, - serializedName: "createdBy", - type: { - name: "String" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - readOnly: true, - serializedName: "lastModifiedBy", - type: { - name: "String" + className: "TargetProperties" } } } @@ -4524,28 +3220,42 @@ export const CollectionItemUpdateConfiguration: msRest.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationCollectionItemProperties: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationCollectionItemProperties", +export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationCollectionItem", type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItemProperties", + className: "SoftwareUpdateConfigurationCollectionItem", modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, updateConfiguration: { - serializedName: "updateConfiguration", + serializedName: "properties.updateConfiguration", type: { name: "Composite", className: "CollectionItemUpdateConfiguration" } }, frequency: { - serializedName: "frequency", + serializedName: "properties.frequency", type: { name: "String" } }, startTime: { nullable: false, - serializedName: "startTime", + serializedName: "properties.startTime", type: { name: "DateTime" } @@ -4553,7 +3263,7 @@ export const SoftwareUpdateConfigurationCollectionItemProperties: msRest.Composi creationTime: { nullable: false, readOnly: true, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } @@ -4561,21 +3271,21 @@ export const SoftwareUpdateConfigurationCollectionItemProperties: msRest.Composi lastModifiedTime: { nullable: false, readOnly: true, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, provisioningState: { readOnly: true, - serializedName: "provisioningState", + serializedName: "properties.provisioningState", type: { name: "String" } }, nextRun: { nullable: true, - serializedName: "nextRun", + serializedName: "properties.nextRun", type: { name: "DateTime" } @@ -4584,88 +3294,14 @@ export const SoftwareUpdateConfigurationCollectionItemProperties: msRest.Composi } }; -export const SoftwareUpdateConfigurationCollectionItem: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationCollectionItem", +export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationListResult", type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem", + className: "SoftwareUpdateConfigurationListResult", modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - updateConfiguration: { - serializedName: "properties.updateConfiguration", - 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" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - nextRun: { - nullable: true, - serializedName: "properties.nextRun", - type: { - name: "DateTime" - } - } - } - } -}; - -export const SoftwareUpdateConfigurationListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationListResult", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationListResult", - modelProperties: { - value: { - serializedName: "value", + value: { + serializedName: "value", type: { name: "Sequence", element: { @@ -4697,104 +3333,6 @@ export const UpdateConfigurationNavigation: msRest.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationRunProperties: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationRunProperties", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRunProperties", - modelProperties: { - softwareUpdateConfiguration: { - serializedName: "softwareUpdateConfiguration", - type: { - name: "Composite", - className: "UpdateConfigurationNavigation" - } - }, - status: { - readOnly: true, - serializedName: "status", - type: { - name: "String" - } - }, - configuredDuration: { - readOnly: true, - serializedName: "configuredDuration", - type: { - name: "String" - } - }, - osType: { - readOnly: true, - serializedName: "osType", - type: { - name: "String" - } - }, - startTime: { - nullable: false, - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - computerCount: { - readOnly: true, - serializedName: "computerCount", - type: { - name: "Number" - } - }, - failedCount: { - readOnly: true, - serializedName: "failedCount", - type: { - name: "Number" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - createdBy: { - readOnly: true, - serializedName: "createdBy", - type: { - name: "String" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - readOnly: true, - serializedName: "lastModifiedBy", - type: { - name: "String" - } - } - } - } -}; - export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { serializedName: "softwareUpdateConfigurationRun", type: { @@ -4952,28 +3490,42 @@ export const JobNavigation: msRest.CompositeMapper = { } }; -export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { - serializedName: "updateConfigurationMachineRunProperties", +export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRun", type: { name: "Composite", - className: "UpdateConfigurationMachineRunProperties", + className: "SoftwareUpdateConfigurationMachineRun", modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, targetComputer: { readOnly: true, - serializedName: "targetComputer", + serializedName: "properties.targetComputer", type: { name: "String" } }, targetComputerType: { readOnly: true, - serializedName: "targetComputerType", + serializedName: "properties.targetComputerType", type: { name: "String" } }, softwareUpdateConfiguration: { - serializedName: "softwareUpdateConfiguration", + serializedName: "properties.softwareUpdateConfiguration", type: { name: "Composite", className: "UpdateConfigurationNavigation" @@ -4981,28 +3533,28 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { }, status: { readOnly: true, - serializedName: "status", + serializedName: "properties.status", type: { name: "String" } }, osType: { readOnly: true, - serializedName: "osType", + serializedName: "properties.osType", type: { name: "String" } }, correlationId: { readOnly: true, - serializedName: "correlationId", + serializedName: "properties.correlationId", type: { name: "Uuid" } }, sourceComputerId: { readOnly: true, - serializedName: "sourceComputerId", + serializedName: "properties.sourceComputerId", type: { name: "Uuid" } @@ -5010,7 +3562,7 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { startTime: { nullable: false, readOnly: true, - serializedName: "startTime", + serializedName: "properties.startTime", type: { name: "DateTime" } @@ -5018,20 +3570,20 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { endTime: { nullable: true, readOnly: true, - serializedName: "endTime", + serializedName: "properties.endTime", type: { name: "DateTime" } }, configuredDuration: { readOnly: true, - serializedName: "configuredDuration", + serializedName: "properties.configuredDuration", type: { name: "String" } }, job: { - serializedName: "job", + serializedName: "properties.job", type: { name: "Composite", className: "JobNavigation" @@ -5040,14 +3592,14 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { creationTime: { nullable: false, readOnly: true, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, createdBy: { readOnly: true, - serializedName: "createdBy", + serializedName: "properties.createdBy", type: { name: "String" } @@ -5055,14 +3607,14 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { lastModifiedTime: { nullable: false, readOnly: true, - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, lastModifiedBy: { readOnly: true, - serializedName: "lastModifiedBy", + serializedName: "properties.lastModifiedBy", type: { name: "String" } @@ -5071,262 +3623,63 @@ export const UpdateConfigurationMachineRunProperties: msRest.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRun", +export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationMachineRunListResult", type: { name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun", + className: "SoftwareUpdateConfigurationMachineRunListResult", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationMachineRun" + } + } } }, - id: { - readOnly: true, - serializedName: "id", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - targetComputer: { - readOnly: true, - serializedName: "properties.targetComputer", + } + } + } +}; + +export const SourceControl: msRest.CompositeMapper = { + serializedName: "SourceControl", + type: { + name: "Composite", + className: "SourceControl", + modelProperties: { + ...ProxyResource.type.modelProperties, + repoUrl: { + serializedName: "properties.repoUrl", type: { name: "String" } }, - targetComputerType: { - readOnly: true, - serializedName: "properties.targetComputerType", + branch: { + serializedName: "properties.branch", type: { name: "String" } }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", + folderPath: { + serializedName: "properties.folderPath", type: { - name: "Composite", - className: "UpdateConfigurationNavigation" + name: "String" } }, - status: { - readOnly: true, - serializedName: "properties.status", + autoSync: { + serializedName: "properties.autoSync", 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" - } - } - } - } -}; - -export const SoftwareUpdateConfigurationMachineRunListResult: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationMachineRunListResult", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationMachineRunListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationMachineRun" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlProperties: msRest.CompositeMapper = { - serializedName: "SourceControlProperties", - type: { - name: "Composite", - className: "SourceControlProperties", - modelProperties: { - repoUrl: { - serializedName: "repoUrl", - type: { - name: "String" - } - }, - branch: { - serializedName: "branch", - type: { - name: "String" - } - }, - folderPath: { - serializedName: "folderPath", - type: { - name: "String" - } - }, - autoSync: { - serializedName: "autoSync", - type: { - name: "Boolean" - } - }, - publishRunbook: { - serializedName: "publishRunbook", - type: { - name: "Boolean" - } - }, - sourceType: { - serializedName: "sourceType", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - } - } - } -}; - -export const SourceControl: msRest.CompositeMapper = { - serializedName: "SourceControl", - type: { - name: "Composite", - className: "SourceControl", - modelProperties: { - ...ProxyResource.type.modelProperties, - repoUrl: { - serializedName: "properties.repoUrl", - type: { - name: "String" - } - }, - branch: { - serializedName: "properties.branch", - type: { - name: "String" - } - }, - folderPath: { - serializedName: "properties.folderPath", - type: { - name: "String" - } - }, - autoSync: { - serializedName: "properties.autoSync", - type: { - name: "Boolean" + name: "Boolean" } }, publishRunbook: { @@ -5399,53 +3752,6 @@ export const SourceControlSecurityTokenProperties: msRest.CompositeMapper = { } }; -export const SourceControlUpdateProperties: msRest.CompositeMapper = { - serializedName: "SourceControlUpdateProperties", - type: { - name: "Composite", - className: "SourceControlUpdateProperties", - modelProperties: { - branch: { - serializedName: "branch", - type: { - name: "String" - } - }, - folderPath: { - serializedName: "folderPath", - type: { - name: "String" - } - }, - autoSync: { - serializedName: "autoSync", - type: { - name: "Boolean" - } - }, - publishRunbook: { - serializedName: "publishRunbook", - type: { - name: "Boolean" - } - }, - securityToken: { - serializedName: "securityToken", - type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const SourceControlUpdateParameters: msRest.CompositeMapper = { serializedName: "SourceControlUpdateParameters", type: { @@ -5493,77 +3799,6 @@ export const SourceControlUpdateParameters: msRest.CompositeMapper = { } }; -export const SourceControlCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "SourceControlCreateOrUpdateProperties", - type: { - name: "Composite", - className: "SourceControlCreateOrUpdateProperties", - modelProperties: { - repoUrl: { - serializedName: "repoUrl", - constraints: { - MaxLength: 2000 - }, - type: { - name: "String" - } - }, - branch: { - serializedName: "branch", - constraints: { - MaxLength: 255 - }, - type: { - name: "String" - } - }, - folderPath: { - serializedName: "folderPath", - constraints: { - MaxLength: 255 - }, - type: { - name: "String" - } - }, - autoSync: { - serializedName: "autoSync", - type: { - name: "Boolean" - } - }, - publishRunbook: { - serializedName: "publishRunbook", - type: { - name: "Boolean" - } - }, - sourceType: { - serializedName: "sourceType", - type: { - name: "String" - } - }, - securityToken: { - serializedName: "securityToken", - type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" - } - }, - description: { - serializedName: "description", - constraints: { - MaxLength: 512 - }, - type: { - name: "String" - } - } - } - } -}; - export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "SourceControlCreateOrUpdateParameters", type: { @@ -5635,179 +3870,35 @@ export const SourceControlCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobProperties", - type: { - name: "Composite", - className: "SourceControlSyncJobProperties", - modelProperties: { - sourceControlSyncJobId: { - serializedName: "sourceControlSyncJobId", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - serializedName: "provisioningState", - type: { - name: "String" - } - }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - syncType: { - serializedName: "syncType", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJob: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJob", - type: { - name: "Composite", - className: "SourceControlSyncJob", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - 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 SourceControlSyncJobCreateProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobCreateProperties", - type: { - name: "Composite", - className: "SourceControlSyncJobCreateProperties", - modelProperties: { - commitId: { - required: true, - serializedName: "commitId", - constraints: { - MinLength: 0 - }, - 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 - }, - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJobByIdProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobByIdProperties", +export const SourceControlSyncJob: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJob", type: { name: "Composite", - className: "SourceControlSyncJobByIdProperties", + className: "SourceControlSyncJob", modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, sourceControlSyncJobId: { - serializedName: "sourceControlSyncJobId", + serializedName: "properties.sourceControlSyncJobId", type: { name: "String" } @@ -5815,13 +3906,13 @@ export const SourceControlSyncJobByIdProperties: msRest.CompositeMapper = { creationTime: { nullable: false, readOnly: true, - serializedName: "creationTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } }, provisioningState: { - serializedName: "provisioningState", + serializedName: "properties.provisioningState", type: { name: "String" } @@ -5829,7 +3920,7 @@ export const SourceControlSyncJobByIdProperties: msRest.CompositeMapper = { startTime: { nullable: true, readOnly: true, - serializedName: "startTime", + serializedName: "properties.startTime", type: { name: "DateTime" } @@ -5837,19 +3928,33 @@ export const SourceControlSyncJobByIdProperties: msRest.CompositeMapper = { endTime: { nullable: true, readOnly: true, - serializedName: "endTime", + serializedName: "properties.endTime", type: { name: "DateTime" } }, syncType: { - serializedName: "syncType", + serializedName: "properties.syncType", type: { name: "String" } - }, - exception: { - serializedName: "exception", + } + } + } +}; + +export const SourceControlSyncJobCreateParameters: msRest.CompositeMapper = { + serializedName: "SourceControlSyncJobCreateParameters", + type: { + name: "Composite", + className: "SourceControlSyncJobCreateParameters", + modelProperties: { + commitId: { + required: true, + serializedName: "properties.commitId", + constraints: { + MinLength: 0 + }, type: { name: "String" } @@ -5922,42 +4027,6 @@ export const SourceControlSyncJobById: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobStreamProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamProperties", - type: { - name: "Composite", - className: "SourceControlSyncJobStreamProperties", - modelProperties: { - sourceControlSyncJobStreamId: { - serializedName: "sourceControlSyncJobStreamId", - type: { - name: "String" - } - }, - summary: { - serializedName: "summary", - type: { - name: "String" - } - }, - time: { - nullable: true, - readOnly: true, - serializedName: "time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "streamType", - type: { - name: "String" - } - } - } - } -}; - export const SourceControlSyncJobStream: msRest.CompositeMapper = { serializedName: "SourceControlSyncJobStream", type: { @@ -6001,59 +4070,6 @@ export const SourceControlSyncJobStream: msRest.CompositeMapper = { } }; -export const SourceControlSyncJobStreamByIdProperties: msRest.CompositeMapper = { - serializedName: "SourceControlSyncJobStreamByIdProperties", - type: { - name: "Composite", - className: "SourceControlSyncJobStreamByIdProperties", - modelProperties: { - sourceControlSyncJobStreamId: { - serializedName: "sourceControlSyncJobStreamId", - type: { - name: "String" - } - }, - summary: { - serializedName: "summary", - type: { - name: "String" - } - }, - time: { - nullable: true, - readOnly: true, - serializedName: "time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "streamType", - type: { - name: "String" - } - }, - streamText: { - serializedName: "streamText", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - } - } - } -}; - export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { serializedName: "SourceControlSyncJobStreamById", type: { @@ -6114,58 +4130,6 @@ export const SourceControlSyncJobStreamById: msRest.CompositeMapper = { } }; -export const JobStreamProperties: msRest.CompositeMapper = { - serializedName: "JobStreamProperties", - type: { - name: "Composite", - className: "JobStreamProperties", - modelProperties: { - jobStreamId: { - serializedName: "jobStreamId", - type: { - name: "String" - } - }, - time: { - nullable: false, - serializedName: "time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "streamType", - type: { - name: "String" - } - }, - streamText: { - serializedName: "streamText", - type: { - name: "String" - } - }, - summary: { - serializedName: "summary", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - } - } - } -}; - export const JobStream: msRest.CompositeMapper = { serializedName: "JobStream", type: { @@ -6178,153 +4142,47 @@ export const JobStream: msRest.CompositeMapper = { 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", - type: { - name: "String" - } - }, - summary: { - serializedName: "properties.summary", - type: { - name: "String" - } - }, - value: { - serializedName: "properties.value", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - } - } - } -}; - -export const JobProperties: msRest.CompositeMapper = { - serializedName: "JobProperties", - type: { - name: "Composite", - className: "JobProperties", - modelProperties: { - runbook: { - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - startedBy: { - serializedName: "startedBy", - type: { - name: "String" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - jobId: { - nullable: false, - serializedName: "jobId", - type: { - name: "Uuid" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - status: { - serializedName: "status", - type: { - name: "String" - } - }, - statusDetails: { - serializedName: "statusDetails", + jobStreamId: { + serializedName: "properties.jobStreamId", type: { name: "String" } }, - startTime: { - nullable: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - serializedName: "endTime", + time: { + nullable: false, + serializedName: "properties.time", type: { name: "DateTime" } }, - exception: { - serializedName: "exception", + streamType: { + serializedName: "properties.streamType", type: { name: "String" } }, - lastModifiedTime: { - nullable: true, - serializedName: "lastModifiedTime", + streamText: { + serializedName: "properties.streamText", type: { - name: "DateTime" + name: "String" } }, - lastStatusModifiedTime: { - nullable: true, - serializedName: "lastStatusModifiedTime", + summary: { + serializedName: "properties.summary", type: { - name: "DateTime" + name: "String" } }, - parameters: { - serializedName: "parameters", + value: { + serializedName: "properties.value", type: { name: "Dictionary", value: { type: { - name: "String" + name: "Object" } } } - }, - provisioningState: { - serializedName: "provisioningState", - type: { - name: "String" - } } } } @@ -6437,84 +4295,6 @@ export const Job: msRest.CompositeMapper = { } }; -export const JobCollectionItemProperties: msRest.CompositeMapper = { - serializedName: "JobCollectionItemProperties", - type: { - name: "Composite", - className: "JobCollectionItemProperties", - modelProperties: { - runbook: { - readOnly: true, - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - jobId: { - nullable: false, - readOnly: true, - serializedName: "jobId", - type: { - name: "Uuid" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - status: { - readOnly: true, - serializedName: "status", - type: { - name: "String" - } - }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: true, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", - type: { - name: "String" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - } - } - } -}; - export const JobCollectionItem: msRest.CompositeMapper = { serializedName: "JobCollectionItem", type: { @@ -6594,40 +4374,6 @@ export const JobCollectionItem: msRest.CompositeMapper = { } }; -export const JobCreateProperties: msRest.CompositeMapper = { - serializedName: "JobCreateProperties", - type: { - name: "Composite", - className: "JobCreateProperties", - modelProperties: { - runbook: { - serializedName: "runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - } - } - } -}; - export const JobCreateParameters: msRest.CompositeMapper = { serializedName: "JobCreateParameters", type: { @@ -7005,171 +4751,77 @@ export const DscNodeReport: msRest.CompositeMapper = { export const AgentRegistrationKeys: msRest.CompositeMapper = { serializedName: "AgentRegistrationKeys", - type: { - name: "Composite", - className: "AgentRegistrationKeys", - modelProperties: { - primary: { - serializedName: "primary", - type: { - name: "String" - } - }, - secondary: { - serializedName: "secondary", - type: { - name: "String" - } - } - } - } -}; - -export const AgentRegistration: msRest.CompositeMapper = { - serializedName: "AgentRegistration", - type: { - name: "Composite", - className: "AgentRegistration", - modelProperties: { - dscMetaConfiguration: { - serializedName: "dscMetaConfiguration", - type: { - name: "String" - } - }, - endpoint: { - serializedName: "endpoint", - type: { - name: "String" - } - }, - keys: { - serializedName: "keys", - type: { - name: "Composite", - className: "AgentRegistrationKeys" - } - }, - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const DscNodeConfigurationAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationAssociationProperty", - type: { - name: "Composite", - className: "DscNodeConfigurationAssociationProperty", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - -export const DscNodeExtensionHandlerAssociationProperty: msRest.CompositeMapper = { - serializedName: "DscNodeExtensionHandlerAssociationProperty", - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - } - } - } -}; - -export const DscNodeProperties: msRest.CompositeMapper = { - serializedName: "DscNodeProperties", - type: { - name: "Composite", - className: "DscNodeProperties", - modelProperties: { - lastSeen: { - nullable: false, - serializedName: "lastSeen", - type: { - name: "DateTime" - } - }, - registrationTime: { - nullable: false, - serializedName: "registrationTime", - type: { - name: "DateTime" - } - }, - ip: { - serializedName: "ip", + type: { + name: "Composite", + className: "AgentRegistrationKeys", + modelProperties: { + primary: { + serializedName: "primary", type: { name: "String" } }, - accountId: { - serializedName: "accountId", + secondary: { + serializedName: "secondary", type: { name: "String" } - }, - name: { - serializedName: "nodeConfiguration.name", + } + } + } +}; + +export const AgentRegistration: msRest.CompositeMapper = { + serializedName: "AgentRegistration", + type: { + name: "Composite", + className: "AgentRegistration", + modelProperties: { + dscMetaConfiguration: { + serializedName: "dscMetaConfiguration", type: { name: "String" } }, - status: { - serializedName: "status", + endpoint: { + serializedName: "endpoint", type: { name: "String" } }, - nodeId: { - serializedName: "nodeId", + keys: { + serializedName: "keys", type: { - name: "String" + name: "Composite", + className: "AgentRegistrationKeys" } }, - etag: { - serializedName: "etag", + id: { + serializedName: "id", type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", + } + } + } +}; + +export const DscNodeExtensionHandlerAssociationProperty: msRest.CompositeMapper = { + serializedName: "DscNodeExtensionHandlerAssociationProperty", + type: { + name: "Composite", + className: "DscNodeExtensionHandlerAssociationProperty", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - extensionHandler: { - serializedName: "extensionHandler", + version: { + serializedName: "version", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscNodeExtensionHandlerAssociationProperty" - } - } + name: "String" } } } @@ -7327,120 +4979,6 @@ export const DscConfigurationAssociationProperty: msRest.CompositeMapper = { } }; -export const DscCompilationJobProperties: msRest.CompositeMapper = { - serializedName: "DscCompilationJobProperties", - type: { - name: "Composite", - className: "DscCompilationJobProperties", - modelProperties: { - configuration: { - serializedName: "configuration", - type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" - } - }, - startedBy: { - readOnly: true, - serializedName: "startedBy", - type: { - name: "String" - } - }, - jobId: { - nullable: false, - readOnly: true, - serializedName: "jobId", - type: { - name: "Uuid" - } - }, - creationTime: { - nullable: false, - readOnly: true, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - provisioningState: { - serializedName: "provisioningState", - type: { - name: "String" - } - }, - runOn: { - serializedName: "runOn", - type: { - name: "String" - } - }, - status: { - serializedName: "status", - type: { - name: "String" - } - }, - statusDetails: { - serializedName: "statusDetails", - type: { - name: "String" - } - }, - startTime: { - nullable: true, - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - nullable: true, - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - exception: { - readOnly: true, - serializedName: "exception", - type: { - name: "String" - } - }, - lastModifiedTime: { - nullable: false, - readOnly: true, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastStatusModifiedTime: { - nullable: true, - readOnly: true, - serializedName: "lastStatusModifiedTime", - type: { - name: "DateTime" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const DscCompilationJob: msRest.CompositeMapper = { serializedName: "DscCompilationJob", type: { @@ -7556,41 +5094,6 @@ export const DscCompilationJob: msRest.CompositeMapper = { } }; -export const DscCompilationJobCreateProperties: msRest.CompositeMapper = { - serializedName: "DscCompilationJobCreateProperties", - type: { - name: "Composite", - className: "DscCompilationJobCreateProperties", - modelProperties: { - configuration: { - required: true, - serializedName: "configuration", - type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - incrementNodeConfigurationBuild: { - serializedName: "incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - } - } - } -}; - export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { serializedName: "DscCompilationJobCreateParameters", type: { @@ -7616,82 +5119,33 @@ export const DscCompilationJobCreateParameters: msRest.CompositeMapper = { } } }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const DscNodeConfigurationProperties: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationProperties", - type: { - name: "Composite", - className: "DscNodeConfigurationProperties", - modelProperties: { - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - configuration: { - serializedName: "configuration", + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "Boolean" } }, - source: { - serializedName: "source", + name: { + serializedName: "name", type: { name: "String" } }, - nodeCount: { - serializedName: "nodeCount", + location: { + serializedName: "location", type: { - name: "Number" + name: "String" } }, - incrementNodeConfigurationBuild: { - serializedName: "incrementNodeConfigurationBuild", + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } @@ -7748,38 +5202,6 @@ export const DscNodeConfiguration: msRest.CompositeMapper = { } }; -export const DscNodeConfigurationCreateOrUpdateParametersProperties: msRest.CompositeMapper = { - serializedName: "DscNodeConfigurationCreateOrUpdateParametersProperties", - type: { - name: "Composite", - className: "DscNodeConfigurationCreateOrUpdateParametersProperties", - modelProperties: { - source: { - required: true, - serializedName: "source", - type: { - name: "Composite", - className: "ContentSource" - } - }, - configuration: { - required: true, - serializedName: "configuration", - type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" - } - }, - incrementNodeConfigurationBuild: { - serializedName: "incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - } - } - } -}; - export const DscNodeConfigurationCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "DscNodeConfigurationCreateOrUpdateParameters", type: { @@ -7990,124 +5412,6 @@ export const RunbookDraft: msRest.CompositeMapper = { } }; -export const RunbookProperties: msRest.CompositeMapper = { - serializedName: "RunbookProperties", - type: { - name: "Composite", - className: "RunbookProperties", - modelProperties: { - runbookType: { - serializedName: "runbookType", - type: { - name: "String" - } - }, - publishContentLink: { - serializedName: "publishContentLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - state: { - serializedName: "state", - type: { - name: "String" - } - }, - logVerbose: { - serializedName: "logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "logProgress", - type: { - name: "Boolean" - } - }, - logActivityTrace: { - serializedName: "logActivityTrace", - type: { - name: "Number" - } - }, - jobCount: { - serializedName: "jobCount", - type: { - name: "Number" - } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "RunbookParameter" - } - } - } - }, - outputTypes: { - serializedName: "outputTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - draft: { - serializedName: "draft", - type: { - name: "Composite", - className: "RunbookDraft" - } - }, - provisioningState: { - serializedName: "provisioningState", - type: { - name: "Enum", - allowedValues: [ - "Succeeded" - ] - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - creationTime: { - nullable: false, - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - nullable: false, - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const Runbook: msRest.CompositeMapper = { serializedName: "Runbook", type: { @@ -8233,61 +5537,6 @@ export const Runbook: msRest.CompositeMapper = { } }; -export const RunbookCreateOrUpdateProperties: msRest.CompositeMapper = { - serializedName: "RunbookCreateOrUpdateProperties", - type: { - name: "Composite", - className: "RunbookCreateOrUpdateProperties", - modelProperties: { - logVerbose: { - serializedName: "logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "logProgress", - type: { - name: "Boolean" - } - }, - runbookType: { - required: true, - serializedName: "runbookType", - type: { - name: "String" - } - }, - draft: { - serializedName: "draft", - type: { - name: "Composite", - className: "RunbookDraft" - } - }, - publishContentLink: { - serializedName: "publishContentLink", - type: { - name: "Composite", - className: "ContentLink" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - }, - logActivityTrace: { - serializedName: "logActivityTrace", - type: { - name: "Number" - } - } - } - } -}; - export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { serializedName: "RunbookCreateOrUpdateParameters", type: { @@ -8366,40 +5615,6 @@ export const RunbookCreateOrUpdateParameters: msRest.CompositeMapper = { } }; -export const RunbookUpdateProperties: msRest.CompositeMapper = { - serializedName: "RunbookUpdateProperties", - type: { - name: "Composite", - className: "RunbookUpdateProperties", - modelProperties: { - description: { - serializedName: "description", - type: { - name: "String" - } - }, - logVerbose: { - serializedName: "logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "logProgress", - type: { - name: "Boolean" - } - }, - logActivityTrace: { - serializedName: "logActivityTrace", - type: { - name: "Number" - } - } - } - } -}; - export const RunbookUpdateParameters: msRest.CompositeMapper = { serializedName: "RunbookUpdateParameters", type: { @@ -8658,24 +5873,6 @@ export const RunbookCreateOrUpdateDraftParameters: msRest.CompositeMapper = { } }; -export const PythonPackageCreateProperties: msRest.CompositeMapper = { - serializedName: "PythonPackageCreateProperties", - type: { - name: "Composite", - className: "PythonPackageCreateProperties", - modelProperties: { - contentLink: { - required: true, - serializedName: "contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - } - } - } -}; - export const PythonPackageCreateParameters: msRest.CompositeMapper = { serializedName: "PythonPackageCreateParameters", type: { diff --git a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts index 3c06517ab034..5ce6d2de0721 100644 --- a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts index 6e9e0229cb27..089257ed2e75 100644 --- a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts +++ b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts index cd031d9748cc..6df6815dbbea 100644 --- a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts @@ -46,6 +46,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts index 3c36942db2f4..d9aa4ac6f894 100644 --- a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts @@ -39,6 +39,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts index 00be4ddfd0cb..fd8bd25eb6e2 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts @@ -14,6 +14,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, diff --git a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts index 8d48c1346186..9074eac51f3d 100644 --- a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts @@ -41,6 +41,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts index 29bb8744caea..9bd85d983421 100644 --- a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts @@ -39,6 +39,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts index 906bb7944675..960454570e24 100644 --- a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts @@ -40,6 +40,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts index 2519f05e71a2..f49e2d7cb2ca 100644 --- a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts @@ -39,6 +39,9 @@ export { UpdateConfiguration, WindowsProperties, LinuxProperties, + TargetProperties, + AzureQueryProperties, + TagSettingsProperties, ScheduleProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/package.json b/packages/@azure/arm-automation/package.json index efaad1e777b6..04ee64044a6d 100644 --- a/packages/@azure/arm-automation/package.json +++ b/packages/@azure/arm-automation/package.json @@ -4,9 +4,8 @@ "description": "AutomationClient Library with typescript type definitions for node.js and browser.", "version": "1.0.0-preview", "dependencies": { - "ms-rest-azure-js": "^1.0.166", - "ms-rest-js": "^1.0.439", - "tslib": "^1.9.3" + "ms-rest-azure-js": "~0.17.165", + "ms-rest-js": "~0.22.434" }, "keywords": [ "node", @@ -16,16 +15,16 @@ "isomorphic" ], "license": "MIT", - "main": "./dist/arm-automation.js", + "main": "./cjs/automationClient.js", "module": "./esm/automationClient.js", - "types": "./esm/automationClient.d.ts", + "types": "./cjs/automationClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "tslib": "^1.9.3", + "typescript": "^3.0.3", + "webpack": "^4.17.2", + "webpack-cli": "^3.1.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-automation", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -34,9 +33,7 @@ "url": "https://github.com/azure/azure-sdk-for-js/issues" }, "scripts": { - "build": "tsc && rollup -c rollup.config.js && npm run minify", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-automation.js.map'\" -o ./dist/arm-automation.min.js ./dist/arm-automation.js", + "build": "tsc && tsc -p tsconfig.esm.json && webpack", "prepare": "npm run build" - }, - "sideEffects": false + } } diff --git a/packages/@azure/arm-automation/tsconfig.esm.json b/packages/@azure/arm-automation/tsconfig.esm.json new file mode 100644 index 000000000000..0b3aed07505c --- /dev/null +++ b/packages/@azure/arm-automation/tsconfig.esm.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "./esm", + "module": "es6", + "target": "es5" + } +} diff --git a/packages/@azure/arm-automation/tsconfig.json b/packages/@azure/arm-automation/tsconfig.json index f32d1664f320..d5b25971c029 100644 --- a/packages/@azure/arm-automation/tsconfig.json +++ b/packages/@azure/arm-automation/tsconfig.json @@ -1,9 +1,9 @@ { "compilerOptions": { - "module": "es6", + "module": "commonjs", "moduleResolution": "node", "strict": true, - "target": "es5", + "target": "es6", "sourceMap": true, "declarationMap": true, "esModuleInterop": true, @@ -11,8 +11,7 @@ "forceConsistentCasingInFileNames": true, "lib": ["es6"], "declaration": true, - "outDir": "./esm", - "importHelpers": true + "outDir": "./cjs" }, "include": ["./lib/**/*"], "exclude": ["node_modules"] diff --git a/packages/@azure/arm-automation/webpack.config.js b/packages/@azure/arm-automation/webpack.config.js new file mode 100644 index 000000000000..dc1aaef3f5e0 --- /dev/null +++ b/packages/@azure/arm-automation/webpack.config.js @@ -0,0 +1,30 @@ +// This is a template webpack config file with minimal configuration. +// Users are free to create their own webpack configuration files in their application. +const path = require('path'); + +/** + * @type {import('webpack').Configuration} + */ +const config = { + mode: 'production', + entry: './esm/automationClient.js', + devtool: 'source-map', + output: { + filename: 'automationClientBundle.js', + path: __dirname, + libraryTarget: 'var', + library: 'automationClient' + }, + // "ms-rest-js" and "ms-rest-azure-js" are dependencies of this library. + // Customer is expected to import/include this library in browser javascript + // (probably using the script tag in their html file). + externals: { + "ms-rest-js": "msRest", + "ms-rest-azure-js": "msRestAzure" + }, + resolve: { + extensions: [".tsx", ".ts", ".js"] + } +}; + +module.exports = config;