エクスポート (0) 印刷
すべて展開

Stop-AzureService

Stops the current hosted service in Windows Azure.

Syntax

Stop AzureService [-Slot <slot>] [-Subscription <string>]

Detailed Description

Run Stop-AzureService from the service directory to stop the current hosted service.

Parameters

 

Parameter Description

[-Slot <slot>]

Specifies which service deployment to stop (Staging or Production) if service deployments exist in both staging and production. If no value is specified, only the production deployment is stopped.

[-Subscription <string>]

Specifies the subscription to use to stop the service. You must use the subscription that was used to deploy the service. The subscription name is case-sensitive.

Examples

Example 1: Stop the MyService service:

PS C:\node\MyService> Stop AzureService

6:42:49 PM - Stopping service MyService...
6:43:22 PM - Complete

Example 2: Stop the staging deployment of the MyService service using the MySubscription subscription:

PS C:\node\MyService> Stop AzureService -Slot staging -Subscription MySubscription

参照


ビルド日:

2013-01-07

コミュニティの追加

表示:
© 2014 Microsoft