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

[Microsoft.StorageSync] Add AFS file share metadata certificate public keys API to version 2022-06-01 (S360 compliance) #20517

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
@@ -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"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions specification/storagesync/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down