Skip to content

Commit

Permalink
Generated from 43d0e3ef70cb0365d99931fd0bb4304641348ba5
Browse files Browse the repository at this point in the history
Adding missing response schema.
  • Loading branch information
SDK Automation committed May 14, 2020
1 parent 8cf2f02 commit 9c13a4e
Show file tree
Hide file tree
Showing 35 changed files with 369 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetList,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/disksMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/galleriesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
1 change: 1 addition & 0 deletions sdk/compute/arm-compute/src/models/imagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export {
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
DisallowedConfiguration,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
Expand Down
115 changes: 110 additions & 5 deletions sdk/compute/arm-compute/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,32 @@ export interface ComputeOperationValue {
readonly provider?: string;
}

/**
* An interface representing RetrieveBootDiagnosticsDataResult.
*/
export interface RetrieveBootDiagnosticsDataResult {
/**
* The console screenshot blob URI
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly consoleScreenshotBlobUri?: string;
/**
* The serial console log blob URI.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly serialConsoleLogBlobUri?: string;
}

/**
* Specifies the disallowed configuration for a virtual machine image.
*/
export interface DisallowedConfiguration {
/**
* VM disk types which are disallowed. Possible values include: 'None', 'Unmanaged'
*/
vmDiskType?: VmDiskTypes;
}

/**
* Instance view status.
*/
Expand Down Expand Up @@ -1590,7 +1616,8 @@ export interface BootDiagnostics {
*/
enabled?: boolean;
/**
* Uri of the storage account to use for placing the console output and screenshot.
* Uri of the storage account to use for placing the console output and screenshot. <br><br>If
* storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*/
storageUri?: string;
}
Expand Down Expand Up @@ -1686,12 +1713,14 @@ export interface DiskInstanceView {
*/
export interface BootDiagnosticsInstanceView {
/**
* The console screenshot blob URI.
* The console screenshot blob URI. <br><br>NOTE: This will **not** be set if boot diagnostics is
* currently enabled with managed storage.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly consoleScreenshotBlobUri?: string;
/**
* The Linux serial console log blob Uri.
* The Linux serial console log blob Uri. <br><br>NOTE: This will **not** be set if boot
* diagnostics is currently enabled with managed storage.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly serialConsoleLogBlobUri?: string;
Expand Down Expand Up @@ -2309,6 +2338,10 @@ export interface Image extends Resource {
* include: 'V1', 'V2'
*/
hyperVGeneration?: HyperVGenerationTypes;
/**
* Specifies disallowed configuration for the VirtualMachine created from the image
*/
disallowed?: DisallowedConfiguration;
}

/**
Expand All @@ -2333,6 +2366,10 @@ export interface ImageUpdate extends UpdateResource {
* include: 'V1', 'V2'
*/
hyperVGeneration?: HyperVGenerationTypes;
/**
* Specifies disallowed configuration for the VirtualMachine created from the image
*/
disallowed?: DisallowedConfiguration;
}

/**
Expand Down Expand Up @@ -5444,7 +5481,7 @@ export interface GalleryArtifactVersionSource {
* The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user
* image.
*/
id?: string;
id: string;
}

/**
Expand Down Expand Up @@ -5937,6 +5974,16 @@ export interface VirtualMachinesReimageOptionalParams extends msRest.RequestOpti
parameters?: VirtualMachineReimageParameters;
}

/**
* Optional Parameters.
*/
export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase {
/**
* SAS Expiration duration in minutes for the URIs.
*/
sasUriExpirationTimeInMinutes?: number;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -6221,6 +6268,16 @@ export interface VirtualMachineScaleSetVMsPowerOffOptionalParams extends msRest.
skipShutdown?: boolean;
}

/**
* Optional Parameters.
*/
export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataOptionalParams extends msRest.RequestOptionsBase {
/**
* SAS Expiration duration in minutes for the URIs.
*/
sasUriExpirationTimeInMinutes?: number;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -6248,7 +6305,7 @@ export interface VirtualMachineScaleSetVMsBeginPowerOffOptionalParams extends ms
*/
export interface ResourceSkusListOptionalParams extends msRest.RequestOptionsBase {
/**
* The filter to apply on the operation. Only **location** filter is supported currently.
* The filter to apply on the operation.
*/
filter?: string;
}
Expand Down Expand Up @@ -6619,6 +6676,14 @@ export interface ContainerServiceListResult extends Array<ContainerService> {
nextLink?: string;
}

/**
* Defines values for VmDiskTypes.
* Possible values include: 'None', 'Unmanaged'
* @readonly
* @enum {string}
*/
export type VmDiskTypes = 'None' | 'Unmanaged';

/**
* Defines values for HyperVGenerationTypes.
* Possible values include: 'V1', 'V2'
Expand Down Expand Up @@ -8378,6 +8443,26 @@ export type VirtualMachinesListAvailableSizesResponse = VirtualMachineSizeListRe
};
};

/**
* Contains response data for the retrieveBootDiagnosticsData operation.
*/
export type VirtualMachinesRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: RetrieveBootDiagnosticsDataResult;
};
};

/**
* Contains response data for the runCommand operation.
*/
Expand Down Expand Up @@ -9398,6 +9483,26 @@ export type VirtualMachineScaleSetVMsListResponse = VirtualMachineScaleSetVMList
};
};

/**
* Contains response data for the retrieveBootDiagnosticsData operation.
*/
export type VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataResponse = RetrieveBootDiagnosticsDataResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: RetrieveBootDiagnosticsDataResult;
};
};

/**
* Contains response data for the runCommand operation.
*/
Expand Down
55 changes: 55 additions & 0 deletions sdk/compute/arm-compute/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,46 @@ export const ComputeOperationValue: msRest.CompositeMapper = {
}
};

export const RetrieveBootDiagnosticsDataResult: msRest.CompositeMapper = {
serializedName: "RetrieveBootDiagnosticsDataResult",
type: {
name: "Composite",
className: "RetrieveBootDiagnosticsDataResult",
modelProperties: {
consoleScreenshotBlobUri: {
readOnly: true,
serializedName: "consoleScreenshotBlobUri",
type: {
name: "String"
}
},
serialConsoleLogBlobUri: {
readOnly: true,
serializedName: "serialConsoleLogBlobUri",
type: {
name: "String"
}
}
}
}
};

export const DisallowedConfiguration: msRest.CompositeMapper = {
serializedName: "DisallowedConfiguration",
type: {
name: "Composite",
className: "DisallowedConfiguration",
modelProperties: {
vmDiskType: {
serializedName: "vmDiskType",
type: {
name: "String"
}
}
}
}
};

export const InstanceViewStatus: msRest.CompositeMapper = {
serializedName: "InstanceViewStatus",
type: {
Expand Down Expand Up @@ -3406,6 +3446,13 @@ export const Image: msRest.CompositeMapper = {
type: {
name: "String"
}
},
disallowed: {
serializedName: "properties.disallowed",
type: {
name: "Composite",
className: "DisallowedConfiguration"
}
}
}
}
Expand Down Expand Up @@ -3444,6 +3491,13 @@ export const ImageUpdate: msRest.CompositeMapper = {
type: {
name: "String"
}
},
disallowed: {
serializedName: "properties.disallowed",
type: {
name: "Composite",
className: "DisallowedConfiguration"
}
}
}
}
Expand Down Expand Up @@ -8543,6 +8597,7 @@ export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
className: "GalleryArtifactVersionSource",
modelProperties: {
id: {
required: true,
serializedName: "id",
type: {
name: "String"
Expand Down
Loading

0 comments on commit 9c13a4e

Please sign in to comment.