Stop-AzDataShareSubscriptionSynchronization
Stops ongoing synchronization for a share subscription. A share subscription can be specified through its resource id or its name.
Syntax
Stop-AzDataShareSubscriptionSynchronization
-ResourceGroupName <String>
-AccountName <String>
-ShareSubscriptionName <String>
-SynchronizationId <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Stop-AzDataShareSubscriptionSynchronization
-SynchronizationId <String>
-ResourceId <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Stop-AzDataShareSubscriptionSynchronization
-InputObject <PSDataShareSubscription>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Stop-AzDataShareSubscriptionSynchronization cmdlet stops ongoing synchronization for a share subscription
Examples
Example 1
Stop-AzDataShareSubscriptionSynchronization -ResourceGroupName "ADS" -AccountName "WikiAds" -ShareSubscriptionName "AdsShareSubscription" -SynchronizationId 20a4416b-b33b-4539-a908-71dc8ef698fb
Confirm
AdsShareSubscription
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
durationMs : 231869
endTime :
message :
startTime : 7/9/2019 11:40:53 PM
status : Canceled
synchronizationId : 20a4416b-b33b-4539-a908-71dc8ef698fb
Stops ongoing synchronization identified by id - 20a4416b-b33b-4539-a908-71dc8ef698fb
Parameters
-AccountName
Azure data share account name
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AsJob
{{Fill AsJob Description}}
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Azure data share subscription object
Type: | PSDataShareSubscription |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group name of the azure data share account
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The resource id of the azure share subscription
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ShareSubscriptionName
Azure data share subscription name
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SynchronizationId
Synchronization id that needs to be stopped
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell