{ "swagger": "2.0", "info": { "title": "Microsoft.AwsConnector", "version": "2024-12-01", "description": "Microsoft.AwsConnector Resource Provider management API.", "x-typespec-generated": [ { "emitter": "@azure-tools/typespec-autorest" } ] }, "schemes": [ "https" ], "host": "management.azure.com", "produces": [ "application/json" ], "consumes": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, "tags": [ { "name": "Ec2Images" } ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.AwsConnector/ec2Images": { "get": { "operationId": "Ec2Images_ListBySubscription", "tags": [ "Ec2Images" ], "description": "List Ec2Image resources by subscription ID", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Ec2ImageListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_ListBySubscription": { "$ref": "./examples/Ec2Images_ListBySubscription.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2Images": { "get": { "operationId": "Ec2Images_ListByResourceGroup", "tags": [ "Ec2Images" ], "description": "List Ec2Image resources by resource group", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Ec2ImageListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_ListByResourceGroup": { "$ref": "./examples/Ec2Images_ListByResourceGroup.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2Images/{name}": { "get": { "operationId": "Ec2Images_Get", "tags": [ "Ec2Images" ], "description": "Get a Ec2Image", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "name", "in": "path", "description": "Name of Ec2Image", "required": true, "type": "string", "pattern": "^(?=.{0,259}[^\\s.]$)(?!.*[<>%&\\?/#])" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Ec2Image" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_Get": { "$ref": "./examples/Ec2Images_Get.json" } } }, "put": { "operationId": "Ec2Images_CreateOrReplace", "tags": [ "Ec2Images" ], "description": "Create a Ec2Image. Please note that end user resource creation is currently restricted, but it will be enabled in the future.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "name", "in": "path", "description": "Name of Ec2Image", "required": true, "type": "string", "pattern": "^(?=.{0,259}[^\\s.]$)(?!.*[<>%&\\?/#])" }, { "name": "resource", "in": "body", "description": "Resource create parameters.", "required": true, "schema": { "$ref": "#/definitions/Ec2Image" } } ], "responses": { "200": { "description": "Resource 'Ec2Image' update operation succeeded", "schema": { "$ref": "#/definitions/Ec2Image" } }, "201": { "description": "Resource 'Ec2Image' create operation succeeded", "schema": { "$ref": "#/definitions/Ec2Image" }, "headers": { "Azure-AsyncOperation": { "type": "string", "description": "A link to the status monitor" }, "Retry-After": { "type": "integer", "format": "int32", "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_CreateOrReplace": { "$ref": "./examples/Ec2Images_CreateOrReplace.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, "patch": { "operationId": "Ec2Images_Update", "tags": [ "Ec2Images" ], "description": "Update a Ec2Image", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "name", "in": "path", "description": "Name of Ec2Image", "required": true, "type": "string", "pattern": "^(?=.{0,259}[^\\s.]$)(?!.*[<>%&\\?/#])" }, { "name": "properties", "in": "body", "description": "The resource properties to be updated.", "required": true, "schema": { "$ref": "#/definitions/Ec2ImageTagsUpdate" } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Ec2Image" } }, "202": { "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", "format": "int32", "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_Update": { "$ref": "./examples/Ec2Images_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true }, "delete": { "operationId": "Ec2Images_Delete", "tags": [ "Ec2Images" ], "description": "Delete a Ec2Image", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "name", "in": "path", "description": "Name of Ec2Image", "required": true, "type": "string", "pattern": "^(?=.{0,259}[^\\s.]$)(?!.*[<>%&\\?/#])" } ], "responses": { "202": { "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", "format": "int32", "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { "description": "Resource does not exist." }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Ec2Images_Delete": { "$ref": "./examples/Ec2Images_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true } } }, "definitions": { "ArchitectureValues": { "type": "string", "description": "ArchitectureValues enum", "enum": [ "arm64", "arm64_mac", "i386", "x86_64", "x86_64_mac" ], "x-ms-enum": { "name": "ArchitectureValues", "modelAsString": true, "values": [ { "name": "Arm64", "value": "arm64", "description": "ArchitectureValues enum arm64" }, { "name": "Arm64_mac", "value": "arm64_mac", "description": "ArchitectureValues enum arm64_mac" }, { "name": "I386", "value": "i386", "description": "ArchitectureValues enum i386" }, { "name": "X86_64", "value": "x86_64", "description": "ArchitectureValues enum x86_64" }, { "name": "X86_64_mac", "value": "x86_64_mac", "description": "ArchitectureValues enum x86_64_mac" } ] } }, "ArchitectureValuesEnumValue": { "type": "object", "description": "Definition of ArchitectureValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/ArchitectureValues", "description": "Property value" } } }, "AwsEc2ImageProperties": { "type": "object", "description": "Definition of awsEc2Image", "properties": { "architecture": { "$ref": "#/definitions/ArchitectureValuesEnumValue", "description": "

The architecture of the image.

" }, "blockDeviceMappings": { "type": "array", "description": "

Any block device mapping entries.

", "items": { "$ref": "#/definitions/BlockDeviceMapping" }, "x-ms-identifiers": [] }, "bootMode": { "$ref": "#/definitions/BootModeValuesEnumValue", "description": "

The boot mode of the image. For more information, see Boot modes in the Amazon EC2 User Guide.

" }, "creationDate": { "type": "string", "description": "

The date and time the image was created.

" }, "deprecationTime": { "type": "string", "description": "

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

" }, "deregistrationProtection": { "type": "string", "description": "

Indicates whether deregistration protection is enabled for the AMI.

" }, "description": { "type": "string", "description": "

The description of the AMI that was provided during image creation.

" }, "enaSupport": { "type": "boolean", "description": "

Specifies whether enhanced networking with ENA is enabled.

" }, "hypervisor": { "$ref": "#/definitions/HypervisorTypeEnumValue", "description": "

The hypervisor type of the image. Only xen is supported. ovm is not supported.

" }, "imageId": { "type": "string", "description": "

The ID of the AMI.

" }, "imageLocation": { "type": "string", "description": "

The location of the AMI.

" }, "imageOwnerAlias": { "type": "string", "description": "

The owner alias (amazon | aws-marketplace).

" }, "imageType": { "$ref": "#/definitions/ImageTypeValuesEnumValue", "description": "

The type of image.

" }, "imdsSupport": { "$ref": "#/definitions/ImdsSupportValuesEnumValue", "description": "

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

" }, "kernelId": { "type": "string", "description": "

The kernel associated with the image, if any. Only applicable for machine images.

" }, "lastLaunchedTime": { "type": "string", "description": "

The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.

lastLaunchedTime data is available starting April 2017.

" }, "name": { "type": "string", "description": "

The name of the AMI that was provided during image creation.

" }, "ownerId": { "type": "string", "description": "

The ID of the Amazon Web Services account that owns the image.

" }, "platform": { "$ref": "#/definitions/PlatformValuesEnumValue", "description": "

This value is set to windows for Windows AMIs; otherwise, it is blank.

" }, "platformDetails": { "type": "string", "description": "

The platform details associated with the billing code of the AMI. For more information, see Understand AMI billing information in the Amazon EC2 User Guide.

" }, "productCodes": { "type": "array", "description": "

Any product codes associated with the AMI.

", "items": { "$ref": "#/definitions/ProductCode" }, "x-ms-identifiers": [] }, "public": { "type": "boolean", "description": "

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

" }, "ramdiskId": { "type": "string", "description": "

The RAM disk associated with the image, if any. Only applicable for machine images.

" }, "rootDeviceName": { "type": "string", "description": "

The device name of the root device volume (for example, /dev/sda1).

" }, "rootDeviceType": { "$ref": "#/definitions/DeviceTypeEnumValue", "description": "

The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

" }, "sourceInstanceId": { "type": "string", "description": "

The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage.

" }, "sriovNetSupport": { "type": "string", "description": "

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

" }, "state": { "$ref": "#/definitions/ImageStateEnumValue", "description": "

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

" }, "stateReason": { "$ref": "#/definitions/StateReason", "description": "

The reason for the state change.

" }, "tags": { "type": "array", "description": "

Any tags assigned to the image.

", "items": { "$ref": "#/definitions/Tag" }, "x-ms-identifiers": [] }, "tpmSupport": { "$ref": "#/definitions/TpmSupportValuesEnumValue", "description": "

If the image is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the Amazon EC2 User Guide.

" }, "usageOperation": { "type": "string", "description": "

The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price List API. You can view these fields on the Instances or AMIs pages in the Amazon EC2 console, or in the responses that are returned by the DescribeImages command in the Amazon EC2 API, or the describe-images command in the CLI.

" }, "virtualizationType": { "$ref": "#/definitions/VirtualizationTypeEnumValue", "description": "

The type of virtualization of the AMI.

" } } }, "BlockDeviceMapping": { "type": "object", "description": "Definition of BlockDeviceMapping", "properties": { "deviceName": { "type": "string", "description": "

The device name (for example, /dev/sdh or xvdh).

" }, "ebs": { "$ref": "#/definitions/EbsBlockDevice", "description": "

Parameters used to automatically set up EBS volumes when the instance is launched.

" }, "noDevice": { "type": "string", "description": "

To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.

" }, "virtualName": { "type": "string", "description": "

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

" } } }, "BootModeValues": { "type": "string", "description": "BootModeValues enum", "enum": [ "legacy-bios", "uefi", "uefi-preferred" ], "x-ms-enum": { "name": "BootModeValues", "modelAsString": true, "values": [ { "name": "LegacyBios", "value": "legacy-bios", "description": "BootModeValues enum legacy-bios" }, { "name": "Uefi", "value": "uefi", "description": "BootModeValues enum uefi" }, { "name": "UefiPreferred", "value": "uefi-preferred", "description": "BootModeValues enum uefi-preferred" } ] } }, "BootModeValuesEnumValue": { "type": "object", "description": "Definition of BootModeValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/BootModeValues", "description": "Property value" } } }, "DeviceType": { "type": "string", "description": "DeviceType enum", "enum": [ "ebs", "instance-store" ], "x-ms-enum": { "name": "DeviceType", "modelAsString": true, "values": [ { "name": "Ebs", "value": "ebs", "description": "DeviceType enum ebs" }, { "name": "InstanceStore", "value": "instance-store", "description": "DeviceType enum instance-store" } ] } }, "DeviceTypeEnumValue": { "type": "object", "description": "Definition of DeviceTypeEnumValue", "properties": { "value": { "$ref": "#/definitions/DeviceType", "description": "Property value" } } }, "EbsBlockDevice": { "type": "object", "description": "Definition of EbsBlockDevice", "properties": { "deleteOnTermination": { "type": "boolean", "description": "

Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide.

" }, "encrypted": { "type": "boolean", "description": "

Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.

In no case can you remove encryption from an encrypted volume.

Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types.

This parameter is not returned by DescribeImageAttribute.

For CreateImage and RegisterImage, whether you can include this parameter, and the allowed values differ depending on the type of block device mapping you are creating.

" }, "iops": { "type": "integer", "format": "int32", "description": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS.

This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

" }, "kmsKeyId": { "type": "string", "description": "

Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.

This parameter is only supported on BlockDeviceMapping objects called by RunInstances, RequestSpotFleet, and RequestSpotInstances.

" }, "outpostArn": { "type": "string", "description": "

The ARN of the Outpost on which the snapshot is stored.

This parameter is not supported when using CreateImage.

" }, "snapshotId": { "type": "string", "description": "

The ID of the snapshot.

" }, "throughput": { "type": "integer", "format": "int32", "description": "

The throughput that the volume supports, in MiB/s.

This parameter is valid only for gp3 volumes.

Valid Range: Minimum value of 125. Maximum value of 1000.

" }, "volumeSize": { "type": "integer", "format": "int32", "description": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

The following are the supported sizes for each volume type:

" }, "volumeType": { "$ref": "#/definitions/VolumeTypeEnumValue", "description": "

The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.

" } } }, "Ec2Image": { "type": "object", "description": "A Microsoft.AwsConnector resource", "properties": { "properties": { "$ref": "#/definitions/Ec2ImageProperties", "description": "The resource-specific properties for this resource." } }, "allOf": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, "Ec2ImageListResult": { "type": "object", "description": "The response of a Ec2Image list operation.", "properties": { "value": { "type": "array", "description": "The Ec2Image items on this page", "items": { "$ref": "#/definitions/Ec2Image" } }, "nextLink": { "type": "string", "format": "uri", "description": "The link to the next page of items" } }, "required": [ "value" ] }, "Ec2ImageProperties": { "type": "object", "description": "Definition of Ec2Image", "properties": { "awsProperties": { "$ref": "#/definitions/AwsEc2ImageProperties", "description": "AWS Properties" }, "publicCloudConnectorsResourceId": { "type": "string", "description": "Public Cloud Connectors Resource ID" }, "awsAccountId": { "type": "string", "description": "AWS Account ID" }, "arn": { "type": "string", "description": "Amazon Resource Name (ARN)" }, "publicCloudResourceName": { "type": "string", "description": "Public Cloud Resource Name" }, "awsSourceSchema": { "type": "string", "description": "AWS Source Schema" }, "awsRegion": { "type": "string", "description": "AWS Region" }, "awsTags": { "type": "object", "description": "AWS Tags", "additionalProperties": { "type": "string" } }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The status of the last operation.", "readOnly": true } } }, "Ec2ImageTagsUpdate": { "type": "object", "description": "The type used for updating tags in Ec2Image resources.", "properties": { "tags": { "type": "object", "description": "Resource tags.", "additionalProperties": { "type": "string" } } } }, "HypervisorType": { "type": "string", "description": "HypervisorType enum", "enum": [ "ovm", "xen" ], "x-ms-enum": { "name": "HypervisorType", "modelAsString": true, "values": [ { "name": "Ovm", "value": "ovm", "description": "HypervisorType enum ovm" }, { "name": "Xen", "value": "xen", "description": "HypervisorType enum xen" } ] } }, "HypervisorTypeEnumValue": { "type": "object", "description": "Definition of HypervisorTypeEnumValue", "properties": { "value": { "$ref": "#/definitions/HypervisorType", "description": "Property value" } } }, "ImageState": { "type": "string", "description": "ImageState enum", "enum": [ "available", "deregistered", "disabled", "error", "failed", "invalid", "pending", "transient" ], "x-ms-enum": { "name": "ImageState", "modelAsString": true, "values": [ { "name": "Available", "value": "available", "description": "ImageState enum available" }, { "name": "Deregistered", "value": "deregistered", "description": "ImageState enum deregistered" }, { "name": "Disabled", "value": "disabled", "description": "ImageState enum disabled" }, { "name": "Error", "value": "error", "description": "ImageState enum error" }, { "name": "Failed", "value": "failed", "description": "ImageState enum failed" }, { "name": "Invalid", "value": "invalid", "description": "ImageState enum invalid" }, { "name": "Pending", "value": "pending", "description": "ImageState enum pending" }, { "name": "Transient", "value": "transient", "description": "ImageState enum transient" } ] } }, "ImageStateEnumValue": { "type": "object", "description": "Definition of ImageStateEnumValue", "properties": { "value": { "$ref": "#/definitions/ImageState", "description": "Property value" } } }, "ImageTypeValues": { "type": "string", "description": "ImageTypeValues enum", "enum": [ "kernel", "machine", "ramdisk" ], "x-ms-enum": { "name": "ImageTypeValues", "modelAsString": true, "values": [ { "name": "Kernel", "value": "kernel", "description": "ImageTypeValues enum kernel" }, { "name": "Machine", "value": "machine", "description": "ImageTypeValues enum machine" }, { "name": "Ramdisk", "value": "ramdisk", "description": "ImageTypeValues enum ramdisk" } ] } }, "ImageTypeValuesEnumValue": { "type": "object", "description": "Definition of ImageTypeValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/ImageTypeValues", "description": "Property value" } } }, "ImdsSupportValues": { "type": "string", "description": "ImdsSupportValues enum", "enum": [ "v2.0" ], "x-ms-enum": { "name": "ImdsSupportValues", "modelAsString": true, "values": [ { "name": "V20", "value": "v2.0", "description": "ImdsSupportValues enum v2.0" } ] } }, "ImdsSupportValuesEnumValue": { "type": "object", "description": "Definition of ImdsSupportValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/ImdsSupportValues", "description": "Property value" } } }, "PlatformValues": { "type": "string", "description": "PlatformValues enum", "enum": [ "Windows" ], "x-ms-enum": { "name": "PlatformValues", "modelAsString": true, "values": [ { "name": "Windows", "value": "Windows", "description": "PlatformValues enum Windows" } ] } }, "PlatformValuesEnumValue": { "type": "object", "description": "Definition of PlatformValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/PlatformValues", "description": "Property value" } } }, "ProductCode": { "type": "object", "description": "Definition of ProductCode", "properties": { "productCodeId": { "type": "string", "description": "

The product code.

" }, "productCodeType": { "$ref": "#/definitions/ProductCodeValuesEnumValue", "description": "

The type of product code.

" } } }, "ProductCodeValues": { "type": "string", "description": "ProductCodeValues enum", "enum": [ "devpay", "marketplace" ], "x-ms-enum": { "name": "ProductCodeValues", "modelAsString": true, "values": [ { "name": "Devpay", "value": "devpay", "description": "ProductCodeValues enum devpay" }, { "name": "Marketplace", "value": "marketplace", "description": "ProductCodeValues enum marketplace" } ] } }, "ProductCodeValuesEnumValue": { "type": "object", "description": "Definition of ProductCodeValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/ProductCodeValues", "description": "Property value" } } }, "ProvisioningState": { "type": "string", "description": "The provisioning state of a resource.", "enum": [ "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted" ], "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true, "values": [ { "name": "Succeeded", "value": "Succeeded", "description": "Resource has been created." }, { "name": "Failed", "value": "Failed", "description": "Resource creation failed." }, { "name": "Canceled", "value": "Canceled", "description": "Resource creation was canceled." }, { "name": "Provisioning", "value": "Provisioning", "description": "The resource is being provisioned" }, { "name": "Updating", "value": "Updating", "description": "The resource is updating" }, { "name": "Deleting", "value": "Deleting", "description": "The resource is being deleted" }, { "name": "Accepted", "value": "Accepted", "description": "The resource create request has been accepted" } ] }, "readOnly": true }, "StateReason": { "type": "object", "description": "Definition of StateReason", "properties": { "code": { "type": "string", "description": "

The reason code for the state change.

" }, "message": { "type": "string", "description": "

The message for the state change.

" } } }, "Tag": { "type": "object", "description": "Definition of Tag", "properties": { "key": { "type": "string", "description": "

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

" }, "value": { "type": "string", "description": "

The value of the tag.

Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

" } } }, "TpmSupportValues": { "type": "string", "description": "TpmSupportValues enum", "enum": [ "v2.0" ], "x-ms-enum": { "name": "TpmSupportValues", "modelAsString": true, "values": [ { "name": "V20", "value": "v2.0", "description": "TpmSupportValues enum v2.0" } ] } }, "TpmSupportValuesEnumValue": { "type": "object", "description": "Definition of TpmSupportValuesEnumValue", "properties": { "value": { "$ref": "#/definitions/TpmSupportValues", "description": "Property value" } } }, "VirtualizationType": { "type": "string", "description": "VirtualizationType enum", "enum": [ "hvm", "paravirtual" ], "x-ms-enum": { "name": "VirtualizationType", "modelAsString": true, "values": [ { "name": "Hvm", "value": "hvm", "description": "VirtualizationType enum hvm" }, { "name": "Paravirtual", "value": "paravirtual", "description": "VirtualizationType enum paravirtual" } ] } }, "VirtualizationTypeEnumValue": { "type": "object", "description": "Definition of VirtualizationTypeEnumValue", "properties": { "value": { "$ref": "#/definitions/VirtualizationType", "description": "Property value" } } }, "VolumeType": { "type": "string", "description": "VolumeType enum", "enum": [ "gp2", "gp3", "io1", "io2", "sc1", "st1", "standard" ], "x-ms-enum": { "name": "VolumeType", "modelAsString": true, "values": [ { "name": "Gp2", "value": "gp2", "description": "VolumeType enum gp2" }, { "name": "Gp3", "value": "gp3", "description": "VolumeType enum gp3" }, { "name": "Io1", "value": "io1", "description": "VolumeType enum io1" }, { "name": "Io2", "value": "io2", "description": "VolumeType enum io2" }, { "name": "Sc1", "value": "sc1", "description": "VolumeType enum sc1" }, { "name": "St1", "value": "st1", "description": "VolumeType enum st1" }, { "name": "Standard", "value": "standard", "description": "VolumeType enum standard" } ] } }, "VolumeTypeEnumValue": { "type": "object", "description": "Definition of VolumeTypeEnumValue", "properties": { "value": { "$ref": "#/definitions/VolumeType", "description": "Property value" } } } }, "parameters": {} }