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

Update examples for Images in 2019-07-01 version according to the upd… #7882

Merged
merged 1 commit into from
Dec 10, 2019
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2065,97 +2065,97 @@
}
}
},
"delete": {
"tags": [
"Images"
],
"operationId": "Images_Delete",
"description": "Deletes an Image.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "imageName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the image."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
},
"204": {
"description": "No Content"
}
"delete": {
"tags": [
"Images"
],
"operationId": "Images_Delete",
"description": "Deletes an Image.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "imageName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the image."
},
"x-ms-long-running-operation": true
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
},
"204": {
"description": "No Content"
}
},
"get": {
"tags": [
"Images"
],
"operationId": "Images_Get",
"description": "Gets an image.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "imageName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the image."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply on the operation."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Image"
}
}
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"Images"
],
"operationId": "Images_Get",
"description": "Gets an image.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
"x-ms-examples": {
"Get information about a virtual machine image.": {
"$ref": "./examples/GetInformationAboutAnImage.json"
{
"name": "imageName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the image."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply on the operation."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Image"
}
}
},
"x-ms-examples": {
"Get information about a virtual machine image.": {
"$ref": "./examples/GetInformationAboutAnImage.json"
}
}
},
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images": {
"get": {
"tags": [
Expand Down Expand Up @@ -6557,7 +6557,7 @@
},
"StorageAccountType": {
"type": "string",
"description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
"description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types ",
"enum": [
"Standard_LRS",
"Premium_LRS",
Expand All @@ -6566,25 +6566,7 @@
],
"x-ms-enum": {
"name": "StorageAccountTypes",
"modelAsString": true,
"values": [
{
"value": "Standard_LRS",
"description": "Standard_LRS for StorageAccountType."
},
{
"value": "Premium_LRS",
"description": "Premium_LRS for StorageAccountType."
},
{
"value": "StandardSSD_LRS",
"description": "StandardSSD_LRS for StorageAccountType."
},
{
"value": "UltraSSD_LRS",
"description": "UltraSSD_LRS for StorageAccountType."
}
]
hyonholee marked this conversation as resolved.
Show resolved Hide resolved
"modelAsString": true
}
},
"DiffDiskOption": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,12 @@
}
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Updates tags of an Image.": {
"$ref": "./examples/UpdateImage.json"
}
}
},
"delete": {
"tags": [
Expand Down Expand Up @@ -7067,7 +7072,7 @@
},
"StorageAccountType": {
"type": "string",
"description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
"description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types",
"enum": [
"Standard_LRS",
"Premium_LRS",
hyonholee marked this conversation as resolved.
Show resolved Hide resolved
Expand Down Expand Up @@ -8144,7 +8149,17 @@
],
"x-ms-enum": {
"name": "OperatingSystemStateTypes",
"modelAsString": false
"modelAsString": false,
"values": [
{
"value": "Generalized",
"description": "Generalized image. Needs to be provisioned during deployment time."
},
{
"value": "Specialized",
"description": "Specialized image. Contains already provisioned OS Disk."
}
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"osType": "Linux",
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"osState": "Generalized"
}
},
"zoneResilient": true
}
}
}
Expand All @@ -28,7 +29,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": true
},
"provisioningState": "Creating"
},
Expand All @@ -48,7 +50,8 @@
"blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": true
},
"provisioningState": "Creating"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
},
"osState": "Generalized"
}
},
"zoneResilient": true
}
}
}
Expand All @@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": true
},
"provisioningState": "Creating"
},
Expand All @@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": true
},
"provisioningState": "Creating"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"osState": "Generalized"
}
},
"zoneResilient": false
}
}
}
Expand All @@ -32,7 +33,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": false
},
"provisioningState": "Creating"
},
Expand All @@ -54,7 +56,8 @@
"osState": "Generalized",
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": false
},
"provisioningState": "Creating"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
},
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": false
},
"provisioningState": "Creating"
},
Expand All @@ -54,7 +55,8 @@
},
"caching": "ReadWrite"
},
"dataDisks": []
"dataDisks": [],
"zoneResilient": false
},
"provisioningState": "Creating"
},
Expand Down
Loading