az storagesync sync-group cloud-endpoint
Note
This reference is part of the storagesync extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az storagesync sync-group cloud-endpoint command. Learn more about extensions.
Manage cloud endpoint.
Commands
Name | Description | Type | Status |
---|---|---|---|
az storagesync sync-group cloud-endpoint create |
Create a new cloud endpoint. |
Extension | GA |
az storagesync sync-group cloud-endpoint delete |
Delete a given cloud endpoint. |
Extension | GA |
az storagesync sync-group cloud-endpoint list |
List all cloud endpoints in a sync group. |
Extension | GA |
az storagesync sync-group cloud-endpoint show |
Show the properties for a given cloud endpoint. |
Extension | GA |
az storagesync sync-group cloud-endpoint trigger-change-detection |
Triggers detection of changes performed on Azure File share connected to the specified Azure File Sync Cloud Endpoint. |
Extension | GA |
az storagesync sync-group cloud-endpoint wait |
Place the CLI in a waiting state until a condition of a cloud endpoint is met. |
Extension | GA |
az storagesync sync-group cloud-endpoint create
Create a new cloud endpoint.
az storagesync sync-group cloud-endpoint create --name
--storage-sync-service
--sync-group-name
[--azure-file-share-name]
[--no-wait]
[--resource-group]
[--storage-account]
[--storage-account-tenant-id]
Examples
Create a new cloud endpoint "SampleCloudEndpoint" in sync group "SampleSyncGroup".
az storagesync sync-group cloud-endpoint create --resource-group "SampleResourceGroup" \
--storage-sync-service "SampleStorageSyncService" --sync-group-name \
"SampleSyncGroup" --name "SampleCloudEndpoint" --storage-account storageaccountnameorid --azure-file-share-name \
"cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4"
Required Parameters
The name of cloud endpoint.
The name or ID of storage sync service.
The name of sync group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of Azure file share.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name or ID of the storage account.
The id of the tenant that the storage account is in.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az storagesync sync-group cloud-endpoint delete
Delete a given cloud endpoint.
az storagesync sync-group cloud-endpoint delete --name
--storage-sync-service
--sync-group-name
[--no-wait]
[--resource-group]
[--yes]
Examples
Delete cloud endpoint "SampleCloudEndpoint".
az storagesync sync-group cloud-endpoint delete --resource-group "SampleResourceGroup" \
--storage-sync-service "SampleStorageSyncService" --sync-group-name \
"SampleSyncGroup" --name "SampleCloudEndpoint"
Required Parameters
The name of cloud endpoint.
The name or ID of storage sync service.
The name of sync group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az storagesync sync-group cloud-endpoint list
List all cloud endpoints in a sync group.
az storagesync sync-group cloud-endpoint list --storage-sync-service
--sync-group-name
[--resource-group]
Examples
List all cloud endpoints in sync group "SampleSyncGroup".
az storagesync sync-group cloud-endpoint list --resource-group "SampleResourceGroup" \
--storage-sync-service "SampleStorageSyncService" --sync-group-name \
"SampleSyncGroup"
Required Parameters
The name or ID of storage sync service.
The name of sync group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az storagesync sync-group cloud-endpoint show
Show the properties for a given cloud endpoint.
az storagesync sync-group cloud-endpoint show --name
--storage-sync-service
--sync-group-name
[--resource-group]
Examples
Show the properties for cloud endpoint "SampleCloudEndpoint".
az storagesync sync-group cloud-endpoint show --resource-group "SampleResourceGroup" \
--storage-sync-service "SampleStorageSyncService" --sync-group-name \
"SampleSyncGroup" --name "SampleCloudEndpoint"
Required Parameters
The name of cloud endpoint.
The name or ID of storage sync service.
The name of sync group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az storagesync sync-group cloud-endpoint trigger-change-detection
Triggers detection of changes performed on Azure File share connected to the specified Azure File Sync Cloud Endpoint.
az storagesync sync-group cloud-endpoint trigger-change-detection [--change-detection-mode {Default, Recursive}]
[--cloud-endpoint-name --name]
[--directory-path]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--paths]
[--resource-group]
[--storage-sync-service --storage-sync-service-name]
[--subscription]
[--sync-group-name]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Change Detection Mode. Applies to a directory specified in directoryPath parameter.
Property | Value |
---|---|
Parameter group: | Parameters Arguments |
Accepted values: | Default, Recursive |
Name of Cloud Endpoint object.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Relative path to a directory Azure File share for which change detection is to be performed.
Property | Value |
---|---|
Parameter group: | Parameters Arguments |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Parameters Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Storage Sync Service resource.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of Sync Group resource.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az storagesync sync-group cloud-endpoint wait
Place the CLI in a waiting state until a condition of a cloud endpoint is met.
az storagesync sync-group cloud-endpoint wait --name
--resource-group
--storage-sync-service-name
--sync-group-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Place the CLI in a waiting state until a condition of a cloud endpoint is created.
az storagesync sync-group cloud-endpoint wait --resource-group "SampleResourceGroup" \
--storage-sync-service "SampleStorageSyncService" --sync-group-name \
"SampleSyncGroup" --name "SampleCloudEndpoint" --created
Required Parameters
The name of cloud endpoint.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of Storage Sync Service resource.
Name of Sync Group resource.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |