diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/AddToSharingProfileInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/AddToSharingProfileInAGallery.json deleted file mode 100644 index 2b58d146d876..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/AddToSharingProfileInAGallery.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "sharingUpdate": { - "operationType": "Add", - "groups": [ - { - "type": "Subscriptions", - "ids": [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] - }, - { - "type": "AADTenants", - "ids": [ - "c24c76aa-8897-4027-9b03-8f7928b54ff6" - ] - } - ] - } - }, - "responses": { - "200": { - "body": { - "operationType": "Add", - "groups": [ - { - "type": "Subscriptions", - "ids": [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] - }, - { - "type": "AADTenants", - "ids": [ - "c24c76aa-8897-4027-9b03-8f7928b54ff6" - ] - } - ] - } - }, - "202": { - "body": { - "operationType": "Add", - "groups": [ - { - "type": "Subscriptions", - "ids": [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] - }, - { - "type": "AADTenants", - "ids": [ - "c24c76aa-8897-4027-9b03-8f7928b54ff6" - ] - } - ] - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGallery.json deleted file mode 100644 index be3c726713ed..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGallery.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "gallery": { - "location": "West US", - "properties": { - "description": "This is the gallery description." - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryName" - } - }, - "201": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "myGalleryName" - } - }, - "202": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplication.json deleted file mode 100644 index d4f969d2d11e..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplication.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplication": { - "location": "West US", - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName", - "type": "Microsoft.Compute/galleries", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" - } - }, - "201": { - "body": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName", - "type": "Microsoft.Compute/galleries", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" - } - }, - "202": { - "body": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName", - "type": "Microsoft.Compute/galleries", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json deleted file mode 100644 index 079b456f748a..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplicationVersionName": "1.0.0", - "galleryApplicationVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "endOfLifeDate": "2019-07-01T07:00:00Z", - "storageAccountType": "Standard_LRS" - } - } - } - }, - "responses": { - "200": { - "body": { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Creating" - } - } - }, - "202": { - "body": { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImage.json deleted file mode 100644 index 13f9b61d3641..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImage.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImage": { - "location": "West US", - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryImageName" - } - }, - "201": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "myGalleryImageName" - } - }, - "202": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryImageName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersion.json deleted file mode 100644 index fee5dac0bd98..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersion.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ] - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "201": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "202": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithImageVersionAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithImageVersionAsSource.json deleted file mode 100644 index 1f76f9daaf64..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithImageVersionAsSource.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ] - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "201": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "202": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json deleted file mode 100644 index d6faf2af5ac0..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ] - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - }, - "lun": 1, - "hostCaching": "None" - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - }, - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - }, - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "201": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - }, - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - }, - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "202": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}" - }, - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}" - }, - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVHD.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVHD.json deleted file mode 100644 index e40f5781080c..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVHD.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet", - "lun": 1 - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "lun": 1, - "hostCaching": "None" - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "lun": 1, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "201": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "lun": 1, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "202": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "lun": 1, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVMAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVMAsSource.json deleted file mode 100644 index 58255556f36b..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryImageVersionWithVMAsSource.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "location": "West US", - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ] - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "201": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Creating" - }, - "location": "West US", - "name": "1.0.0" - } - }, - "202": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet" - } - ] - } - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryWithSharingProfile.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryWithSharingProfile.json deleted file mode 100644 index b9852f7f8548..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/CreateOrUpdateASimpleGalleryWithSharingProfile.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "gallery": { - "location": "West US", - "properties": { - "description": "This is the gallery description.", - "sharingProfile": { - "permissions": "Groups" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Updating", - "sharingProfile": { - "permissions": "Groups" - } - }, - "location": "West US", - "name": "myGalleryName" - } - }, - "201": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Creating", - "sharingProfile": { - "permissions": "Groups" - } - }, - "location": "West US", - "name": "myGalleryName" - } - }, - "202": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Updating", - "sharingProfile": { - "permissions": "Groups" - } - }, - "location": "West US", - "name": "myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGallery.json deleted file mode 100644 index 2abe4517a561..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGallery.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplication.json deleted file mode 100644 index f1014e7b7f78..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplication.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplicationVersion.json deleted file mode 100644 index e4a43f69b126..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryApplicationVersion.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplicationVersionName": "1.0.0" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImage.json deleted file mode 100644 index 6d760641d7b4..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImage.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImageVersion.json deleted file mode 100644 index 76001cffb9b2..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/DeleteAGalleryImageVersion.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGallery.json deleted file mode 100644 index 7ef46189bfcc..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGallery.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplication.json deleted file mode 100644 index 37c4d1d42a00..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplication.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersion.json deleted file mode 100644 index 0affffec2e45..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersion.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplicationVersionName": "1.0.0" - }, - "responses": { - "200": { - "body": { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersionWithReplicationStatus.json deleted file mode 100644 index 776ea72e0c03..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryApplicationVersionWithReplicationStatus.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplicationVersionName": "1.0.0", - "$expand": "ReplicationStatus" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "replicationStatus": { - "aggregatedState": "Completed", - "summary": [ - { - "region": "West US", - "state": "Completed", - "details": "", - "progress": 100 - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImage.json deleted file mode 100644 index 8e4305e0148c..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImage.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName" - }, - "responses": { - "200": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "myGalleryImageName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersion.json deleted file mode 100644 index c65d0cc43058..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersion.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithReplicationStatus.json deleted file mode 100644 index 7462407b0222..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithReplicationStatus.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "$expand": "ReplicationStatus" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "replicationStatus": { - "aggregatedState": "Completed", - "summary": [ - { - "region": "West US", - "state": "Completed", - "details": "", - "progress": 100 - }, - { - "region": "East US", - "state": "Completed", - "details": "", - "progress": 100 - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json deleted file mode 100644 index a0184d882337..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}", - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}", - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithVhdAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithVhdAsSource.json deleted file mode 100644 index e2bc75d1c2bd..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryImageVersionWithVhdAsSource.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "osDiskImage": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}", - "uri": "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd" - }, - "lun": 1, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryWithSelectPermissions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryWithSelectPermissions.json deleted file mode 100644 index b58ca89c0bc1..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetAGalleryWithSelectPermissions.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "$select": "Permissions" - }, - "responses": { - "200": { - "body": { - "properties": { - "sharingProfile": { - "permissions": "Groups", - "groups": [ - { - "type": "Subscriptions", - "ids": [ - "34a4ab42-0d72-47d9-bd1a-aed207386dac", - "380fd389-260b-41aa-bad9-0a83108c370b" - ] - }, - { - "type": "AADTenants", - "ids": [ - "c24c76aa-8897-4027-9b03-8f7928b54ff6" - ] - } - ] - } - }, - "location": "West US", - "name": "myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGallery.json deleted file mode 100644 index 9615b8456462..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGallery.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30", - "galleryUniqueName": "galleryUniqueName" - }, - "responses": { - "200": { - "body": { - "location": "myLocation", - "name": "myGalleryName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImage.json deleted file mode 100644 index ab78ae46c4f0..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImage.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30", - "galleryUniqueName": "galleryUniqueName", - "galleryImageName": "myGalleryImageName" - }, - "responses": { - "200": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - } - }, - "location": "myLocation", - "name": "myGalleryImageName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName/Images/myGalleryImageName" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImageVersion.json deleted file mode 100644 index 7e20e0f45d65..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/GetASharedGalleryImageVersion.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30", - "galleryUniqueName": "galleryUniqueName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "myGalleryImageVersionName" - }, - "responses": { - "200": { - "body": { - "properties": { - "publishedDate": "2018-03-20T09:12:28Z", - "endOfLifeDate": "2022-03-20T09:12:28Z" - }, - "location": "myLocation", - "name": "myGalleryImageVersionName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInAResourceGroup.json deleted file mode 100644 index 756c512dd1fe..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInAResourceGroup.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "myGalleryName", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName" - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInASubscription.json deleted file mode 100644 index 280325678dd3..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleriesInASubscription.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2020-09-30" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "myGalleryName", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName" - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationVersionsInAGalleryApplication.json deleted file mode 100644 index b0ea6bfdba57..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationVersionsInAGalleryApplication.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationsInAGallery.json deleted file mode 100644 index d21b58c493ff..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryApplicationsInAGallery.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName" - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImageVersionsInAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImageVersionsInAGalleryImage.json deleted file mode 100644 index 499ad4e6366f..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImageVersionsInAGalleryImage.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 0, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet" - }, - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "1.0.0" - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImagesInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImagesInAGallery.json deleted file mode 100644 index 570fc0e39b6f..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListGalleryImagesInAGallery.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Succeeded" - }, - "location": "West US", - "name": "myGalleryImageName" - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleries.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleries.json deleted file mode 100644 index baebdfed7d93..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleries.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "myLocation", - "name": "galleryUniqueName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName" - } - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sharedGalleries?$skiptoken={token}/Subscriptions/{subscriptionId}/galleries/galleryUniqueName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImageVersions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImageVersions.json deleted file mode 100644 index 95baa0b1144f..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImageVersions.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30", - "galleryUniqueName": "galleryUniqueName", - "galleryImageName": "myGalleryImageName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "publishedDate": "2018-03-20T09:12:28Z", - "endOfLifeDate": "2022-03-20T09:12:28Z" - }, - "location": "myLocation", - "name": "myGalleryImageVersionName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" - } - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/sharedGalleries/galleryUniqueName/images/myGalleryImageName/versions?$skiptoken={token}/Subscriptions/{subscription-Id}/galleries/galleryUniqueName/images/myGalleryImageName/versions/myGalleryImageVersionName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImages.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImages.json deleted file mode 100644 index 47a2b4ac926a..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ListSharedGalleryImages.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "location": "myLocation", - "api-version": "2020-09-30", - "galleryUniqueName": "galleryUniqueName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - } - }, - "location": "myLocation", - "name": "myGalleryImageName", - "identifier": { - "uniqueId": "/SharedGalleries/galleryUniqueName/Images/myGalleryImageName" - } - } - ], - "nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/sharedGalleries/galleryUniqueName/images?$skiptoken={token}/Subscriptions/{subscription-Id}/galleries/galleryUniqueName/images/myGalleryImageName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ResetSharingProfileInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ResetSharingProfileInAGallery.json deleted file mode 100644 index 98c4a29b2a29..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/ResetSharingProfileInAGallery.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "sharingUpdate": { - "operationType": "Reset" - } - }, - "responses": { - "200": { - "body": { - "operationType": "Reset" - } - }, - "202": { - "body": { - "operationType": "Reset" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGallery.json deleted file mode 100644 index d3618117f15c..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGallery.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "gallery": { - "properties": { - "description": "This is the gallery description." - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery description.", - "identifier": { - "uniqueName": "{subscription-id}-MYGALLERYNAME" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplication.json deleted file mode 100644 index 0bb889c29a26..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplication.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplication": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "This is the gallery application description.", - "eula": "This is the gallery application EULA.", - "privacyStatementUri": "myPrivacyStatementUri}", - "releaseNoteUri": "myReleaseNoteUri", - "supportedOSType": "Windows" - }, - "location": "West US", - "name": "myGalleryApplicationName", - "type": "Microsoft.Compute/galleries", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplicationVersion.json deleted file mode 100644 index 9933e2d8d709..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryApplicationVersion.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryApplicationName": "myGalleryApplicationName", - "galleryApplicationVersionName": "1.0.0", - "galleryApplicationVersion": { - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "endOfLifeDate": "2019-07-01T07:00:00Z", - "storageAccountType": "Standard_LRS" - } - } - } - }, - "responses": { - "200": { - "body": { - "location": "West US", - "name": "1.0.0", - "type": "Microsoft.Compute/galleries/applications/versions", - "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", - "properties": { - "publishingProfile": { - "source": { - "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" - }, - "manageActions": { - "install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"", - "remove": "del C:\\package " - }, - "enableHealthCheck": false, - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS" - } - ], - "replicaCount": 1, - "excludeFromLatest": false, - "publishedDate": "2019-06-21T17:13:57.5972568+00:00", - "endOfLifeDate": "2019-07-01T07:00:00+00:00", - "storageAccountType": "Standard_LRS" - }, - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImage.json deleted file mode 100644 index ebfd473f7e95..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImage.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImage": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "osType": "Windows", - "osState": "Generalized", - "hyperVGeneration": "V1", - "identifier": { - "publisher": "myPublisherName", - "offer": "myOfferName", - "sku": "mySkuName" - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "myGalleryImageName" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersion.json deleted file mode 100644 index 5cf4547abad1..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersion.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1 - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersionWithoutSourceId.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersionWithoutSourceId.json deleted file mode 100644 index c02831e28f92..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/examples/UpdateASimpleGalleryImageVersionWithoutSourceId.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2020-09-30", - "galleryName": "myGalleryName", - "galleryImageName": "myGalleryImageName", - "galleryImageVersionName": "1.0.0", - "galleryImageVersion": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1 - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ] - }, - "storageProfile": {} - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "publishingProfile": { - "targetRegions": [ - { - "name": "West US", - "regionalReplicaCount": 1, - "storageAccountType": "Standard_LRS", - "encryption": { - "osDiskImage": { - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - }, - "dataDiskImages": [ - { - "lun": 1, - "diskEncryptionSetId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet" - } - ] - } - }, - { - "name": "East US", - "regionalReplicaCount": 2, - "storageAccountType": "Standard_ZRS" - } - ], - "replicaCount": 1, - "publishedDate": "2018-01-01T00:00:00Z", - "storageAccountType": "Standard_LRS" - }, - "storageProfile": { - "source": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}" - }, - "osDiskImage": { - "sizeInGB": 10, - "hostCaching": "ReadOnly" - }, - "dataDiskImages": [ - { - "lun": 1, - "sizeInGB": 10, - "hostCaching": "None" - } - ] - }, - "provisioningState": "Updating" - }, - "location": "West US", - "name": "1.0.0" - } - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/gallery.json deleted file mode 100644 index d1cfed5ba1c3..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/gallery.json +++ /dev/null @@ -1,2876 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SharedImageGalleryServiceClient", - "description": "Shared Image Gallery Service Client.", - "version": "2020-09-30" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": { - "put": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_CreateOrUpdate", - "description": "Create or update a Shared Image Gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "gallery", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Gallery" - }, - "description": "Parameters supplied to the create or update Shared Image Gallery operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Gallery" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/Gallery" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/Gallery" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update a simple gallery.": { - "$ref": "./examples/CreateOrUpdateASimpleGallery.json" - }, - "Create or update a simple gallery with sharing profile.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryWithSharingProfile.json" - } - } - }, - "patch": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_Update", - "description": "Update a Shared Image Gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "gallery", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryUpdate" - }, - "description": "Parameters supplied to the update Shared Image Gallery operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Gallery" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a simple gallery.": { - "$ref": "./examples/UpdateASimpleGallery.json" - } - } - }, - "get": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_Get", - "description": "Retrieves information about a Shared Image Gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "$select", - "in": "query", - "required": false, - "type": "string", - "description": "The select expression to apply on the operation.", - "enum": [ - "Permissions" - ], - "x-ms-enum": { - "name": "SelectPermissions", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Gallery" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/GetAGallery.json" - }, - "Get a gallery with select permissions.": { - "$ref": "./examples/GetAGalleryWithSelectPermissions.json" - } - } - }, - "delete": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_Delete", - "description": "Delete a Shared Image Gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery to be deleted." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a gallery.": { - "$ref": "./examples/DeleteAGallery.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": { - "put": { - "tags": [ - "GalleryImages" - ], - "operationId": "GalleryImages_CreateOrUpdate", - "description": "Create or update a gallery image definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition is to be created." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryImage", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryImage" - }, - "description": "Parameters supplied to the create or update gallery image operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImage" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GalleryImage" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/GalleryImage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update a simple gallery image.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImage.json" - } - } - }, - "patch": { - "tags": [ - "GalleryImages" - ], - "operationId": "GalleryImages_Update", - "description": "Update a gallery image definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition is to be updated." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryImage", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryImageUpdate" - }, - "description": "Parameters supplied to the update gallery image operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a simple gallery image.": { - "$ref": "./examples/UpdateASimpleGalleryImage.json" - } - } - }, - "get": { - "tags": [ - "GalleryImages" - ], - "operationId": "GalleryImages_Get", - "description": "Retrieves information about a gallery image definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition to be retrieved." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery image.": { - "$ref": "./examples/GetAGalleryImage.json" - } - } - }, - "delete": { - "tags": [ - "GalleryImages" - ], - "operationId": "GalleryImages_Delete", - "description": "Delete a gallery image.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition is to be deleted." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition to be deleted." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a gallery image.": { - "$ref": "./examples/DeleteAGalleryImage.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": { - "put": { - "tags": [ - "GalleryImageVersions" - ], - "operationId": "GalleryImageVersions_CreateOrUpdate", - "description": "Create or update a gallery image version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition in which the Image Version is to be created." - }, - { - "name": "galleryImageVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryImageVersion", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - }, - "description": "Parameters supplied to the create or update gallery image version operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update a simple Gallery Image Version using managed image as source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json" - }, - "Create or update a simple Gallery Image Version using snapshots as a source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json" - }, - "Create or update a simple Gallery Image Version using VM as source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithVMAsSource.json" - }, - "Create or update a simple Gallery Image Version using shared image as source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithImageVersionAsSource.json" - }, - "Create or update a simple Gallery Image Version using mix of disks and snapshots as a source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json" - }, - "Create or update a simple Gallery Image Version using vhd as a source.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithVHD.json" - } - } - }, - "patch": { - "tags": [ - "GalleryImageVersions" - ], - "operationId": "GalleryImageVersions_Update", - "description": "Update a gallery image version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition in which the Image Version is to be updated." - }, - { - "name": "galleryImageVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryImageVersion", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryImageVersionUpdate" - }, - "description": "Parameters supplied to the update gallery image version operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a simple Gallery Image Version (Managed Image as source).": { - "$ref": "./examples/UpdateASimpleGalleryImageVersion.json" - }, - "Update a simple Gallery Image Version without source id.": { - "$ref": "./examples/UpdateASimpleGalleryImageVersionWithoutSourceId.json" - } - } - }, - "get": { - "tags": [ - "GalleryImageVersions" - ], - "operationId": "GalleryImageVersions_Get", - "description": "Retrieves information about a gallery image version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition in which the Image Version resides." - }, - { - "name": "galleryImageVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image version to be retrieved." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The expand expression to apply on the operation.", - "enum": [ - "ReplicationStatus" - ], - "x-ms-enum": { - "name": "ReplicationStatusTypes", - "modelAsString": true - } - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImageVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery image version.": { - "$ref": "./examples/GetAGalleryImageVersion.json" - }, - "Get a gallery image version with replication status.": { - "$ref": "./examples/GetAGalleryImageVersionWithReplicationStatus.json" - }, - "Get a gallery image version with snapshots as a source.": { - "$ref": "./examples/GetAGalleryImageVersionWithSnapshotsAsSource.json" - }, - "Get a gallery image version with vhd as a source.": { - "$ref": "./examples/GetAGalleryImageVersionWithVhdAsSource.json" - } - } - }, - "delete": { - "tags": [ - "GalleryImageVersions" - ], - "operationId": "GalleryImageVersions_Delete", - "description": "Delete a gallery image version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image definition in which the Image Version resides." - }, - { - "name": "galleryImageVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image version to be deleted." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a gallery image version.": { - "$ref": "./examples/DeleteAGalleryImageVersion.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": { - "put": { - "tags": [ - "GalleryApplications" - ], - "operationId": "GalleryApplications_CreateOrUpdate", - "description": "Create or update a gallery Application Definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition is to be created." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryApplication", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryApplication" - }, - "description": "Parameters supplied to the create or update gallery Application operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplication" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GalleryApplication" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/GalleryApplication" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update a simple gallery Application.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json" - } - } - }, - "patch": { - "tags": [ - "GalleryApplications" - ], - "operationId": "GalleryApplications_Update", - "description": "Update a gallery Application Definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition is to be updated." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryApplication", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryApplicationUpdate" - }, - "description": "Parameters supplied to the update gallery Application operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplication" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a simple gallery Application.": { - "$ref": "./examples/UpdateASimpleGalleryApplication.json" - } - } - }, - "get": { - "tags": [ - "GalleryApplications" - ], - "operationId": "GalleryApplications_Get", - "description": "Retrieves information about a gallery Application Definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition to be retrieved." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplication" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery Application.": { - "$ref": "./examples/GetAGalleryApplication.json" - } - } - }, - "delete": { - "tags": [ - "GalleryApplications" - ], - "operationId": "GalleryApplications_Delete", - "description": "Delete a gallery Application.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition to be deleted." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a gallery Application.": { - "$ref": "./examples/DeleteAGalleryApplication.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": { - "put": { - "tags": [ - "GalleryApplicationVersions" - ], - "operationId": "GalleryApplicationVersions_CreateOrUpdate", - "description": "Create or update a gallery Application Version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition resides." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition in which the Application Version is to be created." - }, - { - "name": "galleryApplicationVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryApplicationVersion", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - }, - "description": "Parameters supplied to the create or update gallery Application Version operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update a simple gallery Application Version.": { - "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json" - } - } - }, - "patch": { - "tags": [ - "GalleryApplicationVersions" - ], - "operationId": "GalleryApplicationVersions_Update", - "description": "Update a gallery Application Version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition resides." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition in which the Application Version is to be updated." - }, - { - "name": "galleryApplicationVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryApplicationVersion", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GalleryApplicationVersionUpdate" - }, - "description": "Parameters supplied to the update gallery Application Version operation." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a simple gallery Application Version.": { - "$ref": "./examples/UpdateASimpleGalleryApplicationVersion.json" - } - } - }, - "get": { - "tags": [ - "GalleryApplicationVersions" - ], - "operationId": "GalleryApplicationVersions_Get", - "description": "Retrieves information about a gallery Application Version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition resides." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition in which the Application Version resides." - }, - { - "name": "galleryApplicationVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Version to be retrieved." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "The expand expression to apply on the operation.", - "enum": [ - "ReplicationStatus" - ], - "x-ms-enum": { - "name": "ReplicationStatusTypes", - "modelAsString": true - } - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery Application Version.": { - "$ref": "./examples/GetAGalleryApplicationVersion.json" - }, - "Get a gallery Application Version with replication status.": { - "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json" - } - } - }, - "delete": { - "tags": [ - "GalleryApplicationVersions" - ], - "operationId": "GalleryApplicationVersions_Delete", - "description": "Delete a gallery Application Version.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition resides." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Definition in which the Application Version resides." - }, - { - "name": "galleryApplicationVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery Application Version to be deleted." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a gallery Application Version.": { - "$ref": "./examples/DeleteAGalleryApplicationVersion.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": { - "get": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_ListByResourceGroup", - "description": "List galleries under a resource group.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List galleries in a resource group.": { - "$ref": "./examples/ListGalleriesInAResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": { - "get": { - "tags": [ - "Galleries" - ], - "operationId": "Galleries_List", - "description": "List galleries under a subscription.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List galleries in a subscription.": { - "$ref": "./examples/ListGalleriesInASubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": { - "get": { - "tags": [ - "GalleryImages" - ], - "operationId": "GalleryImages_ListByGallery", - "description": "List gallery image definitions in a gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImageList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List gallery images in a gallery.": { - "$ref": "./examples/ListGalleryImagesInAGallery.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": { - "get": { - "tags": [ - "GalleryImageVersions" - ], - "operationId": "GalleryImageVersions_ListByGalleryImage", - "description": "List gallery image versions in a gallery image definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery in which the Image Definition resides." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryImageVersionList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List gallery image versions in a gallery image definition.": { - "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": { - "get": { - "tags": [ - "GalleryApplications" - ], - "operationId": "GalleryApplications_ListByGallery", - "description": "List gallery Application Definitions in a gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplicationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List gallery Applications in a gallery.": { - "$ref": "./examples/ListGalleryApplicationsInAGallery.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": { - "get": { - "tags": [ - "GalleryApplicationVersions" - ], - "operationId": "GalleryApplicationVersions_ListByGalleryApplication", - "description": "List gallery Application Versions in a gallery Application Definition.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery in which the Application Definition resides." - }, - { - "name": "galleryApplicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GalleryApplicationVersionList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List gallery Application Versions in a gallery Application Definition.": { - "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share": { - "post": { - "tags": [ - "GallerySharingUpdate" - ], - "operationId": "GallerySharingProfile_Update", - "description": "Update sharing profile of a gallery.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "galleryName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Image Gallery." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "sharingUpdate", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SharingUpdate" - }, - "description": "Parameters supplied to the update gallery sharing profile." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharingUpdate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/SharingUpdate" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Add sharing id to the sharing profile of a gallery.": { - "$ref": "./examples/AddToSharingProfileInAGallery.json" - }, - "reset sharing profile of a gallery.": { - "$ref": "./examples/ResetSharingProfileInAGallery.json" - } - } - } - } - }, - "definitions": { - "Gallery": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Specifies information about the Shared Image Gallery that you want to create or update." - }, - "GalleryUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResourceDefinition" - } - ], - "description": "Specifies information about the Shared Image Gallery that you want to update." - }, - "GalleryProperties": { - "properties": { - "description": { - "type": "string", - "description": "The description of this Shared Image Gallery resource. This property is updatable." - }, - "identifier": { - "$ref": "#/definitions/GalleryIdentifier" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "title": "The current state of the gallery.", - "description": "The provisioning state, which only appears in the response.", - "enum": [ - "Creating", - "Updating", - "Failed", - "Succeeded", - "Deleting", - "Migrating" - ] - }, - "sharingProfile": { - "$ref": "#/definitions/SharingProfile" - } - }, - "description": "Describes the properties of a Shared Image Gallery." - }, - "GalleryIdentifier": { - "properties": { - "uniqueName": { - "readOnly": true, - "type": "string", - "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." - } - }, - "description": "Describes the gallery unique name." - }, - "SharingProfile": { - "description": "Profile for gallery sharing to subscription or tenant", - "properties": { - "permissions": { - "type": "string", - "description": "This property allows you to specify the permission of sharing gallery.

Possible values are:

**Private**

**Groups**", - "enum": [ - "Private", - "Groups" - ], - "x-ms-enum": { - "name": "GallerySharingPermissionTypes", - "modelAsString": true - } - }, - "groups": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/SharingProfileGroup" - }, - "description": "A list of sharing profile groups." - } - } - }, - "SharingProfileGroup": { - "description": "Group of the gallery sharing profile", - "properties": { - "type": { - "type": "string", - "description": "This property allows you to specify the type of sharing group.

Possible values are:

**Subscriptions**

**AADTenants**", - "enum": [ - "Subscriptions", - "AADTenants" - ], - "x-ms-enum": { - "name": "SharingProfileGroupTypes", - "modelAsString": true - } - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of subscription/tenant ids the gallery is aimed to be shared to." - } - } - }, - "GalleryApplication": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryApplicationProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Specifies information about the gallery Application Definition that you want to create or update." - }, - "GalleryApplicationUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryApplicationProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResourceDefinition" - } - ], - "description": "Specifies information about the gallery Application Definition that you want to update." - }, - "GalleryApplicationProperties": { - "properties": { - "description": { - "type": "string", - "description": "The description of this gallery Application Definition resource. This property is updatable." - }, - "eula": { - "type": "string", - "description": "The Eula agreement for the gallery Application Definition." - }, - "privacyStatementUri": { - "type": "string", - "description": "The privacy statement uri." - }, - "releaseNoteUri": { - "type": "string", - "description": "The release note uri." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." - }, - "supportedOSType": { - "type": "string", - "description": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**", - "enum": [ - "Windows", - "Linux" - ], - "x-ms-enum": { - "name": "OperatingSystemTypes", - "modelAsString": false - } - } - }, - "required": [ - "supportedOSType" - ], - "description": "Describes the properties of a gallery Application Definition." - }, - "GalleryApplicationVersion": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryApplicationVersionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Specifies information about the gallery Application Version that you want to create or update." - }, - "GalleryApplicationVersionUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryApplicationVersionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResourceDefinition" - } - ], - "description": "Specifies information about the gallery Application Version that you want to update." - }, - "GalleryApplicationVersionProperties": { - "properties": { - "publishingProfile": { - "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "title": "The current state of the gallery Application Version.", - "description": "The provisioning state, which only appears in the response.", - "enum": [ - "Creating", - "Updating", - "Failed", - "Succeeded", - "Deleting", - "Migrating" - ] - }, - "replicationStatus": { - "readOnly": true, - "$ref": "#/definitions/ReplicationStatus" - } - }, - "required": [ - "publishingProfile" - ], - "description": "Describes the properties of a gallery image version." - }, - "GalleryApplicationVersionPublishingProfile": { - "properties": { - "source": { - "$ref": "#/definitions/UserArtifactSource" - }, - "manageActions": { - "$ref": "#/definitions/UserArtifactManage" - }, - "enableHealthCheck": { - "type": "boolean", - "description": "Optional. Whether or not this application reports health." - } - }, - "allOf": [ - { - "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" - } - ], - "required": [ - "source" - ], - "description": "The publishing profile of a gallery image version." - }, - "UserArtifactSource": { - "properties": { - "mediaLink": { - "type": "string", - "description": "Required. The mediaLink of the artifact, must be a readable storage page blob." - }, - "defaultConfigurationLink": { - "type": "string", - "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob." - } - }, - "required": [ - "mediaLink" - ], - "description": "The source image from which the Image Version is going to be created." - }, - "UserArtifactManage": { - "properties": { - "install": { - "type": "string", - "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters." - }, - "remove": { - "type": "string", - "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters." - }, - "update": { - "type": "string", - "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters." - } - }, - "required": [ - "install", - "remove" - ] - }, - "GalleryImage": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryImageProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Specifies information about the gallery image definition that you want to create or update." - }, - "GalleryImageUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryImageProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResourceDefinition" - } - ], - "description": "Specifies information about the gallery image definition that you want to update." - }, - "GalleryImageProperties": { - "properties": { - "description": { - "type": "string", - "description": "The description of this gallery image definition resource. This property is updatable." - }, - "eula": { - "type": "string", - "description": "The Eula agreement for the gallery image definition." - }, - "privacyStatementUri": { - "type": "string", - "description": "The privacy statement uri." - }, - "releaseNoteUri": { - "type": "string", - "description": "The release note uri." - }, - "osType": { - "type": "string", - "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**", - "enum": [ - "Windows", - "Linux" - ], - "x-ms-enum": { - "name": "OperatingSystemTypes", - "modelAsString": false - } - }, - "osState": { - "type": "string", - "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.", - "enum": [ - "Generalized", - "Specialized" - ], - "x-ms-enum": { - "name": "OperatingSystemStateTypes", - "modelAsString": false - } - }, - "hyperVGeneration": { - "type": "string", - "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.", - "enum": [ - "V1", - "V2" - ], - "x-ms-enum": { - "name": "HyperVGeneration", - "modelAsString": true - } - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." - }, - "identifier": { - "$ref": "#/definitions/GalleryImageIdentifier" - }, - "recommended": { - "$ref": "#/definitions/RecommendedMachineConfiguration" - }, - "disallowed": { - "$ref": "#/definitions/Disallowed" - }, - "purchasePlan": { - "$ref": "#/definitions/ImagePurchasePlan" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "title": "The current state of the gallery image definition.", - "description": "The provisioning state, which only appears in the response.", - "enum": [ - "Creating", - "Updating", - "Failed", - "Succeeded", - "Deleting", - "Migrating" - ] - }, - "features": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryImageFeature" - }, - "description": "A list of gallery image features." - } - }, - "required": [ - "osType", - "osState", - "identifier" - ], - "description": "Describes the properties of a gallery image definition." - }, - "GalleryImageFeature": { - "properties": { - "name": { - "type": "string", - "description": "The name of the gallery image feature." - }, - "value": { - "type": "string", - "description": "The value of the gallery image feature." - } - }, - "description": "A feature for gallery image." - }, - "GalleryImageIdentifier": { - "properties": { - "publisher": { - "type": "string", - "description": "The name of the gallery image definition publisher." - }, - "offer": { - "type": "string", - "description": "The name of the gallery image definition offer." - }, - "sku": { - "type": "string", - "description": "The name of the gallery image definition SKU." - } - }, - "required": [ - "publisher", - "offer", - "sku" - ], - "description": "This is the gallery image definition identifier." - }, - "RecommendedMachineConfiguration": { - "properties": { - "vCPUs": { - "$ref": "#/definitions/ResourceRange" - }, - "memory": { - "$ref": "#/definitions/ResourceRange" - } - }, - "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." - }, - "ResourceRange": { - "properties": { - "min": { - "type": "integer", - "format": "int32", - "description": "The minimum number of the resource." - }, - "max": { - "type": "integer", - "format": "int32", - "description": "The maximum number of the resource." - } - }, - "description": "Describes the resource range." - }, - "Disallowed": { - "properties": { - "diskTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of disk types." - } - }, - "description": "Describes the disallowed disk types." - }, - "ImagePurchasePlan": { - "properties": { - "name": { - "type": "string", - "description": "The plan ID." - }, - "publisher": { - "type": "string", - "description": "The publisher ID." - }, - "product": { - "type": "string", - "description": "The product ID." - } - }, - "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." - }, - "GalleryImageVersion": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryImageVersionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Specifies information about the gallery image version that you want to create or update." - }, - "GalleryImageVersionUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryImageVersionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResourceDefinition" - } - ], - "description": "Specifies information about the gallery image version that you want to update." - }, - "GalleryImageVersionProperties": { - "properties": { - "publishingProfile": { - "$ref": "#/definitions/GalleryImageVersionPublishingProfile" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "title": "The current state of the gallery image version.", - "description": "The provisioning state, which only appears in the response.", - "enum": [ - "Creating", - "Updating", - "Failed", - "Succeeded", - "Deleting", - "Migrating" - ] - }, - "storageProfile": { - "$ref": "#/definitions/GalleryImageVersionStorageProfile" - }, - "replicationStatus": { - "readOnly": true, - "$ref": "#/definitions/ReplicationStatus" - } - }, - "required": [ - "storageProfile" - ], - "description": "Describes the properties of a gallery image version." - }, - "GalleryArtifactPublishingProfileBase": { - "properties": { - "targetRegions": { - "type": "array", - "items": { - "$ref": "#/definitions/TargetRegion" - }, - "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." - }, - "replicaCount": { - "type": "integer", - "format": "int32", - "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." - }, - "excludeFromLatest": { - "type": "boolean", - "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." - }, - "publishedDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The timestamp for when the gallery image version is published." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." - }, - "storageAccountType": { - "type": "string", - "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", - "enum": [ - "Standard_LRS", - "Standard_ZRS", - "Premium_LRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - } - } - }, - "description": "Describes the basic gallery artifact publishing profile." - }, - "TargetRegion": { - "properties": { - "name": { - "type": "string", - "description": "The name of the region." - }, - "regionalReplicaCount": { - "type": "integer", - "format": "int32", - "description": "The number of replicas of the Image Version to be created per region. This property is updatable." - }, - "storageAccountType": { - "type": "string", - "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", - "enum": [ - "Standard_LRS", - "Standard_ZRS", - "Premium_LRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - } - }, - "encryption": { - "$ref": "#/definitions/EncryptionImages" - } - }, - "required": [ - "name" - ], - "description": "Describes the target region information." - }, - "EncryptionImages": { - "properties": { - "osDiskImage": { - "$ref": "#/definitions/OSDiskImageEncryption" - }, - "dataDiskImages": { - "type": "array", - "items": { - "$ref": "#/definitions/DataDiskImageEncryption" - }, - "description": "A list of encryption specifications for data disk images." - } - }, - "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." - }, - "OSDiskImageEncryption": { - "allOf": [ - { - "$ref": "#/definitions/DiskImageEncryption" - } - ], - "description": "Contains encryption settings for an OS disk image." - }, - "DataDiskImageEncryption": { - "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." - } - }, - "allOf": [ - { - "$ref": "#/definitions/DiskImageEncryption" - } - ], - "required": [ - "lun" - ], - "description": "Contains encryption settings for a data disk image." - }, - "DiskImageEncryption": { - "properties": { - "diskEncryptionSetId": { - "type": "string", - "description": "A relative URI containing the resource ID of the disk encryption set." - } - }, - "description": "This is the disk image encryption base class." - }, - "GalleryArtifactSource": { - "properties": { - "managedImage": { - "$ref": "#/definitions/ManagedArtifact" - } - }, - "required": [ - "managedImage" - ], - "description": "The source image from which the Image Version is going to be created." - }, - "ManagedArtifact": { - "properties": { - "id": { - "type": "string", - "description": "The managed artifact id." - } - }, - "required": [ - "id" - ], - "description": "The managed artifact." - }, - "GalleryImageVersionPublishingProfile": { - "allOf": [ - { - "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" - } - ], - "description": "The publishing profile of a gallery image Version." - }, - "GalleryImageVersionStorageProfile": { - "properties": { - "source": { - "$ref": "#/definitions/GalleryArtifactVersionSource" - }, - "osDiskImage": { - "$ref": "#/definitions/GalleryOSDiskImage" - }, - "dataDiskImages": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryDataDiskImage" - }, - "description": "A list of data disk images." - } - }, - "description": "This is the storage profile of a Gallery Image Version." - }, - "GalleryArtifactVersionSource": { - "properties": { - "id": { - "type": "string", - "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." - }, - "uri": { - "type": "string", - "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source." - } - }, - "description": "The gallery artifact version source." - }, - "GalleryOSDiskImage": { - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "description": "This is the OS disk image." - }, - "GalleryDataDiskImage": { - "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." - } - }, - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "required": [ - "lun" - ], - "description": "This is the data disk image." - }, - "GalleryDiskImage": { - "properties": { - "sizeInGB": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "This property indicates the size of the VHD to be created." - }, - "hostCaching": { - "type": "string", - "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'", - "enum": [ - "None", - "ReadOnly", - "ReadWrite" - ], - "x-ms-enum": { - "name": "HostCaching", - "modelAsString": false - } - }, - "source": { - "$ref": "#/definitions/GalleryArtifactVersionSource" - } - }, - "description": "This is the disk image base class." - }, - "ReplicationStatus": { - "properties": { - "aggregatedState": { - "readOnly": true, - "type": "string", - "description": "This is the aggregated replication status based on all the regional replication status flags.", - "enum": [ - "Unknown", - "InProgress", - "Completed", - "Failed" - ], - "x-ms-enum": { - "name": "AggregatedReplicationState", - "modelAsString": true - } - }, - "summary": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/RegionalReplicationStatus" - }, - "description": "This is a summary of replication status for each region." - } - }, - "description": "This is the replication status of the gallery image version." - }, - "RegionalReplicationStatus": { - "properties": { - "region": { - "readOnly": true, - "type": "string", - "description": "The region to which the gallery image version is being replicated to." - }, - "state": { - "readOnly": true, - "type": "string", - "description": "This is the regional replication state.", - "enum": [ - "Unknown", - "Replicating", - "Completed", - "Failed" - ], - "x-ms-enum": { - "name": "ReplicationState", - "modelAsString": true - } - }, - "details": { - "readOnly": true, - "type": "string", - "description": "The details of the replication status." - }, - "progress": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "It indicates progress of the replication job." - } - }, - "description": "This is the regional replication status." - }, - "GalleryList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Gallery" - }, - "description": "A list of galleries." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries." - } - }, - "required": [ - "value" - ], - "description": "The List Galleries operation response." - }, - "GalleryImageList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryImage" - }, - "description": "A list of Shared Image Gallery images." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions." - } - }, - "required": [ - "value" - ], - "description": "The List Gallery Images operation response." - }, - "GalleryImageVersionList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryImageVersion" - }, - "description": "A list of gallery image versions." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions." - } - }, - "required": [ - "value" - ], - "description": "The List Gallery Image version operation response." - }, - "GalleryApplicationList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryApplication" - }, - "description": "A list of Gallery Applications." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions." - } - }, - "required": [ - "value" - ], - "description": "The List Gallery Applications operation response." - }, - "GalleryApplicationVersionList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryApplicationVersion" - }, - "description": "A list of gallery Application Versions." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions." - } - }, - "required": [ - "value" - ], - "description": "The List Gallery Application version operation response." - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/ApiError" - } - }, - "description": "An error response from the Compute service." - }, - "ApiError": { - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ApiErrorBase" - }, - "description": "The Api error details" - }, - "innererror": { - "$ref": "#/definitions/InnerError", - "description": "The Api inner error" - }, - "code": { - "type": "string", - "description": "The error code." - }, - "target": { - "type": "string", - "description": "The target of the particular error." - }, - "message": { - "type": "string", - "description": "The error message." - } - }, - "description": "Api error." - }, - "ApiErrorBase": { - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "target": { - "type": "string", - "description": "The target of the particular error." - }, - "message": { - "type": "string", - "description": "The error message." - } - }, - "description": "Api error base." - }, - "InnerError": { - "properties": { - "exceptiontype": { - "type": "string", - "description": "The exception type." - }, - "errordetail": { - "type": "string", - "description": "The internal error message or exception dump." - } - }, - "description": "Inner error details." - }, - "Resource": { - "description": "The Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true - }, - "UpdateResourceDefinition": { - "description": "The Update Resource model definition.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Resource Id" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Resource type" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "x-ms-azure-resource": true - }, - "SharingUpdate": { - "description": "Specifies information about the gallery sharing profile update.", - "properties": { - "operationType": { - "type": "string", - "description": "This property allows you to specify the operation type of gallery sharing update.

Possible values are:

**Add**

**Remove**

**Reset**", - "enum": [ - "Add", - "Remove", - "Reset" - ], - "x-ms-enum": { - "name": "SharingUpdateOperationTypes", - "modelAsString": true - } - }, - "groups": { - "type": "array", - "items": { - "$ref": "#/definitions/SharingProfileGroup" - }, - "description": "A list of sharing profile groups." - } - }, - "required": [ - "operationType" - ], - "x-ms-azure-resource": true - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "description": "The name of the resource group." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } - } -} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/sharedGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/sharedGallery.json deleted file mode 100644 index 9867716e318a..000000000000 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-09-30/sharedGallery.json +++ /dev/null @@ -1,786 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SharedGalleryServiceClient", - "description": "Shared Gallery Service Client.", - "version": "2020-09-30" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries": { - "get": { - "tags": [ - "SharedGalleries" - ], - "operationId": "SharedGalleries_List", - "description": "List shared galleries by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "sharedTo", - "in": "query", - "required": false, - "type": "string", - "description": "The query parameter to decide what shared galleries to fetch when doing listing operations.", - "enum": [ - "tenant" - ], - "x-ms-enum": { - "name": "SharedToValues", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGalleryList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/ListSharedGalleries.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images": { - "get": { - "tags": [ - "SharedGalleryImages" - ], - "operationId": "SharedGalleryImages_List", - "description": "List shared gallery images by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryUniqueName", - "in": "path", - "required": true, - "type": "string", - "description": "The unique name of the Shared Gallery." - }, - { - "name": "sharedTo", - "in": "query", - "required": false, - "type": "string", - "description": "The query parameter to decide what shared galleries to fetch when doing listing operations.", - "enum": [ - "tenant" - ], - "x-ms-enum": { - "name": "SharedToValues", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGalleryImageList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/ListSharedGalleryImages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions": { - "get": { - "tags": [ - "SharedGalleryImageVersions" - ], - "operationId": "SharedGalleryImageVersions_List", - "description": "List shared gallery image versions by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryUniqueName", - "in": "path", - "required": true, - "type": "string", - "description": "The unique name of the Shared Gallery." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Gallery Image Definition from which the Image Versions are to be listed." - }, - { - "name": "sharedTo", - "in": "query", - "required": false, - "type": "string", - "description": "The query parameter to decide what shared galleries to fetch when doing listing operations.", - "enum": [ - "tenant" - ], - "x-ms-enum": { - "name": "SharedToValues", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGalleryImageVersionList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/ListSharedGalleryImageVersions.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}": { - "get": { - "tags": [ - "SharedGalleries" - ], - "operationId": "SharedGalleries_Get", - "description": "Get a shared gallery by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "name": "galleryUniqueName", - "in": "path", - "required": true, - "type": "string", - "description": "The unique name of the Shared Gallery." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGallery" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/GetASharedGallery.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}": { - "get": { - "tags": [ - "SharedGalleryImages" - ], - "operationId": "SharedGalleryImages_Get", - "description": "Get a shared gallery image by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryUniqueName", - "in": "path", - "required": true, - "type": "string", - "description": "The unique name of the Shared Gallery." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Gallery Image Definition from which the Image Versions are to be listed." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGalleryImage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/GetASharedGalleryImage.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}": { - "get": { - "tags": [ - "SharedGalleryImageVersions" - ], - "operationId": "SharedGalleryImageVersions_Get", - "description": "Get a shared gallery image version by subscription id or tenant id.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "galleryUniqueName", - "in": "path", - "required": true, - "type": "string", - "description": "The unique name of the Shared Gallery." - }, - { - "name": "galleryImageName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Shared Gallery Image Definition from which the Image Versions are to be listed." - }, - { - "name": "galleryImageVersionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SharedGalleryImageVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a gallery.": { - "$ref": "./examples/GetASharedGalleryImageVersion.json" - } - } - } - } - }, - "definitions": { - "PirResource": { - "description": "The Resource model definition.", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Resource name" - }, - "location": { - "readOnly": true, - "type": "string", - "description": "Resource location" - } - } - }, - "PirSharedGalleryResource": { - "properties": { - "identifier": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SharedGalleryIdentifier" - } - }, - "allOf": [ - { - "$ref": "#/definitions/PirResource" - } - ], - "description": "Base information about the shared gallery resource in pir." - }, - "SharedGalleryIdentifier": { - "properties": { - "uniqueId": { - "type": "string", - "description": "The unique id of this shared gallery." - } - }, - "description": "The identifier information of shared gallery." - }, - "SharedGalleryList": { - "description": "The List Shared Galleries operation response.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SharedGallery" - }, - "description": "A list of shared galleries." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the next page of shared galleries." - } - }, - "required": [ - "value" - ] - }, - "SharedGallery": { - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/PirSharedGalleryResource" - } - ], - "description": "Specifies information about the Shared Gallery that you want to create or update." - }, - "SharedGalleryImageList": { - "description": "The List Shared Gallery Images operation response.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SharedGalleryImage" - }, - "description": "A list of shared gallery images." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch the next page of shared gallery images." - } - }, - "required": [ - "value" - ] - }, - "SharedGalleryImage": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SharedGalleryImageProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/PirSharedGalleryResource" - } - ], - "description": "Specifies information about the gallery image definition that you want to create or update." - }, - "SharedGalleryImageProperties": { - "properties": { - "osType": { - "type": "string", - "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**", - "enum": [ - "Windows", - "Linux" - ], - "x-ms-enum": { - "name": "OperatingSystemTypes", - "modelAsString": false - } - }, - "osState": { - "type": "string", - "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.", - "enum": [ - "Generalized", - "Specialized" - ], - "x-ms-enum": { - "name": "OperatingSystemStateTypes", - "modelAsString": false - } - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." - }, - "identifier": { - "$ref": "#/definitions/GalleryImageIdentifier" - }, - "recommended": { - "$ref": "#/definitions/RecommendedMachineConfiguration" - }, - "disallowed": { - "$ref": "#/definitions/Disallowed" - }, - "hyperVGeneration": { - "type": "string", - "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.", - "enum": [ - "V1", - "V2" - ], - "x-ms-enum": { - "name": "HyperVGeneration", - "modelAsString": true - } - }, - "features": { - "type": "array", - "items": { - "$ref": "#/definitions/GalleryImageFeature" - }, - "description": "A list of gallery image features." - }, - "purchasePlan": { - "$ref": "#/definitions/ImagePurchasePlan" - } - }, - "required": [ - "osType", - "osState", - "identifier" - ], - "description": "Describes the properties of a gallery image definition." - }, - "GalleryImageFeature": { - "properties": { - "name": { - "type": "string", - "description": "The name of the gallery image feature." - }, - "value": { - "type": "string", - "description": "The value of the gallery image feature." - } - }, - "description": "A feature for gallery image." - }, - "GalleryImageIdentifier": { - "properties": { - "publisher": { - "type": "string", - "description": "The name of the gallery image definition publisher." - }, - "offer": { - "type": "string", - "description": "The name of the gallery image definition offer." - }, - "sku": { - "type": "string", - "description": "The name of the gallery image definition SKU." - } - }, - "required": [ - "publisher", - "offer", - "sku" - ], - "description": "This is the gallery image definition identifier." - }, - "RecommendedMachineConfiguration": { - "properties": { - "vCPUs": { - "$ref": "#/definitions/ResourceRange" - }, - "memory": { - "$ref": "#/definitions/ResourceRange" - } - }, - "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." - }, - "ResourceRange": { - "properties": { - "min": { - "type": "integer", - "format": "int32", - "description": "The minimum number of the resource." - }, - "max": { - "type": "integer", - "format": "int32", - "description": "The maximum number of the resource." - } - }, - "description": "Describes the resource range." - }, - "Disallowed": { - "properties": { - "diskTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of disk types." - } - }, - "description": "Describes the disallowed disk types." - }, - "ImagePurchasePlan": { - "properties": { - "name": { - "type": "string", - "description": "The plan ID." - }, - "publisher": { - "type": "string", - "description": "The publisher ID." - }, - "product": { - "type": "string", - "description": "The product ID." - } - }, - "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." - }, - "SharedGalleryImageVersionList": { - "description": "The List Shared Gallery Image versions operation response.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SharedGalleryImageVersion" - }, - "description": "A list of shared gallery images versions." - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to fetch the next page of shared gallery image versions." - } - }, - "required": [ - "value" - ] - }, - "SharedGalleryImageVersion": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SharedGalleryImageVersionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/PirSharedGalleryResource" - } - ], - "description": "Specifies information about the gallery image version that you want to create or update." - }, - "SharedGalleryImageVersionProperties": { - "properties": { - "publishedDate": { - "type": "string", - "format": "date-time", - "description": "The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable." - } - }, - "description": "Describes the properties of a gallery image version." - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/ApiError" - } - }, - "description": "An error response from the Compute service." - }, - "ApiError": { - "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ApiErrorBase" - }, - "description": "The Api error details" - }, - "innererror": { - "$ref": "#/definitions/InnerError", - "description": "The Api inner error" - }, - "code": { - "type": "string", - "description": "The error code." - }, - "target": { - "type": "string", - "description": "The target of the particular error." - }, - "message": { - "type": "string", - "description": "The error message." - } - }, - "description": "Api error." - }, - "ApiErrorBase": { - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "target": { - "type": "string", - "description": "The target of the particular error." - }, - "message": { - "type": "string", - "description": "The error message." - } - }, - "description": "Api error base." - }, - "InnerError": { - "properties": { - "exceptiontype": { - "type": "string", - "description": "The exception type." - }, - "errordetail": { - "type": "string", - "description": "The internal error message or exception dump." - } - }, - "description": "Inner error details." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "LocationNameParameter": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "description": "Resource location." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } - } -} diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index bec1d1668c45..b95f192710ec 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -220,8 +220,7 @@ input-file: - Microsoft.Compute/stable/2021-03-01/runCommands.json - Microsoft.Compute/stable/2019-04-01/skus.json - Microsoft.Compute/stable/2020-09-30/disk.json -- Microsoft.Compute/stable/2020-09-30/gallery.json -- Microsoft.Compute/stable/2020-09-30/sharedGallery.json +- Microsoft.Compute/stable/2019-12-01/gallery.json ``` ### Tag: package-2021-03-01-only