Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compute] Add missing Gallery Application API in 2019-07-01 version #6745

Merged
merged 2 commits into from
Aug 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Create or update a simple gallery Image Version.": {
"Create or update a simple Gallery Image Version.": {
"$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json"
}
}
Expand Down Expand Up @@ -1522,7 +1522,7 @@
},
"osState": {
"type": "string",
"description": "The allowed values for OS State are 'Generalized'.",
"description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
"enum": [
"Generalized",
"Specialized"
Expand Down Expand Up @@ -1822,7 +1822,7 @@
"description": "A list of data disk images."
}
},
"description": "This is the storage profile of a gallery Image Version."
"description": "This is the storage profile of a Gallery Image Version."
},
"GalleryOSDiskImage": {
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-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-07-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,14 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"galleryName": "myGalleryName",
"galleryApplicationName": "myGalleryApplicationName"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"galleryName": "myGalleryName",
"galleryApplicationName": "myGalleryApplicationName",
"galleryApplicationVersionName": "1.0.0"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"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": {
"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": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"galleryName": "myGalleryName",
"galleryApplicationName": "myGalleryApplicationName",
"galleryApplicationVersionName": "1.0.0",
"$expand": "ReplicationStatus"
},
"responses": {
"200": {
"body": {
"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"
},
"replicationStatus": {
"aggregatedState": "Completed",
"summary": [
{
"region": "West US",
"state": "Completed",
"details": "",
"progress": 100
}
]
},
"provisioningState": "Succeeded"
},
"location": "West US",
"name": "1.0.0"
}
}
}
}
Loading