Skip to content

Commit

Permalink
[Compute] Add new gallery API version and new encryption fields (Azur…
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryc3 authored and 00Kai0 committed Oct 12, 2020
1 parent 5e66b5a commit 477a938
Show file tree
Hide file tree
Showing 32 changed files with 4,380 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"galleryName": "myGalleryName",
"galleryApplicationName": "myGalleryApplicationName",
"galleryApplicationVersionName": "1.0.0",
"galleryApplicationVersion": {
"location": "West US",
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"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": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"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": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"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": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-12-01",
"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"
}
}
}
}
Loading

0 comments on commit 477a938

Please sign in to comment.