----external help file: Microsoft.Azure.Commands.Sql.dll-Help.xmlModule Name: AzureRM.Sqlonline version:schema: 2.0.0---# Stop-AzureRmSqlElasticPoolActivity## SYNOPSIS{{Fill in the Synopsis}}## SYNTAX```Stop-AzureRmSqlElasticPoolActivity [-ServerName] <String> [-ElasticPoolName] <String> [-OperationId <Guid>] [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]```## DESCRIPTIONThe **Stop-AzureRmSqlElasticPoolActivity** cmdlet cancels the asynchronous updates operation on the elastic pool.## EXAMPLES### Example 1: Cancel the asynchronous updates operation on the elastic pool```PS C:\> Stop-AzureRmSqlElasticPoolActivity -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -ElasticPoolName "ElasticPool01" -OperationId af97005d-9243-4f8a-844e-402d1cc855f5```OperationId : af97005d-9243-4f8a-844e-402d1cc855f5ServerName : Server01DatabaseName : ElasticPool01State : CANCELLEDOperation : UpdateLogicalElasticPoolErrorCode :ErrorMessage :ErrorSeverity :StartTime : 10/15/2017 02:49:42 PMEndTime : 10/15/2017 02:49:43 PMPercentComplete : ```This command cancels the asynchronous updates operation on the elastic pool.## PARAMETERS### -DefaultProfileThe credentials, account, tenant, and subscription used for communication with Azure.```yamlType: IAzureContextContainerParameter Sets: (All)Aliases: AzureRmContext, AzureCredentialRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False```### -ElasticPoolNameThe name of the Azure SQL Elastic Pool.```yamlType: StringParameter Sets: (All)Aliases:Required: TruePosition: 2Default value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: False```### -OperationIdThe ID of the operation to retrieve.```yamlType: GuidParameter Sets: (All)Aliases:Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: False```### -ResourceGroupNameThe name of the resource group.```yamlType: StringParameter Sets: (All)Aliases:Required: TruePosition: 0Default value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: False```### -ServerNameThe name of the Azure SQL Server the Elastic Pool is in.```yamlType: StringParameter Sets: (All)Aliases:Required: TruePosition: 1Default value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: False```### -ConfirmPrompts you for confirmation before running the cmdlet.```yamlType: SwitchParameterParameter Sets: (All)Aliases: cfRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False```### -WhatIfShows what would happen if the cmdlet runs.The cmdlet is not run.```yamlType: SwitchParameterParameter Sets: (All)Aliases: wiRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False```### CommonParametersThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).## INPUTS### System.StringSystem.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]## OUTPUTS### System.Object## NOTES## RELATED LINKS
0 commit comments