diff --git a/sdk/automation/arm-automation/CHANGELOG.md b/sdk/automation/arm-automation/CHANGELOG.md index ef4be05037b9..46b0b524abd2 100644 --- a/sdk/automation/arm-automation/CHANGELOG.md +++ b/sdk/automation/arm-automation/CHANGELOG.md @@ -1,30 +1,8 @@ # Release History + +## 11.0.0-beta.4 (2022-11-01) -## 11.0.0-beta.4 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 11.0.0-beta.3 (2022-10-08) - -**Bugs Fixed** - - - revert credential scopes - -## 11.0.0-beta.2 (2022-09-30) - -**Bugs Fixed** - - - fix better user experience of credential scopes in government cloud - -## 11.0.0-beta.1 (2022-07-25) - -The package of @azure/arm-automation is using our next generation design principles since version 11.0.0-beta.1, which contains breaking changes. +The package of @azure/arm-automation is using our next generation design principles since version 11.0.0-beta.4, which contains breaking changes. To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). diff --git a/sdk/automation/arm-automation/_meta.json b/sdk/automation/arm-automation/_meta.json index 51f25348ff39..2e3cd0098822 100644 --- a/sdk/automation/arm-automation/_meta.json +++ b/sdk/automation/arm-automation/_meta.json @@ -1,8 +1,8 @@ { - "commit": "405811c51aa09803caedfe17fd305e110db1ca5e", + "commit": "3e9cec2e459b95796d51ffafaa146aee3299867d", "readme": "specification/automation/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\automation\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1.20220721.1", + "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/automation/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.2", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.0", - "use": "@autorest/typescript@6.0.0-rc.1.20220721.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.4", + "use": "@autorest/typescript@6.0.0-rc.2" } \ No newline at end of file diff --git a/sdk/automation/arm-automation/package.json b/sdk/automation/arm-automation/package.json index ed976bf106fa..9205e786c2d5 100644 --- a/sdk/automation/arm-automation/package.json +++ b/sdk/automation/arm-automation/package.json @@ -110,4 +110,4 @@ ] }, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/automation/arm-automation/review/arm-automation.api.md b/sdk/automation/arm-automation/review/arm-automation.api.md index 355a675e9af6..a82d855b72f4 100644 --- a/sdk/automation/arm-automation/review/arm-automation.api.md +++ b/sdk/automation/arm-automation/review/arm-automation.api.md @@ -327,6 +327,8 @@ export class AutomationClient extends coreClient.ServiceClient { // (undocumented) python2Package: Python2Package; // (undocumented) + python3Package: Python3Package; + // (undocumented) runbookDraftOperations: RunbookDraftOperations; // (undocumented) runbookOperations: RunbookOperations; @@ -460,12 +462,6 @@ export interface CertificateUpdateParameters { // @public export type CertificateUpdateResponse = Certificate; -// @public (undocumented) -export interface ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties { - readonly clientId?: string; - readonly principalId?: string; -} - // @public export interface Connection extends ProxyResource { connectionType?: ConnectionTypeAssociationProperty; @@ -535,7 +531,7 @@ export interface ConnectionOperations { } // @public -export interface ConnectionType { +interface ConnectionType_2 { readonly creationTime?: Date; description?: string; readonly fieldDefinitions?: { @@ -547,6 +543,7 @@ export interface ConnectionType { readonly name?: string; readonly type?: string; } +export { ConnectionType_2 as ConnectionType } // @public export interface ConnectionTypeAssociationProperty { @@ -567,7 +564,7 @@ export interface ConnectionTypeCreateOrUpdateParameters { } // @public -export type ConnectionTypeCreateOrUpdateResponse = ConnectionType; +export type ConnectionTypeCreateOrUpdateResponse = ConnectionType_2; // @public export interface ConnectionTypeDeleteOptionalParams extends coreClient.OperationOptions { @@ -578,7 +575,7 @@ export interface ConnectionTypeGetOptionalParams extends coreClient.OperationOpt } // @public -export type ConnectionTypeGetResponse = ConnectionType; +export type ConnectionTypeGetResponse = ConnectionType_2; // @public export interface ConnectionTypeListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions { @@ -597,7 +594,7 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe // @public export interface ConnectionTypeListResult { nextLink?: string; - value?: ConnectionType[]; + value?: ConnectionType_2[]; } // @public @@ -605,7 +602,7 @@ export interface ConnectionTypeOperations { createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: ConnectionTypeCreateOrUpdateParameters, options?: ConnectionTypeCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: ConnectionTypeDeleteOptionalParams): Promise; get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: ConnectionTypeGetOptionalParams): Promise; - listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: ConnectionTypeListByAutomationAccountOptionalParams): PagedAsyncIterableIterator; + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: ConnectionTypeListByAutomationAccountOptionalParams): PagedAsyncIterableIterator; } // @public @@ -769,6 +766,12 @@ export interface DeletedAutomationAccountsListBySubscriptionOptionalParams exten // @public export type DeletedAutomationAccountsListBySubscriptionResponse = DeletedAutomationAccountListResult; +// @public +export interface Dimension { + displayName?: string; + name?: string; +} + // @public export interface DscCompilationJob extends ProxyResource { configuration?: DscConfigurationAssociationProperty; @@ -928,7 +931,7 @@ export interface DscConfigurationGetContentOptionalParams extends coreClient.Ope // @public export type DscConfigurationGetContentResponse = { - body: string; + body: coreRestPipeline.RequestBodyType; }; // @public @@ -1479,7 +1482,7 @@ export interface Identity { readonly tenantId?: string; type?: ResourceIdentityType; userAssignedIdentities?: { - [propertyName: string]: ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties; + [propertyName: string]: UserAssignedIdentitiesProperties; }; } @@ -1939,6 +1942,26 @@ export enum KnownLinuxUpdateClasses { Unclassified = "Unclassified" } +// @public +export enum KnownModuleProvisioningState { + ActivitiesStored = "ActivitiesStored", + Cancelled = "Cancelled", + ConnectionTypeImported = "ConnectionTypeImported", + ContentDownloaded = "ContentDownloaded", + ContentRetrieved = "ContentRetrieved", + ContentStored = "ContentStored", + ContentValidated = "ContentValidated", + Created = "Created", + Creating = "Creating", + Failed = "Failed", + ModuleDataStored = "ModuleDataStored", + ModuleImportRunbookComplete = "ModuleImportRunbookComplete", + RunningImportModuleRunbook = "RunningImportModuleRunbook", + StartingImportModuleRunbook = "StartingImportModuleRunbook", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownProvisioningState { Completed = "Completed", @@ -2064,6 +2087,23 @@ export interface LinuxProperties { // @public export type LinuxUpdateClasses = string; +// @public +export interface LogSpecification { + blobDuration?: string; + displayName?: string; + name?: string; +} + +// @public +export interface MetricSpecification { + aggregationType?: string; + dimensions?: Dimension[]; + displayDescription?: string; + displayName?: string; + name?: string; + unit?: string; +} + // @public export interface Module extends TrackedResource { activityCount?: number; @@ -2144,7 +2184,7 @@ export interface ModuleOperations { } // @public -export type ModuleProvisioningState = "Created" | "Creating" | "StartingImportModuleRunbook" | "RunningImportModuleRunbook" | "ContentRetrieved" | "ContentDownloaded" | "ContentValidated" | "ConnectionTypeImported" | "ContentStored" | "ModuleDataStored" | "ActivitiesStored" | "ModuleImportRunbookComplete" | "Succeeded" | "Failed" | "Cancelled" | "Updating"; +export type ModuleProvisioningState = string; // @public export interface ModuleUpdateOptionalParams extends coreClient.OperationOptions { @@ -2263,10 +2303,13 @@ export type OperatingSystemType = "Windows" | "Linux"; export interface Operation { display?: OperationDisplay; name?: string; + origin?: string; + serviceSpecification?: OperationPropertiesFormatServiceSpecification; } // @public export interface OperationDisplay { + description?: string; operation?: string; provider?: string; resource?: string; @@ -2277,6 +2320,12 @@ export interface OperationListResult { value?: Operation[]; } +// @public +export interface OperationPropertiesFormatServiceSpecification { + logSpecifications?: LogSpecification[]; + metricSpecifications?: MetricSpecification[]; +} + // @public export interface Operations { list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; @@ -2430,6 +2479,54 @@ export interface Python2PackageUpdateOptionalParams extends coreClient.Operation // @public export type Python2PackageUpdateResponse = Module; +// @public +export interface Python3Package { + createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options?: Python3PackageCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python3PackageDeleteOptionalParams): Promise; + get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python3PackageGetOptionalParams): Promise; + listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Python3PackageListByAutomationAccountOptionalParams): PagedAsyncIterableIterator; + update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options?: Python3PackageUpdateOptionalParams): Promise; +} + +// @public +export interface Python3PackageCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type Python3PackageCreateOrUpdateResponse = Module; + +// @public +export interface Python3PackageDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface Python3PackageGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type Python3PackageGetResponse = Module; + +// @public +export interface Python3PackageListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type Python3PackageListByAutomationAccountNextResponse = ModuleListResult; + +// @public +export interface Python3PackageListByAutomationAccountOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type Python3PackageListByAutomationAccountResponse = ModuleListResult; + +// @public +export interface Python3PackageUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type Python3PackageUpdateResponse = Module; + // @public export interface PythonPackageCreateParameters { contentLink: ContentLink; @@ -3485,6 +3582,12 @@ export interface UsagesListByAutomationAccountOptionalParams extends coreClient. // @public export type UsagesListByAutomationAccountResponse = UsageListResult; +// @public (undocumented) +export interface UserAssignedIdentitiesProperties { + readonly clientId?: string; + readonly principalId?: string; +} + // @public export interface Variable extends ProxyResource { creationTime?: Date; diff --git a/sdk/automation/arm-automation/src/automationClient.ts b/sdk/automation/arm-automation/src/automationClient.ts index e564b7f16b06..54ed7e38bd2a 100644 --- a/sdk/automation/arm-automation/src/automationClient.ts +++ b/sdk/automation/arm-automation/src/automationClient.ts @@ -12,17 +12,16 @@ import * as coreAuth from "@azure/core-auth"; import { PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, - Python2PackageImpl, AgentRegistrationInformationImpl, DscNodeOperationsImpl, NodeReportsImpl, - DscNodeConfigurationOperationsImpl, DscCompilationJobOperationsImpl, DscCompilationJobStreamImpl, NodeCountInformationImpl, - SourceControlOperationsImpl, - SourceControlSyncJobOperationsImpl, - SourceControlSyncJobStreamsImpl, + WatcherOperationsImpl, + SoftwareUpdateConfigurationsImpl, + WebhookOperationsImpl, + DeletedAutomationAccountsImpl, AutomationAccountOperationsImpl, StatisticsOperationsImpl, UsagesImpl, @@ -31,45 +30,46 @@ import { ConnectionOperationsImpl, ConnectionTypeOperationsImpl, CredentialOperationsImpl, + DscConfigurationOperationsImpl, + DscNodeConfigurationOperationsImpl, + HybridRunbookWorkersImpl, + HybridRunbookWorkerGroupOperationsImpl, + JobOperationsImpl, + JobStreamOperationsImpl, JobScheduleOperationsImpl, LinkedWorkspaceOperationsImpl, ActivityOperationsImpl, ModuleOperationsImpl, ObjectDataTypesImpl, FieldsImpl, - ScheduleOperationsImpl, - VariableOperationsImpl, - WatcherOperationsImpl, - DscConfigurationOperationsImpl, - JobOperationsImpl, - JobStreamOperationsImpl, OperationsImpl, - SoftwareUpdateConfigurationsImpl, - SoftwareUpdateConfigurationRunsImpl, - SoftwareUpdateConfigurationMachineRunsImpl, + Python2PackageImpl, + Python3PackageImpl, RunbookDraftOperationsImpl, RunbookOperationsImpl, TestJobStreamsImpl, TestJobOperationsImpl, - WebhookOperationsImpl, - HybridRunbookWorkersImpl, - DeletedAutomationAccountsImpl, - HybridRunbookWorkerGroupOperationsImpl + ScheduleOperationsImpl, + SoftwareUpdateConfigurationMachineRunsImpl, + SoftwareUpdateConfigurationRunsImpl, + SourceControlOperationsImpl, + SourceControlSyncJobOperationsImpl, + SourceControlSyncJobStreamsImpl, + VariableOperationsImpl } from "./operations"; import { PrivateEndpointConnections, PrivateLinkResources, - Python2Package, AgentRegistrationInformation, DscNodeOperations, NodeReports, - DscNodeConfigurationOperations, DscCompilationJobOperations, DscCompilationJobStream, NodeCountInformation, - SourceControlOperations, - SourceControlSyncJobOperations, - SourceControlSyncJobStreams, + WatcherOperations, + SoftwareUpdateConfigurations, + WebhookOperations, + DeletedAutomationAccounts, AutomationAccountOperations, StatisticsOperations, Usages, @@ -78,30 +78,32 @@ import { ConnectionOperations, ConnectionTypeOperations, CredentialOperations, + DscConfigurationOperations, + DscNodeConfigurationOperations, + HybridRunbookWorkers, + HybridRunbookWorkerGroupOperations, + JobOperations, + JobStreamOperations, JobScheduleOperations, LinkedWorkspaceOperations, ActivityOperations, ModuleOperations, ObjectDataTypes, Fields, - ScheduleOperations, - VariableOperations, - WatcherOperations, - DscConfigurationOperations, - JobOperations, - JobStreamOperations, Operations, - SoftwareUpdateConfigurations, - SoftwareUpdateConfigurationRuns, - SoftwareUpdateConfigurationMachineRuns, + Python2Package, + Python3Package, RunbookDraftOperations, RunbookOperations, TestJobStreams, TestJobOperations, - WebhookOperations, - HybridRunbookWorkers, - DeletedAutomationAccounts, - HybridRunbookWorkerGroupOperations + ScheduleOperations, + SoftwareUpdateConfigurationMachineRuns, + SoftwareUpdateConfigurationRuns, + SourceControlOperations, + SourceControlSyncJobOperations, + SourceControlSyncJobStreams, + VariableOperations } from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; @@ -200,27 +202,22 @@ export class AutomationClient extends coreClient.ServiceClient { this.$host = options.$host || "https://management.azure.com"; this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.python2Package = new Python2PackageImpl(this); this.agentRegistrationInformation = new AgentRegistrationInformationImpl( this ); this.dscNodeOperations = new DscNodeOperationsImpl(this); this.nodeReports = new NodeReportsImpl(this); - this.dscNodeConfigurationOperations = new DscNodeConfigurationOperationsImpl( - this - ); this.dscCompilationJobOperations = new DscCompilationJobOperationsImpl( this ); this.dscCompilationJobStream = new DscCompilationJobStreamImpl(this); this.nodeCountInformation = new NodeCountInformationImpl(this); - this.sourceControlOperations = new SourceControlOperationsImpl(this); - this.sourceControlSyncJobOperations = new SourceControlSyncJobOperationsImpl( - this - ); - this.sourceControlSyncJobStreams = new SourceControlSyncJobStreamsImpl( + this.watcherOperations = new WatcherOperationsImpl(this); + this.softwareUpdateConfigurations = new SoftwareUpdateConfigurationsImpl( this ); + this.webhookOperations = new WebhookOperationsImpl(this); + this.deletedAutomationAccounts = new DeletedAutomationAccountsImpl(this); this.automationAccountOperations = new AutomationAccountOperationsImpl( this ); @@ -231,38 +228,44 @@ export class AutomationClient extends coreClient.ServiceClient { this.connectionOperations = new ConnectionOperationsImpl(this); this.connectionTypeOperations = new ConnectionTypeOperationsImpl(this); this.credentialOperations = new CredentialOperationsImpl(this); + this.dscConfigurationOperations = new DscConfigurationOperationsImpl(this); + this.dscNodeConfigurationOperations = new DscNodeConfigurationOperationsImpl( + this + ); + this.hybridRunbookWorkers = new HybridRunbookWorkersImpl(this); + this.hybridRunbookWorkerGroupOperations = new HybridRunbookWorkerGroupOperationsImpl( + this + ); + this.jobOperations = new JobOperationsImpl(this); + this.jobStreamOperations = new JobStreamOperationsImpl(this); this.jobScheduleOperations = new JobScheduleOperationsImpl(this); this.linkedWorkspaceOperations = new LinkedWorkspaceOperationsImpl(this); this.activityOperations = new ActivityOperationsImpl(this); this.moduleOperations = new ModuleOperationsImpl(this); this.objectDataTypes = new ObjectDataTypesImpl(this); this.fields = new FieldsImpl(this); - this.scheduleOperations = new ScheduleOperationsImpl(this); - this.variableOperations = new VariableOperationsImpl(this); - this.watcherOperations = new WatcherOperationsImpl(this); - this.dscConfigurationOperations = new DscConfigurationOperationsImpl(this); - this.jobOperations = new JobOperationsImpl(this); - this.jobStreamOperations = new JobStreamOperationsImpl(this); this.operations = new OperationsImpl(this); - this.softwareUpdateConfigurations = new SoftwareUpdateConfigurationsImpl( + this.python2Package = new Python2PackageImpl(this); + this.python3Package = new Python3PackageImpl(this); + this.runbookDraftOperations = new RunbookDraftOperationsImpl(this); + this.runbookOperations = new RunbookOperationsImpl(this); + this.testJobStreams = new TestJobStreamsImpl(this); + this.testJobOperations = new TestJobOperationsImpl(this); + this.scheduleOperations = new ScheduleOperationsImpl(this); + this.softwareUpdateConfigurationMachineRuns = new SoftwareUpdateConfigurationMachineRunsImpl( this ); this.softwareUpdateConfigurationRuns = new SoftwareUpdateConfigurationRunsImpl( this ); - this.softwareUpdateConfigurationMachineRuns = new SoftwareUpdateConfigurationMachineRunsImpl( + this.sourceControlOperations = new SourceControlOperationsImpl(this); + this.sourceControlSyncJobOperations = new SourceControlSyncJobOperationsImpl( this ); - this.runbookDraftOperations = new RunbookDraftOperationsImpl(this); - this.runbookOperations = new RunbookOperationsImpl(this); - this.testJobStreams = new TestJobStreamsImpl(this); - this.testJobOperations = new TestJobOperationsImpl(this); - this.webhookOperations = new WebhookOperationsImpl(this); - this.hybridRunbookWorkers = new HybridRunbookWorkersImpl(this); - this.deletedAutomationAccounts = new DeletedAutomationAccountsImpl(this); - this.hybridRunbookWorkerGroupOperations = new HybridRunbookWorkerGroupOperationsImpl( + this.sourceControlSyncJobStreams = new SourceControlSyncJobStreamsImpl( this ); + this.variableOperations = new VariableOperationsImpl(this); } /** @@ -286,17 +289,16 @@ export class AutomationClient extends coreClient.ServiceClient { privateEndpointConnections: PrivateEndpointConnections; privateLinkResources: PrivateLinkResources; - python2Package: Python2Package; agentRegistrationInformation: AgentRegistrationInformation; dscNodeOperations: DscNodeOperations; nodeReports: NodeReports; - dscNodeConfigurationOperations: DscNodeConfigurationOperations; dscCompilationJobOperations: DscCompilationJobOperations; dscCompilationJobStream: DscCompilationJobStream; nodeCountInformation: NodeCountInformation; - sourceControlOperations: SourceControlOperations; - sourceControlSyncJobOperations: SourceControlSyncJobOperations; - sourceControlSyncJobStreams: SourceControlSyncJobStreams; + watcherOperations: WatcherOperations; + softwareUpdateConfigurations: SoftwareUpdateConfigurations; + webhookOperations: WebhookOperations; + deletedAutomationAccounts: DeletedAutomationAccounts; automationAccountOperations: AutomationAccountOperations; statisticsOperations: StatisticsOperations; usages: Usages; @@ -305,30 +307,32 @@ export class AutomationClient extends coreClient.ServiceClient { connectionOperations: ConnectionOperations; connectionTypeOperations: ConnectionTypeOperations; credentialOperations: CredentialOperations; + dscConfigurationOperations: DscConfigurationOperations; + dscNodeConfigurationOperations: DscNodeConfigurationOperations; + hybridRunbookWorkers: HybridRunbookWorkers; + hybridRunbookWorkerGroupOperations: HybridRunbookWorkerGroupOperations; + jobOperations: JobOperations; + jobStreamOperations: JobStreamOperations; jobScheduleOperations: JobScheduleOperations; linkedWorkspaceOperations: LinkedWorkspaceOperations; activityOperations: ActivityOperations; moduleOperations: ModuleOperations; objectDataTypes: ObjectDataTypes; fields: Fields; - scheduleOperations: ScheduleOperations; - variableOperations: VariableOperations; - watcherOperations: WatcherOperations; - dscConfigurationOperations: DscConfigurationOperations; - jobOperations: JobOperations; - jobStreamOperations: JobStreamOperations; operations: Operations; - softwareUpdateConfigurations: SoftwareUpdateConfigurations; - softwareUpdateConfigurationRuns: SoftwareUpdateConfigurationRuns; - softwareUpdateConfigurationMachineRuns: SoftwareUpdateConfigurationMachineRuns; + python2Package: Python2Package; + python3Package: Python3Package; runbookDraftOperations: RunbookDraftOperations; runbookOperations: RunbookOperations; testJobStreams: TestJobStreams; testJobOperations: TestJobOperations; - webhookOperations: WebhookOperations; - hybridRunbookWorkers: HybridRunbookWorkers; - deletedAutomationAccounts: DeletedAutomationAccounts; - hybridRunbookWorkerGroupOperations: HybridRunbookWorkerGroupOperations; + scheduleOperations: ScheduleOperations; + softwareUpdateConfigurationMachineRuns: SoftwareUpdateConfigurationMachineRuns; + softwareUpdateConfigurationRuns: SoftwareUpdateConfigurationRuns; + sourceControlOperations: SourceControlOperations; + sourceControlSyncJobOperations: SourceControlSyncJobOperations; + sourceControlSyncJobStreams: SourceControlSyncJobStreams; + variableOperations: VariableOperations; } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -345,8 +349,8 @@ const convertGraphRunbookContentOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters32, - queryParameters: [Parameters.apiVersion1], + requestBody: Parameters.parameters26, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/models/index.ts b/sdk/automation/arm-automation/src/models/index.ts index 09d67a8e5790..636b419a54db 100644 --- a/sdk/automation/arm-automation/src/models/index.ts +++ b/sdk/automation/arm-automation/src/models/index.ts @@ -67,54 +67,6 @@ export interface PrivateLinkResourceListResult { value?: PrivateLinkResource[]; } -/** Definition of the content link. */ -export interface ContentLink { - /** Gets or sets the uri of the runbook content. */ - uri?: string; - /** Gets or sets the hash. */ - contentHash?: ContentHash; - /** Gets or sets the version of the content. */ - version?: string; -} - -/** Definition of the runbook property type. */ -export interface ContentHash { - /** Gets or sets the content hash algorithm used to hash the content. */ - algorithm: string; - /** Gets or sets expected hash value of the content. */ - value: string; -} - -/** Definition of the module error info type. */ -export interface ModuleErrorInfo { - /** Gets or sets the error code. */ - code?: string; - /** Gets or sets the error message. */ - message?: string; -} - -/** The parameters supplied to the create or update module operation. */ -export interface PythonPackageCreateParameters { - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets the module content link. */ - contentLink: ContentLink; -} - -/** The parameters supplied to the update module operation. */ -export interface PythonPackageUpdateParameters { - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; -} - -/** The response model for the list module operation. */ -export interface ModuleListResult { - /** Gets or sets a list of modules. */ - value?: Module[]; - /** Gets or sets the next link. */ - nextLink?: string; -} - /** Definition of the agent registration information type. */ export interface AgentRegistration { /** Gets or sets the dsc meta configuration. */ @@ -285,48 +237,6 @@ export interface DscMetaConfiguration { allowModuleOverwrite?: boolean; } -/** The Dsc configuration property associated with the entity. */ -export interface DscConfigurationAssociationProperty { - /** Gets or sets the name of the Dsc configuration. */ - name?: string; -} - -/** The parameters supplied to the create or update node configuration operation. */ -export interface DscNodeConfigurationCreateOrUpdateParameters { - /** Name of the node configuration. */ - name?: string; - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets the source. */ - source?: ContentSource; - /** Gets or sets the configuration of the node. */ - configuration?: DscConfigurationAssociationProperty; - /** If a new build version of NodeConfiguration is required. */ - incrementNodeConfigurationBuild?: boolean; -} - -/** Definition of the content source. */ -export interface ContentSource { - /** Gets or sets the hash. */ - hash?: ContentHash; - /** Gets or sets the content source type. */ - type?: ContentSourceType; - /** Gets or sets the value of the content. This is based on the content source type. */ - value?: string; - /** Gets or sets the version of the content. */ - version?: string; -} - -/** The response model for the list job operation. */ -export interface DscNodeConfigurationListResult { - /** Gets or sets a list of Dsc node configurations. */ - value?: DscNodeConfiguration[]; - /** Gets or sets the next link. */ - nextLink?: string; - /** Gets or sets the total rows in query. */ - totalCount?: number; -} - /** The parameters supplied to the create compilation job operation. */ export interface DscCompilationJobCreateParameters { /** Gets or sets name of the resource. */ @@ -343,6 +253,12 @@ export interface DscCompilationJobCreateParameters { incrementNodeConfigurationBuild?: boolean; } +/** The Dsc configuration property associated with the entity. */ +export interface DscConfigurationAssociationProperty { + /** Gets or sets the name of the Dsc configuration. */ + name?: string; +} + /** The response model for the list job operation. */ export interface DscCompilationJobListResult { /** Gets or sets a list of Dsc Compilation jobs. */ @@ -397,195 +313,336 @@ export interface NodeCountProperties { count?: number; } -/** The parameters supplied to the create or update source control operation. */ -export interface SourceControlCreateOrUpdateParameters { - /** The repo url of the source control. */ - repoUrl?: string; - /** The repo branch of the source control. Include branch as empty string for VsoTfvc. */ - branch?: string; - /** The folder path of the source control. Path must be relative. */ - folderPath?: string; - /** The auto async of the source control. Default is false. */ - autoSync?: boolean; - /** The auto publish of the source control. Default is true. */ - publishRunbook?: boolean; - /** The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. */ - sourceType?: SourceType; - /** The authorization token for the repo of the source control. */ - securityToken?: SourceControlSecurityTokenProperties; - /** The user description of the source control. */ - description?: string; -} - -export interface SourceControlSecurityTokenProperties { - /** The access token. */ - accessToken?: string; - /** The refresh token. */ - refreshToken?: string; - /** The token type. Must be either PersonalAccessToken or Oauth. */ - tokenType?: TokenType; -} - -/** The parameters supplied to the update source control operation. */ -export interface SourceControlUpdateParameters { - /** The repo branch of the source control. */ - branch?: string; - /** The folder path of the source control. Path must be relative. */ - folderPath?: string; - /** The auto sync of the source control. Default is false. */ - autoSync?: boolean; - /** The auto publish of the source control. Default is true. */ - publishRunbook?: boolean; - /** The authorization token for the repo of the source control. */ - securityToken?: SourceControlSecurityTokenProperties; - /** The user description of the source control. */ - description?: string; +export interface WatcherUpdateParameters { + /** Gets or sets the name of the resource. */ + name?: string; + /** Gets or sets the frequency at which the watcher is invoked. */ + executionFrequencyInSeconds?: number; } -/** The response model for the list source controls operation. */ -export interface SourceControlListResult { - /** The list of source controls. */ - value?: SourceControl[]; - /** The next link. */ +/** The response model for the list watcher operation. */ +export interface WatcherListResult { + /** Gets or sets a list of watchers. */ + value?: Watcher[]; + /** Gets or sets the next link. */ nextLink?: string; } -/** The parameters supplied to the create source control sync job operation. */ -export interface SourceControlSyncJobCreateParameters { - /** The commit id of the source control sync job. If not syncing to a commitId, enter an empty string. */ - commitId: string; -} - -/** Definition of the source control sync job. */ -export interface SourceControlSyncJob { +/** Software update configuration properties. */ +export interface SoftwareUpdateConfiguration { /** * Resource name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** - * Resource id. + * Resource Id. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; - /** The source control sync job id. */ - sourceControlSyncJobId?: string; /** - * The creation time of the job. + * Resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly creationTime?: Date; - /** The provisioning state of the job. */ - provisioningState?: ProvisioningState; + readonly type?: string; + /** update specific properties for the Software update configuration */ + updateConfiguration: UpdateConfiguration; + /** Schedule information for the Software update configuration */ + scheduleInfo: SUCScheduleProperties; /** - * The start time of the job. + * Provisioning state for the software update configuration, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly provisioningState?: string; + /** Details of provisioning error */ + error?: ErrorResponse; /** - * The end time of the job. + * Creation time of the resource, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly endTime?: Date; - /** The sync type. */ - syncType?: SyncType; -} - -/** Definition of the source control sync job. */ -export interface SourceControlSyncJobById { - /** The id of the job. */ - id?: string; - /** The source control sync job id. */ - sourceControlSyncJobId?: string; + readonly creationTime?: Date; /** - * The creation time of the job. + * CreatedBy property, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly creationTime?: Date; - /** The provisioning state of the job. */ - provisioningState?: ProvisioningState; + readonly createdBy?: string; /** - * The start time of the job. + * Last time resource was modified, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly startTime?: Date; + readonly lastModifiedTime?: Date; /** - * The end time of the job. + * LastModifiedBy property, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly endTime?: Date; - /** The sync type. */ - syncType?: SyncType; - /** The exceptions that occurred while running the sync job. */ - exception?: string; -} - -/** The response model for the list source control sync jobs operation. */ -export interface SourceControlSyncJobListResult { - /** The list of source control sync jobs. */ - value?: SourceControlSyncJob[]; - /** The next link. */ - nextLink?: string; + readonly lastModifiedBy?: string; + /** Tasks information for the Software update configuration. */ + tasks?: SoftwareUpdateConfigurationTasks; } -/** The response model for the list source control sync job streams operation. */ -export interface SourceControlSyncJobStreamsListBySyncJob { - /** The list of source control sync job streams. */ - value?: SourceControlSyncJobStream[]; - /** - * The next link. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** Update specific properties of the software update configuration. */ +export interface UpdateConfiguration { + /** operating system of target machines */ + operatingSystem: OperatingSystemType; + /** Windows specific update configuration. */ + windows?: WindowsProperties; + /** Linux specific update configuration. */ + linux?: LinuxProperties; + /** Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601 */ + duration?: string; + /** List of azure resource Ids for azure virtual machines targeted by the software update configuration. */ + azureVirtualMachines?: string[]; + /** List of names of non-azure machines targeted by the software update configuration. */ + nonAzureComputerNames?: string[]; + /** Group targets for the software update configuration. */ + targets?: TargetProperties; } -/** Definition of the source control sync job stream. */ -export interface SourceControlSyncJobStream { +/** Windows specific update configuration. */ +export interface WindowsProperties { + /** Update classification included in the software update configuration. A comma separated string with required values */ + includedUpdateClassifications?: WindowsUpdateClasses; + /** KB numbers excluded from the software update configuration. */ + excludedKbNumbers?: string[]; + /** KB numbers included from the software update configuration. */ + includedKbNumbers?: string[]; + /** Reboot setting for the software update configuration. */ + rebootSetting?: string; +} + +/** Linux specific update configuration. */ +export interface LinuxProperties { + /** Update classifications included in the software update configuration. */ + includedPackageClassifications?: LinuxUpdateClasses; + /** packages excluded from the software update configuration. */ + excludedPackageNameMasks?: string[]; + /** packages included from the software update configuration. */ + includedPackageNameMasks?: string[]; + /** Reboot setting for the software update configuration. */ + rebootSetting?: string; +} + +/** Group specific to the update configuration. */ +export interface TargetProperties { + /** List of Azure queries in the software update configuration. */ + azureQueries?: AzureQueryProperties[]; + /** List of non Azure queries in the software update configuration. */ + nonAzureQueries?: NonAzureQueryProperties[]; +} + +/** Azure query for the update configuration. */ +export interface AzureQueryProperties { + /** List of Subscription or Resource Group ARM Ids. */ + scope?: string[]; + /** List of locations to scope the query to. */ + locations?: string[]; + /** Tag settings for the VM. */ + tagSettings?: TagSettingsProperties; +} + +/** Tag filter information for the VM. */ +export interface TagSettingsProperties { + /** Dictionary of tags with its list of values. */ + tags?: { [propertyName: string]: string[] }; + /** Filter VMs by Any or All specified tags. */ + filterOperator?: TagOperators; +} + +/** Non Azure query for the update configuration. */ +export interface NonAzureQueryProperties { + /** Log Analytics Saved Search name. */ + functionAlias?: string; + /** Workspace Id for Log Analytics in which the saved Search is resided. */ + workspaceId?: string; +} + +/** Definition of schedule parameters. */ +export interface SUCScheduleProperties { + /** Gets or sets the start time of the schedule. */ + startTime?: Date; /** - * Resource id. + * Gets the start time's offset in minutes. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; - /** The sync job stream id. */ - sourceControlSyncJobStreamId?: string; - /** The summary of the sync job stream. */ - summary?: string; + readonly startTimeOffsetMinutes?: number; + /** Gets or sets the end time of the schedule. */ + expiryTime?: Date; + /** Gets or sets the expiry time's offset in minutes. */ + expiryTimeOffsetMinutes?: number; + /** Gets or sets a value indicating whether this schedule is enabled. */ + isEnabled?: boolean; + /** Gets or sets the next run time of the schedule. */ + nextRun?: Date; + /** Gets or sets the next run time's offset in minutes. */ + nextRunOffsetMinutes?: number; + /** Gets or sets the interval of the schedule. */ + interval?: number; + /** Gets or sets the frequency of the schedule. */ + frequency?: ScheduleFrequency; + /** Gets or sets the time zone of the schedule. */ + timeZone?: string; + /** Gets or sets the advanced schedule. */ + advancedSchedule?: AdvancedSchedule; + /** Gets or sets the creation time. */ + creationTime?: Date; + /** Gets or sets the last modified time. */ + lastModifiedTime?: Date; + /** Gets or sets the description. */ + description?: string; +} + +/** The properties of the create Advanced Schedule. */ +export interface AdvancedSchedule { + /** Days of the week that the job should execute on. */ + weekDays?: string[]; + /** Days of the month that the job should execute on. Must be between 1 and 31. */ + monthDays?: number[]; + /** Occurrences of days within a month. */ + monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; +} + +/** The properties of the create advanced schedule monthly occurrence. */ +export interface AdvancedScheduleMonthlyOccurrence { + /** Occurrence of the week within the month. Must be between 1 and 5 */ + occurrence?: number; + /** Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday. */ + day?: ScheduleDay; +} + +/** Task properties of the software update configuration. */ +export interface SoftwareUpdateConfigurationTasks { + /** Pre task properties. */ + preTask?: TaskProperties; + /** Post task properties. */ + postTask?: TaskProperties; +} + +/** Task properties of the software update configuration. */ +export interface TaskProperties { + /** Gets or sets the parameters of the task. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the name of the runbook. */ + source?: string; +} + +/** result of listing all software update configuration */ +export interface SoftwareUpdateConfigurationListResult { + /** outer object returned when listing all software update configurations */ + value?: SoftwareUpdateConfigurationCollectionItem[]; +} + +/** Software update configuration collection item properties. */ +export interface SoftwareUpdateConfigurationCollectionItem { /** - * The time of the sync job stream. + * Name of the software update configuration. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly time?: Date; - /** The type of the sync job stream. */ - streamType?: StreamType; -} - -/** Definition of the source control sync job stream by id. */ -export interface SourceControlSyncJobStreamById { + readonly name?: string; /** - * Resource id. + * Resource Id of the software update configuration * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; - /** The sync job stream id. */ - sourceControlSyncJobStreamId?: string; - /** The summary of the sync job stream. */ - summary?: string; + /** Update specific properties of the software update configuration. */ + updateConfiguration?: UpdateConfiguration; + /** Pre and Post Tasks defined */ + tasks?: SoftwareUpdateConfigurationTasks; + /** execution frequency of the schedule associated with the software update configuration */ + frequency?: ScheduleFrequency; + /** the start time of the update. */ + startTime?: Date; /** - * The time of the sync job stream. + * 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 time?: Date; - /** The type of the sync job stream. */ - streamType?: StreamType; - /** The text of the sync job stream. */ - streamText?: string; - /** The values of the job stream. */ - value?: { [propertyName: string]: Record }; + readonly creationTime?: Date; + /** + * 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; + /** + * Provisioning state for the software update configuration, which only appears in the response. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** ext run time of the update. */ + nextRun?: Date; +} + +/** The runbook property associated with the entity. */ +export interface RunbookAssociationProperty { + /** Gets or sets the name of the runbook. */ + name?: string; +} + +/** The parameters supplied to the create or update webhook operation. */ +export interface WebhookCreateOrUpdateParameters { + /** Gets or sets the name of the webhook. */ + name: string; + /** Gets or sets the value of the enabled flag of webhook. */ + isEnabled?: boolean; + /** Gets or sets the uri. */ + uri?: string; + /** Gets or sets the expiry time. */ + expiryTime?: Date; + /** Gets or sets the parameters of the job. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the runbook. */ + runbook?: RunbookAssociationProperty; + /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ + runOn?: string; +} + +/** The parameters supplied to the update webhook operation. */ +export interface WebhookUpdateParameters { + /** Gets or sets the name of the webhook. */ + name?: string; + /** Gets or sets the value of the enabled flag of webhook. */ + isEnabled?: boolean; + /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ + runOn?: string; + /** Gets or sets the parameters of the job. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the description of the webhook. */ + description?: string; +} + +/** The response model for the list webhook operation. */ +export interface WebhookListResult { + /** Gets or sets a list of webhooks. */ + value?: Webhook[]; + /** Gets or sets the next link. */ + nextLink?: string; +} + +/** The response model for the list deleted automation account. */ +export interface DeletedAutomationAccountListResult { + /** Gets or sets the list of deleted automation accounts. */ + value?: DeletedAutomationAccount[]; +} + +/** Definition of the deleted automation account type. */ +export interface DeletedAutomationAccount { + /** The resource id. */ + id?: string; + /** Gets or sets name of the resource. */ + name?: string; + /** The resource type. */ + type?: string; + /** Gets or sets the location of the resource. */ + location?: string; + /** Gets or sets the Automation Account Resource Id. */ + automationAccountResourceId?: string; + /** Gets or sets the Automation Account Id. */ + automationAccountId?: string; + /** Gets or sets the location of the resource. */ + locationPropertiesLocation?: string; + /** + * Gets the deletion time. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly deletionTime?: Date; } /** The parameters supplied to the update automation account operation. */ @@ -660,11 +717,11 @@ export interface Identity { type?: ResourceIdentityType; /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: { - [propertyName: string]: ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties; + [propertyName: string]: UserAssignedIdentitiesProperties; }; } -export interface ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties { +export interface UserAssignedIdentitiesProperties { /** * The principal id of user assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -911,66 +968,235 @@ export interface ConnectionType { description?: string; } -/** Definition of the connection fields. */ -export interface FieldDefinition { - /** Gets or sets the isEncrypted flag of the connection field definition. */ - isEncrypted?: boolean; - /** Gets or sets the isOptional flag of the connection field definition. */ - isOptional?: boolean; - /** Gets or sets the type of the connection field definition. */ - type: string; +/** Definition of the connection fields. */ +export interface FieldDefinition { + /** Gets or sets the isEncrypted flag of the connection field definition. */ + isEncrypted?: boolean; + /** Gets or sets the isOptional flag of the connection field definition. */ + isOptional?: boolean; + /** Gets or sets the type of the connection field definition. */ + type: string; +} + +/** The parameters supplied to the create or update connection type operation. */ +export interface ConnectionTypeCreateOrUpdateParameters { + /** Gets or sets the name of the connection type. */ + name: string; + /** Gets or sets a Boolean value to indicate if the connection type is global. */ + isGlobal?: boolean; + /** Gets or sets the field definitions of the connection type. */ + fieldDefinitions: { [propertyName: string]: FieldDefinition }; +} + +/** The response model for the list connection type operation. */ +export interface ConnectionTypeListResult { + /** Gets or sets a list of connection types. */ + value?: ConnectionType[]; + /** Gets or sets the next link. */ + nextLink?: string; +} + +/** The parameters supplied to the create or update credential operation. */ +export interface CredentialCreateOrUpdateParameters { + /** Gets or sets the name of the credential. */ + name: string; + /** Gets or sets the user name of the credential. */ + userName: string; + /** Gets or sets the password of the credential. */ + password: string; + /** Gets or sets the description of the credential. */ + description?: string; +} + +/** The parameters supplied to the Update credential operation. */ +export interface CredentialUpdateParameters { + /** Gets or sets the name of the credential. */ + name?: string; + /** Gets or sets the user name of the credential. */ + userName?: string; + /** Gets or sets the password of the credential. */ + password?: string; + /** Gets or sets the description of the credential. */ + description?: string; +} + +/** The response model for the list credential operation. */ +export interface CredentialListResult { + /** Gets or sets a list of credentials. */ + value?: Credential[]; + /** Gets or sets the next link. */ + nextLink?: string; +} + +/** Definition of the configuration parameter type. */ +export interface DscConfigurationParameter { + /** Gets or sets the type of the parameter. */ + type?: string; + /** Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ + isMandatory?: boolean; + /** Get or sets the position of the parameter. */ + position?: number; + /** Gets or sets the default value of parameter. */ + defaultValue?: string; +} + +/** Definition of the content source. */ +export interface ContentSource { + /** Gets or sets the hash. */ + hash?: ContentHash; + /** Gets or sets the content source type. */ + type?: ContentSourceType; + /** Gets or sets the value of the content. This is based on the content source type. */ + value?: string; + /** Gets or sets the version of the content. */ + version?: string; +} + +/** Definition of the runbook property type. */ +export interface ContentHash { + /** Gets or sets the content hash algorithm used to hash the content. */ + algorithm: string; + /** Gets or sets expected hash value of the content. */ + value: string; +} + +/** The parameters supplied to the create or update configuration operation. */ +export interface DscConfigurationCreateOrUpdateParameters { + /** Gets or sets name of the resource. */ + name?: string; + /** Gets or sets the location of the resource. */ + location?: string; + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets verbose log option. */ + logVerbose?: boolean; + /** Gets or sets progress log option. */ + logProgress?: boolean; + /** Gets or sets the source. */ + source: ContentSource; + /** Gets or sets the configuration parameters. */ + parameters?: { [propertyName: string]: DscConfigurationParameter }; + /** Gets or sets the description of the configuration. */ + description?: string; +} + +/** The parameters supplied to the create or update configuration operation. */ +export interface DscConfigurationUpdateParameters { + /** Gets or sets name of the resource. */ + name?: string; + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets verbose log option. */ + logVerbose?: boolean; + /** Gets or sets progress log option. */ + logProgress?: boolean; + /** Gets or sets the source. */ + source?: ContentSource; + /** Gets or sets the configuration parameters. */ + parameters?: { [propertyName: string]: DscConfigurationParameter }; + /** Gets or sets the description of the configuration. */ + description?: string; +} + +/** The response model for the list configuration operation. */ +export interface DscConfigurationListResult { + /** Gets or sets a list of configurations. */ + value?: DscConfiguration[]; + /** Gets or sets the next link. */ + nextLink?: string; + /** Gets the total number of configurations matching filter criteria. */ + totalCount?: number; +} + +/** The parameters supplied to the create or update node configuration operation. */ +export interface DscNodeConfigurationCreateOrUpdateParameters { + /** Name of the node configuration. */ + name?: string; + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets the source. */ + source?: ContentSource; + /** Gets or sets the configuration of the node. */ + configuration?: DscConfigurationAssociationProperty; + /** If a new build version of NodeConfiguration is required. */ + incrementNodeConfigurationBuild?: boolean; } -/** The parameters supplied to the create or update connection type operation. */ -export interface ConnectionTypeCreateOrUpdateParameters { - /** Gets or sets the name of the connection type. */ - name: string; - /** Gets or sets a Boolean value to indicate if the connection type is global. */ - isGlobal?: boolean; - /** Gets or sets the field definitions of the connection type. */ - fieldDefinitions: { [propertyName: string]: FieldDefinition }; +/** The response model for the list job operation. */ +export interface DscNodeConfigurationListResult { + /** Gets or sets a list of Dsc node configurations. */ + value?: DscNodeConfiguration[]; + /** Gets or sets the next link. */ + nextLink?: string; + /** Gets or sets the total rows in query. */ + totalCount?: number; } -/** The response model for the list connection type operation. */ -export interface ConnectionTypeListResult { - /** Gets or sets a list of connection types. */ - value?: ConnectionType[]; +/** The parameters supplied to the create hybrid runbook worker operation. */ +export interface HybridRunbookWorkerCreateParameters { + /** Gets or sets the name of the resource. */ + name?: string; + /** Azure Resource Manager Id for a virtual machine. */ + vmResourceId?: string; +} + +/** Parameters supplied to move hybrid worker operation. */ +export interface HybridRunbookWorkerMoveParameters { + /** Gets or sets the target hybrid runbook worker group. */ + hybridRunbookWorkerGroupName?: string; +} + +/** The response model for the list hybrid runbook workers. */ +export interface HybridRunbookWorkersListResult { + /** Gets or sets a list of hybrid runbook workers. */ + value?: HybridRunbookWorker[]; /** Gets or sets the next link. */ nextLink?: string; } -/** The parameters supplied to the create or update credential operation. */ -export interface CredentialCreateOrUpdateParameters { +/** Definition of RunAs credential to use for hybrid worker. */ +export interface RunAsCredentialAssociationProperty { /** Gets or sets the name of the credential. */ - name: string; - /** Gets or sets the user name of the credential. */ - userName: string; - /** Gets or sets the password of the credential. */ - password: string; - /** Gets or sets the description of the credential. */ - description?: string; + name?: string; } -/** The parameters supplied to the Update credential operation. */ -export interface CredentialUpdateParameters { - /** Gets or sets the name of the credential. */ +/** The parameters supplied to the create hybrid runbook worker group operation. */ +export interface HybridRunbookWorkerGroupCreateOrUpdateParameters { + /** Gets or sets the name of the resource. */ name?: string; - /** Gets or sets the user name of the credential. */ - userName?: string; - /** Gets or sets the password of the credential. */ - password?: string; - /** Gets or sets the description of the credential. */ - description?: string; + /** Sets the credential of a worker group. */ + credential?: RunAsCredentialAssociationProperty; } -/** The response model for the list credential operation. */ -export interface CredentialListResult { - /** Gets or sets a list of credentials. */ - value?: Credential[]; +/** The response model for the list hybrid runbook worker groups. */ +export interface HybridRunbookWorkerGroupsListResult { + /** Gets or sets a list of hybrid runbook worker groups. */ + value?: HybridRunbookWorkerGroup[]; /** Gets or sets the next link. */ nextLink?: string; } +/** The parameters supplied to the create job operation. */ +export interface JobCreateParameters { + /** Gets or sets the runbook. */ + runbook?: RunbookAssociationProperty; + /** Gets or sets the parameters of the job. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ + runOn?: string; +} + +/** The response model for the list job operation. */ +export interface JobListResultV2 { + /** List of jobs. */ + value?: JobCollectionItem[]; + /** + * The link to the next page. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + /** Definition of the job schedule. */ export interface JobSchedule { /** @@ -1006,12 +1232,6 @@ export interface ScheduleAssociationProperty { name?: string; } -/** The runbook property associated with the entity. */ -export interface RunbookAssociationProperty { - /** Gets or sets the name of the runbook. */ - name?: string; -} - /** The parameters supplied to the create job schedule operation. */ export interface JobScheduleCreateParameters { /** Gets or sets the schedule. */ @@ -1118,224 +1338,68 @@ export interface ActivityListResult { nextLink?: string; } -/** The parameters supplied to the create or update module operation. */ -export interface ModuleCreateOrUpdateParameters { - /** Gets or sets name of the resource. */ - name?: string; - /** Gets or sets the location of the resource. */ - location?: string; - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets the module content link. */ - contentLink: ContentLink; -} - -/** The parameters supplied to the update module operation. */ -export interface ModuleUpdateParameters { - /** Gets or sets name of the resource. */ - name?: string; - /** Gets or sets the location of the resource. */ - location?: string; - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets the module content link. */ - contentLink?: ContentLink; -} - -/** The response model for the list fields operation. */ -export interface TypeFieldListResult { - /** Gets or sets a list of fields. */ - value?: TypeField[]; -} - -/** Information about a field of a type. */ -export interface TypeField { - /** Gets or sets the name of the field. */ - name?: string; - /** Gets or sets the type of the field. */ - type?: string; -} - -/** The parameters supplied to the create or update schedule operation. */ -export interface ScheduleCreateOrUpdateParameters { - /** Gets or sets the name of the Schedule. */ - name: string; - /** Gets or sets the description of the schedule. */ - description?: string; - /** Gets or sets the start time of the schedule. */ - startTime: Date; - /** Gets or sets the end time of the schedule. */ - expiryTime?: Date; - /** Gets or sets the interval of the schedule. */ - interval?: any; - /** Gets or sets the frequency of the schedule. */ - frequency: ScheduleFrequency; - /** Gets or sets the time zone of the schedule. */ - timeZone?: string; - /** Gets or sets the AdvancedSchedule. */ - advancedSchedule?: AdvancedSchedule; -} - -/** The properties of the create Advanced Schedule. */ -export interface AdvancedSchedule { - /** Days of the week that the job should execute on. */ - weekDays?: string[]; - /** Days of the month that the job should execute on. Must be between 1 and 31. */ - monthDays?: number[]; - /** Occurrences of days within a month. */ - monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; -} - -/** The properties of the create advanced schedule monthly occurrence. */ -export interface AdvancedScheduleMonthlyOccurrence { - /** Occurrence of the week within the month. Must be between 1 and 5 */ - occurrence?: number; - /** Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday. */ - day?: ScheduleDay; -} - -/** The parameters supplied to the update schedule operation. */ -export interface ScheduleUpdateParameters { - /** Gets or sets the name of the Schedule. */ - name?: string; - /** Gets or sets the description of the schedule. */ - description?: string; - /** Gets or sets a value indicating whether this schedule is enabled. */ - isEnabled?: boolean; -} - -/** The response model for the list schedule operation. */ -export interface ScheduleListResult { - /** Gets or sets a list of schedules. */ - value?: Schedule[]; - /** Gets or sets the next link. */ - nextLink?: string; -} - -/** The parameters supplied to the create or update variable operation. */ -export interface VariableCreateOrUpdateParameters { - /** Gets or sets the name of the variable. */ - name: string; - /** Gets or sets the value of the variable. */ - value?: string; - /** Gets or sets the description of the variable. */ - description?: string; - /** Gets or sets the encrypted flag of the variable. */ - isEncrypted?: boolean; -} - -/** The parameters supplied to the update variable operation. */ -export interface VariableUpdateParameters { - /** Gets or sets the name of the variable. */ - name?: string; - /** Gets or sets the value of the variable. */ - value?: string; - /** Gets or sets the description of the variable. */ - description?: string; -} - -/** The response model for the list variables operation. */ -export interface VariableListResult { - /** Gets or sets a list of variables. */ - value?: Variable[]; - /** Gets or sets the next link. */ - nextLink?: string; -} - -export interface WatcherUpdateParameters { - /** Gets or sets the name of the resource. */ - name?: string; - /** Gets or sets the frequency at which the watcher is invoked. */ - executionFrequencyInSeconds?: number; -} - -/** The response model for the list watcher operation. */ -export interface WatcherListResult { - /** Gets or sets a list of watchers. */ - value?: Watcher[]; - /** Gets or sets the next link. */ - nextLink?: string; +/** Definition of the content link. */ +export interface ContentLink { + /** Gets or sets the uri of the runbook content. */ + uri?: string; + /** Gets or sets the hash. */ + contentHash?: ContentHash; + /** Gets or sets the version of the content. */ + version?: string; } -/** Definition of the configuration parameter type. */ -export interface DscConfigurationParameter { - /** Gets or sets the type of the parameter. */ - type?: string; - /** Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ - isMandatory?: boolean; - /** Get or sets the position of the parameter. */ - position?: number; - /** Gets or sets the default value of parameter. */ - defaultValue?: string; +/** Definition of the module error info type. */ +export interface ModuleErrorInfo { + /** Gets or sets the error code. */ + code?: string; + /** Gets or sets the error message. */ + message?: string; } -/** The parameters supplied to the create or update configuration operation. */ -export interface DscConfigurationCreateOrUpdateParameters { +/** The parameters supplied to the create or update module operation. */ +export interface ModuleCreateOrUpdateParameters { /** Gets or sets name of the resource. */ name?: string; /** Gets or sets the location of the resource. */ location?: string; /** Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; - /** Gets or sets verbose log option. */ - logVerbose?: boolean; - /** Gets or sets progress log option. */ - logProgress?: boolean; - /** Gets or sets the source. */ - source: ContentSource; - /** Gets or sets the configuration parameters. */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; - /** Gets or sets the description of the configuration. */ - description?: string; + /** Gets or sets the module content link. */ + contentLink: ContentLink; } -/** The parameters supplied to the create or update configuration operation. */ -export interface DscConfigurationUpdateParameters { +/** The parameters supplied to the update module operation. */ +export interface ModuleUpdateParameters { /** Gets or sets name of the resource. */ name?: string; + /** Gets or sets the location of the resource. */ + location?: string; /** Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; - /** Gets or sets verbose log option. */ - logVerbose?: boolean; - /** Gets or sets progress log option. */ - logProgress?: boolean; - /** Gets or sets the source. */ - source?: ContentSource; - /** Gets or sets the configuration parameters. */ - parameters?: { [propertyName: string]: DscConfigurationParameter }; - /** Gets or sets the description of the configuration. */ - description?: string; + /** Gets or sets the module content link. */ + contentLink?: ContentLink; } -/** The response model for the list configuration operation. */ -export interface DscConfigurationListResult { - /** Gets or sets a list of configurations. */ - value?: DscConfiguration[]; +/** The response model for the list module operation. */ +export interface ModuleListResult { + /** Gets or sets a list of modules. */ + value?: Module[]; /** Gets or sets the next link. */ nextLink?: string; - /** Gets the total number of configurations matching filter criteria. */ - totalCount?: number; } -/** The parameters supplied to the create job operation. */ -export interface JobCreateParameters { - /** Gets or sets the runbook. */ - runbook?: RunbookAssociationProperty; - /** Gets or sets the parameters of the job. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ - runOn?: string; +/** The response model for the list fields operation. */ +export interface TypeFieldListResult { + /** Gets or sets a list of fields. */ + value?: TypeField[]; } -/** The response model for the list job operation. */ -export interface JobListResultV2 { - /** List of jobs. */ - value?: JobCollectionItem[]; - /** - * The link to the next page. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** Information about a field of a type. */ +export interface TypeField { + /** Gets or sets the name of the field. */ + name?: string; + /** Gets or sets the type of the field. */ + type?: string; } /** The response model for the list of Automation operations */ @@ -1350,6 +1414,10 @@ export interface Operation { name?: string; /** Provider, Resource and Operation values */ display?: OperationDisplay; + /** Origin of the operation. */ + origin?: string; + /** Specification of the service. */ + serviceSpecification?: OperationPropertiesFormatServiceSpecification; } /** Provider, Resource and Operation values */ @@ -1360,6 +1428,50 @@ export interface OperationDisplay { resource?: string; /** Operation type: Read, write, delete, etc. */ operation?: string; + /** Description of the operation. */ + description?: string; +} + +/** Specification of the service. */ +export interface OperationPropertiesFormatServiceSpecification { + /** Operation service specification. */ + metricSpecifications?: MetricSpecification[]; + /** Operation log specification. */ + logSpecifications?: LogSpecification[]; +} + +/** Description of metrics specification. */ +export interface MetricSpecification { + /** The name of the metric. */ + name?: string; + /** The display name of the metric. */ + displayName?: string; + /** The description of the metric. */ + displayDescription?: string; + /** Units the metric to be displayed in. */ + unit?: string; + /** The aggregation type. */ + aggregationType?: string; + /** List of dimensions. */ + dimensions?: Dimension[]; +} + +/** Dimension of the metric. */ +export interface Dimension { + /** The name of the dimension. */ + name?: string; + /** The display name of the dimension. */ + displayName?: string; +} + +/** Description of logging specification. */ +export interface LogSpecification { + /** The name of the specification. */ + name?: string; + /** The display name of the specification. */ + displayName?: string; + /** Duration of the blob. */ + blobDuration?: string; } /** Graphical Runbook Content */ @@ -1380,286 +1492,243 @@ export interface RawGraphicalRunbookContent { runbookType?: GraphRunbookType; } -/** Software update configuration properties. */ -export interface SoftwareUpdateConfiguration { - /** - * Resource name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * Resource Id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Resource type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** update specific properties for the Software update configuration */ - updateConfiguration: UpdateConfiguration; - /** Schedule information for the Software update configuration */ - scheduleInfo: SUCScheduleProperties; - /** - * 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; - /** Details of provisioning error */ - error?: ErrorResponse; - /** - * Creation time of the resource, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly creationTime?: Date; - /** - * CreatedBy property, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: string; - /** - * Last time resource was modified, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastModifiedTime?: Date; - /** - * LastModifiedBy property, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastModifiedBy?: string; - /** Tasks information for the Software update configuration. */ - tasks?: SoftwareUpdateConfigurationTasks; +/** The parameters supplied to the create or update module operation. */ +export interface PythonPackageCreateParameters { + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets the module content link. */ + contentLink: ContentLink; } -/** Update specific properties of the software update configuration. */ -export interface UpdateConfiguration { - /** operating system of target machines */ - operatingSystem: OperatingSystemType; - /** Windows specific update configuration. */ - windows?: WindowsProperties; - /** Linux specific update configuration. */ - linux?: LinuxProperties; - /** Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601 */ - duration?: string; - /** List of azure resource Ids for azure virtual machines targeted by the software update configuration. */ - azureVirtualMachines?: string[]; - /** List of names of non-azure machines targeted by the software update configuration. */ - nonAzureComputerNames?: string[]; - /** Group targets for the software update configuration. */ - targets?: TargetProperties; +/** The parameters supplied to the update module operation. */ +export interface PythonPackageUpdateParameters { + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; } -/** Windows specific update configuration. */ -export interface WindowsProperties { - /** Update classification included in the software update configuration. A comma separated string with required values */ - includedUpdateClassifications?: WindowsUpdateClasses; - /** KB numbers excluded from the software update configuration. */ - excludedKbNumbers?: string[]; - /** KB numbers included from the software update configuration. */ - includedKbNumbers?: string[]; - /** Reboot setting for the software update configuration. */ - rebootSetting?: string; +export interface RunbookDraft { + /** Gets or sets whether runbook is in edit mode. */ + inEdit?: boolean; + /** Gets or sets the draft runbook content link. */ + draftContentLink?: ContentLink; + /** Gets or sets the creation time of the runbook draft. */ + creationTime?: Date; + /** Gets or sets the last modified time of the runbook draft. */ + lastModifiedTime?: Date; + /** Gets or sets the runbook draft parameters. */ + parameters?: { [propertyName: string]: RunbookParameter }; + /** Gets or sets the runbook output types. */ + outputTypes?: string[]; } -/** Linux specific update configuration. */ -export interface LinuxProperties { - /** Update classifications included in the software update configuration. */ - includedPackageClassifications?: LinuxUpdateClasses; - /** packages excluded from the software update configuration. */ - excludedPackageNameMasks?: string[]; - /** packages included from the software update configuration. */ - includedPackageNameMasks?: string[]; - /** Reboot setting for the software update configuration. */ - rebootSetting?: string; +/** Definition of the runbook parameter type. */ +export interface RunbookParameter { + /** Gets or sets the type of the parameter. */ + type?: string; + /** Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ + isMandatory?: boolean; + /** Get or sets the position of the parameter. */ + position?: number; + /** Gets or sets the default value of parameter. */ + defaultValue?: string; +} + +/** The response model for the undo edit runbook operation. */ +export interface RunbookDraftUndoEditResult { + statusCode?: HttpStatusCode; + requestId?: string; +} + +/** The parameters supplied to the create or update runbook operation. */ +export interface RunbookCreateOrUpdateParameters { + /** Gets or sets the name of the resource. */ + name?: string; + /** Gets or sets the location of the resource. */ + location?: string; + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets verbose log option. */ + logVerbose?: boolean; + /** Gets or sets progress log option. */ + logProgress?: boolean; + /** Gets or sets the type of the runbook. */ + runbookType: RunbookTypeEnum; + /** Gets or sets the draft runbook properties. */ + draft?: RunbookDraft; + /** Gets or sets the published runbook content link. */ + publishContentLink?: ContentLink; + /** Gets or sets the description of the runbook. */ + description?: string; + /** Gets or sets the activity-level tracing options of the runbook. */ + logActivityTrace?: number; } -/** Group specific to the update configuration. */ -export interface TargetProperties { - /** List of Azure queries in the software update configuration. */ - azureQueries?: AzureQueryProperties[]; - /** List of non Azure queries in the software update configuration. */ - nonAzureQueries?: NonAzureQueryProperties[]; +/** The parameters supplied to the update runbook operation. */ +export interface RunbookUpdateParameters { + /** Gets or sets the name of the resource. */ + name?: string; + /** Gets or sets the location of the resource. */ + location?: string; + /** Gets or sets the tags attached to the resource. */ + tags?: { [propertyName: string]: string }; + /** Gets or sets the description of the runbook. */ + description?: string; + /** Gets or sets verbose log option. */ + logVerbose?: boolean; + /** Gets or sets progress log option. */ + logProgress?: boolean; + /** Gets or sets the activity-level tracing options of the runbook. */ + logActivityTrace?: number; } -/** Azure query for the update configuration. */ -export interface AzureQueryProperties { - /** List of Subscription or Resource Group ARM Ids. */ - scope?: string[]; - /** List of locations to scope the query to. */ - locations?: string[]; - /** Tag settings for the VM. */ - tagSettings?: TagSettingsProperties; +/** The response model for the list runbook operation. */ +export interface RunbookListResult { + /** Gets or sets a list of runbooks. */ + value?: Runbook[]; + /** Gets or sets the next link. */ + nextLink?: string; } -/** Tag filter information for the VM. */ -export interface TagSettingsProperties { - /** Dictionary of tags with its list of values. */ - tags?: { [propertyName: string]: string[] }; - /** Filter VMs by Any or All specified tags. */ - filterOperator?: TagOperators; +/** The parameters supplied to the create test job operation. */ +export interface TestJobCreateParameters { + /** Gets or sets the parameters of the test job. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ + runOn?: string; } -/** Non Azure query for the update configuration. */ -export interface NonAzureQueryProperties { - /** Log Analytics Saved Search name. */ - functionAlias?: string; - /** Workspace Id for Log Analytics in which the saved Search is resided. */ - workspaceId?: string; +/** Definition of the test job. */ +export interface TestJob { + /** Gets or sets the creation time of the test job. */ + creationTime?: Date; + /** Gets or sets the status of the test job. */ + status?: string; + /** Gets or sets the status details of the test job. */ + statusDetails?: string; + /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ + runOn?: string; + /** Gets or sets the start time of the test job. */ + startTime?: Date; + /** Gets or sets the end time of the test job. */ + endTime?: Date; + /** Gets or sets the exception of the test job. */ + exception?: string; + /** Gets or sets the last modified time of the test job. */ + lastModifiedTime?: Date; + /** Gets or sets the last status modified time of the test job. */ + lastStatusModifiedTime?: Date; + /** Gets or sets the parameters of the test job. */ + parameters?: { [propertyName: string]: string }; + /** The activity-level tracing options of the runbook. */ + logActivityTrace?: number; } -/** Definition of schedule parameters. */ -export interface SUCScheduleProperties { +/** The parameters supplied to the create or update schedule operation. */ +export interface ScheduleCreateOrUpdateParameters { + /** Gets or sets the name of the Schedule. */ + name: string; + /** Gets or sets the description of the schedule. */ + description?: string; /** Gets or sets the start time of the schedule. */ - startTime?: Date; - /** - * Gets the start time's offset in minutes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly startTimeOffsetMinutes?: number; + startTime: Date; /** Gets or sets the end time of the schedule. */ expiryTime?: Date; - /** Gets or sets the expiry time's offset in minutes. */ - expiryTimeOffsetMinutes?: number; - /** Gets or sets a value indicating whether this schedule is enabled. */ - isEnabled?: boolean; - /** Gets or sets the next run time of the schedule. */ - nextRun?: Date; - /** Gets or sets the next run time's offset in minutes. */ - nextRunOffsetMinutes?: number; /** Gets or sets the interval of the schedule. */ - interval?: number; + interval?: any; /** Gets or sets the frequency of the schedule. */ - frequency?: ScheduleFrequency; + frequency: ScheduleFrequency; /** Gets or sets the time zone of the schedule. */ timeZone?: string; - /** Gets or sets the advanced schedule. */ + /** Gets or sets the AdvancedSchedule. */ advancedSchedule?: AdvancedSchedule; - /** Gets or sets the creation time. */ - creationTime?: Date; - /** Gets or sets the last modified time. */ - lastModifiedTime?: Date; - /** Gets or sets the description. */ - description?: string; -} - -/** Task properties of the software update configuration. */ -export interface SoftwareUpdateConfigurationTasks { - /** Pre task properties. */ - preTask?: TaskProperties; - /** Post task properties. */ - postTask?: TaskProperties; } -/** Task properties of the software update configuration. */ -export interface TaskProperties { - /** Gets or sets the parameters of the task. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the name of the runbook. */ - source?: string; +/** The parameters supplied to the update schedule operation. */ +export interface ScheduleUpdateParameters { + /** Gets or sets the name of the Schedule. */ + name?: string; + /** Gets or sets the description of the schedule. */ + description?: string; + /** Gets or sets a value indicating whether this schedule is enabled. */ + isEnabled?: boolean; } -/** result of listing all software update configuration */ -export interface SoftwareUpdateConfigurationListResult { - /** outer object returned when listing all software update configurations */ - value?: SoftwareUpdateConfigurationCollectionItem[]; +/** The response model for the list schedule operation. */ +export interface ScheduleListResult { + /** Gets or sets a list of schedules. */ + value?: Schedule[]; + /** Gets or sets the next link. */ + nextLink?: string; } -/** Software update configuration collection item properties. */ -export interface SoftwareUpdateConfigurationCollectionItem { +/** Software update configuration machine run model. */ +export interface SoftwareUpdateConfigurationMachineRun { /** - * Name of the software update configuration. + * Name of the software update configuration machine run * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource Id of the software update configuration + * Resource Id of the software update configuration machine run * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; - /** Update specific properties of the software update configuration. */ - updateConfiguration?: UpdateConfiguration; - /** Pre and Post Tasks defined */ - tasks?: SoftwareUpdateConfigurationTasks; - /** execution frequency of the schedule associated with the software update configuration */ - frequency?: ScheduleFrequency; - /** the start time of the update. */ - startTime?: Date; - /** - * Creation time of the software update configuration, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly creationTime?: Date; - /** - * 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; - /** - * Provisioning state for the software update configuration, which only appears in the response. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: string; - /** ext run time of the update. */ - nextRun?: Date; -} - -/** Software update configuration Run properties. */ -export interface SoftwareUpdateConfigurationRun { /** - * Name of the software update configuration run. + * name of the updated computer * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly targetComputer?: string; /** - * Resource Id of the software update configuration run + * type of the updated computer. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly targetComputerType?: string; /** software update configuration triggered this run */ softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Status of the software update configuration run. + * 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; /** - * Configured duration for the software update configuration run. + * 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 configuredDuration?: string; + readonly osType?: string; /** - * Operating system target of the software update configuration triggered this run + * 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 osType?: string; + readonly correlationId?: string; /** - * Start time of the software update configuration run. + * 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 startTime?: Date; + readonly sourceComputerId?: string; /** - * End time of the software update configuration run. + * 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 endTime?: Date; + readonly startTime?: Date; /** - * Number of computers in the software update configuration run. + * 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 computerCount?: number; + readonly endTime?: Date; /** - * Number of computers with failed status. + * configured duration for the software update configuration run. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly failedCount?: number; + readonly configuredDuration?: string; + /** Job associated with the software update configuration machine run */ + job?: JobNavigation; /** * Creation time of the resource, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; /** - * CreatedBy property, which only appears in the response. + * 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; @@ -1669,12 +1738,12 @@ export interface SoftwareUpdateConfigurationRun { */ readonly lastModifiedTime?: Date; /** - * LastModifiedBy property, which only appears in the response. + * 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; - /** Software update configuration tasks triggered in this run */ - tasks?: SoftwareUpdateConfigurationRunTasks; + /** Details of provisioning error */ + error?: ErrorResponse; } /** Software update configuration Run Navigation model. */ @@ -1686,100 +1755,79 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } -/** Software update configuration run tasks model. */ -export interface SoftwareUpdateConfigurationRunTasks { - /** Pre task properties. */ - preTask?: SoftwareUpdateConfigurationRunTaskProperties; - /** Post task properties. */ - postTask?: SoftwareUpdateConfigurationRunTaskProperties; -} - -/** Task properties of the software update configuration. */ -export interface SoftwareUpdateConfigurationRunTaskProperties { - /** The status of the task. */ - status?: string; - /** The name of the source of the task. */ - source?: string; - /** The job id of the task. */ - jobId?: string; +/** Software update configuration machine run job navigation properties. */ +export interface JobNavigation { + /** + * Id of the job associated with the software update configuration run + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; } -/** result of listing all software update configuration runs */ -export interface SoftwareUpdateConfigurationRunListResult { - /** outer object returned when listing all software update configuration runs */ - value?: SoftwareUpdateConfigurationRun[]; +/** result of listing all software update configuration machine runs */ +export interface SoftwareUpdateConfigurationMachineRunListResult { + /** outer object returned when listing all software update configuration machine runs */ + value?: SoftwareUpdateConfigurationMachineRun[]; /** link to next page of results. */ nextLink?: string; } -/** Software update configuration machine run model. */ -export interface SoftwareUpdateConfigurationMachineRun { +/** Software update configuration Run properties. */ +export interface SoftwareUpdateConfigurationRun { /** - * Name of the software update configuration machine run + * Name of the software update configuration run. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource Id of the software update configuration machine run + * Resource Id of the software update configuration run * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; - /** - * name of the updated computer - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly targetComputer?: string; - /** - * type of the updated computer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly targetComputerType?: string; /** software update configuration triggered this run */ softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * Status of the software update configuration machine run. + * 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; /** - * Operating system target of the software update configuration triggered this run + * Configured duration for the software update configuration run. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly osType?: string; + readonly configuredDuration?: string; /** - * correlation id of the software update configuration machine run + * 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 correlationId?: string; + readonly osType?: string; /** - * source computer id of the software update configuration machine run + * Start time of the software update configuration run. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sourceComputerId?: string; + readonly startTime?: Date; /** - * Start time of the software update configuration machine run. + * End 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; + readonly endTime?: Date; /** - * End time of the software update configuration machine run. + * 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 endTime?: Date; + readonly computerCount?: number; /** - * configured duration for the software update configuration run. + * Number of computers with failed status. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly configuredDuration?: string; - /** Job associated with the software update configuration machine run */ - job?: JobNavigation; + readonly failedCount?: number; /** * Creation time of the resource, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; /** - * createdBy property, which only appears in the response. + * 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; @@ -1789,257 +1837,257 @@ export interface SoftwareUpdateConfigurationMachineRun { */ readonly lastModifiedTime?: Date; /** - * lastModifiedBy property, which only appears in the response. + * 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; - /** Details of provisioning error */ - error?: ErrorResponse; -} - -/** Software update configuration machine run job navigation properties. */ -export interface JobNavigation { - /** - * Id of the job associated with the software update configuration run - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; -} - -/** result of listing all software update configuration machine runs */ -export interface SoftwareUpdateConfigurationMachineRunListResult { - /** outer object returned when listing all software update configuration machine runs */ - value?: SoftwareUpdateConfigurationMachineRun[]; - /** link to next page of results. */ - nextLink?: string; -} - -export interface RunbookDraft { - /** Gets or sets whether runbook is in edit mode. */ - inEdit?: boolean; - /** Gets or sets the draft runbook content link. */ - draftContentLink?: ContentLink; - /** Gets or sets the creation time of the runbook draft. */ - creationTime?: Date; - /** Gets or sets the last modified time of the runbook draft. */ - lastModifiedTime?: Date; - /** Gets or sets the runbook draft parameters. */ - parameters?: { [propertyName: string]: RunbookParameter }; - /** Gets or sets the runbook output types. */ - outputTypes?: string[]; -} - -/** Definition of the runbook parameter type. */ -export interface RunbookParameter { - /** Gets or sets the type of the parameter. */ - type?: string; - /** Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ - isMandatory?: boolean; - /** Get or sets the position of the parameter. */ - position?: number; - /** Gets or sets the default value of parameter. */ - defaultValue?: string; -} - -/** The response model for the undo edit runbook operation. */ -export interface RunbookDraftUndoEditResult { - statusCode?: HttpStatusCode; - requestId?: string; + /** Software update configuration tasks triggered in this run */ + tasks?: SoftwareUpdateConfigurationRunTasks; } -/** The parameters supplied to the create or update runbook operation. */ -export interface RunbookCreateOrUpdateParameters { - /** Gets or sets the name of the resource. */ - name?: string; - /** Gets or sets the location of the resource. */ - location?: string; - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets verbose log option. */ - logVerbose?: boolean; - /** Gets or sets progress log option. */ - logProgress?: boolean; - /** Gets or sets the type of the runbook. */ - runbookType: RunbookTypeEnum; - /** Gets or sets the draft runbook properties. */ - draft?: RunbookDraft; - /** Gets or sets the published runbook content link. */ - publishContentLink?: ContentLink; - /** Gets or sets the description of the runbook. */ - description?: string; - /** Gets or sets the activity-level tracing options of the runbook. */ - logActivityTrace?: number; +/** Software update configuration run tasks model. */ +export interface SoftwareUpdateConfigurationRunTasks { + /** Pre task properties. */ + preTask?: SoftwareUpdateConfigurationRunTaskProperties; + /** Post task properties. */ + postTask?: SoftwareUpdateConfigurationRunTaskProperties; } -/** The parameters supplied to the update runbook operation. */ -export interface RunbookUpdateParameters { - /** Gets or sets the name of the resource. */ - name?: string; - /** Gets or sets the location of the resource. */ - location?: string; - /** Gets or sets the tags attached to the resource. */ - tags?: { [propertyName: string]: string }; - /** Gets or sets the description of the runbook. */ - description?: string; - /** Gets or sets verbose log option. */ - logVerbose?: boolean; - /** Gets or sets progress log option. */ - logProgress?: boolean; - /** Gets or sets the activity-level tracing options of the runbook. */ - logActivityTrace?: number; +/** Task properties of the software update configuration. */ +export interface SoftwareUpdateConfigurationRunTaskProperties { + /** The status of the task. */ + status?: string; + /** The name of the source of the task. */ + source?: string; + /** The job id of the task. */ + jobId?: string; } -/** The response model for the list runbook operation. */ -export interface RunbookListResult { - /** Gets or sets a list of runbooks. */ - value?: Runbook[]; - /** Gets or sets the next link. */ +/** result of listing all software update configuration runs */ +export interface SoftwareUpdateConfigurationRunListResult { + /** outer object returned when listing all software update configuration runs */ + value?: SoftwareUpdateConfigurationRun[]; + /** link to next page of results. */ nextLink?: string; } -/** The parameters supplied to the create test job operation. */ -export interface TestJobCreateParameters { - /** Gets or sets the parameters of the test job. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ - runOn?: string; -} - -/** Definition of the test job. */ -export interface TestJob { - /** Gets or sets the creation time of the test job. */ - creationTime?: Date; - /** Gets or sets the status of the test job. */ - status?: string; - /** Gets or sets the status details of the test job. */ - statusDetails?: string; - /** Gets or sets the runOn which specifies the group name where the job is to be executed. */ - runOn?: string; - /** Gets or sets the start time of the test job. */ - startTime?: Date; - /** Gets or sets the end time of the test job. */ - endTime?: Date; - /** Gets or sets the exception of the test job. */ - exception?: string; - /** Gets or sets the last modified time of the test job. */ - lastModifiedTime?: Date; - /** Gets or sets the last status modified time of the test job. */ - lastStatusModifiedTime?: Date; - /** Gets or sets the parameters of the test job. */ - parameters?: { [propertyName: string]: string }; - /** The activity-level tracing options of the runbook. */ - logActivityTrace?: number; +/** The parameters supplied to the create or update source control operation. */ +export interface SourceControlCreateOrUpdateParameters { + /** The repo url of the source control. */ + repoUrl?: string; + /** The repo branch of the source control. Include branch as empty string for VsoTfvc. */ + branch?: string; + /** The folder path of the source control. Path must be relative. */ + folderPath?: string; + /** The auto async of the source control. Default is false. */ + autoSync?: boolean; + /** The auto publish of the source control. Default is true. */ + publishRunbook?: boolean; + /** The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. */ + sourceType?: SourceType; + /** The authorization token for the repo of the source control. */ + securityToken?: SourceControlSecurityTokenProperties; + /** The user description of the source control. */ + description?: string; } -/** The parameters supplied to the create or update webhook operation. */ -export interface WebhookCreateOrUpdateParameters { - /** Gets or sets the name of the webhook. */ - name: string; - /** Gets or sets the value of the enabled flag of webhook. */ - isEnabled?: boolean; - /** Gets or sets the uri. */ - uri?: string; - /** Gets or sets the expiry time. */ - expiryTime?: Date; - /** Gets or sets the parameters of the job. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the runbook. */ - runbook?: RunbookAssociationProperty; - /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ - runOn?: string; +export interface SourceControlSecurityTokenProperties { + /** The access token. */ + accessToken?: string; + /** The refresh token. */ + refreshToken?: string; + /** The token type. Must be either PersonalAccessToken or Oauth. */ + tokenType?: TokenType; } -/** The parameters supplied to the update webhook operation. */ -export interface WebhookUpdateParameters { - /** Gets or sets the name of the webhook. */ - name?: string; - /** Gets or sets the value of the enabled flag of webhook. */ - isEnabled?: boolean; - /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ - runOn?: string; - /** Gets or sets the parameters of the job. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the description of the webhook. */ +/** The parameters supplied to the update source control operation. */ +export interface SourceControlUpdateParameters { + /** The repo branch of the source control. */ + branch?: string; + /** The folder path of the source control. Path must be relative. */ + folderPath?: string; + /** The auto sync of the source control. Default is false. */ + autoSync?: boolean; + /** The auto publish of the source control. Default is true. */ + publishRunbook?: boolean; + /** The authorization token for the repo of the source control. */ + securityToken?: SourceControlSecurityTokenProperties; + /** The user description of the source control. */ description?: string; } -/** The response model for the list webhook operation. */ -export interface WebhookListResult { - /** Gets or sets a list of webhooks. */ - value?: Webhook[]; - /** Gets or sets the next link. */ +/** The response model for the list source controls operation. */ +export interface SourceControlListResult { + /** The list of source controls. */ + value?: SourceControl[]; + /** The next link. */ nextLink?: string; } -/** The parameters supplied to the create hybrid runbook worker operation. */ -export interface HybridRunbookWorkerCreateParameters { - /** Gets or sets the name of the resource. */ - name?: string; - /** Azure Resource Manager Id for a virtual machine. */ - vmResourceId?: string; +/** The parameters supplied to the create source control sync job operation. */ +export interface SourceControlSyncJobCreateParameters { + /** The commit id of the source control sync job. If not syncing to a commitId, enter an empty string. */ + commitId: string; } -/** Parameters supplied to move hybrid worker operation. */ -export interface HybridRunbookWorkerMoveParameters { - /** Gets or sets the target hybrid runbook worker group. */ - hybridRunbookWorkerGroupName?: string; +/** Definition of the source control sync job. */ +export interface SourceControlSyncJob { + /** + * Resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Resource id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** The source control sync job id. */ + sourceControlSyncJobId?: string; + /** + * The creation time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly creationTime?: Date; + /** The provisioning state of the job. */ + provisioningState?: ProvisioningState; + /** + * The start time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The end time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endTime?: Date; + /** The sync type. */ + syncType?: SyncType; } -/** The response model for the list hybrid runbook workers. */ -export interface HybridRunbookWorkersListResult { - /** Gets or sets a list of hybrid runbook workers. */ - value?: HybridRunbookWorker[]; - /** Gets or sets the next link. */ +/** Definition of the source control sync job. */ +export interface SourceControlSyncJobById { + /** The id of the job. */ + id?: string; + /** The source control sync job id. */ + sourceControlSyncJobId?: string; + /** + * The creation time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly creationTime?: Date; + /** The provisioning state of the job. */ + provisioningState?: ProvisioningState; + /** + * The start time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTime?: Date; + /** + * The end time of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endTime?: Date; + /** The sync type. */ + syncType?: SyncType; + /** The exceptions that occurred while running the sync job. */ + exception?: string; +} + +/** The response model for the list source control sync jobs operation. */ +export interface SourceControlSyncJobListResult { + /** The list of source control sync jobs. */ + value?: SourceControlSyncJob[]; + /** The next link. */ nextLink?: string; } -/** The response model for the list deleted automation account. */ -export interface DeletedAutomationAccountListResult { - /** Gets or sets the list of deleted automation accounts. */ - value?: DeletedAutomationAccount[]; +/** The response model for the list source control sync job streams operation. */ +export interface SourceControlSyncJobStreamsListBySyncJob { + /** The list of source control sync job streams. */ + value?: SourceControlSyncJobStream[]; + /** + * The next link. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Definition of the deleted automation account type. */ -export interface DeletedAutomationAccount { - /** The resource id. */ - id?: string; - /** Gets or sets name of the resource. */ - name?: string; - /** The resource type. */ - type?: string; - /** Gets or sets the location of the resource. */ - location?: string; - /** Gets or sets the Automation Account Resource Id. */ - automationAccountResourceId?: string; - /** Gets or sets the Automation Account Id. */ - automationAccountId?: string; - /** Gets or sets the location of the resource. */ - locationPropertiesLocation?: string; +/** Definition of the source control sync job stream. */ +export interface SourceControlSyncJobStream { /** - * Gets the deletion time. + * Resource id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly deletionTime?: Date; + readonly id?: string; + /** The sync job stream id. */ + sourceControlSyncJobStreamId?: string; + /** The summary of the sync job stream. */ + summary?: string; + /** + * 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; + /** The type of the sync job stream. */ + streamType?: StreamType; } -/** Definition of RunAs credential to use for hybrid worker. */ -export interface RunAsCredentialAssociationProperty { - /** Gets or sets the name of the credential. */ - name?: string; +/** Definition of the source control sync job stream by id. */ +export interface SourceControlSyncJobStreamById { + /** + * Resource id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** The sync job stream id. */ + sourceControlSyncJobStreamId?: string; + /** The summary of the sync job stream. */ + summary?: string; + /** + * 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; + /** The type of the sync job stream. */ + streamType?: StreamType; + /** The text of the sync job stream. */ + streamText?: string; + /** The values of the job stream. */ + value?: { [propertyName: string]: Record }; } -/** The parameters supplied to the create hybrid runbook worker group operation. */ -export interface HybridRunbookWorkerGroupCreateOrUpdateParameters { - /** Gets or sets the name of the resource. */ +/** The parameters supplied to the create or update variable operation. */ +export interface VariableCreateOrUpdateParameters { + /** Gets or sets the name of the variable. */ + name: string; + /** Gets or sets the value of the variable. */ + value?: string; + /** Gets or sets the description of the variable. */ + description?: string; + /** Gets or sets the encrypted flag of the variable. */ + isEncrypted?: boolean; +} + +/** The parameters supplied to the update variable operation. */ +export interface VariableUpdateParameters { + /** Gets or sets the name of the variable. */ name?: string; - /** Sets the credential of a worker group. */ - credential?: RunAsCredentialAssociationProperty; + /** Gets or sets the value of the variable. */ + value?: string; + /** Gets or sets the description of the variable. */ + description?: string; } -/** The response model for the list hybrid runbook worker groups. */ -export interface HybridRunbookWorkerGroupsListResult { - /** Gets or sets a list of hybrid runbook worker groups. */ - value?: HybridRunbookWorkerGroup[]; +/** The response model for the list variables operation. */ +export interface VariableListResult { + /** Gets or sets a list of variables. */ + value?: Variable[]; /** Gets or sets the next link. */ nextLink?: string; } @@ -2069,14 +2117,6 @@ export interface RunbookCreateOrUpdateDraftParameters { /** ARM proxy resource. */ export interface ProxyResource extends Resource {} -/** The resource model definition for a ARM tracked top level resource */ -export interface TrackedResource extends Resource { - /** Resource tags. */ - tags?: { [propertyName: string]: string }; - /** The Azure Region where the resource lives */ - location?: string; -} - /** Definition of the watcher type. */ export interface Watcher extends Resource { /** Gets or sets the etag of the resource. */ @@ -2117,6 +2157,14 @@ export interface Watcher extends Resource { description?: string; } +/** The resource model definition for a ARM tracked top level resource */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The Azure Region where the resource lives */ + location?: string; +} + /** Definition of hybrid runbook worker. */ export interface HybridRunbookWorker extends Resource { /** @@ -2199,22 +2247,6 @@ export interface DscNode extends ProxyResource { namePropertiesNodeConfigurationName?: string; } -/** Definition of the dsc node configuration. */ -export interface DscNodeConfiguration extends ProxyResource { - /** Gets or sets the last modified time. */ - lastModifiedTime?: Date; - /** Gets or sets creation time. */ - creationTime?: Date; - /** Gets or sets the configuration of the node. */ - configuration?: DscConfigurationAssociationProperty; - /** Source of node configuration. */ - source?: string; - /** Number of nodes with this node configuration assigned */ - nodeCount?: number; - /** If a new build version of NodeConfiguration is required. */ - incrementNodeConfigurationBuild?: boolean; -} - /** Definition of the Dsc Compilation job. */ export interface DscCompilationJob extends ProxyResource { /** Gets or sets the configuration. */ @@ -2269,28 +2301,32 @@ export interface DscCompilationJob extends ProxyResource { readonly lastStatusModifiedTime?: Date; /** Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; -} - -/** Definition of the source control. */ -export interface SourceControl extends ProxyResource { - /** The repo url of the source control. */ - repoUrl?: string; - /** The repo branch of the source control. Include branch as empty string for VsoTfvc. */ - branch?: string; - /** The folder path of the source control. */ - folderPath?: string; - /** The auto sync of the source control. Default is false. */ - autoSync?: boolean; - /** The auto publish of the source control. Default is true. */ - publishRunbook?: boolean; - /** The source type. Must be one of VsoGit, VsoTfvc, GitHub. */ - sourceType?: SourceType; - /** The description. */ - description?: string; - /** The creation time. */ +} + +/** Definition of the webhook type. */ +export interface Webhook extends ProxyResource { + /** Gets or sets the value of the enabled flag of the webhook. */ + isEnabled?: boolean; + /** Gets or sets the webhook uri. */ + uri?: string; + /** Gets or sets the expiry time. */ + expiryTime?: Date; + /** Gets or sets the last invoked time. */ + lastInvokedTime?: Date; + /** Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with. */ + parameters?: { [propertyName: string]: string }; + /** Gets or sets the runbook the webhook is associated with. */ + runbook?: RunbookAssociationProperty; + /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ + runOn?: string; + /** Gets or sets the creation time. */ creationTime?: Date; - /** The last modified time. */ + /** Gets or sets the last modified time. */ lastModifiedTime?: Date; + /** Details of the user who last modified the Webhook */ + lastModifiedBy?: string; + /** Gets or sets the description. */ + description?: string; } /** Definition of the certificate. */ @@ -2368,53 +2404,20 @@ export interface Credential extends ProxyResource { description?: string; } -/** Definition of the schedule. */ -export interface Schedule extends ProxyResource { - /** Gets or sets the start time of the schedule. */ - startTime?: Date; - /** - * Gets the start time's offset in minutes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly startTimeOffsetMinutes?: number; - /** Gets or sets the end time of the schedule. */ - expiryTime?: Date; - /** Gets or sets the expiry time's offset in minutes. */ - expiryTimeOffsetMinutes?: number; - /** Gets or sets a value indicating whether this schedule is enabled. */ - isEnabled?: boolean; - /** Gets or sets the next run time of the schedule. */ - nextRun?: Date; - /** Gets or sets the next run time's offset in minutes. */ - nextRunOffsetMinutes?: number; - /** Gets or sets the interval of the schedule. */ - interval?: any; - /** Gets or sets the frequency of the schedule. */ - frequency?: ScheduleFrequency; - /** Gets or sets the time zone of the schedule. */ - timeZone?: string; - /** Gets or sets the advanced schedule. */ - advancedSchedule?: AdvancedSchedule; - /** Gets or sets the creation time. */ - creationTime?: Date; +/** Definition of the dsc node configuration. */ +export interface DscNodeConfiguration extends ProxyResource { /** Gets or sets the last modified time. */ lastModifiedTime?: Date; - /** Gets or sets the description. */ - description?: string; -} - -/** Definition of the variable. */ -export interface Variable extends ProxyResource { - /** Gets or sets the value of the variable. */ - value?: string; - /** Gets or sets the encrypted flag of the variable. */ - isEncrypted?: boolean; - /** Gets or sets the creation time. */ + /** Gets or sets creation time. */ creationTime?: Date; - /** Gets or sets the last modified time. */ - lastModifiedTime?: Date; - /** Gets or sets the description. */ - description?: string; + /** Gets or sets the configuration of the node. */ + configuration?: DscConfigurationAssociationProperty; + /** Source of node configuration. */ + source?: string; + /** Number of nodes with this node configuration assigned */ + nodeCount?: number; + /** If a new build version of NodeConfiguration is required. */ + incrementNodeConfigurationBuild?: boolean; } /** Definition of the job. */ @@ -2495,58 +2498,75 @@ export interface JobCollectionItem extends ProxyResource { runOn?: string; } -/** Definition of the webhook type. */ -export interface Webhook extends ProxyResource { - /** Gets or sets the value of the enabled flag of the webhook. */ - isEnabled?: boolean; - /** Gets or sets the webhook uri. */ - uri?: string; - /** Gets or sets the expiry time. */ +/** Definition of the schedule. */ +export interface Schedule extends ProxyResource { + /** Gets or sets the start time of the schedule. */ + startTime?: Date; + /** + * Gets the start time's offset in minutes. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startTimeOffsetMinutes?: number; + /** Gets or sets the end time of the schedule. */ expiryTime?: Date; - /** Gets or sets the last invoked time. */ - lastInvokedTime?: Date; - /** Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with. */ - parameters?: { [propertyName: string]: string }; - /** Gets or sets the runbook the webhook is associated with. */ - runbook?: RunbookAssociationProperty; - /** Gets or sets the name of the hybrid worker group the webhook job will run on. */ - runOn?: string; + /** Gets or sets the expiry time's offset in minutes. */ + expiryTimeOffsetMinutes?: number; + /** Gets or sets a value indicating whether this schedule is enabled. */ + isEnabled?: boolean; + /** Gets or sets the next run time of the schedule. */ + nextRun?: Date; + /** Gets or sets the next run time's offset in minutes. */ + nextRunOffsetMinutes?: number; + /** Gets or sets the interval of the schedule. */ + interval?: any; + /** Gets or sets the frequency of the schedule. */ + frequency?: ScheduleFrequency; + /** Gets or sets the time zone of the schedule. */ + timeZone?: string; + /** Gets or sets the advanced schedule. */ + advancedSchedule?: AdvancedSchedule; /** Gets or sets the creation time. */ creationTime?: Date; /** Gets or sets the last modified time. */ lastModifiedTime?: Date; - /** Details of the user who last modified the Webhook */ - lastModifiedBy?: string; /** Gets or sets the description. */ description?: string; } -/** Definition of the module type. */ -export interface Module extends TrackedResource { - /** Gets or sets the etag of the resource. */ - etag?: string; - /** Gets or sets the isGlobal flag of the module. */ - isGlobal?: boolean; - /** Gets or sets the version of the module. */ - version?: string; - /** Gets or sets the size in bytes of the module. */ - sizeInBytes?: number; - /** Gets or sets the activity count of the module. */ - activityCount?: number; - /** Gets or sets the provisioning state of the module. */ - provisioningState?: ModuleProvisioningState; - /** Gets or sets the contentLink of the module. */ - contentLink?: ContentLink; - /** Gets or sets the error info of the module. */ - error?: ModuleErrorInfo; +/** Definition of the source control. */ +export interface SourceControl extends ProxyResource { + /** The repo url of the source control. */ + repoUrl?: string; + /** The repo branch of the source control. Include branch as empty string for VsoTfvc. */ + branch?: string; + /** The folder path of the source control. */ + folderPath?: string; + /** The auto sync of the source control. Default is false. */ + autoSync?: boolean; + /** The auto publish of the source control. Default is true. */ + publishRunbook?: boolean; + /** The source type. Must be one of VsoGit, VsoTfvc, GitHub. */ + sourceType?: SourceType; + /** The description. */ + description?: string; + /** The creation time. */ + creationTime?: Date; + /** The last modified time. */ + lastModifiedTime?: Date; +} + +/** Definition of the variable. */ +export interface Variable extends ProxyResource { + /** Gets or sets the value of the variable. */ + value?: string; + /** Gets or sets the encrypted flag of the variable. */ + isEncrypted?: boolean; /** Gets or sets the creation time. */ creationTime?: Date; /** Gets or sets the last modified time. */ lastModifiedTime?: Date; /** Gets or sets the description. */ description?: string; - /** Gets or sets type of module, if its composite or not. */ - isComposite?: boolean; } /** Definition of the automation account type. */ @@ -2619,6 +2639,34 @@ export interface DscConfiguration extends TrackedResource { description?: string; } +/** Definition of the module type. */ +export interface Module extends TrackedResource { + /** Gets or sets the etag of the resource. */ + etag?: string; + /** Gets or sets the isGlobal flag of the module. */ + isGlobal?: boolean; + /** Gets or sets the version of the module. */ + version?: string; + /** Gets or sets the size in bytes of the module. */ + sizeInBytes?: number; + /** Gets or sets the activity count of the module. */ + activityCount?: number; + /** Gets or sets the provisioning state of the module. */ + provisioningState?: ModuleProvisioningState; + /** Gets or sets the contentLink of the module. */ + contentLink?: ContentLink; + /** Gets or sets the error info of the module. */ + error?: ModuleErrorInfo; + /** Gets or sets the creation time. */ + creationTime?: Date; + /** Gets or sets the last modified time. */ + lastModifiedTime?: Date; + /** Gets or sets the description. */ + description?: string; + /** Gets or sets type of module, if its composite or not. */ + isComposite?: boolean; +} + /** Definition of the runbook type. */ export interface Runbook extends TrackedResource { /** Gets or sets the etag of the resource. */ @@ -2685,24 +2733,6 @@ export enum KnownAgentRegistrationKeyName { */ export type AgentRegistrationKeyName = string; -/** Known values of {@link ContentSourceType} that the service accepts. */ -export enum KnownContentSourceType { - /** EmbeddedContent */ - EmbeddedContent = "embeddedContent", - /** Uri */ - Uri = "uri" -} - -/** - * Defines values for ContentSourceType. \ - * {@link KnownContentSourceType} can be used interchangeably with ContentSourceType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **embeddedContent** \ - * **uri** - */ -export type ContentSourceType = string; - /** Known values of {@link JobProvisioningState} that the service accepts. */ export enum KnownJobProvisioningState { /** Failed */ @@ -2829,101 +2859,131 @@ export enum KnownCountType { */ export type CountType = string; -/** Known values of {@link SourceType} that the service accepts. */ -export enum KnownSourceType { - /** VsoGit */ - VsoGit = "VsoGit", - /** VsoTfvc */ - VsoTfvc = "VsoTfvc", - /** GitHub */ - GitHub = "GitHub" -} - -/** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **VsoGit** \ - * **VsoTfvc** \ - * **GitHub** - */ -export type SourceType = string; - -/** Known values of {@link TokenType} that the service accepts. */ -export enum KnownTokenType { - /** PersonalAccessToken */ - PersonalAccessToken = "PersonalAccessToken", - /** Oauth */ - Oauth = "Oauth" +/** Known values of {@link WindowsUpdateClasses} that the service accepts. */ +export enum KnownWindowsUpdateClasses { + /** Unclassified */ + Unclassified = "Unclassified", + /** Critical */ + Critical = "Critical", + /** Security */ + Security = "Security", + /** UpdateRollup */ + UpdateRollup = "UpdateRollup", + /** FeaturePack */ + FeaturePack = "FeaturePack", + /** ServicePack */ + ServicePack = "ServicePack", + /** Definition */ + Definition = "Definition", + /** Tools */ + Tools = "Tools", + /** Updates */ + Updates = "Updates" } /** - * Defines values for TokenType. \ - * {@link KnownTokenType} can be used interchangeably with TokenType, + * Defines values for WindowsUpdateClasses. \ + * {@link KnownWindowsUpdateClasses} can be used interchangeably with WindowsUpdateClasses, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PersonalAccessToken** \ - * **Oauth** + * **Unclassified** \ + * **Critical** \ + * **Security** \ + * **UpdateRollup** \ + * **FeaturePack** \ + * **ServicePack** \ + * **Definition** \ + * **Tools** \ + * **Updates** */ -export type TokenType = string; +export type WindowsUpdateClasses = string; -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Completed */ - Completed = "Completed", - /** Failed */ - Failed = "Failed", - /** Running */ - Running = "Running" +/** Known values of {@link LinuxUpdateClasses} that the service accepts. */ +export enum KnownLinuxUpdateClasses { + /** Unclassified */ + Unclassified = "Unclassified", + /** Critical */ + Critical = "Critical", + /** Security */ + Security = "Security", + /** Other */ + Other = "Other" } /** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * Defines values for LinuxUpdateClasses. \ + * {@link KnownLinuxUpdateClasses} can be used interchangeably with LinuxUpdateClasses, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Failed** \ - * **Running** + * **Unclassified** \ + * **Critical** \ + * **Security** \ + * **Other** */ -export type ProvisioningState = string; +export type LinuxUpdateClasses = string; -/** Known values of {@link SyncType} that the service accepts. */ -export enum KnownSyncType { - /** PartialSync */ - PartialSync = "PartialSync", - /** FullSync */ - FullSync = "FullSync" +/** Known values of {@link ScheduleFrequency} that the service accepts. */ +export enum KnownScheduleFrequency { + /** OneTime */ + OneTime = "OneTime", + /** Day */ + Day = "Day", + /** Hour */ + Hour = "Hour", + /** Week */ + Week = "Week", + /** Month */ + Month = "Month", + /** The minimum allowed interval for Minute schedules is 15 minutes. */ + Minute = "Minute" } /** - * Defines values for SyncType. \ - * {@link KnownSyncType} can be used interchangeably with SyncType, + * Defines values for ScheduleFrequency. \ + * {@link KnownScheduleFrequency} can be used interchangeably with ScheduleFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PartialSync** \ - * **FullSync** + * **OneTime** \ + * **Day** \ + * **Hour** \ + * **Week** \ + * **Month** \ + * **Minute**: The minimum allowed interval for Minute schedules is 15 minutes. */ -export type SyncType = string; +export type ScheduleFrequency = string; -/** Known values of {@link StreamType} that the service accepts. */ -export enum KnownStreamType { - /** Error */ - Error = "Error", - /** Output */ - Output = "Output" +/** Known values of {@link ScheduleDay} that the service accepts. */ +export enum KnownScheduleDay { + /** Monday */ + Monday = "Monday", + /** Tuesday */ + Tuesday = "Tuesday", + /** Wednesday */ + Wednesday = "Wednesday", + /** Thursday */ + Thursday = "Thursday", + /** Friday */ + Friday = "Friday", + /** Saturday */ + Saturday = "Saturday", + /** Sunday */ + Sunday = "Sunday" } /** - * Defines values for StreamType. \ - * {@link KnownStreamType} can be used interchangeably with StreamType, + * Defines values for ScheduleDay. \ + * {@link KnownScheduleDay} can be used interchangeably with ScheduleDay, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Error** \ - * **Output** + * **Monday** \ + * **Tuesday** \ + * **Wednesday** \ + * **Thursday** \ + * **Friday** \ + * **Saturday** \ + * **Sunday** */ -export type StreamType = string; +export type ScheduleDay = string; /** Known values of {@link SkuNameEnum} that the service accepts. */ export enum KnownSkuNameEnum { @@ -3024,68 +3084,23 @@ export enum KnownAutomationKeyPermissions { */ export type AutomationKeyPermissions = string; -/** Known values of {@link ScheduleFrequency} that the service accepts. */ -export enum KnownScheduleFrequency { - /** OneTime */ - OneTime = "OneTime", - /** Day */ - Day = "Day", - /** Hour */ - Hour = "Hour", - /** Week */ - Week = "Week", - /** Month */ - Month = "Month", - /** The minimum allowed interval for Minute schedules is 15 minutes. */ - Minute = "Minute" -} - -/** - * Defines values for ScheduleFrequency. \ - * {@link KnownScheduleFrequency} can be used interchangeably with ScheduleFrequency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **OneTime** \ - * **Day** \ - * **Hour** \ - * **Week** \ - * **Month** \ - * **Minute**: The minimum allowed interval for Minute schedules is 15 minutes. - */ -export type ScheduleFrequency = string; - -/** Known values of {@link ScheduleDay} that the service accepts. */ -export enum KnownScheduleDay { - /** Monday */ - Monday = "Monday", - /** Tuesday */ - Tuesday = "Tuesday", - /** Wednesday */ - Wednesday = "Wednesday", - /** Thursday */ - Thursday = "Thursday", - /** Friday */ - Friday = "Friday", - /** Saturday */ - Saturday = "Saturday", - /** Sunday */ - Sunday = "Sunday" +/** Known values of {@link ContentSourceType} that the service accepts. */ +export enum KnownContentSourceType { + /** EmbeddedContent */ + EmbeddedContent = "embeddedContent", + /** Uri */ + Uri = "uri" } /** - * Defines values for ScheduleDay. \ - * {@link KnownScheduleDay} can be used interchangeably with ScheduleDay, + * Defines values for ContentSourceType. \ + * {@link KnownContentSourceType} can be used interchangeably with ContentSourceType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Monday** \ - * **Tuesday** \ - * **Wednesday** \ - * **Thursday** \ - * **Friday** \ - * **Saturday** \ - * **Sunday** + * **embeddedContent** \ + * **uri** */ -export type ScheduleDay = string; +export type ContentSourceType = string; /** Known values of {@link DscConfigurationState} that the service accepts. */ export enum KnownDscConfigurationState { @@ -3108,86 +3123,119 @@ export enum KnownDscConfigurationState { */ export type DscConfigurationState = string; -/** Known values of {@link GraphRunbookType} that the service accepts. */ -export enum KnownGraphRunbookType { - /** GraphPowerShell */ - GraphPowerShell = "GraphPowerShell", - /** GraphPowerShellWorkflow */ - GraphPowerShellWorkflow = "GraphPowerShellWorkflow" +/** Known values of {@link WorkerType} that the service accepts. */ +export enum KnownWorkerType { + /** HybridV1 */ + HybridV1 = "HybridV1", + /** HybridV2 */ + HybridV2 = "HybridV2" } /** - * Defines values for GraphRunbookType. \ - * {@link KnownGraphRunbookType} can be used interchangeably with GraphRunbookType, + * Defines values for WorkerType. \ + * {@link KnownWorkerType} can be used interchangeably with WorkerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **GraphPowerShell** \ - * **GraphPowerShellWorkflow** + * **HybridV1** \ + * **HybridV2** */ -export type GraphRunbookType = string; +export type WorkerType = string; -/** Known values of {@link WindowsUpdateClasses} that the service accepts. */ -export enum KnownWindowsUpdateClasses { - /** Unclassified */ - Unclassified = "Unclassified", - /** Critical */ - Critical = "Critical", - /** Security */ - Security = "Security", - /** UpdateRollup */ - UpdateRollup = "UpdateRollup", - /** FeaturePack */ - FeaturePack = "FeaturePack", - /** ServicePack */ - ServicePack = "ServicePack", - /** Definition */ - Definition = "Definition", - /** Tools */ - Tools = "Tools", - /** Updates */ - Updates = "Updates" +/** Known values of {@link GroupTypeEnum} that the service accepts. */ +export enum KnownGroupTypeEnum { + /** User */ + User = "User", + /** System */ + System = "System" +} + +/** + * Defines values for GroupTypeEnum. \ + * {@link KnownGroupTypeEnum} can be used interchangeably with GroupTypeEnum, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **System** + */ +export type GroupTypeEnum = string; + +/** Known values of {@link ModuleProvisioningState} that the service accepts. */ +export enum KnownModuleProvisioningState { + /** Created */ + Created = "Created", + /** Creating */ + Creating = "Creating", + /** StartingImportModuleRunbook */ + StartingImportModuleRunbook = "StartingImportModuleRunbook", + /** RunningImportModuleRunbook */ + RunningImportModuleRunbook = "RunningImportModuleRunbook", + /** ContentRetrieved */ + ContentRetrieved = "ContentRetrieved", + /** ContentDownloaded */ + ContentDownloaded = "ContentDownloaded", + /** ContentValidated */ + ContentValidated = "ContentValidated", + /** ConnectionTypeImported */ + ConnectionTypeImported = "ConnectionTypeImported", + /** ContentStored */ + ContentStored = "ContentStored", + /** ModuleDataStored */ + ModuleDataStored = "ModuleDataStored", + /** ActivitiesStored */ + ActivitiesStored = "ActivitiesStored", + /** ModuleImportRunbookComplete */ + ModuleImportRunbookComplete = "ModuleImportRunbookComplete", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Cancelled */ + Cancelled = "Cancelled", + /** Updating */ + Updating = "Updating" } /** - * Defines values for WindowsUpdateClasses. \ - * {@link KnownWindowsUpdateClasses} can be used interchangeably with WindowsUpdateClasses, + * Defines values for ModuleProvisioningState. \ + * {@link KnownModuleProvisioningState} can be used interchangeably with ModuleProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unclassified** \ - * **Critical** \ - * **Security** \ - * **UpdateRollup** \ - * **FeaturePack** \ - * **ServicePack** \ - * **Definition** \ - * **Tools** \ - * **Updates** + * **Created** \ + * **Creating** \ + * **StartingImportModuleRunbook** \ + * **RunningImportModuleRunbook** \ + * **ContentRetrieved** \ + * **ContentDownloaded** \ + * **ContentValidated** \ + * **ConnectionTypeImported** \ + * **ContentStored** \ + * **ModuleDataStored** \ + * **ActivitiesStored** \ + * **ModuleImportRunbookComplete** \ + * **Succeeded** \ + * **Failed** \ + * **Cancelled** \ + * **Updating** */ -export type WindowsUpdateClasses = string; +export type ModuleProvisioningState = string; -/** Known values of {@link LinuxUpdateClasses} that the service accepts. */ -export enum KnownLinuxUpdateClasses { - /** Unclassified */ - Unclassified = "Unclassified", - /** Critical */ - Critical = "Critical", - /** Security */ - Security = "Security", - /** Other */ - Other = "Other" +/** Known values of {@link GraphRunbookType} that the service accepts. */ +export enum KnownGraphRunbookType { + /** GraphPowerShell */ + GraphPowerShell = "GraphPowerShell", + /** GraphPowerShellWorkflow */ + GraphPowerShellWorkflow = "GraphPowerShellWorkflow" } /** - * Defines values for LinuxUpdateClasses. \ - * {@link KnownLinuxUpdateClasses} can be used interchangeably with LinuxUpdateClasses, + * Defines values for GraphRunbookType. \ + * {@link KnownGraphRunbookType} can be used interchangeably with GraphRunbookType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unclassified** \ - * **Critical** \ - * **Security** \ - * **Other** + * **GraphPowerShell** \ + * **GraphPowerShellWorkflow** */ -export type LinuxUpdateClasses = string; +export type GraphRunbookType = string; /** Known values of {@link HttpStatusCode} that the service accepts. */ export enum KnownHttpStatusCode { @@ -3399,59 +3447,105 @@ export enum KnownRunbookState { */ export type RunbookState = string; -/** Known values of {@link WorkerType} that the service accepts. */ -export enum KnownWorkerType { - /** HybridV1 */ - HybridV1 = "HybridV1", - /** HybridV2 */ - HybridV2 = "HybridV2" +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** VsoGit */ + VsoGit = "VsoGit", + /** VsoTfvc */ + VsoTfvc = "VsoTfvc", + /** GitHub */ + GitHub = "GitHub" } /** - * Defines values for WorkerType. \ - * {@link KnownWorkerType} can be used interchangeably with WorkerType, + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **HybridV1** \ - * **HybridV2** + * **VsoGit** \ + * **VsoTfvc** \ + * **GitHub** */ -export type WorkerType = string; +export type SourceType = string; -/** Known values of {@link GroupTypeEnum} that the service accepts. */ -export enum KnownGroupTypeEnum { - /** User */ - User = "User", - /** System */ - System = "System" +/** Known values of {@link TokenType} that the service accepts. */ +export enum KnownTokenType { + /** PersonalAccessToken */ + PersonalAccessToken = "PersonalAccessToken", + /** Oauth */ + Oauth = "Oauth" } /** - * Defines values for GroupTypeEnum. \ - * {@link KnownGroupTypeEnum} can be used interchangeably with GroupTypeEnum, + * Defines values for TokenType. \ + * {@link KnownTokenType} can be used interchangeably with TokenType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **User** \ - * **System** + * **PersonalAccessToken** \ + * **Oauth** */ -export type GroupTypeEnum = string; -/** Defines values for ModuleProvisioningState. */ -export type ModuleProvisioningState = - | "Created" - | "Creating" - | "StartingImportModuleRunbook" - | "RunningImportModuleRunbook" - | "ContentRetrieved" - | "ContentDownloaded" - | "ContentValidated" - | "ConnectionTypeImported" - | "ContentStored" - | "ModuleDataStored" - | "ActivitiesStored" - | "ModuleImportRunbookComplete" - | "Succeeded" - | "Failed" - | "Cancelled" - | "Updating"; +export type TokenType = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Completed */ + Completed = "Completed", + /** Failed */ + Failed = "Failed", + /** Running */ + Running = "Running" +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Completed** \ + * **Failed** \ + * **Running** + */ +export type ProvisioningState = string; + +/** Known values of {@link SyncType} that the service accepts. */ +export enum KnownSyncType { + /** PartialSync */ + PartialSync = "PartialSync", + /** FullSync */ + FullSync = "FullSync" +} + +/** + * Defines values for SyncType. \ + * {@link KnownSyncType} can be used interchangeably with SyncType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PartialSync** \ + * **FullSync** + */ +export type SyncType = string; + +/** Known values of {@link StreamType} that the service accepts. */ +export enum KnownStreamType { + /** Error */ + Error = "Error", + /** Output */ + Output = "Output" +} + +/** + * Defines values for StreamType. \ + * {@link KnownStreamType} can be used interchangeably with StreamType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Error** \ + * **Output** + */ +export type StreamType = string; +/** Defines values for OperatingSystemType. */ +export type OperatingSystemType = "Windows" | "Linux"; +/** Defines values for TagOperators. */ +export type TagOperators = "All" | "Any"; /** Defines values for EncryptionKeySourceType. */ export type EncryptionKeySourceType = | "Microsoft.Automation" @@ -3462,10 +3556,6 @@ export type ResourceIdentityType = | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; -/** Defines values for OperatingSystemType. */ -export type OperatingSystemType = "Windows" | "Linux"; -/** Defines values for TagOperators. */ -export type TagOperators = "All" | "Any"; /** Optional parameters. */ export interface PrivateEndpointConnectionsListByAutomationAccountOptionalParams @@ -3509,45 +3599,6 @@ export interface PrivateLinkResourcesAutomationOptionalParams /** Contains response data for the automation operation. */ export type PrivateLinkResourcesAutomationResponse = PrivateLinkResourceListResult; -/** Optional parameters. */ -export interface Python2PackageDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface Python2PackageGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type Python2PackageGetResponse = Module; - -/** Optional parameters. */ -export interface Python2PackageCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type Python2PackageCreateOrUpdateResponse = Module; - -/** Optional parameters. */ -export interface Python2PackageUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the update operation. */ -export type Python2PackageUpdateResponse = Module; - -/** Optional parameters. */ -export interface Python2PackageListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccount operation. */ -export type Python2PackageListByAutomationAccountResponse = ModuleListResult; - -/** Optional parameters. */ -export interface Python2PackageListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccountNext operation. */ -export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult; - /** Optional parameters. */ export interface AgentRegistrationInformationGetOptionalParams extends coreClient.OperationOptions {} @@ -3628,74 +3679,22 @@ export interface NodeReportsGetOptionalParams /** Contains response data for the get operation. */ export type NodeReportsGetResponse = DscNodeReport; -/** Optional parameters. */ -export interface NodeReportsGetContentOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getContent operation. */ -export type NodeReportsGetContentResponse = Record; - -/** Optional parameters. */ -export interface NodeReportsListByNodeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} - -/** Contains response data for the listByNodeNext operation. */ -export type NodeReportsListByNodeNextResponse = DscNodeReportListResult; - -/** Optional parameters. */ -export interface DscNodeConfigurationDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface DscNodeConfigurationGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type DscNodeConfigurationGetResponse = DscNodeConfiguration; - -/** Optional parameters. */ -export interface DscNodeConfigurationCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface DscNodeConfigurationListByAutomationAccountOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; - /** The number of rows to skip. */ - skip?: number; - /** The number of rows to take. */ - top?: number; - /** Return total rows. */ - inlinecount?: string; -} +/** Optional parameters. */ +export interface NodeReportsGetContentOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the listByAutomationAccount operation. */ -export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult; +/** Contains response data for the getContent operation. */ +export type NodeReportsGetContentResponse = Record; /** Optional parameters. */ -export interface DscNodeConfigurationListByAutomationAccountNextOptionalParams +export interface NodeReportsListByNodeNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; - /** The number of rows to skip. */ - skip?: number; - /** The number of rows to take. */ - top?: number; - /** Return total rows. */ - inlinecount?: string; } -/** Contains response data for the listByAutomationAccountNext operation. */ -export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult; +/** Contains response data for the listByNodeNext operation. */ +export type NodeReportsListByNodeNextResponse = DscNodeReportListResult; /** Optional parameters. */ export interface DscCompilationJobCreateOptionalParams @@ -3758,110 +3757,156 @@ export interface NodeCountInformationGetOptionalParams export type NodeCountInformationGetResponse = NodeCounts; /** Optional parameters. */ -export interface SourceControlCreateOrUpdateOptionalParams +export interface WatcherCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type SourceControlCreateOrUpdateResponse = SourceControl; +export type WatcherCreateOrUpdateResponse = Watcher; /** Optional parameters. */ -export interface SourceControlUpdateOptionalParams +export interface WatcherGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WatcherGetResponse = Watcher; + +/** Optional parameters. */ +export interface WatcherUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type SourceControlUpdateResponse = SourceControl; +export type WatcherUpdateResponse = Watcher; /** Optional parameters. */ -export interface SourceControlDeleteOptionalParams +export interface WatcherDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface SourceControlGetOptionalParams +export interface WatcherStartOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type SourceControlGetResponse = SourceControl; +/** Optional parameters. */ +export interface WatcherStopOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface SourceControlListByAutomationAccountOptionalParams +export interface WatcherListByAutomationAccountOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } /** Contains response data for the listByAutomationAccount operation. */ -export type SourceControlListByAutomationAccountResponse = SourceControlListResult; +export type WatcherListByAutomationAccountResponse = WatcherListResult; /** Optional parameters. */ -export interface SourceControlListByAutomationAccountNextOptionalParams +export interface WatcherListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } /** Contains response data for the listByAutomationAccountNext operation. */ -export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult; +export type WatcherListByAutomationAccountNextResponse = WatcherListResult; /** Optional parameters. */ -export interface SourceControlSyncJobCreateOptionalParams - extends coreClient.OperationOptions {} +export interface SoftwareUpdateConfigurationsCreateOptionalParams + extends coreClient.OperationOptions { + /** Identifies this specific client request. */ + clientRequestId?: string; +} /** Contains response data for the create operation. */ -export type SourceControlSyncJobCreateResponse = SourceControlSyncJob; +export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration; /** Optional parameters. */ -export interface SourceControlSyncJobGetOptionalParams - extends coreClient.OperationOptions {} +export interface SoftwareUpdateConfigurationsGetByNameOptionalParams + extends coreClient.OperationOptions { + /** Identifies this specific client request. */ + clientRequestId?: string; +} -/** Contains response data for the get operation. */ -export type SourceControlSyncJobGetResponse = SourceControlSyncJobById; +/** Contains response data for the getByName operation. */ +export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration; /** Optional parameters. */ -export interface SourceControlSyncJobListByAutomationAccountOptionalParams +export interface SoftwareUpdateConfigurationsDeleteOptionalParams extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; + /** Identifies this specific client request. */ + clientRequestId?: string; } -/** Contains response data for the listByAutomationAccount operation. */ -export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult; - /** Optional parameters. */ -export interface SourceControlSyncJobListByAutomationAccountNextOptionalParams +export interface SoftwareUpdateConfigurationsListOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; + /** Identifies this specific client request. */ + clientRequestId?: string; } -/** Contains response data for the listByAutomationAccountNext operation. */ -export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult; +/** Contains response data for the list operation. */ +export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult; /** Optional parameters. */ -export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} +export interface WebhookGenerateUriOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the listBySyncJob operation. */ -export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob; +/** Contains response data for the generateUri operation. */ +export type WebhookGenerateUriResponse = { + /** The parsed response body. */ + body: string; +}; /** Optional parameters. */ -export interface SourceControlSyncJobStreamsGetOptionalParams +export interface WebhookDeleteOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface WebhookGetOptionalParams extends coreClient.OperationOptions {} + /** Contains response data for the get operation. */ -export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById; +export type WebhookGetResponse = Webhook; /** Optional parameters. */ -export interface SourceControlSyncJobStreamsListBySyncJobNextOptionalParams +export interface WebhookCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type WebhookCreateOrUpdateResponse = Webhook; + +/** Optional parameters. */ +export interface WebhookUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type WebhookUpdateResponse = Webhook; + +/** Optional parameters. */ +export interface WebhookListByAutomationAccountOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listBySyncJobNext operation. */ -export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob; +/** Contains response data for the listByAutomationAccount operation. */ +export type WebhookListByAutomationAccountResponse = WebhookListResult; + +/** Optional parameters. */ +export interface WebhookListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} + +/** Contains response data for the listByAutomationAccountNext operation. */ +export type WebhookListByAutomationAccountNextResponse = WebhookListResult; + +/** Optional parameters. */ +export interface DeletedAutomationAccountsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type DeletedAutomationAccountsListBySubscriptionResponse = DeletedAutomationAccountListResult; /** Optional parameters. */ export interface AutomationAccountUpdateOptionalParams @@ -3977,453 +4022,337 @@ export interface CertificateListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByAutomationAccountNext operation. */ -export type CertificateListByAutomationAccountNextResponse = CertificateListResult; - -/** Optional parameters. */ -export interface ConnectionDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ConnectionGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ConnectionGetResponse = Connection; - -/** Optional parameters. */ -export interface ConnectionCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ConnectionCreateOrUpdateResponse = Connection; - -/** Optional parameters. */ -export interface ConnectionUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the update operation. */ -export type ConnectionUpdateResponse = Connection; - -/** Optional parameters. */ -export interface ConnectionListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccount operation. */ -export type ConnectionListByAutomationAccountResponse = ConnectionListResult; - -/** Optional parameters. */ -export interface ConnectionListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccountNext operation. */ -export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult; - -/** Optional parameters. */ -export interface ConnectionTypeDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ConnectionTypeGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ConnectionTypeGetResponse = ConnectionType; - -/** Optional parameters. */ -export interface ConnectionTypeCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ConnectionTypeCreateOrUpdateResponse = ConnectionType; - -/** Optional parameters. */ -export interface ConnectionTypeListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccount operation. */ -export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult; - -/** Optional parameters. */ -export interface ConnectionTypeListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccountNext operation. */ -export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult; - -/** Optional parameters. */ -export interface CredentialDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface CredentialGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type CredentialGetResponse = Credential; - -/** Optional parameters. */ -export interface CredentialCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type CredentialCreateOrUpdateResponse = Credential; - -/** Optional parameters. */ -export interface CredentialUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the update operation. */ -export type CredentialUpdateResponse = Credential; - -/** Optional parameters. */ -export interface CredentialListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccount operation. */ -export type CredentialListByAutomationAccountResponse = CredentialListResult; - -/** Optional parameters. */ -export interface CredentialListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByAutomationAccountNext operation. */ -export type CredentialListByAutomationAccountNextResponse = CredentialListResult; +export type CertificateListByAutomationAccountNextResponse = CertificateListResult; /** Optional parameters. */ -export interface JobScheduleDeleteOptionalParams +export interface ConnectionDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface JobScheduleGetOptionalParams +export interface ConnectionGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type JobScheduleGetResponse = JobSchedule; +export type ConnectionGetResponse = Connection; /** Optional parameters. */ -export interface JobScheduleCreateOptionalParams +export interface ConnectionCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the create operation. */ -export type JobScheduleCreateResponse = JobSchedule; +/** Contains response data for the createOrUpdate operation. */ +export type ConnectionCreateOrUpdateResponse = Connection; /** Optional parameters. */ -export interface JobScheduleListByAutomationAccountOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} +export interface ConnectionUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type ConnectionUpdateResponse = Connection; + +/** Optional parameters. */ +export interface ConnectionListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listByAutomationAccount operation. */ -export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult; +export type ConnectionListByAutomationAccountResponse = ConnectionListResult; /** Optional parameters. */ -export interface JobScheduleListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} +export interface ConnectionListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listByAutomationAccountNext operation. */ -export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult; +export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult; /** Optional parameters. */ -export interface LinkedWorkspaceGetOptionalParams +export interface ConnectionTypeDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ConnectionTypeGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type LinkedWorkspaceGetResponse = LinkedWorkspace; +export type ConnectionTypeGetResponse = ConnectionType; /** Optional parameters. */ -export interface ActivityGetOptionalParams +export interface ConnectionTypeCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ActivityGetResponse = Activity; +/** Contains response data for the createOrUpdate operation. */ +export type ConnectionTypeCreateOrUpdateResponse = ConnectionType; /** Optional parameters. */ -export interface ActivityListByModuleOptionalParams +export interface ConnectionTypeListByAutomationAccountOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByModule operation. */ -export type ActivityListByModuleResponse = ActivityListResult; +/** Contains response data for the listByAutomationAccount operation. */ +export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListResult; /** Optional parameters. */ -export interface ActivityListByModuleNextOptionalParams +export interface ConnectionTypeListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByModuleNext operation. */ -export type ActivityListByModuleNextResponse = ActivityListResult; +/** Contains response data for the listByAutomationAccountNext operation. */ +export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeListResult; /** Optional parameters. */ -export interface ModuleDeleteOptionalParams +export interface CredentialDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModuleGetOptionalParams extends coreClient.OperationOptions {} +export interface CredentialGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ModuleGetResponse = Module; +export type CredentialGetResponse = Credential; /** Optional parameters. */ -export interface ModuleCreateOrUpdateOptionalParams +export interface CredentialCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ModuleCreateOrUpdateResponse = Module; +export type CredentialCreateOrUpdateResponse = Credential; /** Optional parameters. */ -export interface ModuleUpdateOptionalParams +export interface CredentialUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type ModuleUpdateResponse = Module; +export type CredentialUpdateResponse = Credential; /** Optional parameters. */ -export interface ModuleListByAutomationAccountOptionalParams +export interface CredentialListByAutomationAccountOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByAutomationAccount operation. */ -export type ModuleListByAutomationAccountResponse = ModuleListResult; +export type CredentialListByAutomationAccountResponse = CredentialListResult; /** Optional parameters. */ -export interface ModuleListByAutomationAccountNextOptionalParams +export interface CredentialListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listByAutomationAccountNext operation. */ -export type ModuleListByAutomationAccountNextResponse = ModuleListResult; +export type CredentialListByAutomationAccountNextResponse = CredentialListResult; /** Optional parameters. */ -export interface ObjectDataTypesListFieldsByModuleAndTypeOptionalParams +export interface DscConfigurationDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listFieldsByModuleAndType operation. */ -export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult; - /** Optional parameters. */ -export interface ObjectDataTypesListFieldsByTypeOptionalParams +export interface DscConfigurationGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listFieldsByType operation. */ -export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult; +/** Contains response data for the get operation. */ +export type DscConfigurationGetResponse = DscConfiguration; /** Optional parameters. */ -export interface FieldsListByTypeOptionalParams +export interface DscConfigurationCreateOrUpdate$textOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByType operation. */ -export type FieldsListByTypeResponse = TypeFieldListResult; - /** Optional parameters. */ -export interface ScheduleCreateOrUpdateOptionalParams +export interface DscConfigurationCreateOrUpdate$jsonOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ScheduleCreateOrUpdateResponse = Schedule; +export type DscConfigurationCreateOrUpdateResponse = DscConfiguration; /** Optional parameters. */ -export interface ScheduleUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the update operation. */ -export type ScheduleUpdateResponse = Schedule; +export interface DscConfigurationUpdate$textOptionalParams + extends coreClient.OperationOptions { + /** The create or update parameters for configuration. */ + parameters?: string; +} /** Optional parameters. */ -export interface ScheduleGetOptionalParams - extends coreClient.OperationOptions {} +export interface DscConfigurationUpdate$jsonOptionalParams + extends coreClient.OperationOptions { + /** The create or update parameters for configuration. */ + parameters?: DscConfigurationUpdateParameters; +} -/** Contains response data for the get operation. */ -export type ScheduleGetResponse = Schedule; +/** Contains response data for the update operation. */ +export type DscConfigurationUpdateResponse = DscConfiguration; /** Optional parameters. */ -export interface ScheduleDeleteOptionalParams +export interface DscConfigurationGetContentOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the getContent operation. */ +export type DscConfigurationGetContentResponse = { + /** The parsed response body. */ + body: coreRestPipeline.RequestBodyType; +}; + /** Optional parameters. */ -export interface ScheduleListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} +export interface DscConfigurationListByAutomationAccountOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; + /** The number of rows to skip. */ + skip?: number; + /** The number of rows to take. */ + top?: number; + /** Return total rows. */ + inlinecount?: string; +} /** Contains response data for the listByAutomationAccount operation. */ -export type ScheduleListByAutomationAccountResponse = ScheduleListResult; +export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult; /** Optional parameters. */ -export interface ScheduleListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} +export interface DscConfigurationListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; + /** The number of rows to skip. */ + skip?: number; + /** The number of rows to take. */ + top?: number; + /** Return total rows. */ + inlinecount?: string; +} /** Contains response data for the listByAutomationAccountNext operation. */ -export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult; +export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult; /** Optional parameters. */ -export interface VariableCreateOrUpdateOptionalParams +export interface DscNodeConfigurationDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type VariableCreateOrUpdateResponse = Variable; - /** Optional parameters. */ -export interface VariableUpdateOptionalParams +export interface DscNodeConfigurationGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type VariableUpdateResponse = Variable; - -/** Optional parameters. */ -export interface VariableDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the get operation. */ +export type DscNodeConfigurationGetResponse = DscNodeConfiguration; /** Optional parameters. */ -export interface VariableGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type VariableGetResponse = Variable; +export interface DscNodeConfigurationCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface VariableListByAutomationAccountOptionalParams - extends coreClient.OperationOptions {} +export interface DscNodeConfigurationListByAutomationAccountOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; + /** The number of rows to skip. */ + skip?: number; + /** The number of rows to take. */ + top?: number; + /** Return total rows. */ + inlinecount?: string; +} /** Contains response data for the listByAutomationAccount operation. */ -export type VariableListByAutomationAccountResponse = VariableListResult; +export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult; /** Optional parameters. */ -export interface VariableListByAutomationAccountNextOptionalParams - extends coreClient.OperationOptions {} +export interface DscNodeConfigurationListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; + /** The number of rows to skip. */ + skip?: number; + /** The number of rows to take. */ + top?: number; + /** Return total rows. */ + inlinecount?: string; +} /** Contains response data for the listByAutomationAccountNext operation. */ -export type VariableListByAutomationAccountNextResponse = VariableListResult; +export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult; /** Optional parameters. */ -export interface WatcherCreateOrUpdateOptionalParams +export interface HybridRunbookWorkersDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type WatcherCreateOrUpdateResponse = Watcher; - -/** Optional parameters. */ -export interface WatcherGetOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WatcherGetResponse = Watcher; - /** Optional parameters. */ -export interface WatcherUpdateOptionalParams +export interface HybridRunbookWorkersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type WatcherUpdateResponse = Watcher; +/** Contains response data for the get operation. */ +export type HybridRunbookWorkersGetResponse = HybridRunbookWorker; /** Optional parameters. */ -export interface WatcherDeleteOptionalParams +export interface HybridRunbookWorkersCreateOptionalParams extends coreClient.OperationOptions {} -/** Optional parameters. */ -export interface WatcherStartOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the create operation. */ +export type HybridRunbookWorkersCreateResponse = HybridRunbookWorker; /** Optional parameters. */ -export interface WatcherStopOptionalParams +export interface HybridRunbookWorkersMoveOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface WatcherListByAutomationAccountOptionalParams +export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listByAutomationAccount operation. */ -export type WatcherListByAutomationAccountResponse = WatcherListResult; +/** Contains response data for the listByHybridRunbookWorkerGroup operation. */ +export type HybridRunbookWorkersListByHybridRunbookWorkerGroupResponse = HybridRunbookWorkersListResult; /** Optional parameters. */ -export interface WatcherListByAutomationAccountNextOptionalParams +export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listByAutomationAccountNext operation. */ -export type WatcherListByAutomationAccountNextResponse = WatcherListResult; +/** Contains response data for the listByHybridRunbookWorkerGroupNext operation. */ +export type HybridRunbookWorkersListByHybridRunbookWorkerGroupNextResponse = HybridRunbookWorkersListResult; /** Optional parameters. */ -export interface DscConfigurationDeleteOptionalParams +export interface HybridRunbookWorkerGroupDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DscConfigurationGetOptionalParams +export interface HybridRunbookWorkerGroupGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DscConfigurationGetResponse = DscConfiguration; - -/** Optional parameters. */ -export interface DscConfigurationCreateOrUpdate$textOptionalParams - extends coreClient.OperationOptions {} +export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup; /** Optional parameters. */ -export interface DscConfigurationCreateOrUpdate$jsonOptionalParams +export interface HybridRunbookWorkerGroupCreateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type DscConfigurationCreateOrUpdateResponse = DscConfiguration; - -/** Optional parameters. */ -export interface DscConfigurationUpdate$textOptionalParams - extends coreClient.OperationOptions { - /** The create or update parameters for configuration. */ - parameters?: string; -} - -/** Optional parameters. */ -export interface DscConfigurationUpdate$jsonOptionalParams - extends coreClient.OperationOptions { - /** The create or update parameters for configuration. */ - parameters?: DscConfigurationUpdateParameters; -} - -/** Contains response data for the update operation. */ -export type DscConfigurationUpdateResponse = DscConfiguration; +/** Contains response data for the create operation. */ +export type HybridRunbookWorkerGroupCreateResponse = HybridRunbookWorkerGroup; /** Optional parameters. */ -export interface DscConfigurationGetContentOptionalParams +export interface HybridRunbookWorkerGroupUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getContent operation. */ -export type DscConfigurationGetContentResponse = { - /** The parsed response body. */ - body: string; -}; +/** Contains response data for the update operation. */ +export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup; /** Optional parameters. */ -export interface DscConfigurationListByAutomationAccountOptionalParams +export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; - /** The number of rows to skip. */ - skip?: number; - /** The number of rows to take. */ - top?: number; - /** Return total rows. */ - inlinecount?: string; } /** Contains response data for the listByAutomationAccount operation. */ -export type DscConfigurationListByAutomationAccountResponse = DscConfigurationListResult; +export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult; /** Optional parameters. */ -export interface DscConfigurationListByAutomationAccountNextOptionalParams +export interface HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; - /** The number of rows to skip. */ - skip?: number; - /** The number of rows to take. */ - top?: number; - /** Return total rows. */ - inlinecount?: string; } /** Contains response data for the listByAutomationAccountNext operation. */ -export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurationListResult; +export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult; /** Optional parameters. */ export interface JobGetOutputOptionalParams @@ -4545,6 +4474,131 @@ export interface JobStreamListByJobNextOptionalParams /** Contains response data for the listByJobNext operation. */ export type JobStreamListByJobNextResponse = JobStreamListResult; +/** Optional parameters. */ +export interface JobScheduleDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface JobScheduleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type JobScheduleGetResponse = JobSchedule; + +/** Optional parameters. */ +export interface JobScheduleCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type JobScheduleCreateResponse = JobSchedule; + +/** Optional parameters. */ +export interface JobScheduleListByAutomationAccountOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} + +/** Contains response data for the listByAutomationAccount operation. */ +export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult; + +/** Optional parameters. */ +export interface JobScheduleListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} + +/** Contains response data for the listByAutomationAccountNext operation. */ +export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResult; + +/** Optional parameters. */ +export interface LinkedWorkspaceGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LinkedWorkspaceGetResponse = LinkedWorkspace; + +/** Optional parameters. */ +export interface ActivityGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ActivityGetResponse = Activity; + +/** Optional parameters. */ +export interface ActivityListByModuleOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByModule operation. */ +export type ActivityListByModuleResponse = ActivityListResult; + +/** Optional parameters. */ +export interface ActivityListByModuleNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByModuleNext operation. */ +export type ActivityListByModuleNextResponse = ActivityListResult; + +/** Optional parameters. */ +export interface ModuleDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ModuleGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ModuleGetResponse = Module; + +/** Optional parameters. */ +export interface ModuleCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ModuleCreateOrUpdateResponse = Module; + +/** Optional parameters. */ +export interface ModuleUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type ModuleUpdateResponse = Module; + +/** Optional parameters. */ +export interface ModuleListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByAutomationAccount operation. */ +export type ModuleListByAutomationAccountResponse = ModuleListResult; + +/** Optional parameters. */ +export interface ModuleListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByAutomationAccountNext operation. */ +export type ModuleListByAutomationAccountNextResponse = ModuleListResult; + +/** Optional parameters. */ +export interface ObjectDataTypesListFieldsByModuleAndTypeOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listFieldsByModuleAndType operation. */ +export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResult; + +/** Optional parameters. */ +export interface ObjectDataTypesListFieldsByTypeOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listFieldsByType operation. */ +export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult; + +/** Optional parameters. */ +export interface FieldsListByTypeOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByType operation. */ +export type FieldsListByTypeResponse = TypeFieldListResult; + /** Optional parameters. */ export interface OperationsListOptionalParams extends coreClient.OperationOptions {} @@ -4560,95 +4614,82 @@ export interface ConvertGraphRunbookContentOptionalParams export type ConvertGraphRunbookContentResponse = GraphicalRunbookContent; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationsCreateOptionalParams - extends coreClient.OperationOptions { - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python2PackageDeleteOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the create operation. */ -export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration; +/** Optional parameters. */ +export interface Python2PackageGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type Python2PackageGetResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationsGetByNameOptionalParams - extends coreClient.OperationOptions { - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python2PackageCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getByName operation. */ -export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration; +/** Contains response data for the createOrUpdate operation. */ +export type Python2PackageCreateOrUpdateResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python2PackageUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type Python2PackageUpdateResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationsListOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python2PackageListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult; +/** Contains response data for the listByAutomationAccount operation. */ +export type Python2PackageListByAutomationAccountResponse = ModuleListResult; + +/** Optional parameters. */ +export interface Python2PackageListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByAutomationAccountNext operation. */ +export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult; + +/** Optional parameters. */ +export interface Python3PackageDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface Python3PackageGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type Python3PackageGetResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams - extends coreClient.OperationOptions { - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python3PackageCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getById operation. */ -export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun; +/** Contains response data for the createOrUpdate operation. */ +export type Python3PackageCreateOrUpdateResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationRunsListOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ - filter?: string; - /** Identifies this specific client request. */ - clientRequestId?: string; - /** Number of entries you skip before returning results */ - skip?: string; - /** Maximum number of entries returned in the results collection */ - top?: string; -} +export interface Python3PackageUpdateOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult; +/** Contains response data for the update operation. */ +export type Python3PackageUpdateResponse = Module; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams - extends coreClient.OperationOptions { - /** Identifies this specific client request. */ - clientRequestId?: string; -} +export interface Python3PackageListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the getById operation. */ -export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun; +/** Contains response data for the listByAutomationAccount operation. */ +export type Python3PackageListByAutomationAccountResponse = ModuleListResult; /** Optional parameters. */ -export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ - filter?: string; - /** Identifies this specific client request. */ - clientRequestId?: string; - /** number of entries you skip before returning results */ - skip?: string; - /** Maximum number of entries returned in the results collection */ - top?: string; -} +export interface Python3PackageListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult; +/** Contains response data for the listByAutomationAccountNext operation. */ +export type Python3PackageListByAutomationAccountNextResponse = ModuleListResult; /** Optional parameters. */ export interface RunbookDraftGetContentOptionalParams @@ -4814,152 +4855,240 @@ export interface TestJobSuspendOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface WebhookGenerateUriOptionalParams +export interface ScheduleCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the generateUri operation. */ -export type WebhookGenerateUriResponse = { - /** The parsed response body. */ - body: string; -}; +/** Contains response data for the createOrUpdate operation. */ +export type ScheduleCreateOrUpdateResponse = Schedule; /** Optional parameters. */ -export interface WebhookDeleteOptionalParams +export interface ScheduleUpdateOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the update operation. */ +export type ScheduleUpdateResponse = Schedule; + /** Optional parameters. */ -export interface WebhookGetOptionalParams extends coreClient.OperationOptions {} +export interface ScheduleGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WebhookGetResponse = Webhook; +export type ScheduleGetResponse = Schedule; /** Optional parameters. */ -export interface WebhookCreateOrUpdateOptionalParams +export interface ScheduleDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type WebhookCreateOrUpdateResponse = Webhook; +/** Optional parameters. */ +export interface ScheduleListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByAutomationAccount operation. */ +export type ScheduleListByAutomationAccountResponse = ScheduleListResult; /** Optional parameters. */ -export interface WebhookUpdateOptionalParams +export interface ScheduleListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type WebhookUpdateResponse = Webhook; +/** Contains response data for the listByAutomationAccountNext operation. */ +export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult; /** Optional parameters. */ -export interface WebhookListByAutomationAccountOptionalParams +export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ + /** Identifies this specific client request. */ + clientRequestId?: string; +} + +/** Contains response data for the getById operation. */ +export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun; + +/** Optional parameters. */ +export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ filter?: string; + /** Identifies this specific client request. */ + clientRequestId?: string; + /** number of entries you skip before returning results */ + skip?: string; + /** Maximum number of entries returned in the results collection */ + top?: string; } -/** Contains response data for the listByAutomationAccount operation. */ -export type WebhookListByAutomationAccountResponse = WebhookListResult; +/** Contains response data for the list operation. */ +export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult; /** Optional parameters. */ -export interface WebhookListByAutomationAccountNextOptionalParams +export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ + /** Identifies this specific client request. */ + clientRequestId?: string; +} + +/** Contains response data for the getById operation. */ +export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun; + +/** Optional parameters. */ +export interface SoftwareUpdateConfigurationRunsListOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ filter?: string; + /** Identifies this specific client request. */ + clientRequestId?: string; + /** Number of entries you skip before returning results */ + skip?: string; + /** Maximum number of entries returned in the results collection */ + top?: string; } -/** Contains response data for the listByAutomationAccountNext operation. */ -export type WebhookListByAutomationAccountNextResponse = WebhookListResult; +/** Contains response data for the list operation. */ +export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult; /** Optional parameters. */ -export interface HybridRunbookWorkersDeleteOptionalParams +export interface SourceControlCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the createOrUpdate operation. */ +export type SourceControlCreateOrUpdateResponse = SourceControl; + /** Optional parameters. */ -export interface HybridRunbookWorkersGetOptionalParams +export interface SourceControlUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type HybridRunbookWorkersGetResponse = HybridRunbookWorker; +/** Contains response data for the update operation. */ +export type SourceControlUpdateResponse = SourceControl; /** Optional parameters. */ -export interface HybridRunbookWorkersCreateOptionalParams +export interface SourceControlDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the create operation. */ -export type HybridRunbookWorkersCreateResponse = HybridRunbookWorker; - /** Optional parameters. */ -export interface HybridRunbookWorkersMoveOptionalParams +export interface SourceControlGetOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the get operation. */ +export type SourceControlGetResponse = SourceControl; + /** Optional parameters. */ -export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupOptionalParams +export interface SourceControlListByAutomationAccountOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listByHybridRunbookWorkerGroup operation. */ -export type HybridRunbookWorkersListByHybridRunbookWorkerGroupResponse = HybridRunbookWorkersListResult; +/** Contains response data for the listByAutomationAccount operation. */ +export type SourceControlListByAutomationAccountResponse = SourceControlListResult; /** Optional parameters. */ -export interface HybridRunbookWorkersListByHybridRunbookWorkerGroupNextOptionalParams +export interface SourceControlListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listByHybridRunbookWorkerGroupNext operation. */ -export type HybridRunbookWorkersListByHybridRunbookWorkerGroupNextResponse = HybridRunbookWorkersListResult; +/** Contains response data for the listByAutomationAccountNext operation. */ +export type SourceControlListByAutomationAccountNextResponse = SourceControlListResult; /** Optional parameters. */ -export interface DeletedAutomationAccountsListBySubscriptionOptionalParams +export interface SourceControlSyncJobCreateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type DeletedAutomationAccountsListBySubscriptionResponse = DeletedAutomationAccountListResult; - -/** Optional parameters. */ -export interface HybridRunbookWorkerGroupDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the create operation. */ +export type SourceControlSyncJobCreateResponse = SourceControlSyncJob; /** Optional parameters. */ -export interface HybridRunbookWorkerGroupGetOptionalParams +export interface SourceControlSyncJobGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup; +export type SourceControlSyncJobGetResponse = SourceControlSyncJobById; /** Optional parameters. */ -export interface HybridRunbookWorkerGroupCreateOptionalParams - extends coreClient.OperationOptions {} +export interface SourceControlSyncJobListByAutomationAccountOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} -/** Contains response data for the create operation. */ -export type HybridRunbookWorkerGroupCreateResponse = HybridRunbookWorkerGroup; +/** Contains response data for the listByAutomationAccount operation. */ +export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult; /** Optional parameters. */ -export interface HybridRunbookWorkerGroupUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface SourceControlSyncJobListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} -/** Contains response data for the update operation. */ -export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup; +/** Contains response data for the listByAutomationAccountNext operation. */ +export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult; /** Optional parameters. */ -export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams +export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } -/** Contains response data for the listByAutomationAccount operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunbookWorkerGroupsListResult; +/** Contains response data for the listBySyncJob operation. */ +export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob; /** Optional parameters. */ -export interface HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams +export interface SourceControlSyncJobStreamsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById; + +/** Optional parameters. */ +export interface SourceControlSyncJobStreamsListBySyncJobNextOptionalParams extends coreClient.OperationOptions { /** The filter to apply on the operation. */ filter?: string; } +/** Contains response data for the listBySyncJobNext operation. */ +export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob; + +/** Optional parameters. */ +export interface VariableCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type VariableCreateOrUpdateResponse = Variable; + +/** Optional parameters. */ +export interface VariableUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type VariableUpdateResponse = Variable; + +/** Optional parameters. */ +export interface VariableDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface VariableGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type VariableGetResponse = Variable; + +/** Optional parameters. */ +export interface VariableListByAutomationAccountOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByAutomationAccount operation. */ +export type VariableListByAutomationAccountResponse = VariableListResult; + +/** Optional parameters. */ +export interface VariableListByAutomationAccountNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listByAutomationAccountNext operation. */ -export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = HybridRunbookWorkerGroupsListResult; +export type VariableListByAutomationAccountNextResponse = VariableListResult; /** Optional parameters. */ export interface AutomationClientOptionalParams diff --git a/sdk/automation/arm-automation/src/models/mappers.ts b/sdk/automation/arm-automation/src/models/mappers.ts index 315d4b7ff40f..3d66d30f4815 100644 --- a/sdk/automation/arm-automation/src/models/mappers.ts +++ b/sdk/automation/arm-automation/src/models/mappers.ts @@ -144,144 +144,6 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { } }; -export const ContentLink: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContentLink", - modelProperties: { - uri: { - serializedName: "uri", - type: { - name: "String" - } - }, - contentHash: { - serializedName: "contentHash", - type: { - name: "Composite", - className: "ContentHash" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - } - } - } -}; - -export const ContentHash: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContentHash", - modelProperties: { - algorithm: { - serializedName: "algorithm", - required: true, - type: { - name: "String" - } - }, - value: { - serializedName: "value", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const ModuleErrorInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModuleErrorInfo", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - } - } - } -}; - -export const PythonPackageCreateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PythonPackageCreateParameters", - modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - contentLink: { - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } - } - } - } -}; - -export const PythonPackageUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PythonPackageUpdateParameters", - modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; - -export const ModuleListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModuleListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Module" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const AgentRegistration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -805,28 +667,19 @@ export const DscMetaConfiguration: coreClient.CompositeMapper = { } }; -export const DscConfigurationAssociationProperty: coreClient.CompositeMapper = { +export const DscCompilationJobCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscConfigurationAssociationProperty", + className: "DscCompilationJobCreateParameters", modelProperties: { name: { serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DscNodeConfigurationCreateOrUpdateParameters", - modelProperties: { - name: { - serializedName: "name", + }, + location: { + serializedName: "location", type: { name: "String" } @@ -838,13 +691,6 @@ export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeM value: { type: { name: "String" } } } }, - source: { - serializedName: "properties.source", - type: { - name: "Composite", - className: "ContentSource" - } - }, configuration: { serializedName: "properties.configuration", type: { @@ -852,6 +698,13 @@ export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeM className: "DscConfigurationAssociationProperty" } }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, incrementNodeConfigurationBuild: { serializedName: "properties.incrementNodeConfigurationBuild", type: { @@ -862,32 +715,40 @@ export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeM } }; -export const ContentSource: coreClient.CompositeMapper = { +export const DscConfigurationAssociationProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSource", + className: "DscConfigurationAssociationProperty", modelProperties: { - hash: { - serializedName: "hash", - type: { - name: "Composite", - className: "ContentHash" - } - }, - type: { - serializedName: "type", + name: { + serializedName: "name", type: { name: "String" } - }, + } + } + } +}; + +export const DscCompilationJobListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DscCompilationJobListResult", + modelProperties: { value: { serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DscCompilationJob" + } + } } }, - version: { - serializedName: "version", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -896,10 +757,10 @@ export const ContentSource: coreClient.CompositeMapper = { } }; -export const DscNodeConfigurationListResult: coreClient.CompositeMapper = { +export const JobStreamListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscNodeConfigurationListResult", + className: "JobStreamListResult", modelProperties: { value: { serializedName: "value", @@ -908,7 +769,7 @@ export const DscNodeConfigurationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DscNodeConfiguration" + className: "JobStream" } } } @@ -918,152 +779,44 @@ export const DscNodeConfigurationListResult: coreClient.CompositeMapper = { type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } } } } }; -export const DscCompilationJobCreateParameters: coreClient.CompositeMapper = { +export const JobStream: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscCompilationJobCreateParameters", + className: "JobStream", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", type: { name: "String" } }, - location: { - serializedName: "location", + jobStreamId: { + serializedName: "properties.jobStreamId", type: { name: "String" } }, - tags: { - serializedName: "tags", + time: { + serializedName: "properties.time", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "DateTime" } }, - configuration: { - serializedName: "properties.configuration", + streamType: { + serializedName: "properties.streamType", type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + streamText: { + serializedName: "properties.streamText", type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - } - } - } -}; - -export const DscCompilationJobListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DscCompilationJobListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DscCompilationJob" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const JobStreamListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobStreamListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobStream" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const JobStream: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobStream", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - jobStreamId: { - serializedName: "properties.jobStreamId", - type: { - name: "String" - } - }, - time: { - serializedName: "properties.time", - type: { - name: "DateTime" - } - }, - streamType: { - serializedName: "properties.streamType", - type: { - name: "String" - } - }, - streamText: { - serializedName: "properties.streamText", - type: { - name: "String" + name: "String" } }, summary: { @@ -1149,101 +902,46 @@ export const NodeCountProperties: coreClient.CompositeMapper = { } }; -export const SourceControlCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const WatcherUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlCreateOrUpdateParameters", + className: "WatcherUpdateParameters", modelProperties: { - repoUrl: { - constraints: { - MaxLength: 2000 - }, - serializedName: "properties.repoUrl", - type: { - name: "String" - } - }, - branch: { - constraints: { - MaxLength: 255 - }, - serializedName: "properties.branch", - type: { - name: "String" - } - }, - folderPath: { - constraints: { - MaxLength: 255 - }, - serializedName: "properties.folderPath", - type: { - name: "String" - } - }, - autoSync: { - serializedName: "properties.autoSync", - type: { - name: "Boolean" - } - }, - publishRunbook: { - serializedName: "properties.publishRunbook", - type: { - name: "Boolean" - } - }, - sourceType: { - serializedName: "properties.sourceType", + name: { + serializedName: "name", type: { name: "String" } }, - securityToken: { - serializedName: "properties.securityToken", - type: { - name: "Composite", - className: "SourceControlSecurityTokenProperties" - } - }, - description: { - constraints: { - MaxLength: 512 - }, - serializedName: "properties.description", + executionFrequencyInSeconds: { + serializedName: "properties.executionFrequencyInSeconds", type: { - name: "String" + name: "Number" } } } } }; -export const SourceControlSecurityTokenProperties: coreClient.CompositeMapper = { +export const WatcherListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlSecurityTokenProperties", + className: "WatcherListResult", modelProperties: { - accessToken: { - constraints: { - MaxLength: 1024 - }, - serializedName: "accessToken", - type: { - name: "String" - } - }, - refreshToken: { - constraints: { - MaxLength: 1024 - }, - serializedName: "refreshToken", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Watcher" + } + } } }, - tokenType: { - serializedName: "tokenType", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1252,125 +950,58 @@ export const SourceControlSecurityTokenProperties: coreClient.CompositeMapper = } }; -export const SourceControlUpdateParameters: coreClient.CompositeMapper = { +export const SoftwareUpdateConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlUpdateParameters", + className: "SoftwareUpdateConfiguration", modelProperties: { - branch: { - serializedName: "properties.branch", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - folderPath: { - serializedName: "properties.folderPath", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - autoSync: { - serializedName: "properties.autoSync", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + updateConfiguration: { + serializedName: "properties.updateConfiguration", type: { - name: "Boolean" + name: "Composite", + className: "UpdateConfiguration" } }, - securityToken: { - serializedName: "properties.securityToken", + scheduleInfo: { + serializedName: "properties.scheduleInfo", type: { name: "Composite", - className: "SourceControlSecurityTokenProperties" + className: "SUCScheduleProperties" } }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const SourceControlListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SourceControlListResult", - modelProperties: { - value: { - serializedName: "value", + }, + error: { + serializedName: "properties.error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SourceControl" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJobCreateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SourceControlSyncJobCreateParameters", - modelProperties: { - commitId: { - serializedName: "properties.commitId", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJob: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SourceControlSyncJob", - modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", - type: { - name: "String" + name: "Composite", + className: "ErrorResponse" } }, creationTime: { @@ -1380,147 +1011,139 @@ export const SourceControlSyncJob: coreClient.CompositeMapper = { name: "DateTime" } }, - provisioningState: { - serializedName: "properties.provisioningState", + createdBy: { + serializedName: "properties.createdBy", + readOnly: true, type: { name: "String" } }, - startTime: { - serializedName: "properties.startTime", + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", readOnly: true, - nullable: true, type: { name: "DateTime" } }, - endTime: { - serializedName: "properties.endTime", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", readOnly: true, - nullable: true, type: { - name: "DateTime" + name: "String" } }, - syncType: { - serializedName: "properties.syncType", + tasks: { + serializedName: "properties.tasks", type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" } } } } }; -export const SourceControlSyncJobById: coreClient.CompositeMapper = { +export const UpdateConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlSyncJobById", + className: "UpdateConfiguration", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - sourceControlSyncJobId: { - serializedName: "properties.sourceControlSyncJobId", + operatingSystem: { + serializedName: "operatingSystem", + required: true, type: { - name: "String" + name: "Enum", + allowedValues: ["Windows", "Linux"] } }, - creationTime: { - serializedName: "properties.creationTime", - readOnly: true, + windows: { + serializedName: "windows", type: { - name: "DateTime" + name: "Composite", + className: "WindowsProperties" } }, - provisioningState: { - serializedName: "properties.provisioningState", + linux: { + serializedName: "linux", type: { - name: "String" + name: "Composite", + className: "LinuxProperties" } }, - startTime: { - serializedName: "properties.startTime", - readOnly: true, - nullable: true, + duration: { + serializedName: "duration", type: { - name: "DateTime" + name: "TimeSpan" } }, - endTime: { - serializedName: "properties.endTime", - readOnly: true, - nullable: true, + azureVirtualMachines: { + serializedName: "azureVirtualMachines", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - syncType: { - serializedName: "properties.syncType", + nonAzureComputerNames: { + serializedName: "nonAzureComputerNames", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - exception: { - serializedName: "properties.exception", + targets: { + serializedName: "targets", type: { - name: "String" + name: "Composite", + className: "TargetProperties" } } } } }; -export const SourceControlSyncJobListResult: coreClient.CompositeMapper = { +export const WindowsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlSyncJobListResult", + className: "WindowsProperties", modelProperties: { - value: { - serializedName: "value", + includedUpdateClassifications: { + serializedName: "includedUpdateClassifications", + type: { + name: "String" + } + }, + excludedKbNumbers: { + serializedName: "excludedKbNumbers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SourceControlSyncJob" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SourceControlSyncJobStreamsListBySyncJob", - modelProperties: { - value: { - serializedName: "value", + includedKbNumbers: { + serializedName: "includedKbNumbers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SourceControlSyncJobStream" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + rebootSetting: { + serializedName: "rebootSetting", type: { name: "String" } @@ -1529,40 +1152,41 @@ export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMappe } }; -export const SourceControlSyncJobStream: coreClient.CompositeMapper = { +export const LinuxProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlSyncJobStream", + className: "LinuxProperties", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - sourceControlSyncJobStreamId: { - serializedName: "properties.sourceControlSyncJobStreamId", + includedPackageClassifications: { + serializedName: "includedPackageClassifications", type: { name: "String" } }, - summary: { - serializedName: "properties.summary", + excludedPackageNameMasks: { + serializedName: "excludedPackageNameMasks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - time: { - serializedName: "properties.time", - readOnly: true, - nullable: true, + includedPackageNameMasks: { + serializedName: "includedPackageNameMasks", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - streamType: { - serializedName: "properties.streamType", + rebootSetting: { + serializedName: "rebootSetting", type: { name: "String" } @@ -1571,57 +1195,637 @@ export const SourceControlSyncJobStream: coreClient.CompositeMapper = { } }; -export const SourceControlSyncJobStreamById: coreClient.CompositeMapper = { +export const TargetProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlSyncJobStreamById", + className: "TargetProperties", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - sourceControlSyncJobStreamId: { - serializedName: "properties.sourceControlSyncJobStreamId", + azureQueries: { + serializedName: "azureQueries", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureQueryProperties" + } + } + } + }, + nonAzureQueries: { + serializedName: "nonAzureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NonAzureQueryProperties" + } + } + } + } + } + } +}; + +export const AzureQueryProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureQueryProperties", + modelProperties: { + scope: { + serializedName: "scope", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + locations: { + serializedName: "locations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + tagSettings: { + serializedName: "tagSettings", + type: { + name: "Composite", + className: "TagSettingsProperties" + } + } + } + } +}; + +export const TagSettingsProperties: coreClient.CompositeMapper = { + 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 NonAzureQueryProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NonAzureQueryProperties", + modelProperties: { + functionAlias: { + serializedName: "functionAlias", + type: { + name: "String" + } + }, + workspaceId: { + serializedName: "workspaceId", + type: { + name: "String" + } + } + } + } +}; + +export const SUCScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SUCScheduleProperties", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + startTimeOffsetMinutes: { + serializedName: "startTimeOffsetMinutes", + readOnly: true, + type: { + name: "Number" + } + }, + expiryTime: { + serializedName: "expiryTime", + nullable: true, + type: { + name: "DateTime" + } + }, + expiryTimeOffsetMinutes: { + serializedName: "expiryTimeOffsetMinutes", + type: { + name: "Number" + } + }, + isEnabled: { + defaultValue: false, + serializedName: "isEnabled", + type: { + name: "Boolean" + } + }, + nextRun: { + serializedName: "nextRun", + nullable: true, + type: { + name: "DateTime" + } + }, + nextRunOffsetMinutes: { + serializedName: "nextRunOffsetMinutes", + type: { + name: "Number" + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + frequency: { + serializedName: "frequency", + type: { + name: "String" + } + }, + timeZone: { + serializedName: "timeZone", + type: { + name: "String" + } + }, + advancedSchedule: { + serializedName: "advancedSchedule", + type: { + name: "Composite", + className: "AdvancedSchedule" + } + }, + creationTime: { + serializedName: "creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + serializedName: "lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const AdvancedSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdvancedSchedule", + modelProperties: { + weekDays: { + serializedName: "weekDays", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + monthDays: { + serializedName: "monthDays", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AdvancedScheduleMonthlyOccurrence" + } + } + } + } + } + } +}; + +export const AdvancedScheduleMonthlyOccurrence: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdvancedScheduleMonthlyOccurrence", + modelProperties: { + occurrence: { + serializedName: "occurrence", + type: { + name: "Number" + } + }, + day: { + serializedName: "day", + type: { + name: "String" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationTasks: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks", + modelProperties: { + preTask: { + serializedName: "preTask", + type: { + name: "Composite", + className: "TaskProperties" + } + }, + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "TaskProperties" + } + } + } + } +}; + +export const TaskProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TaskProperties", + modelProperties: { + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationCollectionItem" + } + } + } + } + } + } +}; + +export const SoftwareUpdateConfigurationCollectionItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationCollectionItem", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + updateConfiguration: { + serializedName: "properties.updateConfiguration", + type: { + name: "Composite", + className: "UpdateConfiguration" + } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" + } + }, + frequency: { + serializedName: "properties.frequency", + type: { + name: "String" + } + }, + startTime: { + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + creationTime: { + serializedName: "properties.creationTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + nextRun: { + serializedName: "properties.nextRun", + nullable: true, + type: { + name: "DateTime" + } + } + } + } +}; + +export const RunbookAssociationProperty: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunbookAssociationProperty", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const WebhookCreateOrUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WebhookCreateOrUpdateParameters", + modelProperties: { + name: { + serializedName: "name", + required: true, + type: { + name: "String" + } + }, + isEnabled: { + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } + }, + uri: { + serializedName: "properties.uri", + type: { + name: "String" + } + }, + expiryTime: { + serializedName: "properties.expiryTime", + type: { + name: "DateTime" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + runbook: { + serializedName: "properties.runbook", + type: { + name: "Composite", + className: "RunbookAssociationProperty" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + } + } + } +}; + +export const WebhookUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WebhookUpdateParameters", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + isEnabled: { + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + } + } + } +}; + +export const WebhookListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WebhookListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Webhook" + } + } } }, - summary: { - serializedName: "properties.summary", + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DeletedAutomationAccountListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeletedAutomationAccountListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeletedAutomationAccount" + } + } + } + } + } + } +}; + +export const DeletedAutomationAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeletedAutomationAccount", + modelProperties: { + id: { + serializedName: "id", type: { name: "String" } }, - time: { - serializedName: "properties.time", - readOnly: true, - nullable: true, + name: { + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - streamType: { - serializedName: "properties.streamType", + type: { + serializedName: "type", type: { name: "String" } }, - streamText: { - serializedName: "properties.streamText", + location: { + serializedName: "location", type: { name: "String" } }, - value: { - serializedName: "properties.value", + automationAccountResourceId: { + serializedName: "properties.automationAccountResourceId", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + name: "String" + } + }, + automationAccountId: { + serializedName: "properties.automationAccountId", + type: { + name: "String" + } + }, + locationPropertiesLocation: { + serializedName: "properties.location", + type: { + name: "String" + } + }, + deletionTime: { + serializedName: "properties.deletionTime", + readOnly: true, + type: { + name: "DateTime" } } } @@ -1828,8 +2032,7 @@ export const Identity: coreClient.CompositeMapper = { value: { type: { name: "Composite", - className: - "ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties" + className: "UserAssignedIdentitiesProperties" } } } @@ -1838,11 +2041,10 @@ export const Identity: coreClient.CompositeMapper = { } }; -export const ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties: coreClient.CompositeMapper = { +export const UserAssignedIdentitiesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties", + className: "UserAssignedIdentitiesProperties", modelProperties: { principalId: { serializedName: "principalId", @@ -2567,163 +2769,10 @@ export const CredentialCreateOrUpdateParameters: coreClient.CompositeMapper = { required: true, type: { name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - -export const CredentialUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CredentialUpdateParameters", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - userName: { - serializedName: "properties.userName", - type: { - name: "String" - } - }, - password: { - serializedName: "properties.password", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - -export const CredentialListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CredentialListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Credential" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const JobSchedule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobSchedule", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - jobScheduleId: { - serializedName: "properties.jobScheduleId", - type: { - name: "String" - } - }, - schedule: { - serializedName: "properties.schedule", - type: { - name: "Composite", - className: "ScheduleAssociationProperty" - } - }, - runbook: { - serializedName: "properties.runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; - -export const ScheduleAssociationProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleAssociationProperty", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - -export const RunbookAssociationProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RunbookAssociationProperty", - modelProperties: { - name: { - serializedName: "name", + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } @@ -2732,46 +2781,43 @@ export const RunbookAssociationProperty: coreClient.CompositeMapper = { } }; -export const JobScheduleCreateParameters: coreClient.CompositeMapper = { +export const CredentialUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobScheduleCreateParameters", + className: "CredentialUpdateParameters", modelProperties: { - schedule: { - serializedName: "properties.schedule", + name: { + serializedName: "name", type: { - name: "Composite", - className: "ScheduleAssociationProperty" + name: "String" } }, - runbook: { - serializedName: "properties.runbook", + userName: { + serializedName: "properties.userName", type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "String" } }, - runOn: { - serializedName: "properties.runOn", + password: { + serializedName: "properties.password", type: { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + description: { + serializedName: "properties.description", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } } } } }; -export const JobScheduleListResult: coreClient.CompositeMapper = { +export const CredentialListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobScheduleListResult", + className: "CredentialListResult", modelProperties: { value: { serializedName: "value", @@ -2780,7 +2826,7 @@ export const JobScheduleListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "JobSchedule" + className: "Credential" } } } @@ -2795,14 +2841,31 @@ export const JobScheduleListResult: coreClient.CompositeMapper = { } }; -export const LinkedWorkspace: coreClient.CompositeMapper = { +export const DscConfigurationParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinkedWorkspace", + className: "DscConfigurationParameter", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + isMandatory: { + serializedName: "isMandatory", + type: { + name: "Boolean" + } + }, + position: { + serializedName: "position", + type: { + name: "Number" + } + }, + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } @@ -2811,68 +2874,32 @@ export const LinkedWorkspace: coreClient.CompositeMapper = { } }; -export const Activity: coreClient.CompositeMapper = { +export const ContentSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Activity", + className: "ContentSource", modelProperties: { - id: { - serializedName: "id", + hash: { + serializedName: "hash", type: { - name: "String" + name: "Composite", + className: "ContentHash" } }, - name: { - serializedName: "name", - readOnly: true, + type: { + serializedName: "type", type: { name: "String" } }, - definition: { - serializedName: "properties.definition", + value: { + serializedName: "value", type: { name: "String" } }, - parameterSets: { - serializedName: "properties.parameterSets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameterSet" - } - } - } - }, - outputTypes: { - serializedName: "properties.outputTypes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityOutputType" - } - } - } - }, - creationTime: { - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - description: { - serializedName: "properties.description", + version: { + serializedName: "version", type: { name: "String" } @@ -2881,37 +2908,33 @@ export const Activity: coreClient.CompositeMapper = { } }; -export const ActivityParameterSet: coreClient.CompositeMapper = { +export const ContentHash: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityParameterSet", + className: "ContentHash", modelProperties: { - name: { - serializedName: "name", + algorithm: { + serializedName: "algorithm", + required: true, type: { name: "String" } }, - parameters: { - serializedName: "parameters", + value: { + serializedName: "value", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityParameter" - } - } + name: "String" } } } } }; -export const ActivityParameter: coreClient.CompositeMapper = { +export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityParameter", + className: "DscConfigurationCreateOrUpdateParameters", modelProperties: { name: { serializedName: "name", @@ -2919,89 +2942,150 @@ export const ActivityParameter: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + location: { + serializedName: "location", type: { name: "String" } }, - isMandatory: { - serializedName: "isMandatory", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + logVerbose: { + serializedName: "properties.logVerbose", type: { name: "Boolean" } }, - isDynamic: { - serializedName: "isDynamic", + logProgress: { + serializedName: "properties.logProgress", type: { name: "Boolean" } }, - position: { - serializedName: "position", + source: { + serializedName: "properties.source", type: { - name: "Number" + name: "Composite", + className: "ContentSource" } }, - valueFromPipeline: { - serializedName: "valueFromPipeline", + parameters: { + serializedName: "properties.parameters", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { name: "Composite", className: "DscConfigurationParameter" } + } } }, - valueFromPipelineByPropertyName: { - serializedName: "valueFromPipelineByPropertyName", + description: { + serializedName: "properties.description", + type: { + name: "String" + } + } + } + } +}; + +export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DscConfigurationUpdateParameters", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + logVerbose: { + serializedName: "properties.logVerbose", type: { name: "Boolean" } }, - valueFromRemainingArguments: { - serializedName: "valueFromRemainingArguments", + logProgress: { + serializedName: "properties.logProgress", type: { name: "Boolean" } }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "ContentSource" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "DscConfigurationParameter" } + } + } + }, description: { - serializedName: "description", + serializedName: "properties.description", type: { name: "String" } - }, - validationSet: { - serializedName: "validationSet", + } + } + } +}; + +export const DscConfigurationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DscConfigurationListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ActivityParameterValidationSet" + className: "DscConfiguration" } } } - } - } - } -}; - -export const ActivityParameterValidationSet: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ActivityParameterValidationSet", - modelProperties: { - memberValue: { - serializedName: "memberValue", + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } + }, + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } } } } }; -export const ActivityOutputType: coreClient.CompositeMapper = { +export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityOutputType", + className: "DscNodeConfigurationCreateOrUpdateParameters", modelProperties: { name: { serializedName: "name", @@ -3009,20 +3093,41 @@ export const ActivityOutputType: coreClient.CompositeMapper = { name: "String" } }, - type: { - serializedName: "type", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + source: { + serializedName: "properties.source", + type: { + name: "Composite", + className: "ContentSource" + } + }, + configuration: { + serializedName: "properties.configuration", + type: { + name: "Composite", + className: "DscConfigurationAssociationProperty" + } + }, + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", + type: { + name: "Boolean" } } } } }; -export const ActivityListResult: coreClient.CompositeMapper = { +export const DscNodeConfigurationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityListResult", + className: "DscNodeConfigurationListResult", modelProperties: { value: { serializedName: "value", @@ -3031,7 +3136,7 @@ export const ActivityListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Activity" + className: "DscNodeConfiguration" } } } @@ -3041,15 +3146,21 @@ export const ActivityListResult: coreClient.CompositeMapper = { type: { name: "String" } + }, + totalCount: { + serializedName: "totalCount", + type: { + name: "Number" + } } } } }; -export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const HybridRunbookWorkerCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModuleCreateOrUpdateParameters", + className: "HybridRunbookWorkerCreateParameters", modelProperties: { name: { serializedName: "name", @@ -3057,69 +3168,35 @@ export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = { name: "String" } }, - location: { - serializedName: "location", + vmResourceId: { + serializedName: "properties.vmResourceId", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - contentLink: { - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } } } } }; -export const ModuleUpdateParameters: coreClient.CompositeMapper = { +export const HybridRunbookWorkerMoveParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModuleUpdateParameters", + className: "HybridRunbookWorkerMoveParameters", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - location: { - serializedName: "location", + hybridRunbookWorkerGroupName: { + serializedName: "hybridRunbookWorkerGroupName", type: { name: "String" } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - contentLink: { - serializedName: "properties.contentLink", - type: { - name: "Composite", - className: "ContentLink" - } } } } }; -export const TypeFieldListResult: coreClient.CompositeMapper = { +export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TypeFieldListResult", + className: "HybridRunbookWorkersListResult", modelProperties: { value: { serializedName: "value", @@ -3128,154 +3205,77 @@ export const TypeFieldListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "TypeField" + className: "HybridRunbookWorker" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const TypeField: coreClient.CompositeMapper = { +export const RunAsCredentialAssociationProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TypeField", + className: "RunAsCredentialAssociationProperty", modelProperties: { name: { serializedName: "name", type: { name: "String" } - }, - type: { - serializedName: "type", - type: { - name: "String" - } } } } }; -export const ScheduleCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const HybridRunbookWorkerGroupCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleCreateOrUpdateParameters", + className: "HybridRunbookWorkerGroupCreateOrUpdateParameters", modelProperties: { name: { serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - startTime: { - serializedName: "properties.startTime", - required: true, - type: { - name: "DateTime" - } - }, - expiryTime: { - serializedName: "properties.expiryTime", - nullable: true, - type: { - name: "DateTime" - } - }, - interval: { - serializedName: "properties.interval", - type: { - name: "any" - } - }, - frequency: { - serializedName: "properties.frequency", - required: true, type: { name: "String" } }, - timeZone: { - serializedName: "properties.timeZone", - type: { - name: "String" - } - }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", + credential: { + serializedName: "properties.credential", type: { name: "Composite", - className: "AdvancedSchedule" + className: "RunAsCredentialAssociationProperty" } } } } }; -export const AdvancedSchedule: coreClient.CompositeMapper = { +export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AdvancedSchedule", + className: "HybridRunbookWorkerGroupsListResult", modelProperties: { - weekDays: { - serializedName: "weekDays", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - monthDays: { - serializedName: "monthDays", - type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } - }, - monthlyOccurrences: { - serializedName: "monthlyOccurrences", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AdvancedScheduleMonthlyOccurrence" + className: "HybridRunbookWorkerGroup" } } } - } - } - } -}; - -export const AdvancedScheduleMonthlyOccurrence: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AdvancedScheduleMonthlyOccurrence", - modelProperties: { - occurrence: { - serializedName: "occurrence", - type: { - name: "Number" - } }, - day: { - serializedName: "day", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3284,37 +3284,39 @@ export const AdvancedScheduleMonthlyOccurrence: coreClient.CompositeMapper = { } }; -export const ScheduleUpdateParameters: coreClient.CompositeMapper = { +export const JobCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleUpdateParameters", + className: "JobCreateParameters", modelProperties: { - name: { - serializedName: "name", + runbook: { + serializedName: "properties.runbook", type: { - name: "String" + name: "Composite", + className: "RunbookAssociationProperty" } }, - description: { - serializedName: "properties.description", + parameters: { + serializedName: "properties.parameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - isEnabled: { - serializedName: "properties.isEnabled", + runOn: { + serializedName: "properties.runOn", type: { - name: "Boolean" + name: "String" } } } } }; -export const ScheduleListResult: coreClient.CompositeMapper = { +export const JobListResultV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleListResult", + className: "JobListResultV2", modelProperties: { value: { serializedName: "value", @@ -3323,13 +3325,14 @@ export const ScheduleListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Schedule" + className: "JobCollectionItem" } } } }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String" } @@ -3338,71 +3341,124 @@ export const ScheduleListResult: coreClient.CompositeMapper = { } }; -export const VariableCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const JobSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VariableCreateOrUpdateParameters", + className: "JobSchedule", modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, name: { serializedName: "name", - required: true, + readOnly: true, type: { name: "String" } }, - value: { - serializedName: "properties.value", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - description: { - serializedName: "properties.description", + jobScheduleId: { + serializedName: "properties.jobScheduleId", type: { name: "String" } }, - isEncrypted: { - serializedName: "properties.isEncrypted", + schedule: { + serializedName: "properties.schedule", type: { - name: "Boolean" + name: "Composite", + className: "ScheduleAssociationProperty" + } + }, + runbook: { + serializedName: "properties.runbook", + type: { + name: "Composite", + className: "RunbookAssociationProperty" + } + }, + runOn: { + serializedName: "properties.runOn", + type: { + name: "String" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const VariableUpdateParameters: coreClient.CompositeMapper = { +export const ScheduleAssociationProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VariableUpdateParameters", + className: "ScheduleAssociationProperty", modelProperties: { name: { serializedName: "name", type: { name: "String" } + } + } + } +}; + +export const JobScheduleCreateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobScheduleCreateParameters", + modelProperties: { + schedule: { + serializedName: "properties.schedule", + type: { + name: "Composite", + className: "ScheduleAssociationProperty" + } }, - value: { - serializedName: "properties.value", + runbook: { + serializedName: "properties.runbook", type: { - name: "String" + name: "Composite", + className: "RunbookAssociationProperty" } }, - description: { - serializedName: "properties.description", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } } } } }; -export const VariableListResult: coreClient.CompositeMapper = { +export const JobScheduleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VariableListResult", + className: "JobScheduleListResult", modelProperties: { value: { serializedName: "value", @@ -3411,7 +3467,7 @@ export const VariableListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Variable" + className: "JobSchedule" } } } @@ -3426,46 +3482,84 @@ export const VariableListResult: coreClient.CompositeMapper = { } }; -export const WatcherUpdateParameters: coreClient.CompositeMapper = { +export const LinkedWorkspace: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WatcherUpdateParameters", + className: "LinkedWorkspace", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } - }, - executionFrequencyInSeconds: { - serializedName: "properties.executionFrequencyInSeconds", - type: { - name: "Number" - } } } } }; -export const WatcherListResult: coreClient.CompositeMapper = { +export const Activity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WatcherListResult", + className: "Activity", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + definition: { + serializedName: "properties.definition", + type: { + name: "String" + } + }, + parameterSets: { + serializedName: "properties.parameterSets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Watcher" + className: "ActivityParameterSet" } } } }, - nextLink: { - serializedName: "nextLink", + outputTypes: { + serializedName: "properties.outputTypes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityOutputType" + } + } + } + }, + creationTime: { + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } @@ -3474,43 +3568,37 @@ export const WatcherListResult: coreClient.CompositeMapper = { } }; -export const DscConfigurationParameter: coreClient.CompositeMapper = { +export const ActivityParameterSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscConfigurationParameter", + className: "ActivityParameterSet", modelProperties: { - type: { - serializedName: "type", + name: { + serializedName: "name", type: { name: "String" } }, - isMandatory: { - serializedName: "isMandatory", - type: { - name: "Boolean" - } - }, - position: { - serializedName: "position", - type: { - name: "Number" - } - }, - defaultValue: { - serializedName: "defaultValue", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityParameter" + } + } } } } } }; -export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const ActivityParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscConfigurationCreateOrUpdateParameters", + className: "ActivityParameter", modelProperties: { name: { serializedName: "name", @@ -3518,49 +3606,77 @@ export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMappe name: "String" } }, - location: { - serializedName: "location", + type: { + serializedName: "type", type: { name: "String" } }, - tags: { - serializedName: "tags", + isMandatory: { + serializedName: "isMandatory", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Boolean" } }, - logVerbose: { - serializedName: "properties.logVerbose", + isDynamic: { + serializedName: "isDynamic", type: { name: "Boolean" } }, - logProgress: { - serializedName: "properties.logProgress", + position: { + serializedName: "position", + type: { + name: "Number" + } + }, + valueFromPipeline: { + serializedName: "valueFromPipeline", type: { name: "Boolean" } }, - source: { - serializedName: "properties.source", + valueFromPipelineByPropertyName: { + serializedName: "valueFromPipelineByPropertyName", + type: { + name: "Boolean" + } + }, + valueFromRemainingArguments: { + serializedName: "valueFromRemainingArguments", + type: { + name: "Boolean" + } + }, + description: { + serializedName: "description", type: { - name: "Composite", - className: "ContentSource" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + validationSet: { + serializedName: "validationSet", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "DscConfigurationParameter" } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityParameterValidationSet" + } } } - }, - description: { - serializedName: "properties.description", + } + } + } +}; + +export const ActivityParameterValidationSet: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActivityParameterValidationSet", + modelProperties: { + memberValue: { + serializedName: "memberValue", type: { name: "String" } @@ -3569,10 +3685,10 @@ export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMappe } }; -export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = { +export const ActivityOutputType: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscConfigurationUpdateParameters", + className: "ActivityOutputType", modelProperties: { name: { serializedName: "name", @@ -3580,43 +3696,8 @@ export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = { name: "String" } }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - logVerbose: { - serializedName: "properties.logVerbose", - type: { - name: "Boolean" - } - }, - logProgress: { - serializedName: "properties.logProgress", - type: { - name: "Boolean" - } - }, - source: { - serializedName: "properties.source", - type: { - name: "Composite", - className: "ContentSource" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "DscConfigurationParameter" } - } - } - }, - description: { - serializedName: "properties.description", + type: { + serializedName: "type", type: { name: "String" } @@ -3625,10 +3706,10 @@ export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = { } }; -export const DscConfigurationListResult: coreClient.CompositeMapper = { +export const ActivityListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DscConfigurationListResult", + className: "ActivityListResult", modelProperties: { value: { serializedName: "value", @@ -3637,7 +3718,7 @@ export const DscConfigurationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DscConfiguration" + className: "Activity" } } } @@ -3647,38 +3728,31 @@ export const DscConfigurationListResult: coreClient.CompositeMapper = { type: { name: "String" } - }, - totalCount: { - serializedName: "totalCount", - type: { - name: "Number" - } } } } }; -export const JobCreateParameters: coreClient.CompositeMapper = { +export const ContentLink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobCreateParameters", + className: "ContentLink", modelProperties: { - runbook: { - serializedName: "properties.runbook", + uri: { + serializedName: "uri", type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "String" } }, - parameters: { - serializedName: "properties.parameters", + contentHash: { + serializedName: "contentHash", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "ContentHash" } }, - runOn: { - serializedName: "properties.runOn", + version: { + serializedName: "version", type: { name: "String" } @@ -3687,26 +3761,19 @@ export const JobCreateParameters: coreClient.CompositeMapper = { } }; -export const JobListResultV2: coreClient.CompositeMapper = { +export const ModuleErrorInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobListResultV2", + className: "ModuleErrorInfo", modelProperties: { - value: { - serializedName: "value", + code: { + serializedName: "code", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobCollectionItem" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + message: { + serializedName: "message", type: { name: "String" } @@ -3715,31 +3782,45 @@ export const JobListResultV2: coreClient.CompositeMapper = { } }; -export const OperationListResult: coreClient.CompositeMapper = { +export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "ModuleCreateOrUpdateParameters", modelProperties: { - value: { - serializedName: "value", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation" - } - } + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + contentLink: { + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" } } } } }; -export const Operation: coreClient.CompositeMapper = { +export const ModuleUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "ModuleUpdateParameters", modelProperties: { name: { serializedName: "name", @@ -3747,36 +3828,49 @@ export const Operation: coreClient.CompositeMapper = { name: "String" } }, - display: { - serializedName: "display", + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + contentLink: { + serializedName: "properties.contentLink", type: { name: "Composite", - className: "OperationDisplay" + className: "ContentLink" } } } } }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const ModuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "ModuleListResult", modelProperties: { - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - resource: { - serializedName: "resource", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Module" + } + } } }, - operation: { - serializedName: "operation", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3785,250 +3879,234 @@ export const OperationDisplay: coreClient.CompositeMapper = { } }; -export const GraphicalRunbookContent: coreClient.CompositeMapper = { +export const TypeFieldListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GraphicalRunbookContent", + className: "TypeFieldListResult", modelProperties: { - rawContent: { - serializedName: "rawContent", - type: { - name: "Composite", - className: "RawGraphicalRunbookContent" - } - }, - graphRunbookJson: { - serializedName: "graphRunbookJson", - nullable: true, + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TypeField" + } + } } } } } }; -export const RawGraphicalRunbookContent: coreClient.CompositeMapper = { +export const TypeField: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RawGraphicalRunbookContent", + className: "TypeField", modelProperties: { - schemaVersion: { - serializedName: "schemaVersion", + name: { + serializedName: "name", type: { name: "String" } }, - runbookDefinition: { - serializedName: "runbookDefinition", + type: { + serializedName: "type", type: { name: "String" } - }, - runbookType: { - serializedName: "runbookType", + } + } + } +}; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } } } } } }; -export const SoftwareUpdateConfiguration: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfiguration", + className: "Operation", modelProperties: { name: { serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, type: { name: "String" } }, - updateConfiguration: { - serializedName: "properties.updateConfiguration", - type: { - name: "Composite", - className: "UpdateConfiguration" - } - }, - scheduleInfo: { - serializedName: "properties.scheduleInfo", + display: { + serializedName: "display", type: { name: "Composite", - className: "SUCScheduleProperties" + className: "OperationDisplay" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + origin: { + serializedName: "origin", type: { name: "String" } }, - error: { - serializedName: "properties.error", + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { name: "Composite", - className: "ErrorResponse" + className: "OperationPropertiesFormatServiceSpecification" } - }, - creationTime: { - serializedName: "properties.creationTime", - readOnly: true, - type: { - name: "DateTime" - } - }, - createdBy: { - serializedName: "properties.createdBy", - readOnly: true, + } + } + } +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", type: { name: "String" } }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", - readOnly: true, + resource: { + serializedName: "resource", type: { - name: "DateTime" + name: "String" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", - readOnly: true, + operation: { + serializedName: "operation", type: { name: "String" } }, - tasks: { - serializedName: "properties.tasks", + description: { + serializedName: "description", type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks" + name: "String" } } } } }; -export const UpdateConfiguration: coreClient.CompositeMapper = { +export const OperationPropertiesFormatServiceSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateConfiguration", + className: "OperationPropertiesFormatServiceSpecification", modelProperties: { - operatingSystem: { - serializedName: "operatingSystem", - required: true, - type: { - name: "Enum", - allowedValues: ["Windows", "Linux"] - } - }, - windows: { - serializedName: "windows", - type: { - name: "Composite", - className: "WindowsProperties" - } - }, - linux: { - serializedName: "linux", - type: { - name: "Composite", - className: "LinuxProperties" - } - }, - duration: { - serializedName: "duration", - type: { - name: "TimeSpan" - } - }, - azureVirtualMachines: { - serializedName: "azureVirtualMachines", + metricSpecifications: { + serializedName: "metricSpecifications", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MetricSpecification" } } } }, - nonAzureComputerNames: { - serializedName: "nonAzureComputerNames", + logSpecifications: { + serializedName: "logSpecifications", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "LogSpecification" } } } - }, - targets: { - serializedName: "targets", - type: { - name: "Composite", - className: "TargetProperties" - } } } } }; -export const WindowsProperties: coreClient.CompositeMapper = { +export const MetricSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WindowsProperties", + className: "MetricSpecification", modelProperties: { - includedUpdateClassifications: { - serializedName: "includedUpdateClassifications", + name: { + serializedName: "name", type: { name: "String" } }, - excludedKbNumbers: { - serializedName: "excludedKbNumbers", + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - includedKbNumbers: { - serializedName: "includedKbNumbers", + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + dimensions: { + serializedName: "dimensions", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "Dimension" } } } + } + } + } +}; + +export const Dimension: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Dimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } }, - rebootSetting: { - serializedName: "rebootSetting", + displayName: { + serializedName: "displayName", type: { name: "String" } @@ -4037,41 +4115,25 @@ export const WindowsProperties: coreClient.CompositeMapper = { } }; -export const LinuxProperties: coreClient.CompositeMapper = { +export const LogSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinuxProperties", + className: "LogSpecification", modelProperties: { - includedPackageClassifications: { - serializedName: "includedPackageClassifications", + name: { + serializedName: "name", type: { name: "String" } }, - excludedPackageNameMasks: { - serializedName: "excludedPackageNameMasks", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - includedPackageNameMasks: { - serializedName: "includedPackageNameMasks", + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - rebootSetting: { - serializedName: "rebootSetting", + blobDuration: { + serializedName: "blobDuration", type: { name: "String" } @@ -4080,213 +4142,172 @@ export const LinuxProperties: coreClient.CompositeMapper = { } }; -export const TargetProperties: coreClient.CompositeMapper = { +export const GraphicalRunbookContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetProperties", + className: "GraphicalRunbookContent", modelProperties: { - azureQueries: { - serializedName: "azureQueries", + rawContent: { + serializedName: "rawContent", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AzureQueryProperties" - } - } + name: "Composite", + className: "RawGraphicalRunbookContent" } }, - nonAzureQueries: { - serializedName: "nonAzureQueries", + graphRunbookJson: { + serializedName: "graphRunbookJson", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NonAzureQueryProperties" - } - } + name: "String" } } } } }; -export const AzureQueryProperties: coreClient.CompositeMapper = { +export const RawGraphicalRunbookContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureQueryProperties", + className: "RawGraphicalRunbookContent", modelProperties: { - scope: { - serializedName: "scope", + schemaVersion: { + serializedName: "schemaVersion", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - locations: { - serializedName: "locations", + runbookDefinition: { + serializedName: "runbookDefinition", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - tagSettings: { - serializedName: "tagSettings", + runbookType: { + serializedName: "runbookType", type: { - name: "Composite", - className: "TagSettingsProperties" + name: "String" } } } } }; -export const TagSettingsProperties: coreClient.CompositeMapper = { +export const PythonPackageCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TagSettingsProperties", + className: "PythonPackageCreateParameters", modelProperties: { tags: { serializedName: "tags", type: { name: "Dictionary", - value: { - type: { name: "Sequence", element: { type: { name: "String" } } } - } + value: { type: { name: "String" } } } }, - filterOperator: { - serializedName: "filterOperator", + contentLink: { + serializedName: "properties.contentLink", type: { - name: "Enum", - allowedValues: ["All", "Any"] + name: "Composite", + className: "ContentLink" } } } } }; -export const NonAzureQueryProperties: coreClient.CompositeMapper = { +export const PythonPackageUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NonAzureQueryProperties", + className: "PythonPackageUpdateParameters", modelProperties: { - functionAlias: { - serializedName: "functionAlias", - type: { - name: "String" - } - }, - workspaceId: { - serializedName: "workspaceId", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const SUCScheduleProperties: coreClient.CompositeMapper = { +export const RunbookDraft: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SUCScheduleProperties", + className: "RunbookDraft", modelProperties: { - startTime: { - serializedName: "startTime", + inEdit: { + serializedName: "inEdit", type: { - name: "DateTime" + name: "Boolean" } }, - startTimeOffsetMinutes: { - serializedName: "startTimeOffsetMinutes", - readOnly: true, + draftContentLink: { + serializedName: "draftContentLink", type: { - name: "Number" + name: "Composite", + className: "ContentLink" } }, - expiryTime: { - serializedName: "expiryTime", - nullable: true, + creationTime: { + serializedName: "creationTime", type: { name: "DateTime" } }, - expiryTimeOffsetMinutes: { - serializedName: "expiryTimeOffsetMinutes", - type: { - name: "Number" - } - }, - isEnabled: { - defaultValue: false, - serializedName: "isEnabled", - type: { - name: "Boolean" - } - }, - nextRun: { - serializedName: "nextRun", - nullable: true, + lastModifiedTime: { + serializedName: "lastModifiedTime", type: { name: "DateTime" } }, - nextRunOffsetMinutes: { - serializedName: "nextRunOffsetMinutes", - type: { - name: "Number" - } - }, - interval: { - serializedName: "interval", + parameters: { + serializedName: "parameters", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "Composite", className: "RunbookParameter" } } } }, - frequency: { - serializedName: "frequency", + outputTypes: { + serializedName: "outputTypes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - timeZone: { - serializedName: "timeZone", + } + } + } +}; + +export const RunbookParameter: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunbookParameter", + modelProperties: { + type: { + serializedName: "type", type: { name: "String" } }, - advancedSchedule: { - serializedName: "advancedSchedule", - type: { - name: "Composite", - className: "AdvancedSchedule" - } - }, - creationTime: { - serializedName: "creationTime", + isMandatory: { + serializedName: "isMandatory", type: { - name: "DateTime" + name: "Boolean" } }, - lastModifiedTime: { - serializedName: "lastModifiedTime", + position: { + serializedName: "position", type: { - name: "DateTime" + name: "Number" } }, - description: { - serializedName: "description", + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } @@ -4295,334 +4316,373 @@ export const SUCScheduleProperties: coreClient.CompositeMapper = { } }; -export const SoftwareUpdateConfigurationTasks: coreClient.CompositeMapper = { +export const RunbookDraftUndoEditResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfigurationTasks", + className: "RunbookDraftUndoEditResult", modelProperties: { - preTask: { - serializedName: "preTask", + statusCode: { + serializedName: "statusCode", type: { - name: "Composite", - className: "TaskProperties" + name: "String" } }, - postTask: { - serializedName: "postTask", + requestId: { + serializedName: "requestId", type: { - name: "Composite", - className: "TaskProperties" + name: "String" } } } } }; -export const TaskProperties: coreClient.CompositeMapper = { +export const RunbookCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TaskProperties", + className: "RunbookCreateOrUpdateParameters", modelProperties: { - parameters: { - serializedName: "parameters", + name: { + serializedName: "name", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", type: { name: "Dictionary", value: { type: { name: "String" } } } }, - source: { - serializedName: "source", + logVerbose: { + serializedName: "properties.logVerbose", + type: { + name: "Boolean" + } + }, + logProgress: { + serializedName: "properties.logProgress", + type: { + name: "Boolean" + } + }, + runbookType: { + serializedName: "properties.runbookType", + required: true, type: { name: "String" } - } - } - } -}; - -export const SoftwareUpdateConfigurationListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationListResult", - modelProperties: { - value: { - serializedName: "value", + }, + draft: { + serializedName: "properties.draft", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem" - } - } + name: "Composite", + className: "RunbookDraft" + } + }, + publishContentLink: { + serializedName: "properties.publishContentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + logActivityTrace: { + serializedName: "properties.logActivityTrace", + type: { + name: "Number" } } } } }; -export const SoftwareUpdateConfigurationCollectionItem: coreClient.CompositeMapper = { +export const RunbookUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfigurationCollectionItem", + className: "RunbookUpdateParameters", modelProperties: { name: { serializedName: "name", - readOnly: true, type: { name: "String" } }, - id: { - serializedName: "id", - readOnly: true, + location: { + serializedName: "location", type: { name: "String" } }, - updateConfiguration: { - serializedName: "properties.updateConfiguration", - type: { - name: "Composite", - className: "UpdateConfiguration" - } - }, - tasks: { - serializedName: "properties.tasks", + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks" + name: "Dictionary", + value: { type: { name: "String" } } } }, - frequency: { - serializedName: "properties.frequency", + description: { + serializedName: "properties.description", type: { name: "String" } }, - startTime: { - serializedName: "properties.startTime", + logVerbose: { + serializedName: "properties.logVerbose", type: { - name: "DateTime" + name: "Boolean" } }, - creationTime: { - serializedName: "properties.creationTime", - readOnly: true, + logProgress: { + serializedName: "properties.logProgress", type: { - name: "DateTime" + name: "Boolean" } }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", - readOnly: true, + logActivityTrace: { + serializedName: "properties.logActivityTrace", type: { - name: "DateTime" + name: "Number" } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + } + } + } +}; + +export const RunbookListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunbookListResult", + modelProperties: { + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Runbook" + } + } } }, - nextRun: { - serializedName: "properties.nextRun", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { - name: "DateTime" + name: "String" } } } } }; -export const SoftwareUpdateConfigurationRun: coreClient.CompositeMapper = { +export const TestJobCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfigurationRun", + className: "TestJobCreateParameters", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - id: { - serializedName: "id", - readOnly: true, + runOn: { + serializedName: "runOn", type: { name: "String" } - }, - softwareUpdateConfiguration: { - serializedName: "properties.softwareUpdateConfiguration", + } + } + } +}; + +export const TestJob: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TestJob", + modelProperties: { + creationTime: { + serializedName: "creationTime", type: { - name: "Composite", - className: "UpdateConfigurationNavigation" + name: "DateTime" } }, status: { - serializedName: "properties.status", - readOnly: true, + serializedName: "status", type: { name: "String" } }, - configuredDuration: { - serializedName: "properties.configuredDuration", - readOnly: true, + statusDetails: { + serializedName: "statusDetails", type: { name: "String" } }, - osType: { - serializedName: "properties.osType", - readOnly: true, + runOn: { + serializedName: "runOn", type: { name: "String" } }, startTime: { - serializedName: "properties.startTime", - readOnly: true, + serializedName: "startTime", + nullable: true, type: { name: "DateTime" } }, endTime: { - serializedName: "properties.endTime", - readOnly: true, + serializedName: "endTime", nullable: true, type: { name: "DateTime" } }, - computerCount: { - serializedName: "properties.computerCount", - readOnly: true, - type: { - name: "Number" - } - }, - failedCount: { - serializedName: "properties.failedCount", - readOnly: true, + exception: { + serializedName: "exception", type: { - name: "Number" + name: "String" } }, - creationTime: { - serializedName: "properties.creationTime", - readOnly: true, + lastModifiedTime: { + serializedName: "lastModifiedTime", type: { name: "DateTime" } }, - createdBy: { - serializedName: "properties.createdBy", - readOnly: true, - type: { - name: "String" - } - }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", - readOnly: true, + lastStatusModifiedTime: { + serializedName: "lastStatusModifiedTime", + nullable: true, type: { name: "DateTime" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", - readOnly: true, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - tasks: { - serializedName: "properties.tasks", + logActivityTrace: { + serializedName: "logActivityTrace", type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRunTasks" + name: "Number" } } } } }; -export const UpdateConfigurationNavigation: coreClient.CompositeMapper = { +export const ScheduleCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateConfigurationNavigation", + className: "ScheduleCreateOrUpdateParameters", modelProperties: { name: { serializedName: "name", - readOnly: true, + required: true, type: { name: "String" } - } - } - } -}; - -export const SoftwareUpdateConfigurationRunTasks: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRunTasks", - modelProperties: { - preTask: { - serializedName: "preTask", + }, + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "SoftwareUpdateConfigurationRunTaskProperties" + name: "String" } }, - postTask: { - serializedName: "postTask", + startTime: { + serializedName: "properties.startTime", + required: true, + type: { + name: "DateTime" + } + }, + expiryTime: { + serializedName: "properties.expiryTime", + nullable: true, + type: { + name: "DateTime" + } + }, + interval: { + serializedName: "properties.interval", + type: { + name: "any" + } + }, + frequency: { + serializedName: "properties.frequency", + required: true, + type: { + name: "String" + } + }, + timeZone: { + serializedName: "properties.timeZone", + type: { + name: "String" + } + }, + advancedSchedule: { + serializedName: "properties.advancedSchedule", type: { name: "Composite", - className: "SoftwareUpdateConfigurationRunTaskProperties" + className: "AdvancedSchedule" } } } } }; -export const SoftwareUpdateConfigurationRunTaskProperties: coreClient.CompositeMapper = { +export const ScheduleUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfigurationRunTaskProperties", - modelProperties: { - status: { - serializedName: "status", + className: "ScheduleUpdateParameters", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - source: { - serializedName: "source", + description: { + serializedName: "properties.description", type: { name: "String" } }, - jobId: { - serializedName: "jobId", + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } } } } }; -export const SoftwareUpdateConfigurationRunListResult: coreClient.CompositeMapper = { +export const ScheduleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SoftwareUpdateConfigurationRunListResult", + className: "ScheduleListResult", modelProperties: { value: { serializedName: "value", @@ -4631,7 +4691,7 @@ export const SoftwareUpdateConfigurationRunListResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "SoftwareUpdateConfigurationRun" + className: "Schedule" } } } @@ -4782,6 +4842,22 @@ export const SoftwareUpdateConfigurationMachineRun: coreClient.CompositeMapper = } }; +export const UpdateConfigurationNavigation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpdateConfigurationNavigation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const JobNavigation: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4825,83 +4901,163 @@ export const SoftwareUpdateConfigurationMachineRunListResult: coreClient.Composi } }; -export const RunbookDraft: coreClient.CompositeMapper = { +export const SoftwareUpdateConfigurationRun: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookDraft", + className: "SoftwareUpdateConfigurationRun", modelProperties: { - inEdit: { - serializedName: "inEdit", + name: { + serializedName: "name", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - draftContentLink: { - serializedName: "draftContentLink", + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + softwareUpdateConfiguration: { + serializedName: "properties.softwareUpdateConfiguration", type: { name: "Composite", - className: "ContentLink" + className: "UpdateConfigurationNavigation" + } + }, + status: { + serializedName: "properties.status", + readOnly: true, + type: { + name: "String" + } + }, + configuredDuration: { + serializedName: "properties.configuredDuration", + readOnly: true, + type: { + name: "String" + } + }, + osType: { + serializedName: "properties.osType", + readOnly: true, + type: { + name: "String" + } + }, + startTime: { + serializedName: "properties.startTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "properties.endTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + computerCount: { + serializedName: "properties.computerCount", + readOnly: true, + type: { + name: "Number" + } + }, + failedCount: { + serializedName: "properties.failedCount", + readOnly: true, + type: { + name: "Number" } }, creationTime: { - serializedName: "creationTime", + serializedName: "properties.creationTime", + readOnly: true, type: { name: "DateTime" } }, + createdBy: { + serializedName: "properties.createdBy", + readOnly: true, + type: { + name: "String" + } + }, lastModifiedTime: { - serializedName: "lastModifiedTime", + serializedName: "properties.lastModifiedTime", + readOnly: true, type: { name: "DateTime" } }, - parameters: { - serializedName: "parameters", + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "RunbookParameter" } } + name: "String" } }, - outputTypes: { - serializedName: "outputTypes", + tasks: { + serializedName: "properties.tasks", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SoftwareUpdateConfigurationRunTasks" } } } } }; -export const RunbookParameter: coreClient.CompositeMapper = { +export const SoftwareUpdateConfigurationRunTasks: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookParameter", + className: "SoftwareUpdateConfigurationRunTasks", modelProperties: { - type: { - serializedName: "type", + preTask: { + serializedName: "preTask", type: { - name: "String" + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" } }, - isMandatory: { - serializedName: "isMandatory", + postTask: { + serializedName: "postTask", type: { - name: "Boolean" + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationRunTaskProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRunTaskProperties", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" } }, - position: { - serializedName: "position", + source: { + serializedName: "source", type: { - name: "Number" + name: "String" } }, - defaultValue: { - serializedName: "defaultValue", + jobId: { + serializedName: "jobId", type: { name: "String" } @@ -4910,19 +5066,25 @@ export const RunbookParameter: coreClient.CompositeMapper = { } }; -export const RunbookDraftUndoEditResult: coreClient.CompositeMapper = { +export const SoftwareUpdateConfigurationRunListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookDraftUndoEditResult", + className: "SoftwareUpdateConfigurationRunListResult", modelProperties: { - statusCode: { - serializedName: "statusCode", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationRun" + } + } } }, - requestId: { - serializedName: "requestId", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -4931,135 +5093,159 @@ export const RunbookDraftUndoEditResult: coreClient.CompositeMapper = { } }; -export const RunbookCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const SourceControlCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookCreateOrUpdateParameters", + className: "SourceControlCreateOrUpdateParameters", modelProperties: { - name: { - serializedName: "name", + repoUrl: { + constraints: { + MaxLength: 2000 + }, + serializedName: "properties.repoUrl", type: { name: "String" } }, - location: { - serializedName: "location", + branch: { + constraints: { + MaxLength: 255 + }, + serializedName: "properties.branch", type: { name: "String" } }, - tags: { - serializedName: "tags", + folderPath: { + constraints: { + MaxLength: 255 + }, + serializedName: "properties.folderPath", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - logVerbose: { - serializedName: "properties.logVerbose", + autoSync: { + serializedName: "properties.autoSync", type: { name: "Boolean" } }, - logProgress: { - serializedName: "properties.logProgress", + publishRunbook: { + serializedName: "properties.publishRunbook", type: { name: "Boolean" } }, - runbookType: { - serializedName: "properties.runbookType", - required: true, + sourceType: { + serializedName: "properties.sourceType", type: { name: "String" } }, - draft: { - serializedName: "properties.draft", - type: { - name: "Composite", - className: "RunbookDraft" - } - }, - publishContentLink: { - serializedName: "properties.publishContentLink", + securityToken: { + serializedName: "properties.securityToken", type: { name: "Composite", - className: "ContentLink" + className: "SourceControlSecurityTokenProperties" } }, description: { + constraints: { + MaxLength: 512 + }, serializedName: "properties.description", type: { name: "String" } - }, - logActivityTrace: { - serializedName: "properties.logActivityTrace", - type: { - name: "Number" - } } } } }; -export const RunbookUpdateParameters: coreClient.CompositeMapper = { +export const SourceControlSecurityTokenProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookUpdateParameters", + className: "SourceControlSecurityTokenProperties", modelProperties: { - name: { - serializedName: "name", + accessToken: { + constraints: { + MaxLength: 1024 + }, + serializedName: "accessToken", type: { name: "String" } }, - location: { - serializedName: "location", + refreshToken: { + constraints: { + MaxLength: 1024 + }, + serializedName: "refreshToken", type: { name: "String" } }, - tags: { - serializedName: "tags", + tokenType: { + serializedName: "tokenType", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" + } + } + } + } +}; + +export const SourceControlUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SourceControlUpdateParameters", + modelProperties: { + branch: { + serializedName: "properties.branch", + type: { + name: "String" } }, - description: { - serializedName: "properties.description", + folderPath: { + serializedName: "properties.folderPath", type: { name: "String" } }, - logVerbose: { - serializedName: "properties.logVerbose", + autoSync: { + serializedName: "properties.autoSync", type: { name: "Boolean" } }, - logProgress: { - serializedName: "properties.logProgress", + publishRunbook: { + serializedName: "properties.publishRunbook", type: { name: "Boolean" } }, - logActivityTrace: { - serializedName: "properties.logActivityTrace", + securityToken: { + serializedName: "properties.securityToken", type: { - name: "Number" + name: "Composite", + className: "SourceControlSecurityTokenProperties" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const RunbookListResult: coreClient.CompositeMapper = { +export const SourceControlListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunbookListResult", + className: "SourceControlListResult", modelProperties: { value: { serializedName: "value", @@ -5068,7 +5254,7 @@ export const RunbookListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Runbook" + className: "SourceControl" } } } @@ -5083,20 +5269,14 @@ export const RunbookListResult: coreClient.CompositeMapper = { } }; -export const TestJobCreateParameters: coreClient.CompositeMapper = { +export const SourceControlSyncJobCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TestJobCreateParameters", + className: "SourceControlSyncJobCreateParameters", modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - runOn: { - serializedName: "runOn", + commitId: { + serializedName: "properties.commitId", + required: true, type: { name: "String" } @@ -5105,171 +5285,69 @@ export const TestJobCreateParameters: coreClient.CompositeMapper = { } }; -export const TestJob: coreClient.CompositeMapper = { +export const SourceControlSyncJob: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TestJob", + className: "SourceControlSyncJob", modelProperties: { - creationTime: { - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - status: { - serializedName: "status", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - statusDetails: { - serializedName: "statusDetails", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - runOn: { - serializedName: "runOn", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - startTime: { - serializedName: "startTime", - nullable: true, + sourceControlSyncJobId: { + serializedName: "properties.sourceControlSyncJobId", type: { - name: "DateTime" + name: "String" } }, - endTime: { - serializedName: "endTime", - nullable: true, + creationTime: { + serializedName: "properties.creationTime", + readOnly: true, type: { name: "DateTime" } }, - exception: { - serializedName: "exception", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - lastModifiedTime: { - serializedName: "lastModifiedTime", - type: { - name: "DateTime" - } - }, - lastStatusModifiedTime: { - serializedName: "lastStatusModifiedTime", + startTime: { + serializedName: "properties.startTime", + readOnly: true, nullable: true, type: { name: "DateTime" } }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - logActivityTrace: { - serializedName: "logActivityTrace", - type: { - name: "Number" - } - } - } - } -}; - -export const WebhookCreateOrUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookCreateOrUpdateParameters", - modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - uri: { - serializedName: "properties.uri", - type: { - name: "String" - } - }, - expiryTime: { - serializedName: "properties.expiryTime", + endTime: { + serializedName: "properties.endTime", + readOnly: true, + nullable: true, type: { name: "DateTime" } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - runbook: { - serializedName: "properties.runbook", - type: { - name: "Composite", - className: "RunbookAssociationProperty" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" - } - } - } - } -}; - -export const WebhookUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WebhookUpdateParameters", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - runOn: { - serializedName: "properties.runOn", - type: { - name: "String" - } - }, - parameters: { - serializedName: "properties.parameters", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - description: { - serializedName: "properties.description", + }, + syncType: { + serializedName: "properties.syncType", type: { name: "String" } @@ -5278,61 +5356,60 @@ export const WebhookUpdateParameters: coreClient.CompositeMapper = { } }; -export const WebhookListResult: coreClient.CompositeMapper = { +export const SourceControlSyncJobById: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WebhookListResult", + className: "SourceControlSyncJobById", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Webhook" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + sourceControlSyncJobId: { + serializedName: "properties.sourceControlSyncJobId", type: { name: "String" } - } - } - } -}; - -export const HybridRunbookWorkerCreateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "HybridRunbookWorkerCreateParameters", - modelProperties: { - name: { - serializedName: "name", + }, + creationTime: { + serializedName: "properties.creationTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - vmResourceId: { - serializedName: "properties.vmResourceId", + startTime: { + serializedName: "properties.startTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "properties.endTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + syncType: { + serializedName: "properties.syncType", type: { name: "String" } - } - } - } -}; - -export const HybridRunbookWorkerMoveParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "HybridRunbookWorkerMoveParameters", - modelProperties: { - hybridRunbookWorkerGroupName: { - serializedName: "hybridRunbookWorkerGroupName", + }, + exception: { + serializedName: "properties.exception", type: { name: "String" } @@ -5341,10 +5418,10 @@ export const HybridRunbookWorkerMoveParameters: coreClient.CompositeMapper = { } }; -export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = { +export const SourceControlSyncJobListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HybridRunbookWorkersListResult", + className: "SourceControlSyncJobListResult", modelProperties: { value: { serializedName: "value", @@ -5353,7 +5430,7 @@ export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HybridRunbookWorker" + className: "SourceControlSyncJob" } } } @@ -5368,10 +5445,10 @@ export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = { } }; -export const DeletedAutomationAccountListResult: coreClient.CompositeMapper = { +export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeletedAutomationAccountListResult", + className: "SourceControlSyncJobStreamsListBySyncJob", modelProperties: { value: { serializedName: "value", @@ -5380,92 +5457,159 @@ export const DeletedAutomationAccountListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DeletedAutomationAccount" + className: "SourceControlSyncJobStream" } } } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } } } } }; -export const DeletedAutomationAccount: coreClient.CompositeMapper = { +export const SourceControlSyncJobStream: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeletedAutomationAccount", + className: "SourceControlSyncJobStream", modelProperties: { id: { serializedName: "id", + readOnly: true, type: { name: "String" } }, - name: { - serializedName: "name", + sourceControlSyncJobStreamId: { + serializedName: "properties.sourceControlSyncJobStreamId", type: { name: "String" } }, - type: { - serializedName: "type", + summary: { + serializedName: "properties.summary", type: { name: "String" } }, - location: { - serializedName: "location", + time: { + serializedName: "properties.time", + readOnly: true, + nullable: true, type: { - name: "String" + name: "DateTime" } }, - automationAccountResourceId: { - serializedName: "properties.automationAccountResourceId", + streamType: { + serializedName: "properties.streamType", + type: { + name: "String" + } + } + } + } +}; + +export const SourceControlSyncJobStreamById: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SourceControlSyncJobStreamById", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - automationAccountId: { - serializedName: "properties.automationAccountId", + sourceControlSyncJobStreamId: { + serializedName: "properties.sourceControlSyncJobStreamId", type: { name: "String" } }, - locationPropertiesLocation: { - serializedName: "properties.location", + summary: { + serializedName: "properties.summary", type: { name: "String" } }, - deletionTime: { - serializedName: "properties.deletionTime", + time: { + serializedName: "properties.time", readOnly: true, + nullable: true, type: { name: "DateTime" } + }, + streamType: { + serializedName: "properties.streamType", + type: { + name: "String" + } + }, + streamText: { + serializedName: "properties.streamText", + type: { + name: "String" + } + }, + value: { + serializedName: "properties.value", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } } } } }; -export const RunAsCredentialAssociationProperty: coreClient.CompositeMapper = { +export const VariableCreateOrUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunAsCredentialAssociationProperty", + className: "VariableCreateOrUpdateParameters", modelProperties: { name: { serializedName: "name", + required: true, + type: { + name: "String" + } + }, + value: { + serializedName: "properties.value", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", type: { name: "String" } + }, + isEncrypted: { + serializedName: "properties.isEncrypted", + type: { + name: "Boolean" + } } } } }; -export const HybridRunbookWorkerGroupCreateOrUpdateParameters: coreClient.CompositeMapper = { +export const VariableUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HybridRunbookWorkerGroupCreateOrUpdateParameters", + className: "VariableUpdateParameters", modelProperties: { name: { serializedName: "name", @@ -5473,21 +5617,26 @@ export const HybridRunbookWorkerGroupCreateOrUpdateParameters: coreClient.Compos name: "String" } }, - credential: { - serializedName: "properties.credential", + value: { + serializedName: "properties.value", type: { - name: "Composite", - className: "RunAsCredentialAssociationProperty" + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" } } } } }; -export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = { +export const VariableListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HybridRunbookWorkerGroupsListResult", + className: "VariableListResult", modelProperties: { value: { serializedName: "value", @@ -5496,7 +5645,7 @@ export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "HybridRunbookWorkerGroup" + className: "Variable" } } } @@ -5563,42 +5712,9 @@ export const RunbookCreateOrUpdateDraftParameters: coreClient.CompositeMapper = name: "Composite", className: "RunbookCreateOrUpdateDraftParameters", modelProperties: { - runbookContent: { - serializedName: "runbookContent", - required: true, - type: { - name: "String" - } - } - } - } -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const TrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - location: { - serializedName: "location", + runbookContent: { + serializedName: "runbookContent", + required: true, type: { name: "String" } @@ -5607,6 +5723,16 @@ export const TrackedResource: coreClient.CompositeMapper = { } }; +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + export const Watcher: coreClient.CompositeMapper = { type: { name: "Composite", @@ -5695,6 +5821,29 @@ export const Watcher: coreClient.CompositeMapper = { } }; +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + export const HybridRunbookWorker: coreClient.CompositeMapper = { type: { name: "Composite", @@ -5919,53 +6068,6 @@ export const DscNode: coreClient.CompositeMapper = { } }; -export const DscNodeConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DscNodeConfiguration", - modelProperties: { - ...ProxyResource.type.modelProperties, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", - type: { - name: "DateTime" - } - }, - creationTime: { - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - configuration: { - serializedName: "properties.configuration", - type: { - name: "Composite", - className: "DscConfigurationAssociationProperty" - } - }, - source: { - serializedName: "properties.source", - type: { - name: "String" - } - }, - nodeCount: { - serializedName: "properties.nodeCount", - type: { - name: "Number" - } - }, - incrementNodeConfigurationBuild: { - serializedName: "properties.incrementNodeConfigurationBuild", - type: { - name: "Boolean" - } - } - } - } -}; - export const DscCompilationJob: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6073,50 +6175,54 @@ export const DscCompilationJob: coreClient.CompositeMapper = { } }; -export const SourceControl: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControl", + className: "Webhook", modelProperties: { ...ProxyResource.type.modelProperties, - repoUrl: { - serializedName: "properties.repoUrl", + isEnabled: { + defaultValue: false, + serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } }, - branch: { - serializedName: "properties.branch", + uri: { + serializedName: "properties.uri", type: { name: "String" } }, - folderPath: { - serializedName: "properties.folderPath", + expiryTime: { + serializedName: "properties.expiryTime", type: { - name: "String" + name: "DateTime" } }, - autoSync: { - serializedName: "properties.autoSync", + lastInvokedTime: { + serializedName: "properties.lastInvokedTime", + nullable: true, type: { - name: "Boolean" + name: "DateTime" } }, - publishRunbook: { - serializedName: "properties.publishRunbook", + parameters: { + serializedName: "properties.parameters", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "String" } } } }, - sourceType: { - serializedName: "properties.sourceType", + runbook: { + serializedName: "properties.runbook", type: { - name: "String" + name: "Composite", + className: "RunbookAssociationProperty" } }, - description: { - serializedName: "properties.description", + runOn: { + serializedName: "properties.runOn", type: { name: "String" } @@ -6132,6 +6238,18 @@ export const SourceControl: coreClient.CompositeMapper = { type: { name: "DateTime" } + }, + lastModifiedBy: { + serializedName: "properties.lastModifiedBy", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } } } } @@ -6270,140 +6388,47 @@ export const Credential: coreClient.CompositeMapper = { } }; -export const Schedule: coreClient.CompositeMapper = { +export const DscNodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Schedule", + className: "DscNodeConfiguration", modelProperties: { ...ProxyResource.type.modelProperties, - startTime: { - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - startTimeOffsetMinutes: { - serializedName: "properties.startTimeOffsetMinutes", - readOnly: true, - type: { - name: "Number" - } - }, - expiryTime: { - serializedName: "properties.expiryTime", - nullable: true, - type: { - name: "DateTime" - } - }, - expiryTimeOffsetMinutes: { - serializedName: "properties.expiryTimeOffsetMinutes", - type: { - name: "Number" - } - }, - isEnabled: { - defaultValue: false, - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - nextRun: { - serializedName: "properties.nextRun", - nullable: true, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", type: { name: "DateTime" } }, - nextRunOffsetMinutes: { - serializedName: "properties.nextRunOffsetMinutes", - type: { - name: "Number" - } - }, - interval: { - serializedName: "properties.interval", - type: { - name: "any" - } - }, - frequency: { - serializedName: "properties.frequency", - type: { - name: "String" - } - }, - timeZone: { - serializedName: "properties.timeZone", - type: { - name: "String" - } - }, - advancedSchedule: { - serializedName: "properties.advancedSchedule", - type: { - name: "Composite", - className: "AdvancedSchedule" - } - }, creationTime: { serializedName: "properties.creationTime", type: { name: "DateTime" } }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", + configuration: { + serializedName: "properties.configuration", type: { - name: "DateTime" + name: "Composite", + className: "DscConfigurationAssociationProperty" } }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - } - } - } -}; - -export const Variable: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Variable", - modelProperties: { - ...ProxyResource.type.modelProperties, - value: { - serializedName: "properties.value", + source: { + serializedName: "properties.source", type: { name: "String" } }, - isEncrypted: { - serializedName: "properties.isEncrypted", - nullable: true, - type: { - name: "Boolean" - } - }, - creationTime: { - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } - }, - lastModifiedTime: { - serializedName: "properties.lastModifiedTime", + nodeCount: { + serializedName: "properties.nodeCount", type: { - name: "DateTime" + name: "Number" } }, - description: { - serializedName: "properties.description", + incrementNodeConfigurationBuild: { + serializedName: "properties.incrementNodeConfigurationBuild", type: { - name: "String" + name: "Boolean" } } } @@ -6585,58 +6610,83 @@ export const JobCollectionItem: coreClient.CompositeMapper = { } }; -export const Webhook: coreClient.CompositeMapper = { +export const Schedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", + className: "Schedule", modelProperties: { ...ProxyResource.type.modelProperties, - isEnabled: { - defaultValue: false, - serializedName: "properties.isEnabled", + startTime: { + serializedName: "properties.startTime", type: { - name: "Boolean" + name: "DateTime" } }, - uri: { - serializedName: "properties.uri", + startTimeOffsetMinutes: { + serializedName: "properties.startTimeOffsetMinutes", + readOnly: true, type: { - name: "String" + name: "Number" } }, expiryTime: { serializedName: "properties.expiryTime", + nullable: true, type: { name: "DateTime" } }, - lastInvokedTime: { - serializedName: "properties.lastInvokedTime", + expiryTimeOffsetMinutes: { + serializedName: "properties.expiryTimeOffsetMinutes", + type: { + name: "Number" + } + }, + isEnabled: { + defaultValue: false, + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } + }, + nextRun: { + serializedName: "properties.nextRun", nullable: true, type: { name: "DateTime" } }, - parameters: { - serializedName: "properties.parameters", + nextRunOffsetMinutes: { + serializedName: "properties.nextRunOffsetMinutes", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Number" } }, - runbook: { - serializedName: "properties.runbook", + interval: { + serializedName: "properties.interval", type: { - name: "Composite", - className: "RunbookAssociationProperty" + name: "any" } }, - runOn: { - serializedName: "properties.runOn", + frequency: { + serializedName: "properties.frequency", type: { name: "String" } }, + timeZone: { + serializedName: "properties.timeZone", + type: { + name: "String" + } + }, + advancedSchedule: { + serializedName: "properties.advancedSchedule", + type: { + name: "Composite", + className: "AdvancedSchedule" + } + }, creationTime: { serializedName: "properties.creationTime", type: { @@ -6649,12 +6699,6 @@ export const Webhook: coreClient.CompositeMapper = { name: "DateTime" } }, - lastModifiedBy: { - serializedName: "properties.lastModifiedBy", - type: { - name: "String" - } - }, description: { serializedName: "properties.description", type: { @@ -6665,78 +6709,87 @@ export const Webhook: coreClient.CompositeMapper = { } }; -export const Module: coreClient.CompositeMapper = { +export const SourceControl: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Module", + className: "SourceControl", modelProperties: { - ...TrackedResource.type.modelProperties, - etag: { - serializedName: "etag", + ...ProxyResource.type.modelProperties, + repoUrl: { + serializedName: "properties.repoUrl", type: { name: "String" } }, - isGlobal: { - serializedName: "properties.isGlobal", + branch: { + serializedName: "properties.branch", type: { - name: "Boolean" + name: "String" } }, - version: { - serializedName: "properties.version", + folderPath: { + serializedName: "properties.folderPath", type: { name: "String" } }, - sizeInBytes: { - serializedName: "properties.sizeInBytes", + autoSync: { + serializedName: "properties.autoSync", type: { - name: "Number" + name: "Boolean" } }, - activityCount: { - serializedName: "properties.activityCount", + publishRunbook: { + serializedName: "properties.publishRunbook", type: { - name: "Number" + name: "Boolean" } }, - provisioningState: { - serializedName: "properties.provisioningState", + sourceType: { + serializedName: "properties.sourceType", type: { - name: "Enum", - allowedValues: [ - "Created", - "Creating", - "StartingImportModuleRunbook", - "RunningImportModuleRunbook", - "ContentRetrieved", - "ContentDownloaded", - "ContentValidated", - "ConnectionTypeImported", - "ContentStored", - "ModuleDataStored", - "ActivitiesStored", - "ModuleImportRunbookComplete", - "Succeeded", - "Failed", - "Cancelled", - "Updating" - ] + name: "String" } }, - contentLink: { - serializedName: "properties.contentLink", + description: { + serializedName: "properties.description", type: { - name: "Composite", - className: "ContentLink" + name: "String" } }, - error: { - serializedName: "properties.error", + creationTime: { + serializedName: "properties.creationTime", type: { - name: "Composite", - className: "ModuleErrorInfo" + name: "DateTime" + } + }, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const Variable: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Variable", + modelProperties: { + ...ProxyResource.type.modelProperties, + value: { + serializedName: "properties.value", + type: { + name: "String" + } + }, + isEncrypted: { + serializedName: "properties.isEncrypted", + nullable: true, + type: { + name: "Boolean" } }, creationTime: { @@ -6756,12 +6809,6 @@ export const Module: coreClient.CompositeMapper = { type: { name: "String" } - }, - isComposite: { - serializedName: "properties.isComposite", - type: { - name: "Boolean" - } } } } @@ -6956,6 +7003,90 @@ export const DscConfiguration: coreClient.CompositeMapper = { } }; +export const Module: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Module", + modelProperties: { + ...TrackedResource.type.modelProperties, + etag: { + serializedName: "etag", + type: { + name: "String" + } + }, + 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: "String" + } + }, + contentLink: { + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ModuleErrorInfo" + } + }, + creationTime: { + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } + }, + lastModifiedTime: { + serializedName: "properties.lastModifiedTime", + type: { + name: "DateTime" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + isComposite: { + serializedName: "properties.isComposite", + type: { + name: "Boolean" + } + } + } + } +}; + export const Runbook: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/automation/arm-automation/src/models/parameters.ts b/sdk/automation/arm-automation/src/models/parameters.ts index d301b423cf1d..a835fc98eaf6 100644 --- a/sdk/automation/arm-automation/src/models/parameters.ts +++ b/sdk/automation/arm-automation/src/models/parameters.ts @@ -13,15 +13,14 @@ import { } from "@azure/core-client"; import { PrivateEndpointConnection as PrivateEndpointConnectionMapper, - PythonPackageCreateParameters as PythonPackageCreateParametersMapper, - PythonPackageUpdateParameters as PythonPackageUpdateParametersMapper, AgentRegistrationRegenerateKeyParameter as AgentRegistrationRegenerateKeyParameterMapper, DscNodeUpdateParameters as DscNodeUpdateParametersMapper, - DscNodeConfigurationCreateOrUpdateParameters as DscNodeConfigurationCreateOrUpdateParametersMapper, DscCompilationJobCreateParameters as DscCompilationJobCreateParametersMapper, - SourceControlCreateOrUpdateParameters as SourceControlCreateOrUpdateParametersMapper, - SourceControlUpdateParameters as SourceControlUpdateParametersMapper, - SourceControlSyncJobCreateParameters as SourceControlSyncJobCreateParametersMapper, + Watcher as WatcherMapper, + WatcherUpdateParameters as WatcherUpdateParametersMapper, + SoftwareUpdateConfiguration as SoftwareUpdateConfigurationMapper, + WebhookCreateOrUpdateParameters as WebhookCreateOrUpdateParametersMapper, + WebhookUpdateParameters as WebhookUpdateParametersMapper, AutomationAccountUpdateParameters as AutomationAccountUpdateParametersMapper, AutomationAccountCreateOrUpdateParameters as AutomationAccountCreateOrUpdateParametersMapper, CertificateCreateOrUpdateParameters as CertificateCreateOrUpdateParametersMapper, @@ -31,28 +30,29 @@ import { ConnectionTypeCreateOrUpdateParameters as ConnectionTypeCreateOrUpdateParametersMapper, CredentialCreateOrUpdateParameters as CredentialCreateOrUpdateParametersMapper, CredentialUpdateParameters as CredentialUpdateParametersMapper, - JobScheduleCreateParameters as JobScheduleCreateParametersMapper, - ModuleCreateOrUpdateParameters as ModuleCreateOrUpdateParametersMapper, - ModuleUpdateParameters as ModuleUpdateParametersMapper, - ScheduleCreateOrUpdateParameters as ScheduleCreateOrUpdateParametersMapper, - ScheduleUpdateParameters as ScheduleUpdateParametersMapper, - VariableCreateOrUpdateParameters as VariableCreateOrUpdateParametersMapper, - VariableUpdateParameters as VariableUpdateParametersMapper, - Watcher as WatcherMapper, - WatcherUpdateParameters as WatcherUpdateParametersMapper, DscConfigurationCreateOrUpdateParameters as DscConfigurationCreateOrUpdateParametersMapper, DscConfigurationUpdateParameters as DscConfigurationUpdateParametersMapper, + DscNodeConfigurationCreateOrUpdateParameters as DscNodeConfigurationCreateOrUpdateParametersMapper, + HybridRunbookWorkerCreateParameters as HybridRunbookWorkerCreateParametersMapper, + HybridRunbookWorkerMoveParameters as HybridRunbookWorkerMoveParametersMapper, + HybridRunbookWorkerGroupCreateOrUpdateParameters as HybridRunbookWorkerGroupCreateOrUpdateParametersMapper, JobCreateParameters as JobCreateParametersMapper, + JobScheduleCreateParameters as JobScheduleCreateParametersMapper, + ModuleCreateOrUpdateParameters as ModuleCreateOrUpdateParametersMapper, + ModuleUpdateParameters as ModuleUpdateParametersMapper, GraphicalRunbookContent as GraphicalRunbookContentMapper, - SoftwareUpdateConfiguration as SoftwareUpdateConfigurationMapper, + PythonPackageCreateParameters as PythonPackageCreateParametersMapper, + PythonPackageUpdateParameters as PythonPackageUpdateParametersMapper, RunbookCreateOrUpdateParameters as RunbookCreateOrUpdateParametersMapper, RunbookUpdateParameters as RunbookUpdateParametersMapper, TestJobCreateParameters as TestJobCreateParametersMapper, - WebhookCreateOrUpdateParameters as WebhookCreateOrUpdateParametersMapper, - WebhookUpdateParameters as WebhookUpdateParametersMapper, - HybridRunbookWorkerCreateParameters as HybridRunbookWorkerCreateParametersMapper, - HybridRunbookWorkerMoveParameters as HybridRunbookWorkerMoveParametersMapper, - HybridRunbookWorkerGroupCreateOrUpdateParameters as HybridRunbookWorkerGroupCreateOrUpdateParametersMapper + ScheduleCreateOrUpdateParameters as ScheduleCreateOrUpdateParametersMapper, + ScheduleUpdateParameters as ScheduleUpdateParametersMapper, + SourceControlCreateOrUpdateParameters as SourceControlCreateOrUpdateParametersMapper, + SourceControlUpdateParameters as SourceControlUpdateParametersMapper, + SourceControlSyncJobCreateParameters as SourceControlSyncJobCreateParametersMapper, + VariableCreateOrUpdateParameters as VariableCreateOrUpdateParametersMapper, + VariableUpdateParameters as VariableUpdateParametersMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -157,40 +157,7 @@ export const parameters: OperationParameter = { mapper: PrivateEndpointConnectionMapper }; -export const packageName: OperationURLParameter = { - parameterPath: "packageName", - mapper: { - serializedName: "packageName", - required: true, - type: { - name: "String" - } - } -}; - export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: PythonPackageCreateParametersMapper -}; - -export const parameters2: OperationParameter = { - parameterPath: "parameters", - mapper: PythonPackageUpdateParametersMapper -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", - mapper: { - serializedName: "nextLink", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const parameters3: OperationParameter = { parameterPath: "parameters", mapper: AgentRegistrationRegenerateKeyParameterMapper }; @@ -251,21 +218,22 @@ export const inlinecount: OperationQueryParameter = { } }; -export const reportId: OperationURLParameter = { - parameterPath: "reportId", +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - serializedName: "reportId", + serializedName: "nextLink", required: true, type: { name: "String" } - } + }, + skipEncoding: true }; -export const nodeConfigurationName: OperationURLParameter = { - parameterPath: "nodeConfigurationName", +export const reportId: OperationURLParameter = { + parameterPath: "reportId", mapper: { - serializedName: "nodeConfigurationName", + serializedName: "reportId", required: true, type: { name: "String" @@ -273,12 +241,7 @@ export const nodeConfigurationName: OperationURLParameter = { } }; -export const parameters4: OperationParameter = { - parameterPath: "parameters", - mapper: DscNodeConfigurationCreateOrUpdateParametersMapper -}; - -export const parameters5: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: DscCompilationJobCreateParametersMapper }; @@ -327,15 +290,15 @@ export const countType: OperationURLParameter = { } }; -export const parameters6: OperationParameter = { +export const parameters3: OperationParameter = { parameterPath: "parameters", - mapper: SourceControlCreateOrUpdateParametersMapper + mapper: WatcherMapper }; -export const sourceControlName: OperationURLParameter = { - parameterPath: "sourceControlName", +export const watcherName: OperationURLParameter = { + parameterPath: "watcherName", mapper: { - serializedName: "sourceControlName", + serializedName: "watcherName", required: true, type: { name: "String" @@ -343,31 +306,65 @@ export const sourceControlName: OperationURLParameter = { } }; -export const parameters7: OperationParameter = { +export const parameters4: OperationParameter = { parameterPath: "parameters", - mapper: SourceControlUpdateParametersMapper + mapper: WatcherUpdateParametersMapper }; -export const parameters8: OperationParameter = { +export const parameters5: OperationParameter = { parameterPath: "parameters", - mapper: SourceControlSyncJobCreateParametersMapper + mapper: SoftwareUpdateConfigurationMapper }; -export const sourceControlSyncJobId: OperationURLParameter = { - parameterPath: "sourceControlSyncJobId", +export const softwareUpdateConfigurationName: OperationURLParameter = { + parameterPath: "softwareUpdateConfigurationName", mapper: { - serializedName: "sourceControlSyncJobId", + serializedName: "softwareUpdateConfigurationName", required: true, type: { - name: "Uuid" + name: "String" } } }; -export const streamId: OperationURLParameter = { - parameterPath: "streamId", +export const apiVersion1: OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { - serializedName: "streamId", + defaultValue: "2019-06-01", + isConstant: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; + +export const clientRequestId: OperationParameter = { + parameterPath: ["options", "clientRequestId"], + mapper: { + serializedName: "clientRequestId", + type: { + name: "String" + } + } +}; + +export const apiVersion2: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2015-10-31", + isConstant: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; + +export const webhookName: OperationURLParameter = { + parameterPath: "webhookName", + mapper: { + serializedName: "webhookName", required: true, type: { name: "String" @@ -375,15 +372,37 @@ export const streamId: OperationURLParameter = { } }; -export const parameters9: OperationParameter = { +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: WebhookCreateOrUpdateParametersMapper +}; + +export const parameters7: OperationParameter = { + parameterPath: "parameters", + mapper: WebhookUpdateParametersMapper +}; + +export const apiVersion3: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2022-01-31", + isConstant: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; + +export const parameters8: OperationParameter = { parameterPath: "parameters", mapper: AutomationAccountUpdateParametersMapper }; -export const apiVersion1: OperationQueryParameter = { +export const apiVersion4: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-06-22", + defaultValue: "2022-08-08", isConstant: true, serializedName: "api-version", type: { @@ -392,7 +411,7 @@ export const apiVersion1: OperationQueryParameter = { } }; -export const parameters10: OperationParameter = { +export const parameters9: OperationParameter = { parameterPath: "parameters", mapper: AutomationAccountCreateOrUpdateParametersMapper }; @@ -408,12 +427,12 @@ export const certificateName: OperationURLParameter = { } }; -export const parameters11: OperationParameter = { +export const parameters10: OperationParameter = { parameterPath: "parameters", mapper: CertificateCreateOrUpdateParametersMapper }; -export const parameters12: OperationParameter = { +export const parameters11: OperationParameter = { parameterPath: "parameters", mapper: CertificateUpdateParametersMapper }; @@ -429,12 +448,12 @@ export const connectionName: OperationURLParameter = { } }; -export const parameters13: OperationParameter = { +export const parameters12: OperationParameter = { parameterPath: "parameters", mapper: ConnectionCreateOrUpdateParametersMapper }; -export const parameters14: OperationParameter = { +export const parameters13: OperationParameter = { parameterPath: "parameters", mapper: ConnectionUpdateParametersMapper }; @@ -450,7 +469,7 @@ export const connectionTypeName: OperationURLParameter = { } }; -export const parameters15: OperationParameter = { +export const parameters14: OperationParameter = { parameterPath: "parameters", mapper: ConnectionTypeCreateOrUpdateParametersMapper }; @@ -466,47 +485,43 @@ export const credentialName: OperationURLParameter = { } }; -export const parameters16: OperationParameter = { +export const parameters15: OperationParameter = { parameterPath: "parameters", mapper: CredentialCreateOrUpdateParametersMapper }; -export const parameters17: OperationParameter = { +export const parameters16: OperationParameter = { parameterPath: "parameters", mapper: CredentialUpdateParametersMapper }; -export const jobScheduleId: OperationURLParameter = { - parameterPath: "jobScheduleId", +export const configurationName: OperationURLParameter = { + parameterPath: "configurationName", mapper: { - serializedName: "jobScheduleId", + serializedName: "configurationName", required: true, type: { - name: "Uuid" + name: "String" } } }; -export const parameters18: OperationParameter = { - parameterPath: "parameters", - mapper: JobScheduleCreateParametersMapper -}; - -export const moduleName: OperationURLParameter = { - parameterPath: "moduleName", +export const contentType1: OperationParameter = { + parameterPath: "contentType", mapper: { - serializedName: "moduleName", - required: true, + defaultValue: "text/plain; charset=utf-8", + isConstant: true, + serializedName: "Content-Type", type: { name: "String" } } }; -export const activityName: OperationURLParameter = { - parameterPath: "activityName", +export const parameters17: OperationParameter = { + parameterPath: "parameters", mapper: { - serializedName: "activityName", + serializedName: "parameters", required: true, type: { name: "String" @@ -514,78 +529,66 @@ export const activityName: OperationURLParameter = { } }; -export const parameters19: OperationParameter = { - parameterPath: "parameters", - mapper: ModuleCreateOrUpdateParametersMapper -}; - -export const parameters20: OperationParameter = { - parameterPath: "parameters", - mapper: ModuleUpdateParametersMapper +export const accept1: OperationParameter = { + parameterPath: "accept", + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", + type: { + name: "String" + } + } }; -export const typeName: OperationURLParameter = { - parameterPath: "typeName", +export const contentType2: OperationParameter = { + parameterPath: "contentType", mapper: { - serializedName: "typeName", - required: true, + defaultValue: "application/json", + isConstant: true, + serializedName: "Content-Type", type: { name: "String" } } }; -export const parameters21: OperationParameter = { +export const parameters18: OperationParameter = { parameterPath: "parameters", - mapper: ScheduleCreateOrUpdateParametersMapper + mapper: DscConfigurationCreateOrUpdateParametersMapper }; -export const scheduleName: OperationURLParameter = { - parameterPath: "scheduleName", +export const parameters19: OperationParameter = { + parameterPath: ["options", "parameters"], mapper: { - serializedName: "scheduleName", - required: true, + serializedName: "parameters", type: { name: "String" } } }; -export const parameters22: OperationParameter = { - parameterPath: "parameters", - mapper: ScheduleUpdateParametersMapper -}; - -export const parameters23: OperationParameter = { - parameterPath: "parameters", - mapper: VariableCreateOrUpdateParametersMapper +export const parameters20: OperationParameter = { + parameterPath: ["options", "parameters"], + mapper: DscConfigurationUpdateParametersMapper }; -export const variableName: OperationURLParameter = { - parameterPath: "variableName", +export const accept2: OperationParameter = { + parameterPath: "accept", mapper: { - serializedName: "variableName", - required: true, + defaultValue: "text/powershell", + isConstant: true, + serializedName: "Accept", type: { name: "String" } } }; -export const parameters24: OperationParameter = { - parameterPath: "parameters", - mapper: VariableUpdateParametersMapper -}; - -export const parameters25: OperationParameter = { - parameterPath: "parameters", - mapper: WatcherMapper -}; - -export const watcherName: OperationURLParameter = { - parameterPath: "watcherName", +export const nodeConfigurationName: OperationURLParameter = { + parameterPath: "nodeConfigurationName", mapper: { - serializedName: "watcherName", + serializedName: "nodeConfigurationName", required: true, type: { name: "String" @@ -593,15 +596,15 @@ export const watcherName: OperationURLParameter = { } }; -export const parameters26: OperationParameter = { +export const parameters21: OperationParameter = { parameterPath: "parameters", - mapper: WatcherUpdateParametersMapper + mapper: DscNodeConfigurationCreateOrUpdateParametersMapper }; -export const configurationName: OperationURLParameter = { - parameterPath: "configurationName", +export const hybridRunbookWorkerGroupName: OperationURLParameter = { + parameterPath: "hybridRunbookWorkerGroupName", mapper: { - serializedName: "configurationName", + serializedName: "hybridRunbookWorkerGroupName", required: true, type: { name: "String" @@ -609,45 +612,41 @@ export const configurationName: OperationURLParameter = { } }; -export const apiVersion2: OperationQueryParameter = { - parameterPath: "apiVersion", +export const hybridRunbookWorkerId: OperationURLParameter = { + parameterPath: "hybridRunbookWorkerId", mapper: { - defaultValue: "2019-06-01", - isConstant: true, - serializedName: "api-version", + serializedName: "hybridRunbookWorkerId", + required: true, type: { name: "String" } } }; -export const contentType1: OperationParameter = { - parameterPath: "contentType", - mapper: { - defaultValue: "text/plain; charset=utf-8", - isConstant: true, - serializedName: "Content-Type", - type: { - name: "String" - } - } +export const hybridRunbookWorkerCreationParameters: OperationParameter = { + parameterPath: "hybridRunbookWorkerCreationParameters", + mapper: HybridRunbookWorkerCreateParametersMapper }; -export const parameters27: OperationParameter = { - parameterPath: "parameters", - mapper: { - serializedName: "parameters", - required: true, - type: { - name: "String" - } - } +export const hybridRunbookWorkerMoveParameters: OperationParameter = { + parameterPath: "hybridRunbookWorkerMoveParameters", + mapper: HybridRunbookWorkerMoveParametersMapper }; -export const accept1: OperationParameter = { +export const hybridRunbookWorkerGroupCreationParameters: OperationParameter = { + parameterPath: "hybridRunbookWorkerGroupCreationParameters", + mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper +}; + +export const hybridRunbookWorkerGroupUpdationParameters: OperationParameter = { + parameterPath: "hybridRunbookWorkerGroupUpdationParameters", + mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper +}; + +export const accept3: OperationParameter = { parameterPath: "accept", mapper: { - defaultValue: "application/json", + defaultValue: "text/plain", isConstant: true, serializedName: "Accept", type: { @@ -656,66 +655,42 @@ export const accept1: OperationParameter = { } }; -export const contentType2: OperationParameter = { - parameterPath: "contentType", +export const jobName: OperationURLParameter = { + parameterPath: "jobName", mapper: { - defaultValue: "application/json", - isConstant: true, - serializedName: "Content-Type", + serializedName: "jobName", + required: true, type: { name: "String" } } }; -export const parameters28: OperationParameter = { +export const parameters22: OperationParameter = { parameterPath: "parameters", - mapper: DscConfigurationCreateOrUpdateParametersMapper -}; - -export const parameters29: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: { - serializedName: "parameters", - type: { - name: "String" - } - } -}; - -export const parameters30: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: DscConfigurationUpdateParametersMapper + mapper: JobCreateParametersMapper }; -export const accept2: OperationParameter = { - parameterPath: "accept", +export const jobScheduleId: OperationURLParameter = { + parameterPath: "jobScheduleId", mapper: { - defaultValue: "text/powershell", - isConstant: true, - serializedName: "Accept", + serializedName: "jobScheduleId", + required: true, type: { - name: "String" + name: "Uuid" } } }; -export const accept3: OperationParameter = { - parameterPath: "accept", - mapper: { - defaultValue: "text/plain", - isConstant: true, - serializedName: "Accept", - type: { - name: "String" - } - } +export const parameters23: OperationParameter = { + parameterPath: "parameters", + mapper: JobScheduleCreateParametersMapper }; -export const jobName: OperationURLParameter = { - parameterPath: "jobName", +export const moduleName: OperationURLParameter = { + parameterPath: "moduleName", mapper: { - serializedName: "jobName", + serializedName: "moduleName", required: true, type: { name: "String" @@ -723,35 +698,31 @@ export const jobName: OperationURLParameter = { } }; -export const clientRequestId: OperationParameter = { - parameterPath: ["options", "clientRequestId"], +export const activityName: OperationURLParameter = { + parameterPath: "activityName", mapper: { - serializedName: "clientRequestId", + serializedName: "activityName", + required: true, type: { name: "String" } } }; -export const parameters31: OperationParameter = { - parameterPath: "parameters", - mapper: JobCreateParametersMapper -}; - -export const parameters32: OperationParameter = { +export const parameters24: OperationParameter = { parameterPath: "parameters", - mapper: GraphicalRunbookContentMapper + mapper: ModuleCreateOrUpdateParametersMapper }; -export const parameters33: OperationParameter = { +export const parameters25: OperationParameter = { parameterPath: "parameters", - mapper: SoftwareUpdateConfigurationMapper + mapper: ModuleUpdateParametersMapper }; -export const softwareUpdateConfigurationName: OperationURLParameter = { - parameterPath: "softwareUpdateConfigurationName", +export const typeName: OperationURLParameter = { + parameterPath: "typeName", mapper: { - serializedName: "softwareUpdateConfigurationName", + serializedName: "typeName", required: true, type: { name: "String" @@ -759,51 +730,38 @@ export const softwareUpdateConfigurationName: OperationURLParameter = { } }; -export const softwareUpdateConfigurationRunId: OperationURLParameter = { - parameterPath: "softwareUpdateConfigurationRunId", - mapper: { - serializedName: "softwareUpdateConfigurationRunId", - required: true, - type: { - name: "Uuid" - } - } +export const parameters26: OperationParameter = { + parameterPath: "parameters", + mapper: GraphicalRunbookContentMapper }; -export const skip1: OperationQueryParameter = { - parameterPath: ["options", "skip"], +export const packageName: OperationURLParameter = { + parameterPath: "packageName", mapper: { - serializedName: "$skip", + serializedName: "packageName", + required: true, type: { name: "String" } } }; -export const top1: OperationQueryParameter = { - parameterPath: ["options", "top"], - mapper: { - serializedName: "$top", - type: { - name: "String" - } - } +export const parameters27: OperationParameter = { + parameterPath: "parameters", + mapper: PythonPackageCreateParametersMapper }; -export const softwareUpdateConfigurationMachineRunId: OperationURLParameter = { - parameterPath: "softwareUpdateConfigurationMachineRunId", - mapper: { - serializedName: "softwareUpdateConfigurationMachineRunId", - required: true, - type: { - name: "Uuid" - } - } +export const parameters28: OperationParameter = { + parameterPath: "parameters", + mapper: PythonPackageUpdateParametersMapper }; export const runbookName: OperationURLParameter = { parameterPath: "runbookName", mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z]*-*[a-zA-Z0-9]*$") + }, serializedName: "runbookName", required: true, type: { @@ -812,18 +770,6 @@ export const runbookName: OperationURLParameter = { } }; -export const apiVersion3: OperationQueryParameter = { - parameterPath: "apiVersion", - mapper: { - defaultValue: "2018-06-30", - isConstant: true, - serializedName: "api-version", - type: { - name: "String" - } - } -}; - export const contentType3: OperationParameter = { parameterPath: ["options", "contentType"], mapper: { @@ -847,69 +793,93 @@ export const runbookContent: OperationParameter = { } }; -export const parameters34: OperationParameter = { +export const parameters29: OperationParameter = { parameterPath: "parameters", mapper: RunbookCreateOrUpdateParametersMapper }; -export const parameters35: OperationParameter = { +export const parameters30: OperationParameter = { parameterPath: "parameters", mapper: RunbookUpdateParametersMapper }; -export const parameters36: OperationParameter = { +export const parameters31: OperationParameter = { parameterPath: "parameters", mapper: TestJobCreateParametersMapper }; -export const apiVersion4: OperationQueryParameter = { - parameterPath: "apiVersion", +export const parameters32: OperationParameter = { + parameterPath: "parameters", + mapper: ScheduleCreateOrUpdateParametersMapper +}; + +export const scheduleName: OperationURLParameter = { + parameterPath: "scheduleName", mapper: { - defaultValue: "2015-10-31", - isConstant: true, - serializedName: "api-version", + serializedName: "scheduleName", + required: true, type: { name: "String" } } }; -export const webhookName: OperationURLParameter = { - parameterPath: "webhookName", +export const parameters33: OperationParameter = { + parameterPath: "parameters", + mapper: ScheduleUpdateParametersMapper +}; + +export const softwareUpdateConfigurationMachineRunId: OperationURLParameter = { + parameterPath: "softwareUpdateConfigurationMachineRunId", mapper: { - serializedName: "webhookName", + serializedName: "softwareUpdateConfigurationMachineRunId", required: true, type: { - name: "String" + name: "Uuid" } } }; -export const parameters37: OperationParameter = { - parameterPath: "parameters", - mapper: WebhookCreateOrUpdateParametersMapper +export const skip1: OperationQueryParameter = { + parameterPath: ["options", "skip"], + mapper: { + serializedName: "$skip", + type: { + name: "String" + } + } }; -export const parameters38: OperationParameter = { - parameterPath: "parameters", - mapper: WebhookUpdateParametersMapper +export const top1: OperationQueryParameter = { + parameterPath: ["options", "top"], + mapper: { + serializedName: "$top", + type: { + name: "String" + } + } }; -export const hybridRunbookWorkerGroupName: OperationURLParameter = { - parameterPath: "hybridRunbookWorkerGroupName", +export const softwareUpdateConfigurationRunId: OperationURLParameter = { + parameterPath: "softwareUpdateConfigurationRunId", mapper: { - serializedName: "hybridRunbookWorkerGroupName", + serializedName: "softwareUpdateConfigurationRunId", required: true, type: { - name: "String" + name: "Uuid" } } }; -export const hybridRunbookWorkerId: OperationURLParameter = { - parameterPath: "hybridRunbookWorkerId", +export const parameters34: OperationParameter = { + parameterPath: "parameters", + mapper: SourceControlCreateOrUpdateParametersMapper +}; + +export const sourceControlName: OperationURLParameter = { + parameterPath: "sourceControlName", mapper: { - serializedName: "hybridRunbookWorkerId", + serializedName: "sourceControlName", required: true, type: { name: "String" @@ -917,46 +887,55 @@ export const hybridRunbookWorkerId: OperationURLParameter = { } }; -export const hybridRunbookWorkerCreationParameters: OperationParameter = { - parameterPath: "hybridRunbookWorkerCreationParameters", - mapper: HybridRunbookWorkerCreateParametersMapper +export const parameters35: OperationParameter = { + parameterPath: "parameters", + mapper: SourceControlUpdateParametersMapper }; -export const hybridRunbookWorkerMoveParameters: OperationParameter = { - parameterPath: "hybridRunbookWorkerMoveParameters", - mapper: HybridRunbookWorkerMoveParametersMapper +export const parameters36: OperationParameter = { + parameterPath: "parameters", + mapper: SourceControlSyncJobCreateParametersMapper }; -export const apiVersion5: OperationQueryParameter = { - parameterPath: "apiVersion", +export const sourceControlSyncJobId: OperationURLParameter = { + parameterPath: "sourceControlSyncJobId", mapper: { - defaultValue: "2022-01-31", - isConstant: true, - serializedName: "api-version", + serializedName: "sourceControlSyncJobId", + required: true, type: { - name: "String" + name: "Uuid" } } }; -export const apiVersion6: OperationQueryParameter = { - parameterPath: "apiVersion", +export const streamId: OperationURLParameter = { + parameterPath: "streamId", mapper: { - defaultValue: "2022-02-22", - isConstant: true, - serializedName: "api-version", + serializedName: "streamId", + required: true, type: { name: "String" } } }; -export const hybridRunbookWorkerGroupCreationParameters: OperationParameter = { - parameterPath: "hybridRunbookWorkerGroupCreationParameters", - mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper +export const parameters37: OperationParameter = { + parameterPath: "parameters", + mapper: VariableCreateOrUpdateParametersMapper }; -export const hybridRunbookWorkerGroupUpdationParameters: OperationParameter = { - parameterPath: "hybridRunbookWorkerGroupUpdationParameters", - mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper +export const variableName: OperationURLParameter = { + parameterPath: "variableName", + mapper: { + serializedName: "variableName", + required: true, + type: { + name: "String" + } + } +}; + +export const parameters38: OperationParameter = { + parameterPath: "parameters", + mapper: VariableUpdateParametersMapper }; diff --git a/sdk/automation/arm-automation/src/operations/activityOperations.ts b/sdk/automation/arm-automation/src/operations/activityOperations.ts index a2cba6e9437e..9794189c6806 100644 --- a/sdk/automation/arm-automation/src/operations/activityOperations.ts +++ b/sdk/automation/arm-automation/src/operations/activityOperations.ts @@ -203,7 +203,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -227,7 +227,7 @@ const listByModuleOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -249,7 +249,7 @@ const listByModuleNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts index 5d14ebac1a5a..be3b2507e8ad 100644 --- a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts +++ b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts @@ -105,7 +105,7 @@ const regenerateKeyOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts b/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts index 127a2ed38ed9..5713ff0a5708 100644 --- a/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts +++ b/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts @@ -286,8 +286,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters9, - queryParameters: [Parameters.apiVersion1], + requestBody: Parameters.parameters8, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -313,8 +313,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters10, - queryParameters: [Parameters.apiVersion1], + requestBody: Parameters.parameters9, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -336,7 +336,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -358,7 +358,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -380,7 +380,7 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -401,7 +401,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer @@ -417,7 +417,7 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -438,7 +438,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/certificateOperations.ts b/sdk/automation/arm-automation/src/operations/certificateOperations.ts index edabf6e27656..47987f5b6257 100644 --- a/sdk/automation/arm-automation/src/operations/certificateOperations.ts +++ b/sdk/automation/arm-automation/src/operations/certificateOperations.ts @@ -255,7 +255,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -278,7 +278,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -304,8 +304,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters11, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters10, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -329,8 +329,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters12, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters11, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -354,7 +354,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +375,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/connectionOperations.ts b/sdk/automation/arm-automation/src/operations/connectionOperations.ts index 14da7452cb69..45a4f9698eb0 100644 --- a/sdk/automation/arm-automation/src/operations/connectionOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionOperations.ts @@ -256,7 +256,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -279,7 +279,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -305,8 +305,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters13, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters12, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -330,8 +330,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters14, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters13, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -355,7 +355,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -376,7 +376,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts index c10db59543dd..23ee0cbd7acb 100644 --- a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts @@ -226,7 +226,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -249,7 +249,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -272,8 +272,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters15, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters14, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -297,7 +297,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -318,7 +318,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/credentialOperations.ts b/sdk/automation/arm-automation/src/operations/credentialOperations.ts index a5f73113b634..766cb0b98d18 100644 --- a/sdk/automation/arm-automation/src/operations/credentialOperations.ts +++ b/sdk/automation/arm-automation/src/operations/credentialOperations.ts @@ -255,7 +255,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -278,7 +278,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -304,8 +304,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters16, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters15, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -329,8 +329,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters17, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters16, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -351,7 +351,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CredentialListResult } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -369,7 +369,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CredentialListResult } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/deletedAutomationAccounts.ts b/sdk/automation/arm-automation/src/operations/deletedAutomationAccounts.ts index 4da9a8dfbcd6..ad22e5d3a296 100644 --- a/sdk/automation/arm-automation/src/operations/deletedAutomationAccounts.ts +++ b/sdk/automation/arm-automation/src/operations/deletedAutomationAccounts.ts @@ -57,7 +57,7 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion5], + queryParameters: [Parameters.apiVersion3], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer diff --git a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts index 59ce0fa941f3..f9413a25cb1c 100644 --- a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts @@ -318,7 +318,7 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts index cdb4f4fa8e3a..f7522b4b2dd2 100644 --- a/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts @@ -399,7 +399,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -422,7 +422,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -448,8 +448,8 @@ const createOrUpdate$textOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters27, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters17, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -480,8 +480,8 @@ const createOrUpdate$jsonOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters28, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters18, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -505,8 +505,8 @@ const update$textOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters29, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters19, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -534,8 +534,8 @@ const update$jsonOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters30, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters20, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -553,11 +553,11 @@ const getContentOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: { type: { name: "String" } } + bodyMapper: { type: { name: "Stream" } } }, default: {} }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -585,7 +585,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { Parameters.skip, Parameters.top, Parameters.inlinecount, - Parameters.apiVersion2 + Parameters.apiVersion4 ], urlParameters: [ Parameters.$host, @@ -612,7 +612,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { Parameters.skip, Parameters.top, Parameters.inlinecount, - Parameters.apiVersion2 + Parameters.apiVersion4 ], urlParameters: [ Parameters.$host, diff --git a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts index 0efe25b4fe86..ccf28296e0ef 100644 --- a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts @@ -308,7 +308,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -331,7 +331,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -355,8 +355,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters4, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters21, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -381,11 +381,11 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { } }, queryParameters: [ - Parameters.apiVersion, Parameters.filter, Parameters.skip, Parameters.top, - Parameters.inlinecount + Parameters.inlinecount, + Parameters.apiVersion4 ], urlParameters: [ Parameters.$host, @@ -408,11 +408,11 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { } }, queryParameters: [ - Parameters.apiVersion, Parameters.filter, Parameters.skip, Parameters.top, - Parameters.inlinecount + Parameters.inlinecount, + Parameters.apiVersion4 ], urlParameters: [ Parameters.$host, diff --git a/sdk/automation/arm-automation/src/operations/fields.ts b/sdk/automation/arm-automation/src/operations/fields.ts index 7808b06d50af..d2171086a75f 100644 --- a/sdk/automation/arm-automation/src/operations/fields.ts +++ b/sdk/automation/arm-automation/src/operations/fields.ts @@ -149,7 +149,7 @@ const listByTypeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts index 82891e3cf67b..8bfbd89d0f27 100644 --- a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts +++ b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts @@ -266,7 +266,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion6], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -289,7 +289,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion6], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -308,12 +308,15 @@ const createOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.HybridRunbookWorkerGroup }, + 201: { + bodyMapper: Mappers.HybridRunbookWorkerGroup + }, default: { bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.hybridRunbookWorkerGroupCreationParameters, - queryParameters: [Parameters.apiVersion6], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -338,7 +341,7 @@ const updateOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.hybridRunbookWorkerGroupUpdationParameters, - queryParameters: [Parameters.apiVersion6], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -362,7 +365,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion6], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -383,7 +386,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion6], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts index b698ab1fbc82..63b032cc6d2b 100644 --- a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts +++ b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkers.ts @@ -302,7 +302,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -326,7 +326,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -346,12 +346,15 @@ const createOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.HybridRunbookWorker }, + 201: { + bodyMapper: Mappers.HybridRunbookWorker + }, default: { bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.hybridRunbookWorkerCreationParameters, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +378,7 @@ const moveOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.hybridRunbookWorkerMoveParameters, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -400,7 +403,7 @@ const listByHybridRunbookWorkerGroupOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion1], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -422,7 +425,7 @@ const listByHybridRunbookWorkerGroupNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion1], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/index.ts b/sdk/automation/arm-automation/src/operations/index.ts index e21e65d7c700..5f0858339baa 100644 --- a/sdk/automation/arm-automation/src/operations/index.ts +++ b/sdk/automation/arm-automation/src/operations/index.ts @@ -8,17 +8,16 @@ export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; -export * from "./python2Package"; export * from "./agentRegistrationInformation"; export * from "./dscNodeOperations"; export * from "./nodeReports"; -export * from "./dscNodeConfigurationOperations"; export * from "./dscCompilationJobOperations"; export * from "./dscCompilationJobStream"; export * from "./nodeCountInformation"; -export * from "./sourceControlOperations"; -export * from "./sourceControlSyncJobOperations"; -export * from "./sourceControlSyncJobStreams"; +export * from "./watcherOperations"; +export * from "./softwareUpdateConfigurations"; +export * from "./webhookOperations"; +export * from "./deletedAutomationAccounts"; export * from "./automationAccountOperations"; export * from "./statisticsOperations"; export * from "./usages"; @@ -27,27 +26,29 @@ export * from "./certificateOperations"; export * from "./connectionOperations"; export * from "./connectionTypeOperations"; export * from "./credentialOperations"; +export * from "./dscConfigurationOperations"; +export * from "./dscNodeConfigurationOperations"; +export * from "./hybridRunbookWorkers"; +export * from "./hybridRunbookWorkerGroupOperations"; +export * from "./jobOperations"; +export * from "./jobStreamOperations"; export * from "./jobScheduleOperations"; export * from "./linkedWorkspaceOperations"; export * from "./activityOperations"; export * from "./moduleOperations"; export * from "./objectDataTypes"; export * from "./fields"; -export * from "./scheduleOperations"; -export * from "./variableOperations"; -export * from "./watcherOperations"; -export * from "./dscConfigurationOperations"; -export * from "./jobOperations"; -export * from "./jobStreamOperations"; export * from "./operations"; -export * from "./softwareUpdateConfigurations"; -export * from "./softwareUpdateConfigurationRuns"; -export * from "./softwareUpdateConfigurationMachineRuns"; +export * from "./python2Package"; +export * from "./python3Package"; export * from "./runbookDraftOperations"; export * from "./runbookOperations"; export * from "./testJobStreams"; export * from "./testJobOperations"; -export * from "./webhookOperations"; -export * from "./hybridRunbookWorkers"; -export * from "./deletedAutomationAccounts"; -export * from "./hybridRunbookWorkerGroupOperations"; +export * from "./scheduleOperations"; +export * from "./softwareUpdateConfigurationMachineRuns"; +export * from "./softwareUpdateConfigurationRuns"; +export * from "./sourceControlOperations"; +export * from "./sourceControlSyncJobOperations"; +export * from "./sourceControlSyncJobStreams"; +export * from "./variableOperations"; diff --git a/sdk/automation/arm-automation/src/operations/jobOperations.ts b/sdk/automation/arm-automation/src/operations/jobOperations.ts index 1b79cd7c1df3..7e3b7d9f836a 100644 --- a/sdk/automation/arm-automation/src/operations/jobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobOperations.ts @@ -307,7 +307,7 @@ const getOutputOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -315,7 +315,7 @@ const getOutputOperationSpec: coreClient.OperationSpec = { Parameters.automationAccountName, Parameters.jobName ], - headerParameters: [Parameters.accept3, Parameters.clientRequestId], + headerParameters: [Parameters.clientRequestId, Parameters.accept3], serializer }; const getRunbookContentOperationSpec: coreClient.OperationSpec = { @@ -328,7 +328,7 @@ const getRunbookContentOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -336,7 +336,7 @@ const getRunbookContentOperationSpec: coreClient.OperationSpec = { Parameters.automationAccountName, Parameters.jobName ], - headerParameters: [Parameters.accept2, Parameters.clientRequestId], + headerParameters: [Parameters.clientRequestId, Parameters.accept2], serializer }; const suspendOperationSpec: coreClient.OperationSpec = { @@ -349,7 +349,7 @@ const suspendOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -370,7 +370,7 @@ const stopOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -393,7 +393,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -416,8 +416,8 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters31, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters22, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -445,7 +445,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion2], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -465,7 +465,7 @@ const resumeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -487,7 +487,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion2], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts index dca47d26b4d5..b16344c04b86 100644 --- a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts @@ -225,7 +225,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -248,7 +248,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -271,8 +271,8 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters18, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters23, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -296,7 +296,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -317,7 +317,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts b/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts index 7048bf94523a..3071f8b2aff6 100644 --- a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts @@ -197,7 +197,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -221,7 +221,7 @@ const listByJobOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion2], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -243,7 +243,7 @@ const listByJobNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion2], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/keys.ts b/sdk/automation/arm-automation/src/operations/keys.ts index 5accae27f965..a69e6bdad567 100644 --- a/sdk/automation/arm-automation/src/operations/keys.ts +++ b/sdk/automation/arm-automation/src/operations/keys.ts @@ -60,7 +60,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts index 7c2ac66f4779..6b12697796b5 100644 --- a/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts +++ b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts @@ -61,7 +61,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/moduleOperations.ts b/sdk/automation/arm-automation/src/operations/moduleOperations.ts index cc82f0533dad..8deb69a56b1d 100644 --- a/sdk/automation/arm-automation/src/operations/moduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/moduleOperations.ts @@ -255,7 +255,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -278,7 +278,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -304,8 +304,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters19, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters24, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -329,8 +329,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters20, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters25, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -354,7 +354,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +375,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/nodeReports.ts b/sdk/automation/arm-automation/src/operations/nodeReports.ts index f79b5d672fcd..b59fce89339f 100644 --- a/sdk/automation/arm-automation/src/operations/nodeReports.ts +++ b/sdk/automation/arm-automation/src/operations/nodeReports.ts @@ -292,8 +292,8 @@ const listByNodeNextOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.automationAccountName, - Parameters.nextLink, - Parameters.nodeId + Parameters.nodeId, + Parameters.nextLink ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts b/sdk/automation/arm-automation/src/operations/objectDataTypes.ts index 764876be50c4..632936248822 100644 --- a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts +++ b/sdk/automation/arm-automation/src/operations/objectDataTypes.ts @@ -238,7 +238,7 @@ const listFieldsByModuleAndTypeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -262,7 +262,7 @@ const listFieldsByTypeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/operations.ts b/sdk/automation/arm-automation/src/operations/operations.ts index 40dbfe26317f..6b541fb7c99d 100644 --- a/sdk/automation/arm-automation/src/operations/operations.ts +++ b/sdk/automation/arm-automation/src/operations/operations.ts @@ -91,7 +91,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], serializer diff --git a/sdk/automation/arm-automation/src/operations/python2Package.ts b/sdk/automation/arm-automation/src/operations/python2Package.ts index 6ec1c1d5b004..ca9ecd4e1612 100644 --- a/sdk/automation/arm-automation/src/operations/python2Package.ts +++ b/sdk/automation/arm-automation/src/operations/python2Package.ts @@ -255,7 +255,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -278,7 +278,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -304,8 +304,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters1, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters27, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -329,8 +329,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters2, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters28, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -354,7 +354,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +375,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/python3Package.ts b/sdk/automation/arm-automation/src/operations/python3Package.ts new file mode 100644 index 000000000000..1ae6e7aa91d5 --- /dev/null +++ b/sdk/automation/arm-automation/src/operations/python3Package.ts @@ -0,0 +1,389 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Python3Package } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AutomationClient } from "../automationClient"; +import { + Module, + Python3PackageListByAutomationAccountNextOptionalParams, + Python3PackageListByAutomationAccountOptionalParams, + Python3PackageDeleteOptionalParams, + Python3PackageGetOptionalParams, + Python3PackageGetResponse, + PythonPackageCreateParameters, + Python3PackageCreateOrUpdateOptionalParams, + Python3PackageCreateOrUpdateResponse, + PythonPackageUpdateParameters, + Python3PackageUpdateOptionalParams, + Python3PackageUpdateResponse, + Python3PackageListByAutomationAccountResponse, + Python3PackageListByAutomationAccountNextResponse +} from "../models"; + +/// +/** Class containing Python3Package operations. */ +export class Python3PackageImpl implements Python3Package { + private readonly client: AutomationClient; + + /** + * Initialize a new instance of the class Python3Package class. + * @param client Reference to the service client + */ + constructor(client: AutomationClient) { + this.client = client; + } + + /** + * Retrieve a list of python 3 packages. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param options The options parameters. + */ + public listByAutomationAccount( + resourceGroupName: string, + automationAccountName: string, + options?: Python3PackageListByAutomationAccountOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByAutomationAccountPagingAll( + resourceGroupName, + automationAccountName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByAutomationAccountPagingPage( + resourceGroupName, + automationAccountName, + options + ); + } + }; + } + + private async *listByAutomationAccountPagingPage( + resourceGroupName: string, + automationAccountName: string, + options?: Python3PackageListByAutomationAccountOptionalParams + ): AsyncIterableIterator { + let result = await this._listByAutomationAccount( + resourceGroupName, + automationAccountName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByAutomationAccountNext( + resourceGroupName, + automationAccountName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByAutomationAccountPagingAll( + resourceGroupName: string, + automationAccountName: string, + options?: Python3PackageListByAutomationAccountOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByAutomationAccountPagingPage( + resourceGroupName, + automationAccountName, + options + )) { + yield* page; + } + } + + /** + * Delete the python 3 package by name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The python package name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + options?: Python3PackageDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, automationAccountName, packageName, options }, + deleteOperationSpec + ); + } + + /** + * Retrieve the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The python package name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + options?: Python3PackageGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, automationAccountName, packageName, options }, + getOperationSpec + ); + } + + /** + * Create or Update the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The name of python package. + * @param parameters The create or update parameters for python package. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + parameters: PythonPackageCreateParameters, + options?: Python3PackageCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + packageName, + parameters, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Update the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The name of python package. + * @param parameters The update parameters for python package. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + parameters: PythonPackageUpdateParameters, + options?: Python3PackageUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + automationAccountName, + packageName, + parameters, + options + }, + updateOperationSpec + ); + } + + /** + * Retrieve a list of python 3 packages. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param options The options parameters. + */ + private _listByAutomationAccount( + resourceGroupName: string, + automationAccountName: string, + options?: Python3PackageListByAutomationAccountOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, automationAccountName, options }, + listByAutomationAccountOperationSpec + ); + } + + /** + * ListByAutomationAccountNext + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param nextLink The nextLink from the previous successful call to the ListByAutomationAccount + * method. + * @param options The options parameters. + */ + private _listByAutomationAccountNext( + resourceGroupName: string, + automationAccountName: string, + nextLink: string, + options?: Python3PackageListByAutomationAccountNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, automationAccountName, nextLink, options }, + listByAutomationAccountNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.packageName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Module + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.packageName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Module + }, + 201: { + bodyMapper: Mappers.Module + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters27, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.packageName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages/{packageName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Module + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters28, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.packageName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python3Packages", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModuleListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModuleListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion4], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.automationAccountName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts index f5ac4e27fbdc..c8694f513016 100644 --- a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts @@ -60,7 +60,7 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations { * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. - * @param runbookContent The runbook draft content. + * @param runbookContent The runbook draft content. * @param options The options parameters. */ async beginReplaceContent( @@ -127,7 +127,8 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations { ); const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" }); await poller.poll(); return poller; @@ -138,7 +139,7 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations { * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. - * @param runbookContent The runbook draft content. + * @param runbookContent The runbook draft content. * @param options The options parameters. */ async beginReplaceContentAndWait( @@ -209,7 +210,7 @@ const getContentOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -242,7 +243,7 @@ const replaceContentOperationSpec: coreClient.OperationSpec = { } }, requestBody: Parameters.runbookContent, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -266,7 +267,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -289,7 +290,7 @@ const undoEditOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/runbookOperations.ts b/sdk/automation/arm-automation/src/operations/runbookOperations.ts index 465cf4289d1a..e53609b324d8 100644 --- a/sdk/automation/arm-automation/src/operations/runbookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookOperations.ts @@ -384,7 +384,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -405,7 +405,7 @@ const getContentOperationSpec: coreClient.OperationSpec = { }, default: {} }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -428,7 +428,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -454,8 +454,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters34, - queryParameters: [Parameters.apiVersion3], + requestBody: Parameters.parameters29, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -479,8 +479,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters35, - queryParameters: [Parameters.apiVersion3], + requestBody: Parameters.parameters30, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -503,7 +503,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -526,7 +526,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -547,7 +547,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts b/sdk/automation/arm-automation/src/operations/scheduleOperations.ts index 760f4f1e9422..eb56536a82cb 100644 --- a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/scheduleOperations.ts @@ -261,8 +261,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters21, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters32, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -286,8 +286,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters22, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters33, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -311,7 +311,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -332,7 +332,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -355,7 +355,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -376,7 +376,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts index 69d1727fef82..d4b72499e3ce 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts @@ -88,7 +88,7 @@ const getByIdOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -113,7 +113,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.filter, - Parameters.apiVersion2, + Parameters.apiVersion4, Parameters.skip1, Parameters.top1 ], diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts index 9808f359a031..324ea4e4eb63 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts @@ -87,7 +87,7 @@ const getByIdOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -112,7 +112,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, queryParameters: [ Parameters.filter, - Parameters.apiVersion2, + Parameters.apiVersion4, Parameters.skip1, Parameters.top1 ], diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts index a0c58b6f0b47..d5375c8d51c4 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts @@ -145,8 +145,8 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters33, - queryParameters: [Parameters.apiVersion2], + requestBody: Parameters.parameters5, + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -174,7 +174,7 @@ const getByNameOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -196,7 +196,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion2], + queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -219,7 +219,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion2], + queryParameters: [Parameters.filter, Parameters.apiVersion1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts index a575a90dd8ad..8bfd6fc8144d 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts @@ -260,8 +260,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters6, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters34, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -285,8 +285,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters7, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters35, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -308,7 +308,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -331,7 +331,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -354,7 +354,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +375,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts index 95737000ec83..dced69617d5c 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts @@ -238,8 +238,8 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters8, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters36, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -264,7 +264,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -288,7 +288,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -310,7 +310,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts index 1a1feded53fa..7e07f081f701 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts @@ -227,7 +227,7 @@ const listBySyncJobOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -251,7 +251,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -275,7 +275,7 @@ const listBySyncJobNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts b/sdk/automation/arm-automation/src/operations/statisticsOperations.ts index 8225b4900bc2..77cbcecc556e 100644 --- a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts +++ b/sdk/automation/arm-automation/src/operations/statisticsOperations.ts @@ -123,7 +123,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion1], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/testJobOperations.ts b/sdk/automation/arm-automation/src/operations/testJobOperations.ts index d8eeb5adff61..810a816a9a31 100644 --- a/sdk/automation/arm-automation/src/operations/testJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/testJobOperations.ts @@ -152,8 +152,8 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters36, - queryParameters: [Parameters.apiVersion3], + requestBody: Parameters.parameters31, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -177,7 +177,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -198,7 +198,7 @@ const resumeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -219,7 +219,7 @@ const stopOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -240,7 +240,7 @@ const suspendOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/testJobStreams.ts b/sdk/automation/arm-automation/src/operations/testJobStreams.ts index 18412c1599fb..dda6c3493766 100644 --- a/sdk/automation/arm-automation/src/operations/testJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/testJobStreams.ts @@ -203,7 +203,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion3], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -227,7 +227,7 @@ const listByTestJobOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion3], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -249,7 +249,7 @@ const listByTestJobNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion3], + queryParameters: [Parameters.filter, Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/usages.ts b/sdk/automation/arm-automation/src/operations/usages.ts index 98cc071dbc0c..3a65767a3301 100644 --- a/sdk/automation/arm-automation/src/operations/usages.ts +++ b/sdk/automation/arm-automation/src/operations/usages.ts @@ -123,7 +123,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion1], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/variableOperations.ts b/sdk/automation/arm-automation/src/operations/variableOperations.ts index 33b2e928339b..e6508a65d994 100644 --- a/sdk/automation/arm-automation/src/operations/variableOperations.ts +++ b/sdk/automation/arm-automation/src/operations/variableOperations.ts @@ -260,8 +260,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters23, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters37, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -285,8 +285,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters24, - queryParameters: [Parameters.apiVersion], + requestBody: Parameters.parameters38, + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -308,7 +308,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -331,7 +331,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -354,7 +354,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -375,7 +375,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [Parameters.apiVersion4], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operations/watcherOperations.ts b/sdk/automation/arm-automation/src/operations/watcherOperations.ts index 4eed5fe90187..d4af9e5affc3 100644 --- a/sdk/automation/arm-automation/src/operations/watcherOperations.ts +++ b/sdk/automation/arm-automation/src/operations/watcherOperations.ts @@ -299,7 +299,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters25, + requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -347,7 +347,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters26, + requestBody: Parameters.parameters4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/automation/arm-automation/src/operations/webhookOperations.ts b/sdk/automation/arm-automation/src/operations/webhookOperations.ts index 1469e799a910..98f3081a3b67 100644 --- a/sdk/automation/arm-automation/src/operations/webhookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/webhookOperations.ts @@ -276,7 +276,7 @@ const generateUriOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -296,7 +296,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -319,7 +319,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion4], + queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -345,8 +345,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters37, - queryParameters: [Parameters.apiVersion4], + requestBody: Parameters.parameters6, + queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -370,8 +370,8 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters38, - queryParameters: [Parameters.apiVersion4], + requestBody: Parameters.parameters7, + queryParameters: [Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -395,7 +395,7 @@ const listByAutomationAccountOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion4], + queryParameters: [Parameters.filter, Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -416,7 +416,7 @@ const listByAutomationAccountNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.filter, Parameters.apiVersion4], + queryParameters: [Parameters.filter, Parameters.apiVersion2], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/automation/arm-automation/src/operationsInterfaces/index.ts b/sdk/automation/arm-automation/src/operationsInterfaces/index.ts index e21e65d7c700..5f0858339baa 100644 --- a/sdk/automation/arm-automation/src/operationsInterfaces/index.ts +++ b/sdk/automation/arm-automation/src/operationsInterfaces/index.ts @@ -8,17 +8,16 @@ export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; -export * from "./python2Package"; export * from "./agentRegistrationInformation"; export * from "./dscNodeOperations"; export * from "./nodeReports"; -export * from "./dscNodeConfigurationOperations"; export * from "./dscCompilationJobOperations"; export * from "./dscCompilationJobStream"; export * from "./nodeCountInformation"; -export * from "./sourceControlOperations"; -export * from "./sourceControlSyncJobOperations"; -export * from "./sourceControlSyncJobStreams"; +export * from "./watcherOperations"; +export * from "./softwareUpdateConfigurations"; +export * from "./webhookOperations"; +export * from "./deletedAutomationAccounts"; export * from "./automationAccountOperations"; export * from "./statisticsOperations"; export * from "./usages"; @@ -27,27 +26,29 @@ export * from "./certificateOperations"; export * from "./connectionOperations"; export * from "./connectionTypeOperations"; export * from "./credentialOperations"; +export * from "./dscConfigurationOperations"; +export * from "./dscNodeConfigurationOperations"; +export * from "./hybridRunbookWorkers"; +export * from "./hybridRunbookWorkerGroupOperations"; +export * from "./jobOperations"; +export * from "./jobStreamOperations"; export * from "./jobScheduleOperations"; export * from "./linkedWorkspaceOperations"; export * from "./activityOperations"; export * from "./moduleOperations"; export * from "./objectDataTypes"; export * from "./fields"; -export * from "./scheduleOperations"; -export * from "./variableOperations"; -export * from "./watcherOperations"; -export * from "./dscConfigurationOperations"; -export * from "./jobOperations"; -export * from "./jobStreamOperations"; export * from "./operations"; -export * from "./softwareUpdateConfigurations"; -export * from "./softwareUpdateConfigurationRuns"; -export * from "./softwareUpdateConfigurationMachineRuns"; +export * from "./python2Package"; +export * from "./python3Package"; export * from "./runbookDraftOperations"; export * from "./runbookOperations"; export * from "./testJobStreams"; export * from "./testJobOperations"; -export * from "./webhookOperations"; -export * from "./hybridRunbookWorkers"; -export * from "./deletedAutomationAccounts"; -export * from "./hybridRunbookWorkerGroupOperations"; +export * from "./scheduleOperations"; +export * from "./softwareUpdateConfigurationMachineRuns"; +export * from "./softwareUpdateConfigurationRuns"; +export * from "./sourceControlOperations"; +export * from "./sourceControlSyncJobOperations"; +export * from "./sourceControlSyncJobStreams"; +export * from "./variableOperations"; diff --git a/sdk/automation/arm-automation/src/operationsInterfaces/python3Package.ts b/sdk/automation/arm-automation/src/operationsInterfaces/python3Package.ts new file mode 100644 index 000000000000..6d670fdd0a55 --- /dev/null +++ b/sdk/automation/arm-automation/src/operationsInterfaces/python3Package.ts @@ -0,0 +1,94 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + Module, + Python3PackageListByAutomationAccountOptionalParams, + Python3PackageDeleteOptionalParams, + Python3PackageGetOptionalParams, + Python3PackageGetResponse, + PythonPackageCreateParameters, + Python3PackageCreateOrUpdateOptionalParams, + Python3PackageCreateOrUpdateResponse, + PythonPackageUpdateParameters, + Python3PackageUpdateOptionalParams, + Python3PackageUpdateResponse +} from "../models"; + +/// +/** Interface representing a Python3Package. */ +export interface Python3Package { + /** + * Retrieve a list of python 3 packages. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param options The options parameters. + */ + listByAutomationAccount( + resourceGroupName: string, + automationAccountName: string, + options?: Python3PackageListByAutomationAccountOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete the python 3 package by name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The python package name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + options?: Python3PackageDeleteOptionalParams + ): Promise; + /** + * Retrieve the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The python package name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + options?: Python3PackageGetOptionalParams + ): Promise; + /** + * Create or Update the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The name of python package. + * @param parameters The create or update parameters for python package. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + parameters: PythonPackageCreateParameters, + options?: Python3PackageCreateOrUpdateOptionalParams + ): Promise; + /** + * Update the python 3 package identified by package name. + * @param resourceGroupName Name of an Azure Resource group. + * @param automationAccountName The name of the automation account. + * @param packageName The name of python package. + * @param parameters The update parameters for python package. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + automationAccountName: string, + packageName: string, + parameters: PythonPackageUpdateParameters, + options?: Python3PackageUpdateOptionalParams + ): Promise; +} diff --git a/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts b/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts index 6d416119dfaf..99238e47c0d0 100644 --- a/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts +++ b/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts @@ -38,7 +38,7 @@ export interface RunbookDraftOperations { * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. - * @param runbookContent The runbook draft content. + * @param runbookContent The runbook draft content. * @param options The options parameters. */ beginReplaceContent( @@ -58,7 +58,7 @@ export interface RunbookDraftOperations { * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. - * @param runbookContent The runbook draft content. + * @param runbookContent The runbook draft content. * @param options The options parameters. */ beginReplaceContentAndWait( diff --git a/sdk/automation/arm-automation/test/sampleTest.ts b/sdk/automation/arm-automation/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/automation/arm-automation/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +});