diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json new file mode 100644 index 000000000000..41d759f06cff --- /dev/null +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", + "resourceGroupName": "SampleResourceGroup_1", + "storageSyncServiceName": "SampleStorageSyncService_1", + "syncGroupName": "SampleSyncGroup_1", + "cloudEndpointName": "SampleCloudEndpoint_1", + "api-version": "2022-06-01" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", + "x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" + }, + "body": { + "firstKey": "key1", + "secondKey": "key2" + } + } + } +} diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/storagesync.json index 160127fb04e9..26dc576074c0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/storagesync.json @@ -1923,6 +1923,78 @@ "x-ms-long-running-operation": true } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/afsShareMetadataCertificatePublicKeys": { + "get": { + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageSyncServiceName", + "in": "path", + "description": "Name of Storage Sync Service resource.", + "required": true, + "type": "string" + }, + { + "name": "syncGroupName", + "in": "path", + "description": "Name of Sync Group resource.", + "required": true, + "type": "string" + }, + { + "name": "cloudEndpointName", + "in": "path", + "description": "Name of Cloud Endpoint object.", + "required": true, + "type": "string" + } + ], + "tags": [ + "CloudEndpoint Resource", + "Actions", + "Backup Restore" + ], + "operationId": "CloudEndpoints_AfsShareMetadataCertificatePublicKeys", + "description": "Get the AFS file share metadata signing certificate public keys.", + "x-ms-examples": { + "CloudEndpoints_AfsShareMetadataCertificatePublicKeys": { + "$ref": "./examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json" + } + }, + "responses": { + "200": { + "description": "AFS file share metadata signing certificate public keys.", + "schema": { + "$ref": "#/definitions/CloudEndpointAfsShareMetadataCertificatePublicKeys" + }, + "headers": { + "x-ms-request-id": { + "description": "request id.", + "type": "string" + }, + "x-ms-correlation-request-id": { + "description": "correlation request id.", + "type": "string" + } + } + }, + "default": { + "description": "Error message indicating why the operation failed.", + "schema": { + "$ref": "#/definitions/StorageSyncError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}": { "put": { "parameters": [ @@ -5540,6 +5612,22 @@ "name": "CloudEndpointChangeEnumerationTotalCountsState", "modelAsString": true } + }, + "CloudEndpointAfsShareMetadataCertificatePublicKeys": { + "type": "object", + "description": "Cloud endpoint AFS file share metadata signing certificate public keys.", + "properties": { + "firstKey": { + "type": "string", + "description": "The first public key.", + "readOnly": true + }, + "secondKey": { + "type": "string", + "description": "The second public key.", + "readOnly": true + } + } } }, "parameters": { diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index 0632d64e97e4..e132ed4d7b33 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -26,15 +26,15 @@ These are the global settings for the Storage Sync API. ``` yaml openapi-type: arm -tag: package-2022-06 +tag: package-2022-06-01 ``` -### Tag: package-2022-06 +### Tag: package-2022-06-01 -These settings apply only when `--tag=package-2022-06` is specified on the command line. +These settings apply only when `--tag=package-2022-06-01` is specified on the command line. -```yaml $(tag) == 'package-2022-06' +```yaml $(tag) == 'package-2022-06-01' input-file: - Microsoft.StorageSync/stable/2022-06-01/storagesync.json ```