|
1 |
| ----external help file: Microsoft.Azure.Commands.Sql.dll-Help.xmlModule Name: AzureRM.Sqlonline version:schema: 2.0.0---# Stop-AzureRmSqlElasticPoolActivity## SYNOPSISCancels the asynchronous updates operation on the elastic pool.## 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 |
| 1 | +--- |
| 2 | +external help file: Microsoft.Azure.Commands.Sql.dll-Help.xml |
| 3 | +Module Name: AzureRM.Sql |
| 4 | +online version: |
| 5 | +schema: 2.0.0 |
| 6 | +--- |
| 7 | + |
| 8 | +# Stop-AzureRmSqlElasticPoolActivity |
| 9 | + |
| 10 | +## SYNOPSIS |
| 11 | +Cancels the asynchronous updates operation on the elastic pool. |
| 12 | + |
| 13 | +## SYNTAX |
| 14 | + |
| 15 | +``` |
| 16 | +Stop-AzureRmSqlElasticPoolActivity [-ServerName] <String> [-ElasticPoolName] <String> [-OperationId <Guid>] |
| 17 | + [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] |
| 18 | + [<CommonParameters>] |
| 19 | +``` |
| 20 | + |
| 21 | +## DESCRIPTION |
| 22 | +The **Stop-AzureRmSqlElasticPoolActivity** cmdlet cancels the asynchronous updates operation on the elastic pool. |
| 23 | + |
| 24 | +## EXAMPLES |
| 25 | + |
| 26 | +### Example 1: Cancel the asynchronous updates operation on the elastic pool |
| 27 | +``` |
| 28 | +PS C:\> Stop-AzureRmSqlElasticPoolActivity -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -ElasticPoolName "ElasticPool01" -OperationId af97005d-9243-4f8a-844e-402d1cc855f5 |
| 29 | +``` |
| 30 | + |
| 31 | +OperationId : af97005d-9243-4f8a-844e-402d1cc855f5 |
| 32 | +ServerName : Server01 |
| 33 | +DatabaseName : ElasticPool01 |
| 34 | +State : CANCELLED |
| 35 | +Operation : UpdateLogicalElasticPool |
| 36 | +ErrorCode : |
| 37 | +ErrorMessage : |
| 38 | +ErrorSeverity : |
| 39 | +StartTime : 10/15/2017 02:49:42 PM |
| 40 | +EndTime : 10/15/2017 02:49:43 PM |
| 41 | +PercentComplete : |
| 42 | +``` |
| 43 | +
|
| 44 | +This command cancels the asynchronous updates operation on the elastic pool. |
| 45 | +
|
| 46 | +## PARAMETERS |
| 47 | +
|
| 48 | +### -DefaultProfile |
| 49 | +The credentials, account, tenant, and subscription used for communication with Azure. |
| 50 | +
|
| 51 | +```yaml |
| 52 | +Type: IAzureContextContainer |
| 53 | +Parameter Sets: (All) |
| 54 | +Aliases: AzureRmContext, AzureCredential |
| 55 | +
|
| 56 | +Required: False |
| 57 | +Position: Named |
| 58 | +Default value: None |
| 59 | +Accept pipeline input: False |
| 60 | +Accept wildcard characters: False |
| 61 | +``` |
| 62 | + |
| 63 | +### -ElasticPoolName |
| 64 | +The name of the Azure SQL Elastic Pool. |
| 65 | + |
| 66 | +```yaml |
| 67 | +Type: String |
| 68 | +Parameter Sets: (All) |
| 69 | +Aliases: |
| 70 | + |
| 71 | +Required: True |
| 72 | +Position: 2 |
| 73 | +Default value: None |
| 74 | +Accept pipeline input: True (ByPropertyName) |
| 75 | +Accept wildcard characters: False |
| 76 | +``` |
| 77 | +
|
| 78 | +### -OperationId |
| 79 | +The ID of the operation to retrieve. |
| 80 | +
|
| 81 | +```yaml |
| 82 | +Type: Guid |
| 83 | +Parameter Sets: (All) |
| 84 | +Aliases: |
| 85 | + |
| 86 | +Required: False |
| 87 | +Position: Named |
| 88 | +Default value: None |
| 89 | +Accept pipeline input: True (ByPropertyName) |
| 90 | +Accept wildcard characters: False |
| 91 | +``` |
| 92 | +
|
| 93 | +### -ResourceGroupName |
| 94 | +The name of the resource group. |
| 95 | +
|
| 96 | +```yaml |
| 97 | +Type: String |
| 98 | +Parameter Sets: (All) |
| 99 | +Aliases: |
| 100 | + |
| 101 | +Required: True |
| 102 | +Position: 0 |
| 103 | +Default value: None |
| 104 | +Accept pipeline input: True (ByPropertyName) |
| 105 | +Accept wildcard characters: False |
| 106 | +``` |
| 107 | +
|
| 108 | +### -ServerName |
| 109 | +The name of the Azure SQL Server the Elastic Pool is in. |
| 110 | +
|
| 111 | +```yaml |
| 112 | +Type: String |
| 113 | +Parameter Sets: (All) |
| 114 | +Aliases: |
| 115 | + |
| 116 | +Required: True |
| 117 | +Position: 1 |
| 118 | +Default value: None |
| 119 | +Accept pipeline input: True (ByPropertyName) |
| 120 | +Accept wildcard characters: False |
| 121 | +``` |
| 122 | +
|
| 123 | +### -Confirm |
| 124 | +Prompts you for confirmation before running the cmdlet. |
| 125 | +
|
| 126 | +```yaml |
| 127 | +Type: SwitchParameter |
| 128 | +Parameter Sets: (All) |
| 129 | +Aliases: cf |
| 130 | + |
| 131 | +Required: False |
| 132 | +Position: Named |
| 133 | +Default value: None |
| 134 | +Accept pipeline input: False |
| 135 | +Accept wildcard characters: False |
| 136 | +``` |
| 137 | +
|
| 138 | +### -WhatIf |
| 139 | +Shows what would happen if the cmdlet runs. |
| 140 | +The cmdlet is not run. |
| 141 | +
|
| 142 | +```yaml |
| 143 | +Type: SwitchParameter |
| 144 | +Parameter Sets: (All) |
| 145 | +Aliases: wi |
| 146 | + |
| 147 | +Required: False |
| 148 | +Position: Named |
| 149 | +Default value: None |
| 150 | +Accept pipeline input: False |
| 151 | +Accept wildcard characters: False |
| 152 | +``` |
| 153 | +
|
| 154 | +### CommonParameters |
| 155 | +This 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). |
| 156 | +
|
| 157 | +## INPUTS |
| 158 | +
|
| 159 | +### System.String |
| 160 | +System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] |
| 161 | + |
| 162 | +## OUTPUTS |
| 163 | + |
| 164 | +### System.Object |
| 165 | + |
| 166 | +## NOTES |
| 167 | + |
| 168 | +## RELATED LINKS |
| 169 | + |
| 170 | + |
| 171 | + |
0 commit comments