Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
[AutoPR automation/resource-manager] [Automation] Refactoring Automat…
Browse files Browse the repository at this point in the history
…ion Resources (#2954)

* Generated from cf70daa6286e791991719865edc67272f9aaf702

Refactoring Automation Resources

* Generated from de5451f64c64bc87aa0a18e11831e5c589bbd430

Fix 2017 resources and remove definitions.json

* Generated from 30f27399c1c797dc44cdff66346523b8e3d3c1a5

2018 Resources refactored

* Generated from 89887215b6739229792be24c251650fd6de3183c

Corrected the runbook.json and defintions

* Generated from 9bf9ed3e7e02fbb463989457583d3ea80a4ee4b4

Fixing based on review comments

* Generated from ae1e983f0a475a8ab7bce85f336e66e56535937f

Fixed based on review comments.

* Generated from 869cdb8deaa5e55a990ac3895058d76ba77444f0

Fixing SUC examples and Schedule definition errors

* Generated from 5bf6dcbb1c9c8054d1aa9db6bb884332944c8924

Adding a suppression for the LongRunningResponseStatusCode
  • Loading branch information
AutorestCI authored Jun 22, 2018
1 parent 8ab4ca3 commit 6f25eaa
Show file tree
Hide file tree
Showing 56 changed files with 5,768 additions and 2,872 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export default class AutomationClient extends AzureServiceClient {
dscCompilationJobOperations: operations.DscCompilationJobOperations;
dscCompilationJobStream: operations.DscCompilationJobStream;
dscNodeConfigurationOperations: operations.DscNodeConfigurationOperations;
watcherOperations: operations.WatcherOperations;
}

export { AutomationClient, models as AutomationModels };
1 change: 1 addition & 0 deletions lib/services/automationManagement/lib/automationClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class AutomationClient extends ServiceClient {
this.dscCompilationJobOperations = new operations.DscCompilationJobOperations(this);
this.dscCompilationJobStream = new operations.DscCompilationJobStream(this);
this.dscNodeConfigurationOperations = new operations.DscNodeConfigurationOperations(this);
this.watcherOperations = new operations.WatcherOperations(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ActivityParameter {
* parameter is optional.
* @member {boolean} [isDynamic] Gets or sets a Boolean value that indicates
* true if the parameter is dynamic.
* @member {boolean} [position] Gets or sets the position of the activity
* @member {number} [position] Gets or sets the position of the activity
* parameter.
* @member {boolean} [valueFromPipeline] Gets or sets a Boolean value that
* indicates true if the parameter can take values from the incoming pipeline
Expand Down Expand Up @@ -91,7 +91,7 @@ class ActivityParameter {
required: false,
serializedName: 'position',
type: {
name: 'Boolean'
name: 'Number'
}
},
valueFromPipeline: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class AgentRegistrationRegenerateKeyParameter {
* Create a AgentRegistrationRegenerateKeyParameter.
* @member {string} keyName Gets or sets the agent registration key name -
* primary or secondary. Possible values include: 'primary', 'secondary'
* @member {string} [name] Gets or sets the name of the resource.
* @member {string} [location] Gets or sets the location of the resource.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
constructor() {
}
Expand All @@ -46,34 +43,6 @@ class AgentRegistrationRegenerateKeyParameter {
type: {
name: 'String'
}
},
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
location: {
required: false,
serializedName: 'location',
type: {
name: 'String'
}
},
tags: {
required: false,
serializedName: 'tags',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ class DscCompilationJob extends models['ProxyResource'] {
* @member {string} [startedBy] Gets the compilation job started by.
* @member {uuid} [jobId] Gets the id of the job.
* @member {date} [creationTime] Gets the creation time of the job.
* @member {object} [provisioningState] The current provisioning state of the
* job.
* @member {string} [provisioningState.provisioningState] The provisioning
* state of the resource. Possible values include: 'Failed', 'Succeeded',
* 'Suspended', 'Processing'
* @member {string} [provisioningState] The current provisioning state of the
* job. Possible values include: 'Failed', 'Succeeded', 'Suspended',
* 'Processing'
* @member {string} [runOn] Gets or sets the runOn which specifies the group
* name where the job is to be executed.
* @member {string} [status] Gets or sets the status of the job. Possible
Expand Down Expand Up @@ -125,8 +123,7 @@ class DscCompilationJob extends models['ProxyResource'] {
required: false,
serializedName: 'properties.provisioningState',
type: {
name: 'Composite',
className: 'JobProvisioningStateProperty'
name: 'String'
}
},
runOn: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class DscCompilationJobCreateParameters {
* @member {string} [configuration.name] Gets or sets the name of the Dsc
* configuration.
* @member {object} [parameters] Gets or sets the parameters of the job.
* @member {boolean} [newNodeConfigurationBuildVersionRequired] If a new
* build version of NodeConfiguration is required.
* @member {boolean} [incrementNodeConfigurationBuild] If a new build version
* of NodeConfiguration is required.
* @member {string} [name] Gets or sets name of the resource.
* @member {string} [location] Gets or sets the location of the resource.
* @member {object} [tags] Gets or sets the tags attached to the resource.
Expand Down Expand Up @@ -68,9 +68,9 @@ class DscCompilationJobCreateParameters {
}
}
},
newNodeConfigurationBuildVersionRequired: {
incrementNodeConfigurationBuild: {
required: false,
serializedName: 'properties.newNodeConfigurationBuildVersionRequired',
serializedName: 'properties.incrementNodeConfigurationBuild',
type: {
name: 'Boolean'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class DscNodeUpdateParameters {
/**
* Create a DscNodeUpdateParameters.
* @member {string} [nodeId] Gets or sets the id of the dsc node.
* @member {object} [nodeConfiguration] Gets or sets the configuration of the
* node.
* @member {string} [nodeConfiguration.name] Gets or sets the name of the dsc
* nodeconfiguration.
* @member {object} [properties]
* @member {string} [properties.name] Gets or sets the name of the dsc
* nodeconfiguration.
Expand Down Expand Up @@ -52,14 +48,6 @@ class DscNodeUpdateParameters {
name: 'String'
}
},
nodeConfiguration: {
required: false,
serializedName: 'nodeConfiguration',
type: {
name: 'Composite',
className: 'DscNodeConfigurationAssociationProperty'
}
},
properties: {
required: false,
serializedName: 'properties',
Expand Down
Loading

0 comments on commit 6f25eaa

Please sign in to comment.