(0) exportieren Drucken
Alle erweitern
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

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

Siehe auch


Builddatum:

2013-01-07
Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.

Community-Beiträge

Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.