openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 154 kB
JSON
{"openapi":"3.0.0","info":{"description":"Microsoft Storage Sync Service API","title":"Microsoft Storage Sync","version":"2019-03-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-ms-code-generation-settings":{"name":"StorageSyncManagementClient"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/storagesync.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"storagesync","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.StorageSync/operations":{"get":{"deprecated":false,"description":"Lists all of the available Storage Sync Rest API operations.","operationId":"Operations_List","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Operations_List":{"value":"2019-03-01"}}}],"responses":{"200":{"description":"Array of operations resources in the Resource Provider","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"}},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationEntityListResult"},"examples":{"Operations_List":{"$ref":"#/components/examples/Operations_List"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["ResourceProvider","Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability":{"post":{"description":"Check the give namespace name availability.","operationId":"StorageSyncServices_CheckNameAvailability","parameters":[{"description":"The desired region for the name check.","in":"path","name":"locationName","required":true,"schema":{"type":"string"},"examples":{"StorageSyncServiceCheckNameAvailability_AlreadyExists":{"value":"westus"},"StorageSyncServiceCheckNameAvailability_Available":{"value":"westus"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServiceCheckNameAvailability_AlreadyExists":{"value":"2019-03-01"},"StorageSyncServiceCheckNameAvailability_Available":{"value":"2019-03-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServiceCheckNameAvailability_AlreadyExists":{"value":"5c6bc8e1-1eaf-4192-94d8-58ce463ac86c"},"StorageSyncServiceCheckNameAvailability_Available":{"value":"5c6bc8e1-1eaf-4192-94d8-58ce463ac86c"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameAvailabilityParameters"}}},"description":"Parameters to check availability of the given namespace name","required":true},"responses":{"200":{"description":"check availability returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameAvailabilityResult"},"examples":{"StorageSyncServiceCheckNameAvailability_AlreadyExists":{"$ref":"#/components/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists"},"StorageSyncServiceCheckNameAvailability_Available":{"$ref":"#/components/examples/StorageSyncServiceCheckNameAvailability_Available"}}}}}},"tags":["StorageSyncService"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices":{"get":{"description":"Get a StorageSyncService list by subscription.","operationId":"StorageSyncServices_ListBySubscription","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_ListBySubscription":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_ListBySubscription":{"value":"2019-03-01"}}}],"responses":{"200":{"description":"Array of registered Storage Sync Service resources in the subscription.","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncServiceArray"},"examples":{"StorageSyncServices_ListBySubscription":{"$ref":"#/components/examples/StorageSyncServices_ListBySubscription"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}":{"get":{"description":"Get Operation status","operationId":"OperationStatus_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Workflows_Get":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Workflows_Get":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Workflows_Get":{"value":"2019-03-01"}}},{"description":"The desired region to obtain information from.","in":"path","name":"locationName","required":true,"schema":{"type":"string"},"examples":{"Workflows_Get":{"value":"westus"}}},{"description":"workflow Id","in":"path","name":"workflowId","required":true,"schema":{"type":"string"},"examples":{"Workflows_Get":{"value":"828219ea-083e-48b5-89ea-8fd9991b2e75"}}},{"description":"operation Id","in":"path","name":"operationId","required":true,"schema":{"type":"string"},"examples":{"Workflows_Get":{"value":"14b50e24-f68d-4b29-a882-38be9dfb8bd1"}}}],"responses":{"200":{"description":"Operation Status","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationStatus"},"examples":{"Workflows_Get":{"$ref":"#/components/examples/Workflows_Get"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["Operation Status"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices":{"get":{"description":"Get a StorageSyncService list by Resource group name.","operationId":"StorageSyncServices_ListByResourceGroup","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_ListByResourceGroup":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"StorageSyncServices_ListByResourceGroup":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_ListByResourceGroup":{"value":"2019-03-01"}}}],"responses":{"200":{"description":"Array of registered Storage Sync Service resources in the Resource Group","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncServiceArray"},"examples":{"StorageSyncServices_ListByResourceGroup":{"$ref":"#/components/examples/StorageSyncServices_ListByResourceGroup"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}":{"delete":{"description":"Delete a given StorageSyncService.","operationId":"StorageSyncServices_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Delete":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"StorageSyncServices_Delete":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Delete":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"StorageSyncServices_Delete":{"value":"SampleStorageSyncService_1"}}}],"responses":{"200":{"description":"Storage Sync Service object was deleted.","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"}},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"}}}},"204":{"description":"Storage Sync Service Resource doesn't exist"},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"]},"get":{"description":"Get a given StorageSyncService.","operationId":"StorageSyncServices_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Get":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"StorageSyncServices_Get":{"value":"SampleResourceGroup_1"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"StorageSyncServices_Get":{"value":"SampleStorageSyncService_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Get":{"value":"2019-03-01"}}}],"responses":{"200":{"description":"Storage Sync Service object","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncService"},"examples":{"StorageSyncServices_Get":{"$ref":"#/components/examples/StorageSyncServices_Get"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"]},"patch":{"description":"Patch a given StorageSyncService.","operationId":"StorageSyncServices_Update","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Update":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"StorageSyncServices_Update":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Update":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"StorageSyncServices_Update":{"value":"SampleStorageSyncService_1"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncServiceUpdateParameters"}}},"description":"Storage Sync Service resource."},"responses":{"200":{"description":"Storage Sync Service object created/updated","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"}},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncService"},"examples":{"StorageSyncServices_Update":{"$ref":"#/components/examples/StorageSyncServices_Update"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"]},"put":{"description":"Create a new StorageSyncService.","operationId":"StorageSyncServices_Create","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Create":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"StorageSyncServices_Create":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"StorageSyncServices_Create":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"StorageSyncServices_Create":{"value":"SampleStorageSyncService_1"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncServiceCreateParameters"}}},"description":"Storage Sync Service resource name.","required":true},"responses":{"200":{"description":"Storage Sync Service object created/updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncService"},"examples":{"StorageSyncServices_Create":{"$ref":"#/components/examples/StorageSyncServices_Create"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["StorageSyncServices Resource"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers":{"get":{"description":"Get a given registered server list.","operationId":"RegisteredServers_ListByStorageSyncService","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_ListByStorageSyncService":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"RegisteredServers_ListByStorageSyncService":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_ListByStorageSyncService":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_ListByStorageSyncService":{"value":"SampleStorageSyncService_1"}}}],"responses":{"200":{"description":"Array of Registered Server resources in Storage Sync Service","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredServerArray"},"examples":{"RegisteredServers_ListByStorageSyncService":{"$ref":"#/components/examples/RegisteredServers_ListByStorageSyncService"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["RegisteredServer Resource"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}":{"delete":{"description":"Delete the given registered server.","operationId":"RegisteredServers_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Delete":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"RegisteredServers_Delete":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Delete":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Delete":{"value":"SampleStorageSyncService_1"}}},{"description":"GUID identifying the on-premises server.","in":"path","name":"serverId","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Delete":{"value":"41166691-ab03-43e9-ab3e-0330eda162ac"}}}],"responses":{"200":{"description":"Ok","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"202":{"description":"Asynchronous Operation Status Location","headers":{"Location":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/cdb963fd-ea36-457e-9222-f85754ff398c/operationresults/20675646-8111-4158-954b-6b637e922cbf?api-version=2019-03-01"},"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"204":{"description":"Resource doesn't exist"},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["RegisteredServer Resource"],"x-ms-long-running-operation":true},"get":{"description":"Get a given registered server.","operationId":"RegisteredServers_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Get":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"RegisteredServers_Get":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Get":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Get":{"value":"SampleStorageSyncService_1"}}},{"description":"GUID identifying the on-premises server.","in":"path","name":"serverId","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Get":{"value":"080d4133-bdb5-40a0-96a0-71a6057bfe9a"}}}],"responses":{"200":{"description":"Registered Server resources in Sync Group","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredServer"},"examples":{"RegisteredServers_Get":{"$ref":"#/components/examples/RegisteredServers_Get"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["RegisteredServer Resource"]},"put":{"description":"Add a new registered server.","operationId":"RegisteredServers_Create","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Create":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"RegisteredServers_Create":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_Create":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Create":{"value":"SampleStorageSyncService_1"}}},{"description":"GUID identifying the on-premises server.","in":"path","name":"serverId","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_Create":{"value":"\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\""}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredServerCreateParameters"}}},"description":"Body of Registered Server object.","required":true},"responses":{"200":{"description":"Registered Server resources in Sync Group","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredServer"},"examples":{"RegisteredServers_Create":{"$ref":"#/components/examples/RegisteredServers_Create"}}}}},"202":{"description":"Asynchronous Operation Status Location","headers":{"Azure-AsyncOperation":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operations/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01"},"Location":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/63e554fd-4d27-4b91-8249-2fc697de7c69/operationresults/d4b00aa1-7ae0-47f0-9fa7-7ed3ea527bc9?api-version=2019-03-01"},"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["RegisteredServer Resource"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover":{"post":{"description":"Triggers Server certificate rollover.","operationId":"RegisteredServers_triggerRollover","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_triggerRollover":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"RegisteredServers_triggerRollover":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"RegisteredServers_triggerRollover":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_triggerRollover":{"value":"SampleStorageSyncService_1"}}},{"description":"Server Id","in":"path","name":"serverId","required":true,"schema":{"type":"string"},"examples":{"RegisteredServers_triggerRollover":{"value":"d166ca76-dad2-49df-b409-12345642d730"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerRolloverRequest"}}},"description":"Body of Trigger Rollover request.","required":true},"responses":{"200":{"description":"Trigger Rollover success status","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d222"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47222"}}},"202":{"description":"Asynchronous Operation Status Location","headers":{"Location":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/828219ea-083e-48b5-89ea-8fd9991b2e75/operationresults/fe680c98-5725-49c8-b0dc-5e29745f752b?api-version=2019-03-01"},"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["RegisteredServer Resource","Actions"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups":{"get":{"description":"Get a SyncGroup List.","operationId":"SyncGroups_ListByStorageSyncService","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_ListByStorageSyncService":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"SyncGroups_ListByStorageSyncService":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_ListByStorageSyncService":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_ListByStorageSyncService":{"value":"SampleStorageSyncService_1"}}}],"responses":{"200":{"description":"Array of Sync Group resources in Storage Sync Service","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncGroupArray"},"examples":{"SyncGroups_ListByStorageSyncService":{"$ref":"#/components/examples/SyncGroups_ListByStorageSyncService"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["SyncGroup Resource"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}":{"delete":{"description":"Delete a given SyncGroup.","operationId":"SyncGroups_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Delete":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"SyncGroups_Delete":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Delete":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Delete":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Delete":{"value":"SampleSyncGroup_1"}}}],"responses":{"200":{"description":"Sync Group object was deleted","headers":{"x-ms-correlation-request-id":{"description":"correlation request id","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"Request id","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"204":{"description":"Resource doesn't exist"},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["SyncGroup Resource"]},"get":{"description":"Get a given SyncGroup.","operationId":"SyncGroups_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Get":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"SyncGroups_Get":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Get":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Get":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Get":{"value":"SampleSyncGroup_1"}}}],"responses":{"200":{"description":"Sync Group object","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncGroup"},"examples":{"SyncGroups_Get":{"$ref":"#/components/examples/SyncGroups_Get"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["SyncGroup Resource"]},"put":{"description":"Create a new SyncGroup.","operationId":"SyncGroups_Create","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Create":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"SyncGroups_Create":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"SyncGroups_Create":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Create":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"SyncGroups_Create":{"value":"SampleSyncGroup_1"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncGroupCreateParameters"}}},"description":"Sync Group Body","required":true},"responses":{"200":{"description":"Sync Group object","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"}},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncGroup"},"examples":{"SyncGroups_Create":{"$ref":"#/components/examples/SyncGroups_Create"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["SyncGroup Resource"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints":{"get":{"description":"Get a CloudEndpoint List.","operationId":"CloudEndpoints_ListBySyncGroup","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_ListBySyncGroup":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"CloudEndpoints_ListBySyncGroup":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_ListBySyncGroup":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_ListBySyncGroup":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_ListBySyncGroup":{"value":"SampleSyncGroup_1"}}}],"responses":{"200":{"description":"Array of Cloud Endpoint resources in Sync Group","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudEndpointArray"},"examples":{"CloudEndpoints_ListBySyncGroup":{"$ref":"#/components/examples/CloudEndpoints_ListBySyncGroup"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["CloudEndpoint Resource"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}":{"delete":{"description":"Delete a given CloudEndpoint.","operationId":"CloudEndpoints_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Delete":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"CloudEndpoints_Delete":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Delete":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Delete":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Delete":{"value":"SampleSyncGroup_1"}}},{"description":"Name of Cloud Endpoint object.","in":"path","name":"cloudEndpointName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Delete":{"value":"SampleCloudEndpoint_1"}}}],"responses":{"200":{"description":"Ok","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"202":{"description":"Asynchronous Operation Status Location","headers":{"Azure-AsyncOperation":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01"},"Location":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2019-03-01"},"Retry-After":{"description":"Retry After","schema":{"type":"string"},"example":"10"},"x-ms-correlation-request-id":{"description":"correlation request id","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"Request id","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}}},"204":{"description":"Resource doesn't exist"},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["CloudEndpoint Resource"],"x-ms-long-running-operation":true},"get":{"description":"Get a given CloudEndpoint.","operationId":"CloudEndpoints_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Get":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"CloudEndpoints_Get":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Get":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Get":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Get":{"value":"SampleSyncGroup_1"}}},{"description":"Name of Cloud Endpoint object.","in":"path","name":"cloudEndpointName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Get":{"value":"SampleCloudEndpoint_1"}}}],"responses":{"200":{"description":"Cloud Endpoint object","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudEndpoint"},"examples":{"CloudEndpoints_Get":{"$ref":"#/components/examples/CloudEndpoints_Get"}}}}},"default":{"description":"Error message indicating why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSyncError"}}}}},"tags":["CloudEndpoint Resource"]},"put":{"description":"Create a new CloudEndpoint.","operationId":"CloudEndpoints_Create","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Create":{"value":"52b8da2f-61e0-4a1f-8dde-336911f367fb"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"CloudEndpoints_Create":{"value":"SampleResourceGroup_1"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"CloudEndpoints_Create":{"value":"2019-03-01"}}},{"description":"Name of Storage Sync Service resource.","in":"path","name":"storageSyncServiceName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Create":{"value":"SampleStorageSyncService_1"}}},{"description":"Name of Sync Group resource.","in":"path","name":"syncGroupName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Create":{"value":"SampleSyncGroup_1"}}},{"description":"Name of Cloud Endpoint object.","in":"path","name":"cloudEndpointName","required":true,"schema":{"type":"string"},"examples":{"CloudEndpoints_Create":{"value":"SampleCloudEndpoint_1"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudEndpointCreateParameters"}}},"description":"Body of Cloud Endpoint resource.","required":true},"responses":{"200":{"description":"Cloud Endpoint object","headers":{"x-ms-correlation-request-id":{"description":"correlation request id.","schema":{"type":"string"},"example":"d166ca76-dad2-49df-b409-d2acfd42d730"},"x-ms-request-id":{"description":"request id.","schema":{"type":"string"},"example":"74e55a4d-1c6f-46de-9a8d-278e53a47403"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudEndpoint"},"examples":{"CloudEndpoints_Create":{"$ref":"#/components/examples/CloudEndpoints_Create"}}}}},"202":{"description":"Asynchronous Operation Status Location","headers":{"Azure-AsyncOperation":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2019-03-01"},"Location":{"description":"Operation Status Location URI","schema":{"type":"string"},"example":"https://management.azure.com/subscriptions/3a048283-338f-4002-a