diff --git a/sdk/automation/arm-automation/CHANGELOG.md b/sdk/automation/arm-automation/CHANGELOG.md
index ef4be05037b9..96eef61147be 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-10-28)
-## 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..6886a6c7d8b3 100644
--- a/sdk/automation/arm-automation/_meta.json
+++ b/sdk/automation/arm-automation/_meta.json
@@ -1,8 +1,8 @@
{
- "commit": "405811c51aa09803caedfe17fd305e110db1ca5e",
+ "commit": "fffa955e35ff4a3a2bc97252325c615f55c23e18",
"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..98557f0d7547 100644
--- a/sdk/automation/arm-automation/review/arm-automation.api.md
+++ b/sdk/automation/arm-automation/review/arm-automation.api.md
@@ -4,8 +4,6 @@
```ts
-///
-
import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import * as coreRestPipeline from '@azure/core-rest-pipeline';
@@ -327,6 +325,8 @@ export class AutomationClient extends coreClient.ServiceClient {
// (undocumented)
python2Package: Python2Package;
// (undocumented)
+ python3Package: Python3Package;
+ // (undocumented)
runbookDraftOperations: RunbookDraftOperations;
// (undocumented)
runbookOperations: RunbookOperations;
@@ -460,12 +460,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 +529,7 @@ export interface ConnectionOperations {
}
// @public
-export interface ConnectionType {
+interface ConnectionType_2 {
readonly creationTime?: Date;
description?: string;
readonly fieldDefinitions?: {
@@ -547,6 +541,7 @@ export interface ConnectionType {
readonly name?: string;
readonly type?: string;
}
+export { ConnectionType_2 as ConnectionType }
// @public
export interface ConnectionTypeAssociationProperty {
@@ -567,7 +562,7 @@ export interface ConnectionTypeCreateOrUpdateParameters {
}
// @public
-export type ConnectionTypeCreateOrUpdateResponse = ConnectionType;
+export type ConnectionTypeCreateOrUpdateResponse = ConnectionType_2;
// @public
export interface ConnectionTypeDeleteOptionalParams extends coreClient.OperationOptions {
@@ -578,7 +573,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 +592,7 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe
// @public
export interface ConnectionTypeListResult {
nextLink?: string;
- value?: ConnectionType[];
+ value?: ConnectionType_2[];
}
// @public
@@ -605,7 +600,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 +764,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 +929,7 @@ export interface DscConfigurationGetContentOptionalParams extends coreClient.Ope
// @public
export type DscConfigurationGetContentResponse = {
- body: string;
+ body: coreRestPipeline.RequestBodyType;
};
// @public
@@ -1479,7 +1480,7 @@ export interface Identity {
readonly tenantId?: string;
type?: ResourceIdentityType;
userAssignedIdentities?: {
- [propertyName: string]: ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties;
+ [propertyName: string]: UserAssignedIdentitiesProperties;
};
}
@@ -1939,6 +1940,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 +2085,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 +2182,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 +2301,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 +2318,12 @@ export interface OperationListResult {
value?: Operation[];
}
+// @public
+export interface OperationPropertiesFormatServiceSpecification {
+ logSpecifications?: LogSpecification[];
+ metricSpecifications?: MetricSpecification[];
+}
+
// @public
export interface Operations {
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator;
@@ -2430,6 +2477,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;
@@ -2566,11 +2661,11 @@ export type RunbookDraftGetResponse = RunbookDraft;
// @public
export interface RunbookDraftOperations {
- beginReplaceContent(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise, RunbookDraftReplaceContentResponse>>;
- beginReplaceContentAndWait(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise;
+ beginReplaceContent(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise, void>>;
+ beginReplaceContentAndWait(resourceGroupName: string, automationAccountName: string, runbookName: string, runbookContent: string, options?: RunbookDraftReplaceContentOptionalParams): Promise;
get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftGetOptionalParams): Promise;
getContent(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftGetContentOptionalParams): Promise;
- undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftUndoEditOptionalParams): Promise;
+ undoEdit(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RunbookDraftUndoEditOptionalParams): Promise;
}
// @public
@@ -2584,19 +2679,10 @@ export interface RunbookDraftReplaceContentOptionalParams extends coreClient.Ope
updateIntervalInMs?: number;
}
-// @public
-export type RunbookDraftReplaceContentResponse = {
- blobBody?: Promise;
- readableStreamBody?: NodeJS.ReadableStream;
-};
-
// @public
export interface RunbookDraftUndoEditOptionalParams extends coreClient.OperationOptions {
}
-// @public
-export type RunbookDraftUndoEditResponse = RunbookDraftUndoEditResult;
-
// @public
export interface RunbookDraftUndoEditResult {
// (undocumented)
@@ -3485,6 +3571,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..1df520c40ff8 100644
--- a/sdk/automation/arm-automation/src/automationClient.ts
+++ b/sdk/automation/arm-automation/src/automationClient.ts
@@ -12,17 +12,17 @@ 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,
+ Python3PackageImpl,
AutomationAccountOperationsImpl,
StatisticsOperationsImpl,
UsagesImpl,
@@ -31,45 +31,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,
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,
+ Python3Package,
AutomationAccountOperations,
StatisticsOperations,
Usages,
@@ -78,30 +79,31 @@ 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,
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,23 @@ 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.python3Package = new Python3PackageImpl(this);
this.automationAccountOperations = new AutomationAccountOperationsImpl(
this
);
@@ -231,38 +229,43 @@ 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.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,17 @@ 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;
+ python3Package: Python3Package;
automationAccountOperations: AutomationAccountOperations;
statisticsOperations: StatisticsOperations;
usages: Usages;
@@ -305,30 +308,31 @@ 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;
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.parameters28,
+ 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..b1c87f645f89 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,384 @@ 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;
+}
+
+/** 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;
}
/** The parameters supplied to the update automation account operation. */
@@ -660,11 +765,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 +1016,227 @@ 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;
+}
+
+/** 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 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 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 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 response model for the list connection type operation. */
-export interface ConnectionTypeListResult {
- /** Gets or sets a list of connection types. */
- value?: ConnectionType[];
+/** 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 +1272,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. */
@@ -1098,244 +1358,62 @@ export interface ActivityParameter {
/** Definition of the activity parameter validation set. */
export interface ActivityParameterValidationSet {
- /** Gets or sets the name of the activity parameter validation set member. */
- memberValue?: string;
-}
-
-/** Definition of the activity output type. */
-export interface ActivityOutputType {
- /** Gets or sets the name of the activity output type. */
- name?: string;
- /** Gets or sets the type of the activity output type. */
- type?: string;
-}
-
-/** The response model for the list activity operation. */
-export interface ActivityListResult {
- /** Gets or sets a list of activities. */
- value?: Activity[];
- /** Gets or sets the next link. */
- 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;
+ /** Gets or sets the name of the activity parameter validation set member. */
+ memberValue?: string;
}
-export interface WatcherUpdateParameters {
- /** Gets or sets the name of the resource. */
+/** Definition of the activity output type. */
+export interface ActivityOutputType {
+ /** Gets or sets the name of the activity output type. */
name?: string;
- /** Gets or sets the frequency at which the watcher is invoked. */
- executionFrequencyInSeconds?: number;
+ /** Gets or sets the type of the activity output type. */
+ type?: string;
}
-/** The response model for the list watcher operation. */
-export interface WatcherListResult {
- /** Gets or sets a list of watchers. */
- value?: Watcher[];
+/** The response model for the list activity operation. */
+export interface ActivityListResult {
+ /** Gets or sets a list of activities. */
+ value?: Activity[];
/** 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;
-}
-
-/** 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;
-}
-
-/** 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;
+ /** Gets or sets the module content link. */
+ contentLink?: ContentLink;
}
-/** 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 +1428,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 +1442,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 +1506,223 @@ 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;
-}
-
-/** 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;
-}
-
-/** 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;
}
-/** 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 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;
}
-/** 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 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;
}
-/** 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 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;
}
-/** 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;
+/** 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 schedule parameters. */
-export interface SUCScheduleProperties {
- /** Gets or sets the start time of the schedule. */
+/** 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 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 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 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 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 +1732,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 +1749,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,261 +1831,267 @@ 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;
}
+/** The response model for the undo edit runbook operation. */
+export interface RunbookDraftUndoEditResult {
+ statusCode?: HttpStatusCode;
+ requestId?: string;
+}
+
/** The parameters supplied to the create or update draft runbook properties. */
export interface RunbookCreateOrUpdateDraftProperties {
/** Gets or sets verbose log option. */
@@ -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,28 +2498,73 @@ 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;
+ /** Gets or sets the description. */
+ description?: 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. */
+ 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;
- /** Details of the user who last modified the Webhook */
- lastModifiedBy?: string;
/** Gets or sets the description. */
description?: string;
}
@@ -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,191 @@ 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"
+/** 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 SourceType. \
- * {@link KnownSourceType} can be used interchangeably with SourceType,
+ * 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
- * **VsoGit** \
- * **VsoTfvc** \
- * **GitHub**
+ * **Unclassified** \
+ * **Critical** \
+ * **Security** \
+ * **UpdateRollup** \
+ * **FeaturePack** \
+ * **ServicePack** \
+ * **Definition** \
+ * **Tools** \
+ * **Updates**
*/
-export type SourceType = string;
+export type WindowsUpdateClasses = string;
-/** Known values of {@link TokenType} that the service accepts. */
-export enum KnownTokenType {
- /** PersonalAccessToken */
- PersonalAccessToken = "PersonalAccessToken",
- /** Oauth */
- Oauth = "Oauth"
+/** 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 TokenType. \
- * {@link KnownTokenType} can be used interchangeably with TokenType,
+ * 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
- * **PersonalAccessToken** \
- * **Oauth**
+ * **Unclassified** \
+ * **Critical** \
+ * **Security** \
+ * **Other**
*/
-export type TokenType = string;
+export type LinuxUpdateClasses = 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 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 ProvisioningState. \
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
+ * 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
- * **Completed** \
- * **Failed** \
- * **Running**
+ * **OneTime** \
+ * **Day** \
+ * **Hour** \
+ * **Week** \
+ * **Month** \
+ * **Minute**: The minimum allowed interval for Minute schedules is 15 minutes.
*/
-export type ProvisioningState = string;
+export type ScheduleFrequency = string;
-/** Known values of {@link SyncType} that the service accepts. */
-export enum KnownSyncType {
- /** PartialSync */
- PartialSync = "PartialSync",
- /** FullSync */
- FullSync = "FullSync"
+/** 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 SyncType. \
- * {@link KnownSyncType} can be used interchangeably with SyncType,
+ * 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
- * **PartialSync** \
- * **FullSync**
+ * **Monday** \
+ * **Tuesday** \
+ * **Wednesday** \
+ * **Thursday** \
+ * **Friday** \
+ * **Saturday** \
+ * **Sunday**
*/
-export type SyncType = string;
+export type ScheduleDay = string;
-/** Known values of {@link StreamType} that the service accepts. */
-export enum KnownStreamType {
- /** Error */
- Error = "Error",
- /** Output */
- Output = "Output"
+/** 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 StreamType. \
- * {@link KnownStreamType} can be used interchangeably with StreamType,
+ * 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
- * **Error** \
- * **Output**
+ * **Created** \
+ * **Creating** \
+ * **StartingImportModuleRunbook** \
+ * **RunningImportModuleRunbook** \
+ * **ContentRetrieved** \
+ * **ContentDownloaded** \
+ * **ContentValidated** \
+ * **ConnectionTypeImported** \
+ * **ContentStored** \
+ * **ModuleDataStored** \
+ * **ActivitiesStored** \
+ * **ModuleImportRunbookComplete** \
+ * **Succeeded** \
+ * **Failed** \
+ * **Cancelled** \
+ * **Updating**
*/
-export type StreamType = string;
+export type ModuleProvisioningState = string;
/** Known values of {@link SkuNameEnum} that the service accepts. */
export enum KnownSkuNameEnum {
@@ -3024,71 +3144,137 @@ 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"
+/** Known values of {@link ContentSourceType} that the service accepts. */
+export enum KnownContentSourceType {
+ /** EmbeddedContent */
+ EmbeddedContent = "embeddedContent",
+ /** Uri */
+ Uri = "uri"
}
/**
- * Defines values for ScheduleFrequency. \
- * {@link KnownScheduleFrequency} can be used interchangeably with ScheduleFrequency,
+ * 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
- * **OneTime** \
- * **Day** \
- * **Hour** \
- * **Week** \
- * **Month** \
- * **Minute**: The minimum allowed interval for Minute schedules is 15 minutes.
+ * **embeddedContent** \
+ * **uri**
*/
-export type ScheduleFrequency = string;
+export type ContentSourceType = 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 DscConfigurationState} that the service accepts. */
+export enum KnownDscConfigurationState {
+ /** New */
+ New = "New",
+ /** Edit */
+ Edit = "Edit",
+ /** Published */
+ Published = "Published"
}
/**
- * Defines values for ScheduleDay. \
- * {@link KnownScheduleDay} can be used interchangeably with ScheduleDay,
+ * Defines values for DscConfigurationState. \
+ * {@link KnownDscConfigurationState} can be used interchangeably with DscConfigurationState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
- * **Monday** \
- * **Tuesday** \
- * **Wednesday** \
- * **Thursday** \
- * **Friday** \
- * **Saturday** \
- * **Sunday**
+ * **New** \
+ * **Edit** \
+ * **Published**
+ */
+export type DscConfigurationState = string;
+
+/** Known values of {@link WorkerType} that the service accepts. */
+export enum KnownWorkerType {
+ /** HybridV1 */
+ HybridV1 = "HybridV1",
+ /** HybridV2 */
+ HybridV2 = "HybridV2"
+}
+
+/**
+ * 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
+ * **HybridV1** \
+ * **HybridV2**
+ */
+export type WorkerType = string;
+
+/** 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 GraphRunbookType} that the service accepts. */
+export enum KnownGraphRunbookType {
+ /** GraphPowerShell */
+ GraphPowerShell = "GraphPowerShell",
+ /** GraphPowerShellWorkflow */
+ GraphPowerShellWorkflow = "GraphPowerShellWorkflow"
+}
+
+/**
+ * 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
+ * **GraphPowerShell** \
+ * **GraphPowerShellWorkflow**
+ */
+export type GraphRunbookType = string;
+
+/** Known values of {@link RunbookTypeEnum} that the service accepts. */
+export enum KnownRunbookTypeEnum {
+ /** Script */
+ Script = "Script",
+ /** Graph */
+ Graph = "Graph",
+ /** PowerShellWorkflow */
+ PowerShellWorkflow = "PowerShellWorkflow",
+ /** PowerShell */
+ PowerShell = "PowerShell",
+ /** GraphPowerShellWorkflow */
+ GraphPowerShellWorkflow = "GraphPowerShellWorkflow",
+ /** GraphPowerShell */
+ GraphPowerShell = "GraphPowerShell",
+ /** Python2 */
+ Python2 = "Python2",
+ /** Python3 */
+ Python3 = "Python3"
+}
+
+/**
+ * Defines values for RunbookTypeEnum. \
+ * {@link KnownRunbookTypeEnum} can be used interchangeably with RunbookTypeEnum,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Script** \
+ * **Graph** \
+ * **PowerShellWorkflow** \
+ * **PowerShell** \
+ * **GraphPowerShellWorkflow** \
+ * **GraphPowerShell** \
+ * **Python2** \
+ * **Python3**
*/
-export type ScheduleDay = string;
+export type RunbookTypeEnum = string;
-/** Known values of {@link DscConfigurationState} that the service accepts. */
-export enum KnownDscConfigurationState {
+/** Known values of {@link RunbookState} that the service accepts. */
+export enum KnownRunbookState {
/** New */
New = "New",
/** Edit */
@@ -3098,96 +3284,111 @@ export enum KnownDscConfigurationState {
}
/**
- * Defines values for DscConfigurationState. \
- * {@link KnownDscConfigurationState} can be used interchangeably with DscConfigurationState,
+ * Defines values for RunbookState. \
+ * {@link KnownRunbookState} can be used interchangeably with RunbookState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **New** \
* **Edit** \
* **Published**
*/
-export type DscConfigurationState = string;
+export type RunbookState = string;
-/** Known values of {@link GraphRunbookType} that the service accepts. */
-export enum KnownGraphRunbookType {
- /** GraphPowerShell */
- GraphPowerShell = "GraphPowerShell",
- /** GraphPowerShellWorkflow */
- GraphPowerShellWorkflow = "GraphPowerShellWorkflow"
+/** Known values of {@link SourceType} that the service accepts. */
+export enum KnownSourceType {
+ /** VsoGit */
+ VsoGit = "VsoGit",
+ /** VsoTfvc */
+ VsoTfvc = "VsoTfvc",
+ /** GitHub */
+ GitHub = "GitHub"
}
/**
- * Defines values for GraphRunbookType. \
- * {@link KnownGraphRunbookType} can be used interchangeably with GraphRunbookType,
+ * 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
- * **GraphPowerShell** \
- * **GraphPowerShellWorkflow**
+ * **VsoGit** \
+ * **VsoTfvc** \
+ * **GitHub**
*/
-export type GraphRunbookType = string;
+export type SourceType = 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 TokenType} that the service accepts. */
+export enum KnownTokenType {
+ /** PersonalAccessToken */
+ PersonalAccessToken = "PersonalAccessToken",
+ /** Oauth */
+ Oauth = "Oauth"
}
/**
- * Defines values for WindowsUpdateClasses. \
- * {@link KnownWindowsUpdateClasses} can be used interchangeably with WindowsUpdateClasses,
+ * 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
- * **Unclassified** \
- * **Critical** \
- * **Security** \
- * **UpdateRollup** \
- * **FeaturePack** \
- * **ServicePack** \
- * **Definition** \
- * **Tools** \
- * **Updates**
+ * **PersonalAccessToken** \
+ * **Oauth**
*/
-export type WindowsUpdateClasses = string;
+export type TokenType = 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 ProvisioningState} that the service accepts. */
+export enum KnownProvisioningState {
+ /** Completed */
+ Completed = "Completed",
+ /** Failed */
+ Failed = "Failed",
+ /** Running */
+ Running = "Running"
}
/**
- * Defines values for LinuxUpdateClasses. \
- * {@link KnownLinuxUpdateClasses} can be used interchangeably with LinuxUpdateClasses,
+ * 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
- * **Unclassified** \
- * **Critical** \
- * **Security** \
- * **Other**
+ * **Completed** \
+ * **Failed** \
+ * **Running**
*/
-export type LinuxUpdateClasses = string;
+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;
/** Known values of {@link HttpStatusCode} that the service accepts. */
export enum KnownHttpStatusCode {
@@ -3328,130 +3529,23 @@ export enum KnownHttpStatusCode {
* **LengthRequired** \
* **PreconditionFailed** \
* **RequestEntityTooLarge** \
- * **RequestUriTooLong** \
- * **UnsupportedMediaType** \
- * **RequestedRangeNotSatisfiable** \
- * **ExpectationFailed** \
- * **UpgradeRequired** \
- * **InternalServerError** \
- * **NotImplemented** \
- * **BadGateway** \
- * **ServiceUnavailable** \
- * **GatewayTimeout** \
- * **HttpVersionNotSupported**
- */
-export type HttpStatusCode = string;
-
-/** Known values of {@link RunbookTypeEnum} that the service accepts. */
-export enum KnownRunbookTypeEnum {
- /** Script */
- Script = "Script",
- /** Graph */
- Graph = "Graph",
- /** PowerShellWorkflow */
- PowerShellWorkflow = "PowerShellWorkflow",
- /** PowerShell */
- PowerShell = "PowerShell",
- /** GraphPowerShellWorkflow */
- GraphPowerShellWorkflow = "GraphPowerShellWorkflow",
- /** GraphPowerShell */
- GraphPowerShell = "GraphPowerShell",
- /** Python2 */
- Python2 = "Python2",
- /** Python3 */
- Python3 = "Python3"
-}
-
-/**
- * Defines values for RunbookTypeEnum. \
- * {@link KnownRunbookTypeEnum} can be used interchangeably with RunbookTypeEnum,
- * this enum contains the known values that the service supports.
- * ### Known values supported by the service
- * **Script** \
- * **Graph** \
- * **PowerShellWorkflow** \
- * **PowerShell** \
- * **GraphPowerShellWorkflow** \
- * **GraphPowerShell** \
- * **Python2** \
- * **Python3**
- */
-export type RunbookTypeEnum = string;
-
-/** Known values of {@link RunbookState} that the service accepts. */
-export enum KnownRunbookState {
- /** New */
- New = "New",
- /** Edit */
- Edit = "Edit",
- /** Published */
- Published = "Published"
-}
-
-/**
- * Defines values for RunbookState. \
- * {@link KnownRunbookState} can be used interchangeably with RunbookState,
- * this enum contains the known values that the service supports.
- * ### Known values supported by the service
- * **New** \
- * **Edit** \
- * **Published**
- */
-export type RunbookState = string;
-
-/** Known values of {@link WorkerType} that the service accepts. */
-export enum KnownWorkerType {
- /** HybridV1 */
- HybridV1 = "HybridV1",
- /** HybridV2 */
- HybridV2 = "HybridV2"
-}
-
-/**
- * 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
- * **HybridV1** \
- * **HybridV2**
- */
-export type WorkerType = string;
-
-/** 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**
+ * **RequestUriTooLong** \
+ * **UnsupportedMediaType** \
+ * **RequestedRangeNotSatisfiable** \
+ * **ExpectationFailed** \
+ * **UpgradeRequired** \
+ * **InternalServerError** \
+ * **NotImplemented** \
+ * **BadGateway** \
+ * **ServiceUnavailable** \
+ * **GatewayTimeout** \
+ * **HttpVersionNotSupported**
*/
-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 HttpStatusCode = 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 {}
@@ -3645,58 +3696,6 @@ export interface NodeReportsListByNodeNextOptionalParams
/** 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;
-}
-
-/** Contains response data for the listByAutomationAccount operation. */
-export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigurationListResult;
-
-/** Optional parameters. */
-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 DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult;
-
/** Optional parameters. */
export interface DscCompilationJobCreateOptionalParams
extends coreClient.OperationOptions {
@@ -3758,110 +3757,195 @@ 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 {
+ /** Identifies this specific client request. */
+ clientRequestId?: string;
+}
+
+/** Optional parameters. */
+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 listByAutomationAccount operation. */
-export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlSyncJobListResult;
+/** Contains response data for the list operation. */
+export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult;
/** Optional parameters. */
-export interface SourceControlSyncJobListByAutomationAccountNextOptionalParams
+export interface WebhookGenerateUriOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the generateUri operation. */
+export type WebhookGenerateUriResponse = {
+ /** The parsed response body. */
+ body: string;
+};
+
+/** Optional parameters. */
+export interface WebhookDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface WebhookGetOptionalParams extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type WebhookGetResponse = Webhook;
+
+/** Optional parameters. */
+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 listByAutomationAccountNext operation. */
-export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceControlSyncJobListResult;
+/** Contains response data for the listByAutomationAccount operation. */
+export type WebhookListByAutomationAccountResponse = WebhookListResult;
/** Optional parameters. */
-export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams
+export interface WebhookListByAutomationAccountNextOptionalParams
extends coreClient.OperationOptions {
/** The filter to apply on the operation. */
filter?: string;
}
-/** Contains response data for the listBySyncJob operation. */
-export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSyncJobStreamsListBySyncJob;
+/** Contains response data for the listByAutomationAccountNext operation. */
+export type WebhookListByAutomationAccountNextResponse = WebhookListResult;
/** Optional parameters. */
-export interface SourceControlSyncJobStreamsGetOptionalParams
+export interface DeletedAutomationAccountsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listBySubscription operation. */
+export type DeletedAutomationAccountsListBySubscriptionResponse = DeletedAutomationAccountListResult;
+
+/** 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 SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamById;
+export type Python3PackageGetResponse = Module;
/** Optional parameters. */
-export interface SourceControlSyncJobStreamsListBySyncJobNextOptionalParams
- extends coreClient.OperationOptions {
- /** The filter to apply on the operation. */
- filter?: string;
-}
+export interface Python3PackageCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type Python3PackageCreateOrUpdateResponse = Module;
+
+/** Optional parameters. */
+export interface Python3PackageUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the update operation. */
+export type Python3PackageUpdateResponse = Module;
+
+/** Optional parameters. */
+export interface Python3PackageListByAutomationAccountOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listByAutomationAccount operation. */
+export type Python3PackageListByAutomationAccountResponse = ModuleListResult;
+
+/** Optional parameters. */
+export interface Python3PackageListByAutomationAccountNextOptionalParams
+ extends coreClient.OperationOptions {}
-/** Contains response data for the listBySyncJobNext operation. */
-export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControlSyncJobStreamsListBySyncJob;
+/** Contains response data for the listByAutomationAccountNext operation. */
+export type Python3PackageListByAutomationAccountNextResponse = ModuleListResult;
/** Optional parameters. */
export interface AutomationAccountUpdateOptionalParams
@@ -4090,340 +4174,224 @@ export interface CredentialListByAutomationAccountNextOptionalParams
export type CredentialListByAutomationAccountNextResponse = CredentialListResult;
/** 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
+export interface DscConfigurationDeleteOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the get operation. */
-export type LinkedWorkspaceGetResponse = LinkedWorkspace;
-
/** Optional parameters. */
-export interface ActivityGetOptionalParams
+export interface DscConfigurationGetOptionalParams
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;
+export type DscConfigurationGetResponse = DscConfiguration;
/** Optional parameters. */
-export interface ModuleDeleteOptionalParams
+export interface DscConfigurationCreateOrUpdate$textOptionalParams
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
+export interface DscConfigurationCreateOrUpdate$jsonOptionalParams
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;
+export type DscConfigurationCreateOrUpdateResponse = DscConfiguration;
/** Optional parameters. */
-export interface ScheduleCreateOrUpdateOptionalParams
- extends coreClient.OperationOptions {}
-
-/** Contains response data for the createOrUpdate operation. */
-export type ScheduleCreateOrUpdateResponse = Schedule;
+export interface DscConfigurationUpdate$textOptionalParams
+ extends coreClient.OperationOptions {
+ /** The create or update parameters for configuration. */
+ parameters?: string;
+}
/** Optional parameters. */
-export interface ScheduleUpdateOptionalParams
- extends coreClient.OperationOptions {}
+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 ScheduleUpdateResponse = Schedule;
+export type DscConfigurationUpdateResponse = DscConfiguration;
/** Optional parameters. */
-export interface ScheduleGetOptionalParams
+export interface DscConfigurationGetContentOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the get operation. */
-export type ScheduleGetResponse = Schedule;
-
-/** Optional parameters. */
-export interface ScheduleDeleteOptionalParams
- 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;
-
-/** Optional parameters. */
-export interface WatcherCreateOrUpdateOptionalParams
- 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;
+export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeConfigurationListResult;
/** Optional parameters. */
-export interface WatcherUpdateOptionalParams
+export interface HybridRunbookWorkersDeleteOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the update operation. */
-export type WatcherUpdateResponse = Watcher;
-
/** Optional parameters. */
-export interface WatcherDeleteOptionalParams
+export interface HybridRunbookWorkersGetOptionalParams
extends coreClient.OperationOptions {}
+/** Contains response data for the get operation. */
+export type HybridRunbookWorkersGetResponse = HybridRunbookWorker;
+
/** Optional parameters. */
-export interface WatcherStartOptionalParams
+export interface HybridRunbookWorkersCreateOptionalParams
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
@@ -4546,109 +4514,182 @@ export interface JobStreamListByJobNextOptionalParams
export type JobStreamListByJobNextResponse = JobStreamListResult;
/** Optional parameters. */
-export interface OperationsListOptionalParams
+export interface JobScheduleDeleteOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the list operation. */
-export type OperationsListResponse = OperationListResult;
-
/** Optional parameters. */
-export interface ConvertGraphRunbookContentOptionalParams
+export interface JobScheduleGetOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the convertGraphRunbookContent operation. */
-export type ConvertGraphRunbookContentResponse = GraphicalRunbookContent;
+/** Contains response data for the get operation. */
+export type JobScheduleGetResponse = JobSchedule;
/** Optional parameters. */
-export interface SoftwareUpdateConfigurationsCreateOptionalParams
- extends coreClient.OperationOptions {
- /** Identifies this specific client request. */
- clientRequestId?: string;
-}
+export interface JobScheduleCreateOptionalParams
+ extends coreClient.OperationOptions {}
/** Contains response data for the create operation. */
-export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfiguration;
+export type JobScheduleCreateResponse = JobSchedule;
/** Optional parameters. */
-export interface SoftwareUpdateConfigurationsGetByNameOptionalParams
+export interface JobScheduleListByAutomationAccountOptionalParams
extends coreClient.OperationOptions {
- /** Identifies this specific client request. */
- clientRequestId?: string;
+ /** The filter to apply on the operation. */
+ filter?: string;
}
-/** Contains response data for the getByName operation. */
-export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfiguration;
-
-/** Optional parameters. */
-export interface SoftwareUpdateConfigurationsDeleteOptionalParams
- extends coreClient.OperationOptions {
- /** Identifies this specific client request. */
- clientRequestId?: string;
-}
+/** Contains response data for the listByAutomationAccount operation. */
+export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult;
/** Optional parameters. */
-export interface SoftwareUpdateConfigurationsListOptionalParams
+export interface JobScheduleListByAutomationAccountNextOptionalParams
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 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 {}
+
/** Contains response data for the list operation. */
-export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurationListResult;
+export type OperationsListResponse = OperationListResult;
/** Optional parameters. */
-export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams
- extends coreClient.OperationOptions {
- /** Identifies this specific client request. */
- clientRequestId?: string;
-}
+export interface ConvertGraphRunbookContentOptionalParams
+ extends coreClient.OperationOptions {}
-/** Contains response data for the getById operation. */
-export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfigurationRun;
+/** Contains response data for the convertGraphRunbookContent operation. */
+export type ConvertGraphRunbookContentResponse = GraphicalRunbookContent;
/** 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 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 list operation. */
-export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigurationRunListResult;
+/** Contains response data for the createOrUpdate operation. */
+export type Python2PackageCreateOrUpdateResponse = Module;
/** Optional parameters. */
-export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams
- extends coreClient.OperationOptions {
- /** Identifies this specific client request. */
- clientRequestId?: string;
-}
+export interface Python2PackageUpdateOptionalParams
+ extends coreClient.OperationOptions {}
-/** Contains response data for the getById operation. */
-export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpdateConfigurationMachineRun;
+/** Contains response data for the update operation. */
+export type Python2PackageUpdateResponse = Module;
/** 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 Python2PackageListByAutomationAccountOptionalParams
+ extends coreClient.OperationOptions {}
-/** Contains response data for the list operation. */
-export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateConfigurationMachineRunListResult;
+/** 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 RunbookDraftGetContentOptionalParams
@@ -4669,24 +4710,6 @@ export interface RunbookDraftReplaceContentOptionalParams
resumeFrom?: string;
}
-/** Contains response data for the replaceContent operation. */
-export type RunbookDraftReplaceContentResponse = {
- /**
- * BROWSER ONLY
- *
- * The response body as a browser Blob.
- * Always `undefined` in node.js.
- */
- blobBody?: Promise;
- /**
- * NODEJS ONLY
- *
- * The response body as a node.js Readable stream.
- * Always `undefined` in the browser.
- */
- readableStreamBody?: NodeJS.ReadableStream;
-};
-
/** Optional parameters. */
export interface RunbookDraftGetOptionalParams
extends coreClient.OperationOptions {}
@@ -4698,9 +4721,6 @@ export type RunbookDraftGetResponse = RunbookDraft;
export interface RunbookDraftUndoEditOptionalParams
extends coreClient.OperationOptions {}
-/** Contains response data for the undoEdit operation. */
-export type RunbookDraftUndoEditResponse = RunbookDraftUndoEditResult;
-
/** Optional parameters. */
export interface RunbookPublishOptionalParams
extends coreClient.OperationOptions {
@@ -4814,152 +4834,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..dcba88a024af 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,71 +950,458 @@ 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"
- }
- }
+ name: "Composite",
+ className: "ErrorResponse"
}
},
- nextLink: {
- serializedName: "nextLink",
+ creationTime: {
+ serializedName: "properties.creationTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ createdBy: {
+ serializedName: "properties.createdBy",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedBy: {
+ serializedName: "properties.lastModifiedBy",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ tasks: {
+ serializedName: "properties.tasks",
+ type: {
+ name: "Composite",
+ className: "SoftwareUpdateConfigurationTasks"
+ }
+ }
+ }
+ }
+};
+
+export const UpdateConfiguration: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "UpdateConfiguration",
+ 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",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ nonAzureComputerNames: {
+ serializedName: "nonAzureComputerNames",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ targets: {
+ serializedName: "targets",
+ type: {
+ name: "Composite",
+ className: "TargetProperties"
+ }
+ }
+ }
+ }
+};
+
+export const WindowsProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "WindowsProperties",
+ modelProperties: {
+ includedUpdateClassifications: {
+ serializedName: "includedUpdateClassifications",
+ type: {
+ name: "String"
+ }
+ },
+ excludedKbNumbers: {
+ serializedName: "excludedKbNumbers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ includedKbNumbers: {
+ serializedName: "includedKbNumbers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ rebootSetting: {
+ serializedName: "rebootSetting",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const LinuxProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "LinuxProperties",
+ modelProperties: {
+ includedPackageClassifications: {
+ serializedName: "includedPackageClassifications",
+ type: {
+ name: "String"
+ }
+ },
+ excludedPackageNameMasks: {
+ serializedName: "excludedPackageNameMasks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ includedPackageNameMasks: {
+ serializedName: "includedPackageNameMasks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ rebootSetting: {
+ serializedName: "rebootSetting",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TargetProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TargetProperties",
+ modelProperties: {
+ azureQueries: {
+ serializedName: "azureQueries",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureQueryProperties"
+ }
+ }
+ }
+ },
+ nonAzureQueries: {
+ serializedName: "nonAzureQueries",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "NonAzureQueryProperties"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const 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"
}
@@ -1325,36 +1410,143 @@ export const SourceControlListResult: coreClient.CompositeMapper = {
}
};
-export const SourceControlSyncJobCreateParameters: coreClient.CompositeMapper = {
+export const AdvancedSchedule: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobCreateParameters",
+ className: "AdvancedSchedule",
modelProperties: {
- commitId: {
- serializedName: "properties.commitId",
- required: true,
+ weekDays: {
+ serializedName: "weekDays",
type: {
- name: "String"
+ 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 SourceControlSyncJob: coreClient.CompositeMapper = {
+export const AdvancedScheduleMonthlyOccurrence: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJob",
+ className: "AdvancedScheduleMonthlyOccurrence",
modelProperties: {
- name: {
- serializedName: "name",
- readOnly: true,
+ 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"
+ }
},
- type: {
- serializedName: "type",
+ 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"
@@ -1367,12 +1559,32 @@ export const SourceControlSyncJob: coreClient.CompositeMapper = {
name: "String"
}
},
- sourceControlSyncJobId: {
- serializedName: "properties.sourceControlSyncJobId",
+ 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,
@@ -1380,30 +1592,92 @@ export const SourceControlSyncJob: coreClient.CompositeMapper = {
name: "DateTime"
}
},
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
provisioningState: {
serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
},
- startTime: {
- serializedName: "properties.startTime",
- readOnly: true,
+ nextRun: {
+ serializedName: "properties.nextRun",
nullable: true,
type: {
- name: "DateTime"
+ 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" } }
}
},
- endTime: {
- serializedName: "properties.endTime",
- readOnly: true,
- nullable: true,
+ runbook: {
+ serializedName: "properties.runbook",
type: {
- name: "DateTime"
+ name: "Composite",
+ className: "RunbookAssociationProperty"
}
},
- syncType: {
- serializedName: "properties.syncType",
+ runOn: {
+ serializedName: "properties.runOn",
type: {
name: "String"
}
@@ -1412,60 +1686,38 @@ export const SourceControlSyncJob: coreClient.CompositeMapper = {
}
};
-export const SourceControlSyncJobById: coreClient.CompositeMapper = {
+export const WebhookUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobById",
+ className: "WebhookUpdateParameters",
modelProperties: {
- id: {
- serializedName: "id",
- type: {
- name: "String"
- }
- },
- sourceControlSyncJobId: {
- serializedName: "properties.sourceControlSyncJobId",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- creationTime: {
- serializedName: "properties.creationTime",
- readOnly: true,
+ isEnabled: {
+ serializedName: "properties.isEnabled",
type: {
- name: "DateTime"
+ name: "Boolean"
}
},
- provisioningState: {
- serializedName: "properties.provisioningState",
+ runOn: {
+ serializedName: "properties.runOn",
type: {
name: "String"
}
},
- 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",
+ parameters: {
+ serializedName: "properties.parameters",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- exception: {
- serializedName: "properties.exception",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
@@ -1474,10 +1726,10 @@ export const SourceControlSyncJobById: coreClient.CompositeMapper = {
}
};
-export const SourceControlSyncJobListResult: coreClient.CompositeMapper = {
+export const WebhookListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobListResult",
+ className: "WebhookListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -1486,7 +1738,7 @@ export const SourceControlSyncJobListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "SourceControlSyncJob"
+ className: "Webhook"
}
}
}
@@ -1501,10 +1753,10 @@ export const SourceControlSyncJobListResult: coreClient.CompositeMapper = {
}
};
-export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMapper = {
+export const DeletedAutomationAccountListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobStreamsListBySyncJob",
+ className: "DeletedAutomationAccountListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -1513,115 +1765,205 @@ export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMappe
element: {
type: {
name: "Composite",
- className: "SourceControlSyncJobStream"
+ className: "DeletedAutomationAccount"
}
}
}
- },
- nextLink: {
- serializedName: "nextLink",
- readOnly: true,
- type: {
- name: "String"
- }
}
}
}
};
-export const SourceControlSyncJobStream: coreClient.CompositeMapper = {
+export const DeletedAutomationAccount: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobStream",
+ className: "DeletedAutomationAccount",
modelProperties: {
id: {
serializedName: "id",
- readOnly: true,
type: {
name: "String"
}
},
- sourceControlSyncJobStreamId: {
- serializedName: "properties.sourceControlSyncJobStreamId",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- summary: {
- serializedName: "properties.summary",
+ type: {
+ serializedName: "type",
type: {
name: "String"
}
},
- time: {
- serializedName: "properties.time",
- readOnly: true,
- nullable: true,
+ location: {
+ serializedName: "location",
type: {
- name: "DateTime"
+ name: "String"
}
},
- streamType: {
- serializedName: "properties.streamType",
+ automationAccountResourceId: {
+ serializedName: "properties.automationAccountResourceId",
+ type: {
+ 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"
+ }
}
}
}
};
-export const SourceControlSyncJobStreamById: coreClient.CompositeMapper = {
+export const ContentLink: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SourceControlSyncJobStreamById",
+ className: "ContentLink",
modelProperties: {
- id: {
- serializedName: "id",
- readOnly: true,
+ uri: {
+ serializedName: "uri",
type: {
name: "String"
}
},
- sourceControlSyncJobStreamId: {
- serializedName: "properties.sourceControlSyncJobStreamId",
+ contentHash: {
+ serializedName: "contentHash",
type: {
- name: "String"
+ name: "Composite",
+ className: "ContentHash"
}
},
- summary: {
- serializedName: "properties.summary",
+ version: {
+ serializedName: "version",
type: {
name: "String"
}
- },
- time: {
- serializedName: "properties.time",
- readOnly: true,
- nullable: true,
+ }
+ }
+ }
+};
+
+export const ContentHash: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ContentHash",
+ modelProperties: {
+ algorithm: {
+ serializedName: "algorithm",
+ required: true,
type: {
- name: "DateTime"
+ name: "String"
}
},
- streamType: {
- serializedName: "properties.streamType",
+ 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"
}
},
- streamText: {
- serializedName: "properties.streamText",
+ 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"
+ }
+ }
+ }
},
- value: {
- serializedName: "properties.value",
+ nextLink: {
+ serializedName: "nextLink",
type: {
- name: "Dictionary",
- value: {
- type: { name: "Dictionary", value: { type: { name: "any" } } }
- }
+ name: "String"
}
}
}
@@ -1828,8 +2170,7 @@ export const Identity: coreClient.CompositeMapper = {
value: {
type: {
name: "Composite",
- className:
- "ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties"
+ className: "UserAssignedIdentitiesProperties"
}
}
}
@@ -1838,11 +2179,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",
@@ -2431,284 +2771,53 @@ export const ConnectionType: coreClient.CompositeMapper = {
serializedName: "properties.fieldDefinitions",
readOnly: true,
type: {
- name: "Dictionary",
- value: { type: { name: "Composite", className: "FieldDefinition" } }
- }
- },
- creationTime: {
- serializedName: "properties.creationTime",
- readOnly: true,
- type: {
- name: "DateTime"
- }
- },
- lastModifiedTime: {
- serializedName: "properties.lastModifiedTime",
- type: {
- name: "DateTime"
- }
- },
- description: {
- serializedName: "properties.description",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const FieldDefinition: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "FieldDefinition",
- modelProperties: {
- isEncrypted: {
- serializedName: "isEncrypted",
- type: {
- name: "Boolean"
- }
- },
- isOptional: {
- serializedName: "isOptional",
- type: {
- name: "Boolean"
- }
- },
- type: {
- serializedName: "type",
- required: true,
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ConnectionTypeCreateOrUpdateParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "ConnectionTypeCreateOrUpdateParameters",
- modelProperties: {
- name: {
- serializedName: "name",
- required: true,
- type: {
- name: "String"
- }
- },
- isGlobal: {
- serializedName: "properties.isGlobal",
- type: {
- name: "Boolean"
- }
- },
- fieldDefinitions: {
- serializedName: "properties.fieldDefinitions",
- required: true,
- type: {
- name: "Dictionary",
- value: { type: { name: "Composite", className: "FieldDefinition" } }
- }
- }
- }
- }
-};
-
-export const ConnectionTypeListResult: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "ConnectionTypeListResult",
- modelProperties: {
- value: {
- serializedName: "value",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ConnectionType"
- }
- }
- }
- },
- nextLink: {
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const CredentialCreateOrUpdateParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "CredentialCreateOrUpdateParameters",
- modelProperties: {
- name: {
- serializedName: "name",
- required: true,
- type: {
- name: "String"
- }
- },
- userName: {
- serializedName: "properties.userName",
- required: true,
- type: {
- name: "String"
- }
- },
- password: {
- serializedName: "properties.password",
- 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"
+ name: "Dictionary",
+ value: { type: { name: "Composite", className: "FieldDefinition" } }
}
},
- runbook: {
- serializedName: "properties.runbook",
+ creationTime: {
+ serializedName: "properties.creationTime",
+ readOnly: true,
type: {
- name: "Composite",
- className: "RunbookAssociationProperty"
+ name: "DateTime"
}
},
- runOn: {
- serializedName: "properties.runOn",
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- parameters: {
- serializedName: "properties.parameters",
+ description: {
+ serializedName: "properties.description",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "String"
}
}
}
}
};
-export const ScheduleAssociationProperty: coreClient.CompositeMapper = {
+export const FieldDefinition: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ScheduleAssociationProperty",
+ className: "FieldDefinition",
modelProperties: {
- name: {
- serializedName: "name",
+ isEncrypted: {
+ serializedName: "isEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ isOptional: {
+ serializedName: "isOptional",
+ type: {
+ name: "Boolean"
+ }
+ },
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
@@ -2717,61 +2826,40 @@ export const ScheduleAssociationProperty: coreClient.CompositeMapper = {
}
};
-export const RunbookAssociationProperty: coreClient.CompositeMapper = {
+export const ConnectionTypeCreateOrUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RunbookAssociationProperty",
+ className: "ConnectionTypeCreateOrUpdateParameters",
modelProperties: {
name: {
serializedName: "name",
+ required: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const JobScheduleCreateParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "JobScheduleCreateParameters",
- modelProperties: {
- schedule: {
- serializedName: "properties.schedule",
- type: {
- name: "Composite",
- className: "ScheduleAssociationProperty"
- }
- },
- runbook: {
- serializedName: "properties.runbook",
- type: {
- name: "Composite",
- className: "RunbookAssociationProperty"
- }
},
- runOn: {
- serializedName: "properties.runOn",
+ isGlobal: {
+ serializedName: "properties.isGlobal",
type: {
- name: "String"
+ name: "Boolean"
}
},
- parameters: {
- serializedName: "properties.parameters",
+ fieldDefinitions: {
+ serializedName: "properties.fieldDefinitions",
+ required: true,
type: {
name: "Dictionary",
- value: { type: { name: "String" } }
+ value: { type: { name: "Composite", className: "FieldDefinition" } }
}
}
}
}
};
-export const JobScheduleListResult: coreClient.CompositeMapper = {
+export const ConnectionTypeListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JobScheduleListResult",
+ className: "ConnectionTypeListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -2780,7 +2868,7 @@ export const JobScheduleListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "JobSchedule"
+ className: "ConnectionType"
}
}
}
@@ -2795,14 +2883,34 @@ export const JobScheduleListResult: coreClient.CompositeMapper = {
}
};
-export const LinkedWorkspace: coreClient.CompositeMapper = {
+export const CredentialCreateOrUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "LinkedWorkspace",
+ className: "CredentialCreateOrUpdateParameters",
modelProperties: {
- id: {
- serializedName: "id",
- readOnly: true,
+ name: {
+ serializedName: "name",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ userName: {
+ serializedName: "properties.userName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ password: {
+ serializedName: "properties.password",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
@@ -2811,68 +2919,58 @@ export const LinkedWorkspace: coreClient.CompositeMapper = {
}
};
-export const Activity: coreClient.CompositeMapper = {
+export const CredentialUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Activity",
+ className: "CredentialUpdateParameters",
modelProperties: {
- id: {
- serializedName: "id",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- name: {
- serializedName: "name",
- readOnly: true,
+ userName: {
+ serializedName: "properties.userName",
type: {
name: "String"
}
},
- definition: {
- serializedName: "properties.definition",
+ password: {
+ serializedName: "properties.password",
type: {
name: "String"
}
},
- parameterSets: {
- serializedName: "properties.parameterSets",
+ description: {
+ serializedName: "properties.description",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ActivityParameterSet"
- }
- }
+ name: "String"
}
- },
- outputTypes: {
- serializedName: "properties.outputTypes",
+ }
+ }
+ }
+};
+
+export const CredentialListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "CredentialListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "ActivityOutputType"
+ className: "Credential"
}
}
}
},
- creationTime: {
- serializedName: "properties.creationTime",
- type: {
- name: "DateTime"
- }
- },
- lastModifiedTime: {
- serializedName: "properties.lastModifiedTime",
- type: {
- name: "DateTime"
- }
- },
- description: {
- serializedName: "properties.description",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -2881,42 +2979,49 @@ export const Activity: coreClient.CompositeMapper = {
}
};
-export const ActivityParameterSet: coreClient.CompositeMapper = {
+export const DscConfigurationParameter: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ActivityParameterSet",
+ className: "DscConfigurationParameter",
modelProperties: {
- name: {
- serializedName: "name",
+ type: {
+ serializedName: "type",
type: {
name: "String"
}
},
- parameters: {
- serializedName: "parameters",
+ isMandatory: {
+ serializedName: "isMandatory",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ActivityParameter"
- }
- }
+ name: "Boolean"
+ }
+ },
+ position: {
+ serializedName: "position",
+ type: {
+ name: "Number"
+ }
+ },
+ defaultValue: {
+ serializedName: "defaultValue",
+ type: {
+ name: "String"
}
}
}
}
};
-export const ActivityParameter: coreClient.CompositeMapper = {
+export const ContentSource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ActivityParameter",
+ className: "ContentSource",
modelProperties: {
- name: {
- serializedName: "name",
+ hash: {
+ serializedName: "hash",
type: {
- name: "String"
+ name: "Composite",
+ className: "ContentHash"
}
},
type: {
@@ -2925,71 +3030,76 @@ export const ActivityParameter: coreClient.CompositeMapper = {
name: "String"
}
},
- isMandatory: {
- serializedName: "isMandatory",
+ value: {
+ serializedName: "value",
type: {
- name: "Boolean"
+ name: "String"
}
},
- isDynamic: {
- serializedName: "isDynamic",
+ version: {
+ serializedName: "version",
type: {
- name: "Boolean"
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DscConfigurationCreateOrUpdateParameters",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
}
},
- position: {
- serializedName: "position",
+ location: {
+ serializedName: "location",
type: {
- name: "Number"
+ name: "String"
}
},
- valueFromPipeline: {
- serializedName: "valueFromPipeline",
+ tags: {
+ serializedName: "tags",
type: {
- name: "Boolean"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- valueFromPipelineByPropertyName: {
- serializedName: "valueFromPipelineByPropertyName",
+ logVerbose: {
+ serializedName: "properties.logVerbose",
type: {
name: "Boolean"
}
},
- valueFromRemainingArguments: {
- serializedName: "valueFromRemainingArguments",
+ logProgress: {
+ serializedName: "properties.logProgress",
type: {
name: "Boolean"
}
},
- description: {
- serializedName: "description",
+ source: {
+ serializedName: "properties.source",
type: {
- name: "String"
+ name: "Composite",
+ className: "ContentSource"
}
},
- validationSet: {
- serializedName: "validationSet",
+ parameters: {
+ serializedName: "properties.parameters",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ActivityParameterValidationSet"
- }
+ name: "Dictionary",
+ value: {
+ type: { name: "Composite", className: "DscConfigurationParameter" }
}
}
- }
- }
- }
-};
-
-export const ActivityParameterValidationSet: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "ActivityParameterValidationSet",
- modelProperties: {
- memberValue: {
- serializedName: "memberValue",
+ },
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
@@ -2998,10 +3108,10 @@ export const ActivityParameterValidationSet: coreClient.CompositeMapper = {
}
};
-export const ActivityOutputType: coreClient.CompositeMapper = {
+export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ActivityOutputType",
+ className: "DscConfigurationUpdateParameters",
modelProperties: {
name: {
serializedName: "name",
@@ -3009,8 +3119,43 @@ export const ActivityOutputType: coreClient.CompositeMapper = {
name: "String"
}
},
- type: {
- serializedName: "type",
+ 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: {
name: "String"
}
@@ -3019,10 +3164,10 @@ export const ActivityOutputType: coreClient.CompositeMapper = {
}
};
-export const ActivityListResult: coreClient.CompositeMapper = {
+export const DscConfigurationListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ActivityListResult",
+ className: "DscConfigurationListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -3031,7 +3176,7 @@ export const ActivityListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Activity"
+ className: "DscConfiguration"
}
}
}
@@ -3041,15 +3186,21 @@ export const ActivityListResult: coreClient.CompositeMapper = {
type: {
name: "String"
}
+ },
+ totalCount: {
+ serializedName: "totalCount",
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = {
+export const DscNodeConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ModuleCreateOrUpdateParameters",
+ className: "DscNodeConfigurationCreateOrUpdateParameters",
modelProperties: {
name: {
serializedName: "name",
@@ -3057,12 +3208,6 @@ export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = {
name: "String"
}
},
- location: {
- serializedName: "location",
- type: {
- name: "String"
- }
- },
tags: {
serializedName: "tags",
type: {
@@ -3070,56 +3215,34 @@ export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = {
value: { type: { name: "String" } }
}
},
- contentLink: {
- serializedName: "properties.contentLink",
+ source: {
+ serializedName: "properties.source",
type: {
name: "Composite",
- className: "ContentLink"
- }
- }
- }
- }
-};
-
-export const ModuleUpdateParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "ModuleUpdateParameters",
- modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- location: {
- serializedName: "location",
- type: {
- name: "String"
+ className: "ContentSource"
}
},
- tags: {
- serializedName: "tags",
+ configuration: {
+ serializedName: "properties.configuration",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "Composite",
+ className: "DscConfigurationAssociationProperty"
}
},
- contentLink: {
- serializedName: "properties.contentLink",
+ incrementNodeConfigurationBuild: {
+ serializedName: "properties.incrementNodeConfigurationBuild",
type: {
- name: "Composite",
- className: "ContentLink"
+ name: "Boolean"
}
}
}
}
};
-export const TypeFieldListResult: coreClient.CompositeMapper = {
+export const DscNodeConfigurationListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TypeFieldListResult",
+ className: "DscNodeConfigurationListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -3128,19 +3251,31 @@ export const TypeFieldListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "TypeField"
+ className: "DscNodeConfiguration"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ totalCount: {
+ serializedName: "totalCount",
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const TypeField: coreClient.CompositeMapper = {
+export const HybridRunbookWorkerCreateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TypeField",
+ className: "HybridRunbookWorkerCreateParameters",
modelProperties: {
name: {
serializedName: "name",
@@ -3148,8 +3283,8 @@ export const TypeField: coreClient.CompositeMapper = {
name: "String"
}
},
- type: {
- serializedName: "type",
+ vmResourceId: {
+ serializedName: "properties.vmResourceId",
type: {
name: "String"
}
@@ -3158,124 +3293,104 @@ export const TypeField: coreClient.CompositeMapper = {
}
};
-export const ScheduleCreateOrUpdateParameters: coreClient.CompositeMapper = {
+export const HybridRunbookWorkerMoveParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ScheduleCreateOrUpdateParameters",
+ className: "HybridRunbookWorkerMoveParameters",
modelProperties: {
- name: {
- serializedName: "name",
- required: true,
- type: {
- name: "String"
- }
- },
- description: {
- serializedName: "properties.description",
+ hybridRunbookWorkerGroupName: {
+ serializedName: "hybridRunbookWorkerGroupName",
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",
+ }
+ }
+ }
+};
+
+export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "HybridRunbookWorkersListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
type: {
- name: "any"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HybridRunbookWorker"
+ }
+ }
}
},
- frequency: {
- serializedName: "properties.frequency",
- required: true,
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
- },
- timeZone: {
- serializedName: "properties.timeZone",
+ }
+ }
+ }
+};
+
+export const RunAsCredentialAssociationProperty: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RunAsCredentialAssociationProperty",
+ modelProperties: {
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
- },
- advancedSchedule: {
- serializedName: "properties.advancedSchedule",
- type: {
- name: "Composite",
- className: "AdvancedSchedule"
- }
}
}
}
};
-export const AdvancedSchedule: coreClient.CompositeMapper = {
+export const HybridRunbookWorkerGroupCreateOrUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AdvancedSchedule",
+ className: "HybridRunbookWorkerGroupCreateOrUpdateParameters",
modelProperties: {
- weekDays: {
- serializedName: "weekDays",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- },
- monthDays: {
- serializedName: "monthDays",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
+ name: "String"
}
},
- monthlyOccurrences: {
- serializedName: "monthlyOccurrences",
+ credential: {
+ serializedName: "properties.credential",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AdvancedScheduleMonthlyOccurrence"
- }
- }
+ name: "Composite",
+ className: "RunAsCredentialAssociationProperty"
}
}
}
}
};
-export const AdvancedScheduleMonthlyOccurrence: coreClient.CompositeMapper = {
+export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AdvancedScheduleMonthlyOccurrence",
+ className: "HybridRunbookWorkerGroupsListResult",
modelProperties: {
- occurrence: {
- serializedName: "occurrence",
+ value: {
+ serializedName: "value",
type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HybridRunbookWorkerGroup"
+ }
+ }
}
},
- day: {
- serializedName: "day",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -3284,37 +3399,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 +3440,14 @@ export const ScheduleListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Schedule"
+ className: "JobCollectionItem"
}
}
}
},
nextLink: {
serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
@@ -3338,71 +3456,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 +3582,7 @@ export const VariableListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Variable"
+ className: "JobSchedule"
}
}
}
@@ -3426,79 +3597,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: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Watcher"
- }
- }
+ name: "String"
}
},
- nextLink: {
- serializedName: "nextLink",
+ name: {
+ serializedName: "name",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const DscConfigurationParameter: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "DscConfigurationParameter",
- modelProperties: {
- type: {
- serializedName: "type",
+ },
+ definition: {
+ serializedName: "properties.definition",
+ type: {
+ name: "String"
+ }
+ },
+ parameterSets: {
+ serializedName: "properties.parameterSets",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ActivityParameterSet"
+ }
+ }
+ }
+ },
+ outputTypes: {
+ serializedName: "properties.outputTypes",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ActivityOutputType"
+ }
+ }
}
},
- isMandatory: {
- serializedName: "isMandatory",
+ creationTime: {
+ serializedName: "properties.creationTime",
type: {
- name: "Boolean"
+ name: "DateTime"
}
},
- position: {
- serializedName: "position",
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
type: {
- name: "Number"
+ name: "DateTime"
}
},
- defaultValue: {
- serializedName: "defaultValue",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
@@ -3507,10 +3683,10 @@ export const DscConfigurationParameter: coreClient.CompositeMapper = {
}
};
-export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMapper = {
+export const ActivityParameterSet: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DscConfigurationCreateOrUpdateParameters",
+ className: "ActivityParameterSet",
modelProperties: {
name: {
serializedName: "name",
@@ -3518,61 +3694,26 @@ export const DscConfigurationCreateOrUpdateParameters: coreClient.CompositeMappe
name: "String"
}
},
- location: {
- serializedName: "location",
- type: {
- 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",
+ serializedName: "parameters",
type: {
- name: "Dictionary",
- value: {
- type: { name: "Composite", className: "DscConfigurationParameter" }
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ActivityParameter"
+ }
}
}
- },
- description: {
- serializedName: "properties.description",
- type: {
- name: "String"
- }
}
}
}
};
-export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = {
+export const ActivityParameter: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DscConfigurationUpdateParameters",
+ className: "ActivityParameter",
modelProperties: {
name: {
serializedName: "name",
@@ -3580,105 +3721,77 @@ export const DscConfigurationUpdateParameters: coreClient.CompositeMapper = {
name: "String"
}
},
- tags: {
- serializedName: "tags",
+ type: {
+ serializedName: "type",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "String"
}
},
- logVerbose: {
- serializedName: "properties.logVerbose",
+ isMandatory: {
+ serializedName: "isMandatory",
type: {
name: "Boolean"
}
},
- logProgress: {
- serializedName: "properties.logProgress",
+ isDynamic: {
+ serializedName: "isDynamic",
type: {
name: "Boolean"
}
},
- source: {
- serializedName: "properties.source",
+ position: {
+ serializedName: "position",
type: {
- name: "Composite",
- className: "ContentSource"
+ name: "Number"
}
},
- parameters: {
- serializedName: "properties.parameters",
+ valueFromPipeline: {
+ serializedName: "valueFromPipeline",
type: {
- name: "Dictionary",
- value: {
- type: { name: "Composite", className: "DscConfigurationParameter" }
- }
+ name: "Boolean"
+ }
+ },
+ valueFromPipelineByPropertyName: {
+ serializedName: "valueFromPipelineByPropertyName",
+ type: {
+ name: "Boolean"
+ }
+ },
+ valueFromRemainingArguments: {
+ serializedName: "valueFromRemainingArguments",
+ type: {
+ name: "Boolean"
}
},
description: {
- serializedName: "properties.description",
+ serializedName: "description",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const DscConfigurationListResult: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "DscConfigurationListResult",
- modelProperties: {
- value: {
- serializedName: "value",
+ },
+ validationSet: {
+ serializedName: "validationSet",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DscConfiguration"
+ className: "ActivityParameterValidationSet"
}
}
}
- },
- nextLink: {
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- },
- totalCount: {
- serializedName: "totalCount",
- type: {
- name: "Number"
- }
}
}
}
};
-export const JobCreateParameters: coreClient.CompositeMapper = {
+export const ActivityParameterValidationSet: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JobCreateParameters",
+ className: "ActivityParameterValidationSet",
modelProperties: {
- runbook: {
- serializedName: "properties.runbook",
- type: {
- name: "Composite",
- className: "RunbookAssociationProperty"
- }
- },
- parameters: {
- serializedName: "properties.parameters",
- type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
- }
- },
- runOn: {
- serializedName: "properties.runOn",
+ memberValue: {
+ serializedName: "memberValue",
type: {
name: "String"
}
@@ -3687,26 +3800,19 @@ export const JobCreateParameters: coreClient.CompositeMapper = {
}
};
-export const JobListResultV2: coreClient.CompositeMapper = {
+export const ActivityOutputType: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JobListResultV2",
+ className: "ActivityOutputType",
modelProperties: {
- value: {
- serializedName: "value",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "JobCollectionItem"
- }
- }
+ name: "String"
}
},
- nextLink: {
- serializedName: "nextLink",
- readOnly: true,
+ type: {
+ serializedName: "type",
type: {
name: "String"
}
@@ -3715,10 +3821,10 @@ export const JobListResultV2: coreClient.CompositeMapper = {
}
};
-export const OperationListResult: coreClient.CompositeMapper = {
+export const ActivityListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OperationListResult",
+ className: "ActivityListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -3727,19 +3833,25 @@ export const OperationListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Operation"
+ className: "Activity"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const Operation: coreClient.CompositeMapper = {
+export const ModuleCreateOrUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Operation",
+ className: "ModuleCreateOrUpdateParameters",
modelProperties: {
name: {
serializedName: "name",
@@ -3747,448 +3859,370 @@ 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 ModuleUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OperationDisplay",
+ className: "ModuleUpdateParameters",
modelProperties: {
- provider: {
- serializedName: "provider",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- resource: {
- serializedName: "resource",
+ location: {
+ serializedName: "location",
type: {
name: "String"
}
},
- operation: {
- serializedName: "operation",
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ contentLink: {
+ serializedName: "properties.contentLink",
type: {
- name: "String"
+ name: "Composite",
+ className: "ContentLink"
}
}
}
}
};
-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"
- }
- },
- creationTime: {
- serializedName: "properties.creationTime",
- readOnly: true,
- type: {
- name: "DateTime"
+ className: "OperationPropertiesFormatServiceSpecification"
}
- },
- 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",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- },
- includedKbNumbers: {
- serializedName: "includedKbNumbers",
+ displayName: {
+ serializedName: "displayName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- rebootSetting: {
- serializedName: "rebootSetting",
+ displayDescription: {
+ serializedName: "displayDescription",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const LinuxProperties: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "LinuxProperties",
- modelProperties: {
- includedPackageClassifications: {
- serializedName: "includedPackageClassifications",
+ },
+ unit: {
+ serializedName: "unit",
type: {
name: "String"
}
},
- excludedPackageNameMasks: {
- serializedName: "excludedPackageNameMasks",
+ aggregationType: {
+ serializedName: "aggregationType",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- includedPackageNameMasks: {
- serializedName: "includedPackageNameMasks",
+ dimensions: {
+ serializedName: "dimensions",
type: {
name: "Sequence",
element: {
- type: {
- name: "String"
- }
- }
- }
- },
- rebootSetting: {
- serializedName: "rebootSetting",
- type: {
- name: "String"
+ type: {
+ name: "Composite",
+ className: "Dimension"
+ }
+ }
}
}
}
}
};
-export const TargetProperties: coreClient.CompositeMapper = {
+export const Dimension: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TargetProperties",
+ className: "Dimension",
modelProperties: {
- azureQueries: {
- serializedName: "azureQueries",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureQueryProperties"
- }
- }
+ name: "String"
}
},
- nonAzureQueries: {
- serializedName: "nonAzureQueries",
+ displayName: {
+ serializedName: "displayName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "NonAzureQueryProperties"
- }
- }
+ name: "String"
}
}
}
}
};
-export const AzureQueryProperties: coreClient.CompositeMapper = {
+export const LogSpecification: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureQueryProperties",
+ className: "LogSpecification",
modelProperties: {
- scope: {
- serializedName: "scope",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- locations: {
- serializedName: "locations",
+ displayName: {
+ serializedName: "displayName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- tagSettings: {
- serializedName: "tagSettings",
+ blobDuration: {
+ serializedName: "blobDuration",
type: {
- name: "Composite",
- className: "TagSettingsProperties"
+ name: "String"
}
}
}
}
};
-export const TagSettingsProperties: coreClient.CompositeMapper = {
+export const GraphicalRunbookContent: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TagSettingsProperties",
+ className: "GraphicalRunbookContent",
modelProperties: {
- tags: {
- serializedName: "tags",
+ rawContent: {
+ serializedName: "rawContent",
type: {
- name: "Dictionary",
- value: {
- type: { name: "Sequence", element: { type: { name: "String" } } }
- }
+ name: "Composite",
+ className: "RawGraphicalRunbookContent"
}
},
- filterOperator: {
- serializedName: "filterOperator",
+ graphRunbookJson: {
+ serializedName: "graphRunbookJson",
+ nullable: true,
type: {
- name: "Enum",
- allowedValues: ["All", "Any"]
+ name: "String"
}
}
}
}
};
-export const NonAzureQueryProperties: coreClient.CompositeMapper = {
+export const RawGraphicalRunbookContent: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "NonAzureQueryProperties",
+ className: "RawGraphicalRunbookContent",
modelProperties: {
- functionAlias: {
- serializedName: "functionAlias",
+ schemaVersion: {
+ serializedName: "schemaVersion",
type: {
name: "String"
}
},
- workspaceId: {
- serializedName: "workspaceId",
+ runbookDefinition: {
+ serializedName: "runbookDefinition",
+ type: {
+ name: "String"
+ }
+ },
+ runbookType: {
+ serializedName: "runbookType",
type: {
name: "String"
}
@@ -4197,432 +4231,437 @@ export const NonAzureQueryProperties: coreClient.CompositeMapper = {
}
};
-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",
+ lastModifiedTime: {
+ serializedName: "lastModifiedTime",
type: {
- name: "Number"
+ name: "DateTime"
}
},
- isEnabled: {
- defaultValue: false,
- serializedName: "isEnabled",
+ parameters: {
+ serializedName: "parameters",
type: {
- name: "Boolean"
+ name: "Dictionary",
+ value: { type: { name: "Composite", className: "RunbookParameter" } }
}
},
- nextRun: {
- serializedName: "nextRun",
- nullable: true,
+ outputTypes: {
+ serializedName: "outputTypes",
type: {
- name: "DateTime"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const RunbookParameter: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RunbookParameter",
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
}
},
- nextRunOffsetMinutes: {
- serializedName: "nextRunOffsetMinutes",
+ isMandatory: {
+ serializedName: "isMandatory",
type: {
- name: "Number"
+ name: "Boolean"
}
},
- interval: {
- serializedName: "interval",
+ position: {
+ serializedName: "position",
type: {
name: "Number"
}
},
- frequency: {
- serializedName: "frequency",
+ defaultValue: {
+ serializedName: "defaultValue",
type: {
name: "String"
}
- },
- timeZone: {
- serializedName: "timeZone",
+ }
+ }
+ }
+};
+
+export const RunbookCreateOrUpdateParameters: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RunbookCreateOrUpdateParameters",
+ modelProperties: {
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- advancedSchedule: {
- serializedName: "advancedSchedule",
+ location: {
+ serializedName: "location",
type: {
- name: "Composite",
- className: "AdvancedSchedule"
+ name: "String"
}
},
- creationTime: {
- serializedName: "creationTime",
+ tags: {
+ serializedName: "tags",
type: {
- name: "DateTime"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- lastModifiedTime: {
- serializedName: "lastModifiedTime",
+ logVerbose: {
+ serializedName: "properties.logVerbose",
type: {
- name: "DateTime"
+ name: "Boolean"
}
},
- description: {
- serializedName: "description",
+ logProgress: {
+ serializedName: "properties.logProgress",
type: {
- name: "String"
+ name: "Boolean"
}
- }
- }
- }
-};
-
-export const SoftwareUpdateConfigurationTasks: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "SoftwareUpdateConfigurationTasks",
- modelProperties: {
- preTask: {
- serializedName: "preTask",
+ },
+ runbookType: {
+ serializedName: "properties.runbookType",
+ required: true,
type: {
- name: "Composite",
- className: "TaskProperties"
+ name: "String"
}
},
- postTask: {
- serializedName: "postTask",
+ draft: {
+ serializedName: "properties.draft",
type: {
name: "Composite",
- className: "TaskProperties"
+ className: "RunbookDraft"
}
- }
- }
- }
-};
-
-export const TaskProperties: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "TaskProperties",
- modelProperties: {
- parameters: {
- serializedName: "parameters",
+ },
+ publishContentLink: {
+ serializedName: "properties.publishContentLink",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "Composite",
+ className: "ContentLink"
}
},
- source: {
- serializedName: "source",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const SoftwareUpdateConfigurationListResult: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "SoftwareUpdateConfigurationListResult",
- modelProperties: {
- value: {
- serializedName: "value",
+ },
+ logActivityTrace: {
+ serializedName: "properties.logActivityTrace",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SoftwareUpdateConfigurationCollectionItem"
- }
- }
+ 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: "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: "Composite",
- className: "SoftwareUpdateConfigurationRunTaskProperties"
+ name: "String"
}
},
- postTask: {
- serializedName: "postTask",
+ 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",
+ className: "ScheduleUpdateParameters",
modelProperties: {
- status: {
- serializedName: "status",
+ 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 +4670,7 @@ export const SoftwareUpdateConfigurationRunListResult: coreClient.CompositeMappe
element: {
type: {
name: "Composite",
- className: "SoftwareUpdateConfigurationRun"
+ className: "Schedule"
}
}
}
@@ -4782,6 +4821,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 +4880,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 +5045,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 +5072,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 +5233,7 @@ export const RunbookListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Runbook"
+ className: "SourceControl"
}
}
}
@@ -5083,20 +5248,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 +5264,131 @@ 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",
+ startTime: {
+ serializedName: "properties.startTime",
+ readOnly: true,
+ nullable: true,
type: {
name: "DateTime"
}
},
- lastStatusModifiedTime: {
- serializedName: "lastStatusModifiedTime",
+ endTime: {
+ serializedName: "properties.endTime",
+ readOnly: true,
nullable: true,
type: {
name: "DateTime"
}
},
- parameters: {
- serializedName: "parameters",
- type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
- }
- },
- logActivityTrace: {
- serializedName: "logActivityTrace",
+ syncType: {
+ serializedName: "properties.syncType",
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const WebhookCreateOrUpdateParameters: coreClient.CompositeMapper = {
+export const SourceControlSyncJobById: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "WebhookCreateOrUpdateParameters",
+ className: "SourceControlSyncJobById",
modelProperties: {
- name: {
- serializedName: "name",
- required: true,
+ id: {
+ serializedName: "id",
type: {
name: "String"
}
},
- isEnabled: {
- serializedName: "properties.isEnabled",
- type: {
- name: "Boolean"
- }
- },
- uri: {
- serializedName: "properties.uri",
+ sourceControlSyncJobId: {
+ serializedName: "properties.sourceControlSyncJobId",
type: {
name: "String"
}
},
- expiryTime: {
- serializedName: "properties.expiryTime",
+ creationTime: {
+ serializedName: "properties.creationTime",
+ readOnly: 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",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
type: {
name: "String"
}
},
- isEnabled: {
- serializedName: "properties.isEnabled",
+ startTime: {
+ serializedName: "properties.startTime",
+ readOnly: true,
+ nullable: true,
type: {
- name: "Boolean"
+ name: "DateTime"
}
},
- runOn: {
- serializedName: "properties.runOn",
+ endTime: {
+ serializedName: "properties.endTime",
+ readOnly: true,
+ nullable: true,
type: {
- name: "String"
+ name: "DateTime"
}
},
- parameters: {
- serializedName: "properties.parameters",
+ syncType: {
+ serializedName: "properties.syncType",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "String"
}
},
- description: {
- serializedName: "properties.description",
+ exception: {
+ serializedName: "properties.exception",
type: {
name: "String"
}
@@ -5278,10 +5397,10 @@ export const WebhookUpdateParameters: coreClient.CompositeMapper = {
}
};
-export const WebhookListResult: coreClient.CompositeMapper = {
+export const SourceControlSyncJobListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "WebhookListResult",
+ className: "SourceControlSyncJobListResult",
modelProperties: {
value: {
serializedName: "value",
@@ -5290,7 +5409,7 @@ export const WebhookListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "Webhook"
+ className: "SourceControlSyncJob"
}
}
}
@@ -5305,46 +5424,10 @@ export const WebhookListResult: coreClient.CompositeMapper = {
}
};
-export const HybridRunbookWorkerCreateParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "HybridRunbookWorkerCreateParameters",
- modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- vmResourceId: {
- serializedName: "properties.vmResourceId",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const HybridRunbookWorkerMoveParameters: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "HybridRunbookWorkerMoveParameters",
- modelProperties: {
- hybridRunbookWorkerGroupName: {
- serializedName: "hybridRunbookWorkerGroupName",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = {
+export const SourceControlSyncJobStreamsListBySyncJob: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "HybridRunbookWorkersListResult",
+ className: "SourceControlSyncJobStreamsListBySyncJob",
modelProperties: {
value: {
serializedName: "value",
@@ -5353,13 +5436,14 @@ export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "HybridRunbookWorker"
+ className: "SourceControlSyncJobStream"
}
}
}
},
nextLink: {
serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
@@ -5368,104 +5452,143 @@ export const HybridRunbookWorkersListResult: coreClient.CompositeMapper = {
}
};
-export const DeletedAutomationAccountListResult: coreClient.CompositeMapper = {
+export const SourceControlSyncJobStream: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DeletedAutomationAccountListResult",
+ className: "SourceControlSyncJobStream",
modelProperties: {
- value: {
- serializedName: "value",
+ id: {
+ serializedName: "id",
+ readOnly: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DeletedAutomationAccount"
- }
- }
+ name: "String"
+ }
+ },
+ sourceControlSyncJobStreamId: {
+ serializedName: "properties.sourceControlSyncJobStreamId",
+ type: {
+ name: "String"
+ }
+ },
+ summary: {
+ serializedName: "properties.summary",
+ type: {
+ name: "String"
+ }
+ },
+ time: {
+ serializedName: "properties.time",
+ readOnly: true,
+ nullable: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ streamType: {
+ serializedName: "properties.streamType",
+ type: {
+ name: "String"
}
}
}
}
};
-export const DeletedAutomationAccount: coreClient.CompositeMapper = {
+export const SourceControlSyncJobStreamById: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DeletedAutomationAccount",
+ className: "SourceControlSyncJobStreamById",
modelProperties: {
id: {
serializedName: "id",
+ readOnly: true,
type: {
name: "String"
}
},
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- type: {
- serializedName: "type",
+ sourceControlSyncJobStreamId: {
+ serializedName: "properties.sourceControlSyncJobStreamId",
type: {
name: "String"
}
},
- location: {
- serializedName: "location",
+ summary: {
+ serializedName: "properties.summary",
type: {
name: "String"
}
},
- automationAccountResourceId: {
- serializedName: "properties.automationAccountResourceId",
+ time: {
+ serializedName: "properties.time",
+ readOnly: true,
+ nullable: true,
type: {
- name: "String"
+ name: "DateTime"
}
},
- automationAccountId: {
- serializedName: "properties.automationAccountId",
+ streamType: {
+ serializedName: "properties.streamType",
type: {
name: "String"
}
},
- locationPropertiesLocation: {
- serializedName: "properties.location",
+ streamText: {
+ serializedName: "properties.streamText",
type: {
name: "String"
}
},
- deletionTime: {
- serializedName: "properties.deletionTime",
- readOnly: true,
+ value: {
+ serializedName: "properties.value",
type: {
- name: "DateTime"
+ 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 +5596,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 +5624,7 @@ export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "HybridRunbookWorkerGroup"
+ className: "Variable"
}
}
}
@@ -5511,6 +5639,27 @@ export const HybridRunbookWorkerGroupsListResult: coreClient.CompositeMapper = {
}
};
+export const RunbookDraftUndoEditResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "RunbookDraftUndoEditResult",
+ modelProperties: {
+ statusCode: {
+ serializedName: "statusCode",
+ type: {
+ name: "String"
+ }
+ },
+ requestId: {
+ serializedName: "requestId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const RunbookCreateOrUpdateDraftProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
@@ -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"
+ }
}
}
}
@@ -6203,158 +6321,59 @@ export const Connection: coreClient.CompositeMapper = {
},
fieldDefinitionValues: {
serializedName: "properties.fieldDefinitionValues",
- readOnly: true,
- type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
- }
- },
- creationTime: {
- serializedName: "properties.creationTime",
- readOnly: true,
- type: {
- name: "DateTime"
- }
- },
- lastModifiedTime: {
- serializedName: "properties.lastModifiedTime",
- readOnly: true,
- type: {
- name: "DateTime"
- }
- },
- description: {
- serializedName: "properties.description",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const Credential: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "Credential",
- modelProperties: {
- ...ProxyResource.type.modelProperties,
- userName: {
- serializedName: "properties.userName",
- readOnly: true,
- type: {
- name: "String"
- }
- },
- creationTime: {
- serializedName: "properties.creationTime",
- readOnly: true,
- type: {
- name: "DateTime"
- }
- },
- lastModifiedTime: {
- serializedName: "properties.lastModifiedTime",
- readOnly: true,
- type: {
- name: "DateTime"
- }
- },
- description: {
- serializedName: "properties.description",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const Schedule: coreClient.CompositeMapper = {
- type: {
- name: "Composite",
- className: "Schedule",
- 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,
- type: {
- name: "DateTime"
- }
- },
- nextRunOffsetMinutes: {
- serializedName: "properties.nextRunOffsetMinutes",
+ readOnly: true,
type: {
- name: "Number"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- interval: {
- serializedName: "properties.interval",
+ creationTime: {
+ serializedName: "properties.creationTime",
+ readOnly: true,
type: {
- name: "any"
+ name: "DateTime"
}
},
- frequency: {
- serializedName: "properties.frequency",
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
+ readOnly: true,
type: {
- name: "String"
+ name: "DateTime"
}
},
- timeZone: {
- serializedName: "properties.timeZone",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
- },
- advancedSchedule: {
- serializedName: "properties.advancedSchedule",
+ }
+ }
+ }
+};
+
+export const Credential: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "Credential",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ userName: {
+ serializedName: "properties.userName",
+ readOnly: true,
type: {
- name: "Composite",
- className: "AdvancedSchedule"
+ name: "String"
}
},
creationTime: {
serializedName: "properties.creationTime",
+ readOnly: true,
type: {
name: "DateTime"
}
},
lastModifiedTime: {
serializedName: "properties.lastModifiedTime",
+ readOnly: true,
type: {
name: "DateTime"
}
@@ -6369,23 +6388,16 @@ export const Schedule: coreClient.CompositeMapper = {
}
};
-export const Variable: coreClient.CompositeMapper = {
+export const DscNodeConfiguration: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Variable",
+ className: "DscNodeConfiguration",
modelProperties: {
...ProxyResource.type.modelProperties,
- value: {
- serializedName: "properties.value",
- type: {
- name: "String"
- }
- },
- isEncrypted: {
- serializedName: "properties.isEncrypted",
- nullable: true,
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
type: {
- name: "Boolean"
+ name: "DateTime"
}
},
creationTime: {
@@ -6394,17 +6406,30 @@ export const Variable: coreClient.CompositeMapper = {
name: "DateTime"
}
},
- lastModifiedTime: {
- serializedName: "properties.lastModifiedTime",
+ configuration: {
+ serializedName: "properties.configuration",
type: {
- name: "DateTime"
+ name: "Composite",
+ className: "DscConfigurationAssociationProperty"
}
},
- description: {
- serializedName: "properties.description",
+ source: {
+ serializedName: "properties.source",
type: {
name: "String"
}
+ },
+ nodeCount: {
+ serializedName: "properties.nodeCount",
+ type: {
+ name: "Number"
+ }
+ },
+ incrementNodeConfigurationBuild: {
+ serializedName: "properties.incrementNodeConfigurationBuild",
+ type: {
+ name: "Boolean"
+ }
}
}
}
@@ -6585,12 +6610,38 @@ 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,
+ 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",
@@ -6598,41 +6649,110 @@ export const Webhook: coreClient.CompositeMapper = {
name: "Boolean"
}
},
- uri: {
- serializedName: "properties.uri",
+ nextRun: {
+ serializedName: "properties.nextRun",
+ nullable: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ nextRunOffsetMinutes: {
+ serializedName: "properties.nextRunOffsetMinutes",
+ type: {
+ name: "Number"
+ }
+ },
+ interval: {
+ serializedName: "properties.interval",
+ type: {
+ name: "any"
+ }
+ },
+ frequency: {
+ serializedName: "properties.frequency",
type: {
name: "String"
}
},
- expiryTime: {
- serializedName: "properties.expiryTime",
+ timeZone: {
+ serializedName: "properties.timeZone",
+ type: {
+ name: "String"
+ }
+ },
+ advancedSchedule: {
+ serializedName: "properties.advancedSchedule",
+ type: {
+ name: "Composite",
+ className: "AdvancedSchedule"
+ }
+ },
+ creationTime: {
+ serializedName: "properties.creationTime",
type: {
name: "DateTime"
}
},
- lastInvokedTime: {
- serializedName: "properties.lastInvokedTime",
- nullable: true,
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
type: {
name: "DateTime"
}
},
- parameters: {
- serializedName: "properties.parameters",
+ description: {
+ serializedName: "properties.description",
type: {
- name: "Dictionary",
- value: { type: { name: "String" } }
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SourceControl: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "SourceControl",
+ modelProperties: {
+ ...ProxyResource.type.modelProperties,
+ repoUrl: {
+ serializedName: "properties.repoUrl",
+ type: {
+ name: "String"
}
},
- runbook: {
- serializedName: "properties.runbook",
+ branch: {
+ serializedName: "properties.branch",
type: {
- name: "Composite",
- className: "RunbookAssociationProperty"
+ name: "String"
}
},
- runOn: {
- serializedName: "properties.runOn",
+ folderPath: {
+ serializedName: "properties.folderPath",
+ type: {
+ name: "String"
+ }
+ },
+ autoSync: {
+ serializedName: "properties.autoSync",
+ type: {
+ name: "Boolean"
+ }
+ },
+ publishRunbook: {
+ serializedName: "properties.publishRunbook",
+ type: {
+ name: "Boolean"
+ }
+ },
+ sourceType: {
+ serializedName: "properties.sourceType",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
@@ -6648,13 +6768,42 @@ export const Webhook: coreClient.CompositeMapper = {
type: {
name: "DateTime"
}
- },
- lastModifiedBy: {
- serializedName: "properties.lastModifiedBy",
+ }
+ }
+ }
+};
+
+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: {
+ serializedName: "properties.creationTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastModifiedTime: {
+ serializedName: "properties.lastModifiedTime",
+ type: {
+ name: "DateTime"
+ }
+ },
description: {
serializedName: "properties.description",
type: {
@@ -6704,25 +6853,7 @@ export const Module: coreClient.CompositeMapper = {
provisioningState: {
serializedName: "properties.provisioningState",
type: {
- name: "Enum",
- allowedValues: [
- "Created",
- "Creating",
- "StartingImportModuleRunbook",
- "RunningImportModuleRunbook",
- "ContentRetrieved",
- "ContentDownloaded",
- "ContentValidated",
- "ConnectionTypeImported",
- "ContentStored",
- "ModuleDataStored",
- "ActivitiesStored",
- "ModuleImportRunbookComplete",
- "Succeeded",
- "Failed",
- "Cancelled",
- "Updating"
- ]
+ name: "String"
}
},
contentLink: {
diff --git a/sdk/automation/arm-automation/src/models/parameters.ts b/sdk/automation/arm-automation/src/models/parameters.ts
index d301b423cf1d..2611dc0d346d 100644
--- a/sdk/automation/arm-automation/src/models/parameters.ts
+++ b/sdk/automation/arm-automation/src/models/parameters.ts
@@ -13,15 +13,16 @@ 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,
+ PythonPackageCreateParameters as PythonPackageCreateParametersMapper,
+ PythonPackageUpdateParameters as PythonPackageUpdateParametersMapper,
AutomationAccountUpdateParameters as AutomationAccountUpdateParametersMapper,
AutomationAccountCreateOrUpdateParameters as AutomationAccountCreateOrUpdateParametersMapper,
CertificateCreateOrUpdateParameters as CertificateCreateOrUpdateParametersMapper,
@@ -31,28 +32,27 @@ 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,
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,43 @@ export const streamId: OperationURLParameter = {
}
};
-export const parameters9: OperationParameter = {
+export const parameters6: OperationParameter = {
parameterPath: "parameters",
- mapper: AutomationAccountUpdateParametersMapper
+ mapper: WebhookCreateOrUpdateParametersMapper
};
-export const apiVersion1: OperationQueryParameter = {
+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 packageName: OperationURLParameter = {
+ parameterPath: "packageName",
+ mapper: {
+ serializedName: "packageName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const apiVersion4: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
- defaultValue: "2021-06-22",
+ defaultValue: "2022-08-08",
isConstant: true,
serializedName: "api-version",
type: {
@@ -392,7 +417,22 @@ export const apiVersion1: OperationQueryParameter = {
}
};
+export const parameters8: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: PythonPackageCreateParametersMapper
+};
+
+export const parameters9: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: PythonPackageUpdateParametersMapper
+};
+
export const parameters10: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: AutomationAccountUpdateParametersMapper
+};
+
+export const parameters11: OperationParameter = {
parameterPath: "parameters",
mapper: AutomationAccountCreateOrUpdateParametersMapper
};
@@ -408,12 +448,12 @@ export const certificateName: OperationURLParameter = {
}
};
-export const parameters11: OperationParameter = {
+export const parameters12: OperationParameter = {
parameterPath: "parameters",
mapper: CertificateCreateOrUpdateParametersMapper
};
-export const parameters12: OperationParameter = {
+export const parameters13: OperationParameter = {
parameterPath: "parameters",
mapper: CertificateUpdateParametersMapper
};
@@ -429,12 +469,12 @@ export const connectionName: OperationURLParameter = {
}
};
-export const parameters13: OperationParameter = {
+export const parameters14: OperationParameter = {
parameterPath: "parameters",
mapper: ConnectionCreateOrUpdateParametersMapper
};
-export const parameters14: OperationParameter = {
+export const parameters15: OperationParameter = {
parameterPath: "parameters",
mapper: ConnectionUpdateParametersMapper
};
@@ -450,7 +490,7 @@ export const connectionTypeName: OperationURLParameter = {
}
};
-export const parameters15: OperationParameter = {
+export const parameters16: OperationParameter = {
parameterPath: "parameters",
mapper: ConnectionTypeCreateOrUpdateParametersMapper
};
@@ -466,47 +506,43 @@ export const credentialName: OperationURLParameter = {
}
};
-export const parameters16: OperationParameter = {
+export const parameters17: OperationParameter = {
parameterPath: "parameters",
mapper: CredentialCreateOrUpdateParametersMapper
};
-export const parameters17: OperationParameter = {
+export const parameters18: 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 parameters19: OperationParameter = {
+ parameterPath: "parameters",
mapper: {
- serializedName: "activityName",
+ serializedName: "parameters",
required: true,
type: {
name: "String"
@@ -514,190 +550,118 @@ export const activityName: OperationURLParameter = {
}
};
-export const parameters19: OperationParameter = {
- parameterPath: "parameters",
- mapper: ModuleCreateOrUpdateParametersMapper
-};
-
-export const parameters20: OperationParameter = {
- parameterPath: "parameters",
- mapper: ModuleUpdateParametersMapper
-};
-
-export const typeName: OperationURLParameter = {
- parameterPath: "typeName",
- mapper: {
- serializedName: "typeName",
- required: true,
- type: {
- name: "String"
- }
- }
-};
-
-export const parameters21: OperationParameter = {
- parameterPath: "parameters",
- mapper: ScheduleCreateOrUpdateParametersMapper
-};
-
-export const scheduleName: OperationURLParameter = {
- parameterPath: "scheduleName",
+export const accept1: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- serializedName: "scheduleName",
- required: true,
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const parameters22: OperationParameter = {
- parameterPath: "parameters",
- mapper: ScheduleUpdateParametersMapper
-};
-
-export const parameters23: OperationParameter = {
- parameterPath: "parameters",
- mapper: VariableCreateOrUpdateParametersMapper
-};
-
-export const variableName: OperationURLParameter = {
- parameterPath: "variableName",
+export const contentType2: OperationParameter = {
+ parameterPath: "contentType",
mapper: {
- serializedName: "variableName",
- required: true,
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Content-Type",
type: {
name: "String"
}
}
};
-export const parameters24: OperationParameter = {
- parameterPath: "parameters",
- mapper: VariableUpdateParametersMapper
-};
-
-export const parameters25: OperationParameter = {
+export const parameters20: OperationParameter = {
parameterPath: "parameters",
- mapper: WatcherMapper
+ mapper: DscConfigurationCreateOrUpdateParametersMapper
};
-export const watcherName: OperationURLParameter = {
- parameterPath: "watcherName",
+export const parameters21: OperationParameter = {
+ parameterPath: ["options", "parameters"],
mapper: {
- serializedName: "watcherName",
- required: true,
+ serializedName: "parameters",
type: {
name: "String"
}
}
};
-export const parameters26: OperationParameter = {
- parameterPath: "parameters",
- mapper: WatcherUpdateParametersMapper
-};
-
-export const configurationName: OperationURLParameter = {
- parameterPath: "configurationName",
- mapper: {
- serializedName: "configurationName",
- required: true,
- type: {
- name: "String"
- }
- }
+export const parameters22: OperationParameter = {
+ parameterPath: ["options", "parameters"],
+ mapper: DscConfigurationUpdateParametersMapper
};
-export const apiVersion2: OperationQueryParameter = {
- parameterPath: "apiVersion",
+export const accept2: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- defaultValue: "2019-06-01",
+ defaultValue: "text/powershell",
isConstant: true,
- serializedName: "api-version",
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const contentType1: OperationParameter = {
- parameterPath: "contentType",
+export const nodeConfigurationName: OperationURLParameter = {
+ parameterPath: "nodeConfigurationName",
mapper: {
- defaultValue: "text/plain; charset=utf-8",
- isConstant: true,
- serializedName: "Content-Type",
+ serializedName: "nodeConfigurationName",
+ required: true,
type: {
name: "String"
}
}
};
-export const parameters27: OperationParameter = {
+export const parameters23: OperationParameter = {
parameterPath: "parameters",
- mapper: {
- serializedName: "parameters",
- required: true,
- type: {
- name: "String"
- }
- }
+ mapper: DscNodeConfigurationCreateOrUpdateParametersMapper
};
-export const accept1: OperationParameter = {
- parameterPath: "accept",
+export const hybridRunbookWorkerGroupName: OperationURLParameter = {
+ parameterPath: "hybridRunbookWorkerGroupName",
mapper: {
- defaultValue: "application/json",
- isConstant: true,
- serializedName: "Accept",
+ serializedName: "hybridRunbookWorkerGroupName",
+ required: true,
type: {
name: "String"
}
}
};
-export const contentType2: OperationParameter = {
- parameterPath: "contentType",
+export const hybridRunbookWorkerId: OperationURLParameter = {
+ parameterPath: "hybridRunbookWorkerId",
mapper: {
- defaultValue: "application/json",
- isConstant: true,
- serializedName: "Content-Type",
+ serializedName: "hybridRunbookWorkerId",
+ required: true,
type: {
name: "String"
}
}
};
-export const parameters28: OperationParameter = {
- parameterPath: "parameters",
- mapper: DscConfigurationCreateOrUpdateParametersMapper
+export const hybridRunbookWorkerCreationParameters: OperationParameter = {
+ parameterPath: "hybridRunbookWorkerCreationParameters",
+ mapper: HybridRunbookWorkerCreateParametersMapper
};
-export const parameters29: OperationParameter = {
- parameterPath: ["options", "parameters"],
- mapper: {
- serializedName: "parameters",
- type: {
- name: "String"
- }
- }
+export const hybridRunbookWorkerMoveParameters: OperationParameter = {
+ parameterPath: "hybridRunbookWorkerMoveParameters",
+ mapper: HybridRunbookWorkerMoveParametersMapper
};
-export const parameters30: OperationParameter = {
- parameterPath: ["options", "parameters"],
- mapper: DscConfigurationUpdateParametersMapper
+export const hybridRunbookWorkerGroupCreationParameters: OperationParameter = {
+ parameterPath: "hybridRunbookWorkerGroupCreationParameters",
+ mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper
};
-export const accept2: OperationParameter = {
- parameterPath: "accept",
- mapper: {
- defaultValue: "text/powershell",
- isConstant: true,
- serializedName: "Accept",
- type: {
- name: "String"
- }
- }
+export const hybridRunbookWorkerGroupUpdationParameters: OperationParameter = {
+ parameterPath: "hybridRunbookWorkerGroupUpdationParameters",
+ mapper: HybridRunbookWorkerGroupCreateOrUpdateParametersMapper
};
export const accept3: OperationParameter = {
@@ -723,35 +687,31 @@ export const jobName: OperationURLParameter = {
}
};
-export const clientRequestId: OperationParameter = {
- parameterPath: ["options", "clientRequestId"],
- mapper: {
- serializedName: "clientRequestId",
- type: {
- name: "String"
- }
- }
-};
-
-export const parameters31: OperationParameter = {
+export const parameters24: OperationParameter = {
parameterPath: "parameters",
mapper: JobCreateParametersMapper
};
-export const parameters32: OperationParameter = {
- parameterPath: "parameters",
- mapper: GraphicalRunbookContentMapper
+export const jobScheduleId: OperationURLParameter = {
+ parameterPath: "jobScheduleId",
+ mapper: {
+ serializedName: "jobScheduleId",
+ required: true,
+ type: {
+ name: "Uuid"
+ }
+ }
};
-export const parameters33: OperationParameter = {
+export const parameters25: OperationParameter = {
parameterPath: "parameters",
- mapper: SoftwareUpdateConfigurationMapper
+ mapper: JobScheduleCreateParametersMapper
};
-export const softwareUpdateConfigurationName: OperationURLParameter = {
- parameterPath: "softwareUpdateConfigurationName",
+export const moduleName: OperationURLParameter = {
+ parameterPath: "moduleName",
mapper: {
- serializedName: "softwareUpdateConfigurationName",
+ serializedName: "moduleName",
required: true,
type: {
name: "String"
@@ -759,48 +719,43 @@ export const softwareUpdateConfigurationName: OperationURLParameter = {
}
};
-export const softwareUpdateConfigurationRunId: OperationURLParameter = {
- parameterPath: "softwareUpdateConfigurationRunId",
+export const activityName: OperationURLParameter = {
+ parameterPath: "activityName",
mapper: {
- serializedName: "softwareUpdateConfigurationRunId",
+ serializedName: "activityName",
required: true,
type: {
- name: "Uuid"
+ name: "String"
}
}
};
-export const skip1: OperationQueryParameter = {
- parameterPath: ["options", "skip"],
- mapper: {
- serializedName: "$skip",
- type: {
- name: "String"
- }
- }
+export const parameters26: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ModuleCreateOrUpdateParametersMapper
};
-export const top1: OperationQueryParameter = {
- parameterPath: ["options", "top"],
- mapper: {
- serializedName: "$top",
- type: {
- name: "String"
- }
- }
+export const parameters27: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: ModuleUpdateParametersMapper
};
-export const softwareUpdateConfigurationMachineRunId: OperationURLParameter = {
- parameterPath: "softwareUpdateConfigurationMachineRunId",
+export const typeName: OperationURLParameter = {
+ parameterPath: "typeName",
mapper: {
- serializedName: "softwareUpdateConfigurationMachineRunId",
+ serializedName: "typeName",
required: true,
type: {
- name: "Uuid"
+ name: "String"
}
}
};
+export const parameters28: OperationParameter = {
+ parameterPath: "parameters",
+ mapper: GraphicalRunbookContentMapper
+};
+
export const runbookName: OperationURLParameter = {
parameterPath: "runbookName",
mapper: {
@@ -812,18 +767,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 +790,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 +884,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..535d39798d33 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.parameters10,
+ 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.parameters11,
+ 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..0a228f8658b4 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.parameters12,
+ 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.parameters13,
+ 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..944bec942d98 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.parameters14,
+ 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.parameters15,
+ 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..4ab5cfd07c14 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.parameters16,
+ 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..f94f7736d505 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.parameters17,
+ 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.parameters18,
+ 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..bedb789c10b1 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.parameters19,
+ 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.parameters20,
+ 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.parameters21,
+ 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.parameters22,
+ 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..31216e0555f2 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.parameters23,
+ 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..0ef64645b273 100644
--- a/sdk/automation/arm-automation/src/operations/index.ts
+++ b/sdk/automation/arm-automation/src/operations/index.ts
@@ -8,17 +8,17 @@
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 "./python3Package";
export * from "./automationAccountOperations";
export * from "./statisticsOperations";
export * from "./usages";
@@ -27,27 +27,28 @@ 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 "./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..83acefed4f52 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.parameters24,
+ 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..d3fb96c20fcd 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.parameters25,
+ 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..824bf28c28cd 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.parameters26,
+ 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.parameters27,
+ 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..e038e852dc35 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.parameters8,
+ 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.parameters9,
+ 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..e47837deada4
--- /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.parameters8,
+ 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.parameters9,
+ 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..fcda2680919b 100644
--- a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts
+++ b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts
@@ -17,11 +17,9 @@ import {
RunbookDraftGetContentOptionalParams,
RunbookDraftGetContentResponse,
RunbookDraftReplaceContentOptionalParams,
- RunbookDraftReplaceContentResponse,
RunbookDraftGetOptionalParams,
RunbookDraftGetResponse,
- RunbookDraftUndoEditOptionalParams,
- RunbookDraftUndoEditResponse
+ RunbookDraftUndoEditOptionalParams
} from "../models";
/** Class containing RunbookDraftOperations operations. */
@@ -60,7 +58,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(
@@ -69,16 +67,11 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations {
runbookName: string,
runbookContent: string,
options?: RunbookDraftReplaceContentOptionalParams
- ): Promise<
- PollerLike<
- PollOperationState,
- RunbookDraftReplaceContentResponse
- >
- > {
+ ): Promise, void>> {
const directSendOperation = async (
args: coreClient.OperationArguments,
spec: coreClient.OperationSpec
- ): Promise => {
+ ): Promise => {
return this.client.sendOperationRequest(args, spec);
};
const sendOperation = async (
@@ -127,7 +120,8 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations {
);
const poller = new LroEngine(lro, {
resumeFrom: options?.resumeFrom,
- intervalInMs: options?.updateIntervalInMs
+ intervalInMs: options?.updateIntervalInMs,
+ lroResourceLocationConfig: "location"
});
await poller.poll();
return poller;
@@ -138,7 +132,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(
@@ -147,7 +141,7 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations {
runbookName: string,
runbookContent: string,
options?: RunbookDraftReplaceContentOptionalParams
- ): Promise {
+ ): Promise {
const poller = await this.beginReplaceContent(
resourceGroupName,
automationAccountName,
@@ -189,7 +183,7 @@ export class RunbookDraftOperationsImpl implements RunbookDraftOperations {
automationAccountName: string,
runbookName: string,
options?: RunbookDraftUndoEditOptionalParams
- ): Promise {
+ ): Promise {
return this.client.sendOperationRequest(
{ resourceGroupName, automationAccountName, runbookName, options },
undoEditOperationSpec
@@ -209,7 +203,7 @@ const getContentOperationSpec: coreClient.OperationSpec = {
},
default: {}
},
- queryParameters: [Parameters.apiVersion3],
+ queryParameters: [Parameters.apiVersion4],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
@@ -225,24 +219,16 @@ const replaceContentOperationSpec: coreClient.OperationSpec = {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content",
httpMethod: "PUT",
responses: {
- 200: {
- bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" }
- },
- 201: {
- bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" }
- },
- 202: {
- bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" }
- },
- 204: {
- bodyMapper: { type: { name: "Stream" }, serializedName: "parsedResponse" }
- },
+ 200: {},
+ 201: {},
+ 202: {},
+ 204: {},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
requestBody: Parameters.runbookContent,
- queryParameters: [Parameters.apiVersion3],
+ queryParameters: [Parameters.apiVersion4],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
@@ -266,7 +252,7 @@ const getOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.ErrorResponse
}
},
- queryParameters: [Parameters.apiVersion3],
+ queryParameters: [Parameters.apiVersion4],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
@@ -282,14 +268,12 @@ const undoEditOperationSpec: coreClient.OperationSpec = {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/undoEdit",
httpMethod: "POST",
responses: {
- 200: {
- bodyMapper: Mappers.RunbookDraftUndoEditResult
- },
+ 200: {},
default: {
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..0ef64645b273 100644
--- a/sdk/automation/arm-automation/src/operationsInterfaces/index.ts
+++ b/sdk/automation/arm-automation/src/operationsInterfaces/index.ts
@@ -8,17 +8,17 @@
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 "./python3Package";
export * from "./automationAccountOperations";
export * from "./statisticsOperations";
export * from "./usages";
@@ -27,27 +27,28 @@ 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 "./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..3034e8814709 100644
--- a/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts
+++ b/sdk/automation/arm-automation/src/operationsInterfaces/runbookDraftOperations.ts
@@ -11,11 +11,9 @@ import {
RunbookDraftGetContentOptionalParams,
RunbookDraftGetContentResponse,
RunbookDraftReplaceContentOptionalParams,
- RunbookDraftReplaceContentResponse,
RunbookDraftGetOptionalParams,
RunbookDraftGetResponse,
- RunbookDraftUndoEditOptionalParams,
- RunbookDraftUndoEditResponse
+ RunbookDraftUndoEditOptionalParams
} from "../models";
/** Interface representing a RunbookDraftOperations. */
@@ -38,7 +36,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(
@@ -47,18 +45,13 @@ export interface RunbookDraftOperations {
runbookName: string,
runbookContent: string,
options?: RunbookDraftReplaceContentOptionalParams
- ): Promise<
- PollerLike<
- PollOperationState,
- RunbookDraftReplaceContentResponse
- >
- >;
+ ): Promise, void>>;
/**
* Replaces the runbook draft content.
* @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(
@@ -67,7 +60,7 @@ export interface RunbookDraftOperations {
runbookName: string,
runbookContent: string,
options?: RunbookDraftReplaceContentOptionalParams
- ): Promise;
+ ): Promise;
/**
* Retrieve the runbook draft identified by runbook name.
* @param resourceGroupName Name of an Azure Resource group.
@@ -93,5 +86,5 @@ export interface RunbookDraftOperations {
automationAccountName: string,
runbookName: string,
options?: RunbookDraftUndoEditOptionalParams
- ): Promise;
+ ): Promise;
}
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!");
+ });
+});