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 0c9fad429f1ae7f27e6d68f5ba6a6cd1e25bfe4b into 688b8a72c111627a70afd771bfadd44edea67273
  • Loading branch information
SDKAuto committed Nov 19, 2021
1 parent 107d25f commit 203eaba
Show file tree
Hide file tree
Showing 62 changed files with 166 additions and 245 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
37 changes: 8 additions & 29 deletions sdk/compute/arm-compute/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,10 @@ export interface BootDiagnostics {
export interface DiagnosticsProfile {
/**
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br>
* Azure also enables you to see a screenshot of the VM from the hypervisor.
* to diagnose VM status. <br>**NOTE**: If storageUri is being specified then ensure that the
* storage account is in the same region and subscription as the VM. <br><br> You can easily view
* the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
*/
bootDiagnostics?: BootDiagnostics;
}
Expand Down Expand Up @@ -728,28 +730,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 +779,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 +9228,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 +9306,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
Loading

0 comments on commit 203eaba

Please sign in to comment.