-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99d1cd2
commit 2a65faa
Showing
10 changed files
with
1,152 additions
and
60 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
...Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-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" | ||
} | ||
} | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
...ft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-01", | ||
"galleryName": "myGalleryName", | ||
"galleryApplicationName": "myGalleryApplicationName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...anager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-01", | ||
"galleryName": "myGalleryName", | ||
"galleryApplicationName": "myGalleryApplicationName", | ||
"galleryApplicationVersionName": "1.0.0" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-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" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...e-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...ompute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-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" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...mpute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2019-03-01", | ||
"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": { | ||
"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" | ||
} | ||
} | ||
], | ||
"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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.