Skip to content

Commit

Permalink
CodeGen from PR 16590 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 465cf15e100c5f976e2c023d06044229277a4e49 into 2ae2cf2a7739d57d4fdf72fce06c0a9a617b5933
  • Loading branch information
SDKAuto committed Oct 28, 2021
1 parent d67a884 commit f83ed16
Show file tree
Hide file tree
Showing 61 changed files with 155 additions and 236 deletions.
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/disksMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/galleriesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/imagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
31 changes: 4 additions & 27 deletions sdk/compute/arm-compute/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,28 +728,6 @@ export interface RestorePointSourceMetadata {
location?: string;
}

/**
* Restore Point Provisioning details.
*/
export interface RestorePointProvisioningDetails {
/**
* Gets the creation time of the restore point.
*/
creationTime?: Date;
/**
* Gets the total size of the data in all the disks which are part of the restore point.
*/
totalUsedSizeInBytes?: number;
/**
* Gets the status of the Create restore point operation.
*/
statusCode?: number;
/**
* Gets the status message of the Create restore point operation.
*/
statusMessage?: string;
}

/**
* The resource model definition for an Azure Resource Manager proxy resource. It will not have
* tags and a location
Expand Down Expand Up @@ -799,10 +777,9 @@ export interface RestorePoint extends ProxyResource {
*/
readonly consistencyMode?: ConsistencyModeTypes;
/**
* Gets the provisioning details set by the server during Create restore point operation.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
* Gets the creation time of the restore point.
*/
readonly provisioningDetails?: RestorePointProvisioningDetails;
timeCreated?: Date;
}

/**
Expand Down Expand Up @@ -9249,7 +9226,7 @@ export interface VirtualMachineImagesEdgeZoneListOptionalParams extends msRest.R
*/
export interface VirtualMachinesDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
/**
* Optional parameter to force delete virtual machines.(Feature in Preview)
* Optional parameter to force delete virtual machines.
*/
forceDeletion?: boolean;
}
Expand Down Expand Up @@ -9327,7 +9304,7 @@ export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extend
*/
export interface VirtualMachinesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase {
/**
* Optional parameter to force delete virtual machines.(Feature in Preview)
* Optional parameter to force delete virtual machines.
*/
forceDeletion?: boolean;
}
Expand Down
42 changes: 3 additions & 39 deletions sdk/compute/arm-compute/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -921,40 +921,6 @@ export const RestorePointSourceMetadata: msRest.CompositeMapper = {
}
};

export const RestorePointProvisioningDetails: msRest.CompositeMapper = {
serializedName: "RestorePointProvisioningDetails",
type: {
name: "Composite",
className: "RestorePointProvisioningDetails",
modelProperties: {
creationTime: {
serializedName: "creationTime",
type: {
name: "DateTime"
}
},
totalUsedSizeInBytes: {
serializedName: "totalUsedSizeInBytes",
type: {
name: "Number"
}
},
statusCode: {
serializedName: "statusCode",
type: {
name: "Number"
}
},
statusMessage: {
serializedName: "statusMessage",
type: {
name: "String"
}
}
}
}
};

export const ProxyResource: msRest.CompositeMapper = {
serializedName: "ProxyResource",
type: {
Expand Down Expand Up @@ -1027,12 +993,10 @@ export const RestorePoint: msRest.CompositeMapper = {
name: "String"
}
},
provisioningDetails: {
readOnly: true,
serializedName: "properties.provisioningDetails",
timeCreated: {
serializedName: "properties.timeCreated",
type: {
name: "Composite",
className: "RestorePointProvisioningDetails"
name: "DateTime"
}
}
}
Expand Down
16 changes: 14 additions & 2 deletions sdk/compute/arm-compute/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2021-07-01',
defaultValue: '2021-11-01',
type: {
name: "String"
}
Expand All @@ -37,13 +37,25 @@ export const apiVersion1: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2021-04-01',
defaultValue: '2021-07-01',
type: {
name: "String"
}
}
};
export const apiVersion2: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2021-04-01',
type: {
name: "String"
}
}
};
export const apiVersion3: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export {
RestorePointCollectionListResult,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/restorePointsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/snapshotsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
1 change: 0 additions & 1 deletion sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export {
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointCollectionUpdate,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export {
RestorePoint,
RestorePointCollection,
RestorePointCollectionSourceProperties,
RestorePointProvisioningDetails,
RestorePointSourceMetadata,
RestorePointSourceVMDataDisk,
RestorePointSourceVMOSDisk,
Expand Down
Loading

0 comments on commit f83ed16

Please sign in to comment.