This is the AutoRest configuration file for Compute.
The compute RP comprises of small services where each service has its own tag. Hence, each sub-service has its own swagger spec.
All of them are tied together using this configuration and are packaged together into one compute client library. This makes it easier for customers to download one (NuGet/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service.
To build the SDK for Compute, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the Compute API.
title: ComputeManagementClient
description: Compute Client
openapi-type: arm
tag: package-2021-04-01
directive:
- where:
- $.definitions.VirtualMachine.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.VirtualMachineScaleSetVM.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.ImageReference.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.ManagedDiskParameters.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.Disk.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.Snapshot.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.RestorePointCreate.properties
suppress:
- BodyTopLevelProperties
reason:
- CRP has already been using existing ‘RestorePoint’ model definition with these properties as top level properties for many years now.
- where:
- $.definitions.RestorePoint.properties
suppress:
- BodyTopLevelProperties
- where:
- $.definitions.VirtualMachineScaleSetExtension
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineImageResource
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineImage
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.ImageReference
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.ManagedDiskParameters
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.NetworkInterfaceReference
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetIPConfiguration
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetUpdateIPConfiguration
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetNetworkConfiguration
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetUpdateNetworkConfiguration
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.AvailabilitySetUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.ProximityPlacementGroupUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineExtensionUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.ImageUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.DedicatedHostGroupUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.DedicatedHostUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.DiskEncryptionSetParameters
suppress:
- RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetVM
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.VirtualMachineExtensionImage
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.RollingUpgradeStatusInfo
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.VirtualMachineImageResource
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.VirtualMachineImage
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.Gallery
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.GalleryImage
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.GalleryImageVersion
suppress:
- TrackedResourcePatchOperation
- where:
- $.definitions.VirtualMachineImageResource
suppress:
- TrackedResourceGetOperation
- where:
- $.definitions.AdditionalCapabilities.properties.ultraSSDEnabled
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.DiskProperties.properties.diskIOPSReadWrite
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.DiskUpdateProperties.properties.diskIOPSReadWrite
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.DiskProperties.properties.diskIOPSReadOnly
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.DiskUpdateProperties.properties.diskIOPSReadOnly
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.DataDisk.properties.diskIOPSReadWrite
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.VirtualMachineScaleSetDataDisk.properties.diskIOPSReadWrite
suppress:
- DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.ContainerService
suppress:
- TrackedResourcePatchOperation
reason:
- ACS service is deprecated so a PATCH endpoint won't be implemented
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/remoteDesktopFile"].get
suppress:
- D5001
reason: The API response has binary format and file type which is valid Swagger format. However, the example must be a JSON file which does not support specifying this response format.
- where:
- $.definitions.RestorePoint
suppress:
- NestedResourcesMustHaveListOperation
reason:
- CRP supports the list /restorePoint operation by allowing customers to call Get RestorePointCollection with $expand=RestorePoints
These settings apply only when --tag=package-2021-04-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2021-04-01/compute.json
- Microsoft.Compute/stable/2021-04-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-12-01/disk.json
- Microsoft.Compute/stable/2020-09-30/gallery.json
- Microsoft.Compute/stable/2020-09-30/sharedGallery.json
- Microsoft.Compute/stable/2021-03-01/cloudService.json
These settings apply only when --tag=package-2021-04-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2021-04-01/compute.json
- Microsoft.Compute/stable/2021-04-01/runCommands.json
These settings apply only when --tag=package-2021-03-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2021-03-01/compute.json
- Microsoft.Compute/stable/2021-03-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-12-01/disk.json
- Microsoft.Compute/stable/2020-09-30/gallery.json
- Microsoft.Compute/stable/2020-09-30/sharedGallery.json
- Microsoft.Compute/stable/2021-03-01/cloudService.json
These settings apply only when --tag=package-2021-03-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2021-03-01/cloudService.json
- Microsoft.Compute/stable/2021-03-01/compute.json
- Microsoft.Compute/stable/2021-03-01/runCommands.json
These settings apply only when --tag=package-2020-12-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-12-01/compute.json
- Microsoft.Compute/stable/2020-12-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-12-01/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
These settings apply only when --tag=package-2020-12-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-12-01/disk.json
- Microsoft.Compute/stable/2020-12-01/compute.json
- Microsoft.Compute/stable/2020-12-01/runCommands.json
These settings apply only when --tag=package-2020-10-01-preview
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2020-06-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-09-30/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
- Microsoft.Compute/preview/2020-10-01-preview/cloudService.json
These settings apply only when --tag=package-2020-10-01-preview-only
is specified on the command line.
input-file:
- Microsoft.Compute/preview/2020-10-01-preview/cloudService.json
These settings apply only when --tag=package-2020-09-30
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2020-06-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-09-30/disk.json
- Microsoft.Compute/preview/2020-09-30/gallery.json
- Microsoft.Compute/preview/2020-09-30/sharedGallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2020-09-30-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-09-30/disk.json
- Microsoft.Compute/preview/2020-09-30/gallery.json
- Microsoft.Compute/preview/2020-09-30/sharedGallery.json
These settings apply only when --tag=package-2020-06-30
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2020-06-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-06-30/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2020-06-30-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-30/disk.json
These settings apply only when --tag=package-2020-06-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2020-06-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-05-01/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2020-06-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2020-06-01/runCommands.json
These settings apply only when --tag=package-2020-05-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-12-01/compute.json
- Microsoft.Compute/stable/2019-12-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2020-05-01/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2020-05-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2020-05-01/disk.json
These settings apply only when --tag=package-2019-12-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-12-01/compute.json
- Microsoft.Compute/stable/2019-12-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2019-11-01/disk.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2019-12-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-12-01/compute.json
- Microsoft.Compute/stable/2019-12-01/runCommands.json
- Microsoft.Compute/stable/2019-12-01/gallery.json
These settings apply only when --package-2019-11-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-07-01/compute.json
- Microsoft.Compute/stable/2019-07-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2019-11-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --package-2019-11-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-11-01/disk.json
These settings apply only when --tag=package-2019-07
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-07-01/compute.json
- Microsoft.Compute/stable/2019-07-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2019-07-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2019-07-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-03-01/compute.json
- Microsoft.Compute/stable/2019-03-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2019-07-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2019-07-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-07-01/compute.json
- Microsoft.Compute/stable/2019-07-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
- Microsoft.Compute/stable/2019-07-01/runCommands.json
These settings apply only when --tag=package-2019-03-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-03-01/compute.json
- Microsoft.Compute/stable/2019-03-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
- Microsoft.Compute/stable/2019-03-01/disk.json
- Microsoft.Compute/stable/2019-03-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2019-04-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-04-01/skus.json
These settings apply only when --tag=package-2019-03-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2019-03-01/compute.json
- Microsoft.Compute/stable/2019-03-01/runCommands.json
- Microsoft.Compute/stable/2019-03-01/gallery.json
- Microsoft.Compute/stable/2019-03-01/disk.json
These settings apply only when --tag=package-2018-10-01-Disks
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-10-01/compute.json
- Microsoft.Compute/stable/2018-10-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-09-30/disk.json
- Microsoft.Compute/stable/2018-06-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2018-10-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-10-01/compute.json
- Microsoft.Compute/stable/2018-10-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-06-01/disk.json
- Microsoft.Compute/stable/2018-06-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2018-10-01-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-10-01/compute.json
- Microsoft.Compute/stable/2018-10-01/runCommands.json
These settings apply only when --tag=package-2018-09-30-only
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-09-30/disk.json
These settings apply only when --tag=package-2018-06-exclude-gallery
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-06-01/compute.json
- Microsoft.Compute/stable/2018-06-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-06-01/disk.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2018-06
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-06-01/compute.json
- Microsoft.Compute/stable/2018-06-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-06-01/disk.json
- Microsoft.Compute/stable/2018-06-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2018-06-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-04-01/compute.json
- Microsoft.Compute/stable/2018-04-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-06-01/disk.json
- Microsoft.Compute/stable/2018-06-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-compute-only-2018-06
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-06-01/compute.json
- Microsoft.Compute/stable/2018-06-01/runCommands.json
- Microsoft.Compute/stable/2018-06-01/gallery.json
- Microsoft.Compute/stable/2018-06-01/disk.json
These settings apply only when --tag=package-2018-04-01
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-04-01/compute.json
- Microsoft.Compute/stable/2018-04-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-04-01/disk.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2018-04
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-12-01/compute.json
- Microsoft.Compute/stable/2017-12-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2018-04-01/disk.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-compute-2018-04
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-04-01/compute.json
- Microsoft.Compute/stable/2018-04-01/runCommands.json
- Microsoft.Compute/stable/2018-04-01/disk.json
These settings apply only when --tag=package-disks-2018-04
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2018-04-01/disk.json
These settings apply only when --tag=package-2017-12
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-12-01/compute.json
- Microsoft.Compute/stable/2017-12-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2017-03-30/disk.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-compute-2017-12
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-12-01/compute.json
- Microsoft.Compute/stable/2017-12-01/runCommands.json
- Microsoft.Compute/stable/2017-09-01/skus.json
- Microsoft.Compute/stable/2017-03-30/disk.json
These settings apply only when --tag=package-compute-only-2017-12
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-12-01/compute.json
- Microsoft.Compute/stable/2017-12-01/runCommands.json
These settings apply only when --tag=package-skus-2017-09
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-09-01/skus.json
These settings apply only when --tag=package-2017-03
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-03-30/compute.json
- Microsoft.Compute/stable/2017-03-30/disk.json
- Microsoft.Compute/stable/2017-03-30/runCommands.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-compute-2017-03
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2017-03-30/compute.json
- Microsoft.Compute/stable/2017-03-30/disk.json
- Microsoft.Compute/stable/2017-03-30/runCommands.json
These settings apply only when --tag=package-container-service-2017-01
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-container-service-2016-09
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2016-09-30/containerService.json
These settings apply only when --tag=package-2016-04-preview
is specified on the command line.
input-file:
- Microsoft.Compute/preview/2016-04-30-preview/compute.json
- Microsoft.Compute/preview/2016-04-30-preview/disk.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-compute-2016-04-preview
is specified on the command line.
input-file:
- Microsoft.Compute/preview/2016-04-30-preview/compute.json
- Microsoft.Compute/preview/2016-04-30-preview/disk.json
These settings apply only when --tag=package-2016-03
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2016-03-30/compute.json
- Microsoft.ContainerService/stable/2016-03-30/containerService.json
These settings apply only when --tag=package-compute-2016-03
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2016-03-30/compute.json
These settings apply only when --tag=package-container-service-2016-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2016-03-30/containerService.json
These settings apply only when --tag=package-container-service-2015-11-preview
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2015-11-01-preview/containerService.json
These settings apply only when --tag=package-compute-2015-06
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2015-06-15/compute.json
These settings apply only when --tag=package-2015-06-preview
is specified on the command line.
input-file:
- Microsoft.Compute/stable/2015-06-15/compute.json
- Microsoft.ContainerService/preview/2015-11-01-preview/containerService.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_compute']
- repo: azure-resource-manager-schemas
See configuration in readme.go.md
See configuration in readme.java.md
These settings apply only when --tag=profile-hybrid-2020-09-01
is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2019-07-01/disk.json