Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Stop-AzSqlElasticPoolActivity

Module:
Az.Sql Module

Cancels the asynchronous update operation on an elastic pool.

Syntax

Default (Default)

Stop-AzSqlElasticPoolActivity
 [-PassThru]
 [-ServerName] <String>
 [-ElasticPoolName] <String>
 [-OperationId <Guid>]
 [-ResourceGroupName] <String>
 [-DefaultProfile <IAzureContextContainer>]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Description

The Stop-AzSqlElasticPoolActivity cmdlet cancels the asynchronous update operation on an elastic pool.

Examples

Example 1: Cancel the asynchronous update operation on an elastic pool

Stop-AzSqlElasticPoolActivity -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -ElasticPoolName "ElasticPool01" -OperationId af97005d-9243-4f8a-844e-402d1cc855f5
OperationId : af97005d-9243-4f8a-844e-402d1cc855f5
ServerName : Server01
DatabaseName : ElasticPool01
State : CANCELLED
Operation : UpdateLogicalElasticPool
ErrorCode :
ErrorMessage :
ErrorSeverity :
StartTime : 10/15/2017 02:49:42 PM
EndTime : 10/15/2017 02:49:43 PM
PercentComplete :

This command cancels the asynchronous updates operation on the elastic pool.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

-ElasticPoolName

The name of the Azure SQL Elastic Pool.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-OperationId

The ID of the operation to retrieve.

Parameter properties

Type:

Nullable<T>[Guid]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ResourceGroupName

The name of the resource group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ServerName

The name of the Azure SQL Server the Elastic Pool is in.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Nullable<T>

Outputs

AzureSqlElasticPoolActivityModel


Feedback

Was this page helpful?