-
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.
Compute GalleryRP 2024-03-03 version (#31254)
* copy last version folder as 2024-03-03 * change version reference in swagger json files and examples * add new readme.md tag with new version * [cplat-2024-03-03] Add inVMAccessControlProfile spec in GalleryRP (#30504) * Remove async responses for HTTP 200 and 204 in delete examples * Add spec for inVMAccessControlProfile * Change put to get for list inVMAccess endpoints * LintDiff - remove 202 for PUT LRO * LintDiff - add provisioningState for GalleryInVMAccessControlProfile * LintDiff - remove 200 for DELETE LRO * LintDiff - add missing type:object for new definitions * LintDiff - add regex pattern for resource names * LintDiff - add regex pattern for resource names * LintDiff - add regex pattern for resource names * LintDiff - add Location and Azure-AsyncOperation headers for 202 LROs * Add LintDiff suppressions for PATCH operations * Add LintDiff suppressions for AvoidAdditionalProperties * Update suppression reason for AvoidAdditionalProperties * Add maxLength for inVMAccessControlProfile name * Remove PATCH spec and PATCH suppressions * Revert "Remove PATCH spec and PATCH suppressions" This reverts commit 4b884a3. * Update spec with blockDeletionBeforeEndOfLife (#30505) * [cplat-2024-03-03] Update spec for "Update GalleryImageDefinition Feature" feature (#30536) * Update spec with startsAtVersion * Add allowUpdateImage property * [cplat-2024-03-03] Update spec for SoftDelete Restore feature (#30558) * Update spec with restore * Add example for soft delete restore * Update spec with scriptBehaviorAfterReboot (#30842) * Adding AdditionalReplicaSet parameter in swagger api version 2024-03-03 (#30855) * adding additionalReplicaSet in swagger * addressing lindiff errors * addressing comments * addressing comments * updating enum * running prettier * adding separate examples * adding file in readme.md * adding at the end of properties * addressing comments * Update spec with MSI support for Galleries (#30885) * Initial commit * Modify PUT/PATCH response * Fixes * Fixes * [cplat-2024-03-03] Add List soft-deleted resources api (#31094) * Add List soft-deleted resources api and example * fix bugs * [cplat-2024-03-03] Update spec for ValidationProfile (#30658) * Update spec with validationsProfile * Add examples for GetGalleryImageVersion with ValidationProfile * Run jq to format for prettier * LintDiff - add type:object for new definitions * Reorder validationsProfile to preserve param ordering * Make validations profile readonly * Update gallery.json --------- Co-authored-by: Theodore Chang <thchan@microsoft.com> * suppress lintDiff existing from last version * Move validationsProfile to GalleryImageVersionProperties (#31310) * Move validationsProfile to GalleryImageVersionProperties * Revert "Move validationsProfile to GalleryImageVersionProperties" This reverts commit ae39672. * Move validationsProfile to GalleryImageVersionProperties * Remove validationsProfile * Revert "Remove validationsProfile" This reverts commit 36ca3e0. * fix lintDiff failure * update disclaimer (#31430) * ARM review comment addressing * Make validation status an enum (#31526) * Make validation status an enum * Run prettier * Update description of platformAttributes (#31525) * Update description of platformAttributes * Run prettier * Add readOnly: true * update softDeletedArtifactType to enum * run prettier --------- Co-authored-by: Theodore Chang <theodore.l.chang@gmail.com> Co-authored-by: lkumaar <168636550+lkumaar@users.noreply.github.com> Co-authored-by: kgulshan827 <56105750+kgulshan827@users.noreply.github.com> Co-authored-by: mayankdaruka-msft <133302048+mayankdaruka-msft@users.noreply.github.com> Co-authored-by: jackyChenAzure <131018173+jackyChenAzure@users.noreply.github.com>
- Loading branch information
1 parent
fd8233a
commit b09c9ec
Showing
82 changed files
with
13,228 additions
and
1 deletion.
There are no files selected for viewing
607 changes: 607 additions & 0 deletions
607
...pute/resource-manager/Microsoft.Compute/GalleryRP/stable/2024-03-03/communityGallery.json
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...stable/2024-03-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"location": "myLocation", | ||
"api-version": "2024-03-03", | ||
"publicGalleryName": "publicGalleryName", | ||
"galleryImageName": "myGalleryImageName", | ||
"galleryImageVersionName": "myGalleryImageVersionName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"publishedDate": "2018-03-20T09:12:28Z", | ||
"endOfLifeDate": "2022-03-20T09:12:28Z", | ||
"excludeFromLatest": false, | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"diskSizeGB": 29, | ||
"hostCaching": "None" | ||
} | ||
}, | ||
"artifactTags": { | ||
"ShareTag-CommunityGallery": "CommunityGallery" | ||
}, | ||
"disclaimer": "https://test-uri.com" | ||
}, | ||
"location": "myLocation", | ||
"name": "myGalleryImageVersionName", | ||
"type": "Microsoft.Compute/locations/communityGalleryImageVersion", | ||
"identifier": { | ||
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...table/2024-03-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"location": "myLocation", | ||
"api-version": "2024-03-03", | ||
"publicGalleryName": "publicGalleryName", | ||
"galleryImageName": "myGalleryImageName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"publishedDate": "2018-03-20T09:12:28Z", | ||
"endOfLifeDate": "2022-03-20T09:12:28Z", | ||
"excludeFromLatest": false, | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"diskSizeGB": 29, | ||
"hostCaching": "None" | ||
} | ||
}, | ||
"artifactTags": { | ||
"ShareTag-CommunityGallery": "CommunityGallery" | ||
}, | ||
"disclaimer": "https://test-uri.com" | ||
}, | ||
"location": "myLocation", | ||
"name": "myGalleryImageVersionName", | ||
"identifier": { | ||
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" | ||
} | ||
} | ||
], | ||
"nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...leryRP/stable/2024-03-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"location": "myLocation", | ||
"api-version": "2024-03-03", | ||
"publicGalleryName": "publicGalleryName", | ||
"galleryImageName": "myGalleryImageName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"osType": "Windows", | ||
"osState": "Generalized", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"privacyStatementUri": "https://test-uri.com", | ||
"eula": "https://test-uri.com", | ||
"artifactTags": { | ||
"ShareTag-CommunityGallery": "CommunityGallery" | ||
}, | ||
"disclaimer": "https://test-uri.com" | ||
}, | ||
"location": "myLocation", | ||
"name": "myGalleryImageName", | ||
"type": "Microsoft.Compute/locations/communityGalleryImage", | ||
"identifier": { | ||
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...eryRP/stable/2024-03-03/examples/communityGalleryExamples/CommunityGalleryImage_List.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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"location": "myLocation", | ||
"api-version": "2024-03-03", | ||
"publicGalleryName": "publicGalleryName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"osType": "Windows", | ||
"osState": "Generalized", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"artifactTags": { | ||
"ShareTag-CommunityGallery": "CommunityGallery" | ||
}, | ||
"disclaimer": "https://test-uri.com" | ||
}, | ||
"location": "myLocation", | ||
"name": "myGalleryImageName", | ||
"identifier": { | ||
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName" | ||
} | ||
} | ||
], | ||
"nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName" | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...e/GalleryRP/stable/2024-03-03/examples/communityGalleryExamples/CommunityGallery_Get.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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"location": "myLocation", | ||
"api-version": "2024-03-03", | ||
"publicGalleryName": "publicGalleryName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "myLocation", | ||
"name": "publicGalleryName", | ||
"type": "Microsoft.Compute/locations/communityGallery", | ||
"identifier": { | ||
"uniqueId": "/CommunityGalleries/publicGalleryName" | ||
}, | ||
"properties": { | ||
"artifactTags": { | ||
"ShareTag-CommunityGallery": "CommunityGallery" | ||
}, | ||
"disclaimer": "https://test-uri.com", | ||
"communityMetadata": { | ||
"publisherUri": "https://test-uri.com", | ||
"publisherContact": "sameple@email.com", | ||
"eula": "https://test-uri.com", | ||
"publicNames": [ | ||
"prefix-xxxxx" | ||
], | ||
"privacyStatementUri": "https://test-uri.com" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
94 changes: 94 additions & 0 deletions
94
...Compute/GalleryRP/stable/2024-03-03/examples/galleryExamples/CommunityGallery_Create.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,94 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2024-03-03", | ||
"galleryName": "myGalleryName", | ||
"gallery": { | ||
"location": "West US", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Creating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...ft.Compute/GalleryRP/stable/2024-03-03/examples/galleryExamples/CommunityGallery_Get.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": "2024-03-03", | ||
"galleryName": "myGalleryName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/communityGalleries/myGalleryName", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNames": [ | ||
"GalleryPublicName" | ||
], | ||
"communityGalleryEnabled": true | ||
} | ||
}, | ||
"sharingStatus": { | ||
"aggregatedState": "Succeeded", | ||
"summary": [ | ||
{ | ||
"region": "westus", | ||
"state": "Succeeded", | ||
"details": "" | ||
} | ||
] | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.