Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class DscConfiguration extends models['TrackedResource'] {
* @member {boolean} [logVerbose] Gets or sets verbose log option.
* @member {date} [creationTime] Gets or sets the creation time.
* @member {date} [lastModifiedTime] Gets or sets the last modified time.
* @member {number} [nodeConfigurationCount] Gets the number of compiled node
* configurations.
* @member {string} [description] Gets or sets the description.
* @member {string} [etag] Gets or sets the etag of the resource.
*/
Expand Down Expand Up @@ -173,6 +175,13 @@ class DscConfiguration extends models['TrackedResource'] {
name: 'DateTime'
}
},
nodeConfigurationCount: {
required: false,
serializedName: 'properties.nodeConfigurationCount',
type: {
name: 'Number'
}
},
description: {
required: false,
serializedName: 'properties.description',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class DscConfigurationListResult extends Array {
/**
* Create a DscConfigurationListResult.
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets the total number of configurations
* matching filter criteria.
*/
constructor() {
super();
Expand Down Expand Up @@ -57,6 +59,13 @@ class DscConfigurationListResult extends Array {
type: {
name: 'String'
}
},
totalCount: {
required: false,
serializedName: 'totalCount',
type: {
name: 'Number'
}
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions lib/services/automationManagement/lib/models/dscNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class DscNode extends models['ProxyResource'] {
* @member {string} [status] Gets or sets the status of the node.
* @member {string} [nodeId] Gets or sets the node id.
* @member {string} [etag] Gets or sets the etag of the resource.
* @member {number} [totalCount] Gets the total number of records matching
* filter criteria.
* @member {array} [extensionHandler] Gets or sets the list of
* extensionHandler properties for a Node.
*/
Expand Down Expand Up @@ -131,6 +133,13 @@ class DscNode extends models['ProxyResource'] {
name: 'String'
}
},
totalCount: {
required: false,
serializedName: 'properties.totalCount',
type: {
name: 'Number'
}
},
extensionHandler: {
required: false,
serializedName: 'properties.extensionHandler',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,12 @@ class DscNodeConfigurationCreateOrUpdateParameters {
* @member {string} [source.value] Gets or sets the value of the content.
* This is based on the content source type.
* @member {string} [source.version] Gets or sets the version of the content.
* @member {string} name Name of the node configuration.
* @member {string} name Gets or sets the type of the parameter.
* @member {object} configuration Gets or sets the configuration of the node.
* @member {string} [configuration.name] Gets or sets the name of the Dsc
* configuration.
* @member {boolean} [newNodeConfigurationBuildVersionRequired] If a new
* build version of NodeConfiguration is required.
* @member {object} source1 Gets or sets the source.
* @member {object} [source1.hash] Gets or sets the hash.
* @member {string} [source1.hash.algorithm] Gets or sets the content hash
* algorithm used to hash the content.
* @member {string} [source1.hash.value] Gets or sets expected hash value of
* the content.
* @member {string} [source1.type] Gets or sets the content source type.
* Possible values include: 'embeddedContent', 'uri'
* @member {string} [source1.value] Gets or sets the value of the content.
* This is based on the content source type.
* @member {string} [source1.version] Gets or sets the version of the
* content.
* @member {string} name1 Gets or sets the type of the parameter.
* @member {object} configuration1 Gets or sets the configuration of the
* node.
* @member {string} [configuration1.name] Gets or sets the name of the Dsc
* configuration.
* @member {boolean} [incrementNodeConfigurationBuild] If a new build version
* of NodeConfiguration is required.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
constructor() {
}
Expand Down Expand Up @@ -104,50 +84,6 @@ class DscNodeConfigurationCreateOrUpdateParameters {
type: {
name: 'Boolean'
}
},
source1: {
required: true,
serializedName: 'properties.source',
type: {
name: 'Composite',
className: 'ContentSource'
}
},
name1: {
required: true,
serializedName: 'properties.name',
type: {
name: 'String'
}
},
configuration1: {
required: true,
serializedName: 'properties.configuration',
type: {
name: 'Composite',
className: 'DscConfigurationAssociationProperty'
}
},
incrementNodeConfigurationBuild: {
required: false,
serializedName: 'properties.incrementNodeConfigurationBuild',
type: {
name: 'Boolean'
}
},
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 @@ -17,6 +17,7 @@ class DscNodeConfigurationListResult extends Array {
/**
* Create a DscNodeConfigurationListResult.
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets or sets the total rows in query.
*/
constructor() {
super();
Expand Down Expand Up @@ -57,6 +58,13 @@ class DscNodeConfigurationListResult extends Array {
type: {
name: 'String'
}
},
totalCount: {
required: false,
serializedName: 'totalCount',
type: {
name: 'Number'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class DscNodeListResult extends Array {
/**
* Create a DscNodeListResult.
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets the total number of nodes matching
* filter criteria.
*/
constructor() {
super();
Expand Down Expand Up @@ -57,6 +59,13 @@ class DscNodeListResult extends Array {
type: {
name: 'String'
}
},
totalCount: {
required: false,
serializedName: 'totalCount',
type: {
name: 'Number'
}
}
}
}
Expand Down
78 changes: 51 additions & 27 deletions lib/services/automationManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,8 @@ export interface DscConfigurationParameter {
* @member {boolean} [logVerbose] Gets or sets verbose log option.
* @member {date} [creationTime] Gets or sets the creation time.
* @member {date} [lastModifiedTime] Gets or sets the last modified time.
* @member {number} [nodeConfigurationCount] Gets the number of compiled node
* configurations.
* @member {string} [description] Gets or sets the description.
* @member {string} [etag] Gets or sets the etag of the resource.
*/
Expand All @@ -679,6 +681,7 @@ export interface DscConfiguration extends TrackedResource {
logVerbose?: boolean;
creationTime?: Date;
lastModifiedTime?: Date;
nodeConfigurationCount?: number;
description?: string;
etag?: string;
}
Expand Down Expand Up @@ -1327,41 +1330,18 @@ export interface DscMetaConfiguration {
* @member {string} [source.value] Gets or sets the value of the content. This
* is based on the content source type.
* @member {string} [source.version] Gets or sets the version of the content.
* @member {string} name Name of the node configuration.
* @member {string} name Gets or sets the type of the parameter.
* @member {object} configuration Gets or sets the configuration of the node.
* @member {string} [configuration.name] Gets or sets the name of the Dsc
* configuration.
* @member {boolean} [newNodeConfigurationBuildVersionRequired] If a new build
* version of NodeConfiguration is required.
* @member {object} source1 Gets or sets the source.
* @member {object} [source1.hash] Gets or sets the hash.
* @member {string} [source1.hash.algorithm] Gets or sets the content hash
* algorithm used to hash the content.
* @member {string} [source1.hash.value] Gets or sets expected hash value of
* the content.
* @member {string} [source1.type] Gets or sets the content source type.
* Possible values include: 'embeddedContent', 'uri'
* @member {string} [source1.value] Gets or sets the value of the content. This
* is based on the content source type.
* @member {string} [source1.version] Gets or sets the version of the content.
* @member {string} name1 Gets or sets the type of the parameter.
* @member {object} configuration1 Gets or sets the configuration of the node.
* @member {string} [configuration1.name] Gets or sets the name of the Dsc
* configuration.
* @member {boolean} [incrementNodeConfigurationBuild] If a new build version
* of NodeConfiguration is required.
* @member {object} [tags] Gets or sets the tags attached to the resource.
*/
export interface DscNodeConfigurationCreateOrUpdateParameters {
source: ContentSource;
name: string;
configuration: DscConfigurationAssociationProperty;
newNodeConfigurationBuildVersionRequired?: boolean;
source1: ContentSource;
name1: string;
configuration1: DscConfigurationAssociationProperty;
incrementNodeConfigurationBuild?: boolean;
tags?: { [propertyName: string]: string };
}

/**
Expand Down Expand Up @@ -1671,7 +1651,7 @@ export interface Job extends ProxyResource {
lastModifiedTime?: Date;
lastStatusModifiedTime?: Date;
parameters?: { [propertyName: string]: string };
readonly provisioningState?: JobProvisioningStateProperty;
provisioningState?: JobProvisioningStateProperty;
}

/**
Expand Down Expand Up @@ -2365,7 +2345,11 @@ export interface WebhookUpdateParameters {
* @member {date} [startTime] The start time of the job.
* @member {date} [endTime] The end time of the job.
* @member {date} [lastModifiedTime] The last modified time of the job.
* @member {string} [provisioningState] The provisioning state of a resource.
* @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'
*/
export interface JobCollectionItem extends ProxyResource {
readonly runbook?: RunbookAssociationProperty;
Expand All @@ -2375,7 +2359,7 @@ export interface JobCollectionItem extends ProxyResource {
readonly startTime?: Date;
readonly endTime?: Date;
readonly lastModifiedTime?: Date;
readonly provisioningState?: string;
provisioningState?: JobProvisioningStateProperty;
}

/**
Expand Down Expand Up @@ -2996,6 +2980,8 @@ export interface SourceControlSyncJobById {
* @member {string} [status] Gets or sets the status of the node.
* @member {string} [nodeId] Gets or sets the node id.
* @member {string} [etag] Gets or sets the etag of the resource.
* @member {number} [totalCount] Gets the total number of records matching
* filter criteria.
* @member {array} [extensionHandler] Gets or sets the list of extensionHandler
* properties for a Node.
*/
Expand All @@ -3008,6 +2994,7 @@ export interface DscNode extends ProxyResource {
status?: string;
nodeId?: string;
etag?: string;
totalCount?: number;
extensionHandler?: DscNodeExtensionHandlerAssociationProperty[];
}

Expand Down Expand Up @@ -3037,6 +3024,38 @@ export interface DscNodeConfiguration extends ProxyResource {
incrementNodeConfigurationBuild?: boolean;
}

/**
* @class
* Initializes a new instance of the DscNodeConfigurationCreateOrUpdateParametersProperties class.
* @constructor
* The parameters supplied to the create or update node configuration
* operation.
*
* @member {object} source Gets or sets the source.
* @member {object} [source.hash] Gets or sets the hash.
* @member {string} [source.hash.algorithm] Gets or sets the content hash
* algorithm used to hash the content.
* @member {string} [source.hash.value] Gets or sets expected hash value of the
* content.
* @member {string} [source.type] Gets or sets the content source type.
* Possible values include: 'embeddedContent', 'uri'
* @member {string} [source.value] Gets or sets the value of the content. This
* is based on the content source type.
* @member {string} [source.version] Gets or sets the version of the content.
* @member {string} name Gets or sets the type of the parameter.
* @member {object} configuration Gets or sets the configuration of the node.
* @member {string} [configuration.name] Gets or sets the name of the Dsc
* configuration.
* @member {boolean} [incrementNodeConfigurationBuild] If a new build version
* of NodeConfiguration is required.
*/
export interface DscNodeConfigurationCreateOrUpdateParametersProperties {
source: ContentSource;
name: string;
configuration: DscConfigurationAssociationProperty;
incrementNodeConfigurationBuild?: boolean;
}


/**
* @class
Expand Down Expand Up @@ -3143,6 +3162,8 @@ export interface CredentialListResult extends Array<Credential> {
* The response model for the list configuration operation.
*
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets the total number of configurations
* matching filter criteria.
*/
export interface DscConfigurationListResult extends Array<DscConfiguration> {
nextLink?: string;
Expand Down Expand Up @@ -3309,6 +3330,8 @@ export interface JobListResultV2 extends Array<JobCollectionItem> {
* The response model for the list dsc nodes operation.
*
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets the total number of nodes matching filter
* criteria.
*/
export interface DscNodeListResult extends Array<DscNode> {
nextLink?: string;
Expand Down Expand Up @@ -3345,6 +3368,7 @@ export interface DscCompilationJobListResult extends Array<DscCompilationJob> {
* The response model for the list job operation.
*
* @member {string} [nextLink] Gets or sets the next link.
* @member {number} [totalCount] Gets or sets the total rows in query.
*/
export interface DscNodeConfigurationListResult extends Array<DscNodeConfiguration> {
nextLink?: string;
Expand Down
1 change: 1 addition & 0 deletions lib/services/automationManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ exports.SourceControlSyncJobByIdErrors = require('./sourceControlSyncJobByIdErro
exports.SourceControlSyncJobById = require('./sourceControlSyncJobById');
exports.DscNode = require('./dscNode');
exports.DscNodeConfiguration = require('./dscNodeConfiguration');
exports.DscNodeConfigurationCreateOrUpdateParametersProperties = require('./dscNodeConfigurationCreateOrUpdateParametersProperties');
exports.AutomationAccountListResult = require('./automationAccountListResult');
exports.OperationListResult = require('./operationListResult');
exports.StatisticsListResult = require('./statisticsListResult');
Expand Down
1 change: 0 additions & 1 deletion lib/services/automationManagement/lib/models/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ class Job extends models['ProxyResource'] {
},
provisioningState: {
required: false,
readOnly: true,
serializedName: 'properties.provisioningState',
type: {
name: 'Composite',
Expand Down
Loading