UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 12.2 kB
{"openapi":"3.0.0","info":{"description":"The Compute Management Client.","title":"ComputeManagementClient","version":"2019-04-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"compute-skus","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus":{"get":{"description":"Gets the list of Microsoft.Compute SKUs available for your Subscription.","operationId":"ResourceSkus_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The filter to apply on the operation.","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"Lists all available Resource SKUs for the specified region":{"value":"location eq 'westus'"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceSkusResult"},"examples":{"Lists all available Resource SKUs":{"$ref":"#/components/examples/Lists_all_available_Resource_SKUs"},"Lists all available Resource SKUs for the specified region":{"$ref":"#/components/examples/Lists_all_available_Resource_SKUs_for_the_specified_region"}}}}}},"tags":["Skus","AvailabilitySets"],"x-ms-pageable":{"nextLinkName":"nextLink"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Lists_all_available_Resource_SKUs":{"value":{"value":[{"capabilities":[{"name":"MaxResourceVolumeMB","value":"20480"},{"name":"OSVhdSizeMB","value":"1047552"},{"name":"vCPUs","value":"1"},{"name":"HyperVGenerations","value":"V1"},{"name":"MemoryGB","value":"0.75"},{"name":"MaxDataDiskCount","value":"1"},{"name":"LowPriorityCapable","value":"False"},{"name":"PremiumIO","value":"False"},{"name":"vCPUsAvailable","value":"1"},{"name":"ACUs","value":"50"},{"name":"vCPUsPerCore","value":"1"},{"name":"EphemeralOSDiskSupported","value":"False"},{"name":"AcceleratedNetworkingEnabled","value":"False"},{"name":"RdmaEnabled","value":"False"},{"name":"MaxNetworkInterfaces","value":"2"}],"family":"standardA0_A7Family","locationInfo":[{"location":"westus","zoneDetails":[{"capabilities":[{"name":"UltraSSDAvailable","value":"True"}],"name":["westus-AZ01"]}],"zones":["westus-AZ01"]}],"locations":["westus"],"name":"Standard_A0","resourceType":"virtualMachines","size":"A0","tier":"Standard"},{"capabilities":[{"name":"MaxResourceVolumeMB","value":"71680"},{"name":"OSVhdSizeMB","value":"1047552"},{"name":"vCPUs","value":"1"},{"name":"HyperVGenerations","value":"V1"},{"name":"MemoryGB","value":"1.75"},{"name":"MaxDataDiskCount","value":"2"},{"name":"LowPriorityCapable","value":"True"},{"name":"PremiumIO","value":"False"},{"name":"vCPUsAvailable","value":"1"},{"name":"ACUs","value":"100"},{"name":"vCPUsPerCore","value":"1"},{"name":"EphemeralOSDiskSupported","value":"False"},{"name":"AcceleratedNetworkingEnabled","value":"False"},{"name":"RdmaEnabled","value":"False"},{"name":"MaxNetworkInterfaces","value":"2"}],"family":"standardA0_A7Family","locationInfo":[{"location":"westus","zones":["westus-AZ02","westus-AZ01"]}],"locations":["westus"],"name":"Standard_A1","resourceType":"virtualMachines","size":"A1","tier":"Standard"}]}},"Lists_all_available_Resource_SKUs_for_the_specified_region":{"value":{"value":[{"capabilities":[{"name":"MaxResourceVolumeMB","value":"20480"},{"name":"OSVhdSizeMB","value":"1047552"},{"name":"vCPUs","value":"1"},{"name":"HyperVGenerations","value":"V1"},{"name":"MemoryGB","value":"0.75"},{"name":"MaxDataDiskCount","value":"1"},{"name":"LowPriorityCapable","value":"False"},{"name":"PremiumIO","value":"False"},{"name":"vCPUsAvailable","value":"1"},{"name":"ACUs","value":"50"},{"name":"vCPUsPerCore","value":"1"},{"name":"EphemeralOSDiskSupported","value":"False"},{"name":"AcceleratedNetworkingEnabled","value":"False"},{"name":"RdmaEnabled","value":"False"},{"name":"MaxNetworkInterfaces","value":"2"}],"family":"standardA0_A7Family","locationInfo":[{"location":"westus","zoneDetails":[{"capabilities":[{"name":"UltraSSDAvailable","value":"True"}],"name":["westus-AZ01"]}],"zones":["westus-AZ01"]}],"locations":["westus"],"name":"Standard_A0","resourceType":"virtualMachines","size":"A0","tier":"Standard"},{"capabilities":[{"name":"MaxResourceVolumeMB","value":"71680"},{"name":"OSVhdSizeMB","value":"1047552"},{"name":"vCPUs","value":"1"},{"name":"HyperVGenerations","value":"V1"},{"name":"MemoryGB","value":"1.75"},{"name":"MaxDataDiskCount","value":"2"},{"name":"LowPriorityCapable","value":"True"},{"name":"PremiumIO","value":"False"},{"name":"vCPUsAvailable","value":"1"},{"name":"ACUs","value":"100"},{"name":"vCPUsPerCore","value":"1"},{"name":"EphemeralOSDiskSupported","value":"False"},{"name":"AcceleratedNetworkingEnabled","value":"False"},{"name":"RdmaEnabled","value":"False"},{"name":"MaxNetworkInterfaces","value":"2"}],"family":"standardA0_A7Family","locationInfo":[{"location":"westus","zones":["westus-AZ02","westus-AZ01"]}],"locations":["westus"],"name":"Standard_A1","resourceType":"virtualMachines","size":"A1","tier":"Standard"}]}}},"parameters":{"ApiVersionParameter":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Lists all available Resource SKUs":{"value":"2019-04-01"},"Lists all available Resource SKUs for the specified region":{"value":"2019-04-01"}}},"SubscriptionIdParameter":{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Lists all available Resource SKUs":{"value":"{subscription-id}"},"Lists all available Resource SKUs for the specified region":{"value":"{subscription-id}"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"ResourceSku":{"description":"Describes an available Compute SKU.","properties":{"apiVersions":{"description":"The api versions that support this SKU.","items":{"type":"string"},"readOnly":true,"type":"array"},"capabilities":{"description":"A name value pair to describe the capability.","items":{"$ref":"#/components/schemas/ResourceSkuCapabilities"},"readOnly":true,"type":"array"},"capacity":{"$ref":"#/components/schemas/ResourceSkuCapacity"},"costs":{"description":"Metadata for retrieving price info.","items":{"$ref":"#/components/schemas/ResourceSkuCosts"},"readOnly":true,"type":"array"},"family":{"description":"The Family of this particular SKU.","readOnly":true,"type":"string"},"kind":{"description":"The Kind of resources that are supported in this SKU.","readOnly":true,"type":"string"},"locationInfo":{"description":"A list of locations and availability zones in those locations where the SKU is available.","items":{"$ref":"#/components/schemas/ResourceSkuLocationInfo"},"readOnly":true,"type":"array"},"locations":{"description":"The set of locations that the SKU is available.","items":{"type":"string"},"readOnly":true,"type":"array"},"name":{"description":"The name of SKU.","readOnly":true,"type":"string"},"resourceType":{"description":"The type of resource the SKU applies to.","readOnly":true,"type":"string"},"restrictions":{"description":"The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.","items":{"$ref":"#/components/schemas/ResourceSkuRestrictions"},"readOnly":true,"type":"array"},"size":{"description":"The Size of the SKU.","readOnly":true,"type":"string"},"tier":{"description":"Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**","readOnly":true,"type":"string"}}},"ResourceSkuCapabilities":{"description":"Describes The SKU capabilities object.","properties":{"name":{"description":"An invariant to describe the feature.","readOnly":true,"type":"string"},"value":{"description":"An invariant if the feature is measured by quantity.","readOnly":true,"type":"string"}}},"ResourceSkuCapacity":{"description":"Describes scaling information of a SKU.","properties":{"default":{"description":"The default capacity.","format":"int64","readOnly":true,"type":"integer"},"maximum":{"description":"The maximum capacity that can be set.","format":"int64","readOnly":true,"type":"integer"},"minimum":{"description":"The minimum capacity.","format":"int64","readOnly":true,"type":"integer"},"scaleType":{"description":"The scale type applicable to the sku.","enum":["Automatic","Manual","None"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":false,"name":"ResourceSkuCapacityScaleType"}}}},"ResourceSkuCosts":{"description":"Describes metadata for retrieving price info.","properties":{"extendedUnit":{"description":"An invariant to show the extended unit.","readOnly":true,"type":"string"},"meterID":{"description":"Used for querying price from commerce.","readOnly":true,"type":"string"},"quantity":{"description":"The multiplier is needed to extend the base metered cost.","format":"int64","readOnly":true,"type":"integer"}}},"ResourceSkuLocationInfo":{"properties":{"location":{"description":"Location of the SKU","readOnly":true,"type":"string"},"zoneDetails":{"description":"Details of capabilities available to a SKU in specific zones.","items":{"$ref":"#/components/schemas/ResourceSkuZoneDetails"},"readOnly":true,"type":"array"},"zones":{"description":"List of availability zones where the SKU is supported.","items":{"type":"string"},"readOnly":true,"type":"array"}}},"ResourceSkuRestrictionInfo":{"properties":{"locations":{"description":"Locations where the SKU is restricted","items":{"type":"string"},"readOnly":true,"type":"array"},"zones":{"description":"List of availability zones where the SKU is restricted.","items":{"type":"string"},"readOnly":true,"type":"array"}}},"ResourceSkuRestrictions":{"description":"Describes scaling information of a SKU.","properties":{"reasonCode":{"description":"The reason for restriction.","enum":["QuotaId","NotAvailableForSubscription"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":false,"name":"ResourceSkuRestrictionsReasonCode"}},"restrictionInfo":{"$ref":"#/components/schemas/ResourceSkuRestrictionInfo"},"type":{"description":"The type of restrictions.","enum":["Location","Zone"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":false,"name":"ResourceSkuRestrictionsType"}},"values":{"description":"The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.","items":{"type":"string"},"readOnly":true,"type":"array"}}},"ResourceSkuZoneDetails":{"description":"Describes The zonal capabilities of a SKU.","properties":{"capabilities":{"description":"A list of capabilities that are available for the SKU in the specified list of zones.","items":{"$ref":"#/components/schemas/ResourceSkuCapabilities"},"readOnly":true,"type":"array"},"name":{"description":"The set of zones that the SKU is available in with the specified capabilities.","items":{"type":"string"},"readOnly":true,"type":"array"}}},"ResourceSkusResult":{"description":"The List Resource Skus operation response.","properties":{"nextLink":{"description":"The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus","type":"string"},"value":{"description":"The list of skus available for the subscription.","items":{"$ref":"#/components/schemas/ResourceSku"},"type":"array"}},"required":["value"]}}}}