Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-compute] Fix json format by prettier #49

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
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/computeManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ class ComputeManagementClient extends ComputeManagementClientContext {
virtualMachineScaleSets: operations.VirtualMachineScaleSets;
virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions;
virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades;
virtualMachineScaleSetVMExtensions: operations.VirtualMachineScaleSetVMExtensions;
virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs;
logAnalytics: operations.LogAnalytics;
virtualMachineRunCommands: operations.VirtualMachineRunCommands;
resourceSkus: operations.ResourceSkus;
disks: operations.Disks;
snapshots: operations.Snapshots;
diskEncryptionSets: operations.DiskEncryptionSets;
galleries: operations.Galleries;
galleryImages: operations.GalleryImages;
galleryImageVersions: operations.GalleryImageVersions;
Expand Down Expand Up @@ -69,12 +71,14 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this);
this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this);
this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this);
this.virtualMachineScaleSetVMExtensions = new operations.VirtualMachineScaleSetVMExtensions(this);
this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this);
this.logAnalytics = new operations.LogAnalytics(this);
this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this);
this.resourceSkus = new operations.ResourceSkus(this);
this.disks = new operations.Disks(this);
this.snapshots = new operations.Snapshots(this);
this.diskEncryptionSets = new operations.DiskEncryptionSets(this);
this.galleries = new operations.Galleries(this);
this.galleryImages = new operations.GalleryImages(this);
this.galleryImageVersions = new operations.GalleryImageVersions(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -51,10 +51,10 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {
ApiErrorBase,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetListResult,
AvailabilitySetUpdate,
Expand Down Expand Up @@ -48,9 +49,13 @@ export {
DiffDiskSettings,
Disallowed,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
DiskInstanceView,
DiskSku,
Encryption,
EncryptionSetIdentity,
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
Expand All @@ -71,6 +76,7 @@ export {
HardwareProfile,
Image,
ImageDataDisk,
ImageDisk,
ImageDiskReference,
ImageOSDisk,
ImagePurchasePlan,
Expand Down Expand Up @@ -104,6 +110,7 @@ export {
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
Sku,
Snapshot,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {
ApiErrorBase,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
BaseResource,
Expand Down Expand Up @@ -48,9 +49,13 @@ export {
DiffDiskSettings,
Disallowed,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
DiskInstanceView,
DiskSku,
Encryption,
EncryptionSetIdentity,
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
Expand All @@ -71,6 +76,7 @@ export {
HardwareProfile,
Image,
ImageDataDisk,
ImageDisk,
ImageDiskReference,
ImageOSDisk,
ImagePurchasePlan,
Expand Down Expand Up @@ -104,6 +110,7 @@ export {
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
Sku,
Snapshot,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {
ApiErrorBase,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
BaseResource,
Expand Down Expand Up @@ -48,9 +49,13 @@ export {
DiffDiskSettings,
Disallowed,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
DiskInstanceView,
DiskSku,
Encryption,
EncryptionSetIdentity,
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
Expand All @@ -71,6 +76,7 @@ export {
HardwareProfile,
Image,
ImageDataDisk,
ImageDisk,
ImageDiskReference,
ImageOSDisk,
ImagePurchasePlan,
Expand Down Expand Up @@ -104,6 +110,7 @@ export {
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
Sku,
Snapshot,
Expand Down
7 changes: 7 additions & 0 deletions sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {
ApiErrorBase,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
BaseResource,
Expand Down Expand Up @@ -48,9 +49,13 @@ export {
DiffDiskSettings,
Disallowed,
Disk,
DiskEncryptionSet,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
DiskInstanceView,
DiskSku,
Encryption,
EncryptionSetIdentity,
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
Expand All @@ -71,6 +76,7 @@ export {
HardwareProfile,
Image,
ImageDataDisk,
ImageDisk,
ImageDiskReference,
ImageOSDisk,
ImagePurchasePlan,
Expand Down Expand Up @@ -104,6 +110,7 @@ export {
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
Sku,
Snapshot,
Expand Down
182 changes: 182 additions & 0 deletions sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
AdditionalCapabilities,
AdditionalUnattendContent,
ApiEntityReference,
ApiError,
ApiErrorBase,
AutomaticOSUpgradePolicy,
AutomaticOSUpgradeProperties,
AutomaticRepairsPolicy,
AvailabilitySet,
AvailabilitySetUpdate,
BaseResource,
BillingProfile,
BootDiagnostics,
BootDiagnosticsInstanceView,
CloudError,
ContainerService,
ContainerServiceAgentPoolProfile,
ContainerServiceCustomProfile,
ContainerServiceDiagnosticsProfile,
ContainerServiceLinuxProfile,
ContainerServiceMasterProfile,
ContainerServiceOrchestratorProfile,
ContainerServiceServicePrincipalProfile,
ContainerServiceSshConfiguration,
ContainerServiceSshPublicKey,
ContainerServiceVMDiagnostics,
ContainerServiceWindowsProfile,
CreationData,
DataDisk,
DataDiskImage,
DedicatedHost,
DedicatedHostAllocatableVM,
DedicatedHostAvailableCapacity,
DedicatedHostGroup,
DedicatedHostGroupUpdate,
DedicatedHostInstanceView,
DedicatedHostUpdate,
DiagnosticsProfile,
DiffDiskSettings,
Disallowed,
Disk,
DiskEncryptionSet,
DiskEncryptionSetList,
DiskEncryptionSetParameters,
DiskEncryptionSettings,
DiskEncryptionSetUpdate,
DiskInstanceView,
DiskSku,
Encryption,
EncryptionSetIdentity,
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
GalleryApplication,
GalleryApplicationVersion,
GalleryApplicationVersionPublishingProfile,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageIdentifier,
GalleryImageVersion,
GalleryImageVersionPublishingProfile,
GalleryImageVersionStorageProfile,
GalleryOSDiskImage,
HardwareProfile,
Image,
ImageDataDisk,
ImageDisk,
ImageDiskReference,
ImageOSDisk,
ImagePurchasePlan,
ImageReference,
ImageStorageProfile,
ImageUpdate,
InnerError,
InstanceViewStatus,
KeyVaultAndKeyReference,
KeyVaultAndSecretReference,
KeyVaultKeyReference,
KeyVaultSecretReference,
LinuxConfiguration,
MaintenanceRedeployStatus,
ManagedDiskParameters,
NetworkInterfaceReference,
NetworkProfile,
OSDisk,
OSDiskImage,
OSProfile,
Plan,
ProximityPlacementGroup,
ProximityPlacementGroupUpdate,
PurchasePlan,
RecommendedMachineConfiguration,
RegionalReplicationStatus,
ReplicationStatus,
Resource,
ResourceRange,
RollingUpgradePolicy,
RollingUpgradeProgressInfo,
RollingUpgradeRunningStatus,
RollingUpgradeStatusInfo,
ScaleInPolicy,
ScheduledEventsProfile,
Sku,
Snapshot,
SnapshotSku,
SourceVault,
SshConfiguration,
SshPublicKey,
StorageProfile,
SubResource,
SubResourceReadOnly,
TargetRegion,
TerminateNotificationProfile,
UpdateResource,
UpgradePolicy,
UserArtifactSource,
VaultCertificate,
VaultSecretGroup,
VirtualHardDisk,
VirtualMachine,
VirtualMachineAgentInstanceView,
VirtualMachineCaptureResult,
VirtualMachineExtension,
VirtualMachineExtensionHandlerInstanceView,
VirtualMachineExtensionImage,
VirtualMachineExtensionInstanceView,
VirtualMachineExtensionUpdate,
VirtualMachineHealthStatus,
VirtualMachineIdentity,
VirtualMachineIdentityUserAssignedIdentitiesValue,
VirtualMachineImage,
VirtualMachineImageResource,
VirtualMachineInstanceView,
VirtualMachineScaleSet,
VirtualMachineScaleSetDataDisk,
VirtualMachineScaleSetExtension,
VirtualMachineScaleSetExtensionProfile,
VirtualMachineScaleSetIdentity,
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
VirtualMachineScaleSetIPConfiguration,
VirtualMachineScaleSetIpTag,
VirtualMachineScaleSetManagedDiskParameters,
VirtualMachineScaleSetNetworkConfiguration,
VirtualMachineScaleSetNetworkConfigurationDnsSettings,
VirtualMachineScaleSetNetworkProfile,
VirtualMachineScaleSetOSDisk,
VirtualMachineScaleSetOSProfile,
VirtualMachineScaleSetPublicIPAddressConfiguration,
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
VirtualMachineScaleSetStorageProfile,
VirtualMachineScaleSetUpdate,
VirtualMachineScaleSetUpdateIPConfiguration,
VirtualMachineScaleSetUpdateNetworkConfiguration,
VirtualMachineScaleSetUpdateNetworkProfile,
VirtualMachineScaleSetUpdateOSDisk,
VirtualMachineScaleSetUpdateOSProfile,
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
VirtualMachineScaleSetUpdateStorageProfile,
VirtualMachineScaleSetUpdateVMProfile,
VirtualMachineScaleSetVM,
VirtualMachineScaleSetVMInstanceView,
VirtualMachineScaleSetVMNetworkProfileConfiguration,
VirtualMachineScaleSetVMProfile,
VirtualMachineScaleSetVMProtectionPolicy,
VirtualMachineUpdate,
WindowsConfiguration,
WinRMConfiguration,
WinRMListener
} from "../models/mappers";
Loading