Get-SCACServiceDeployment

Get-SCACServiceDeployment

Gets the service deployment for a cloud.

Syntax

Parameter Set: Cloud
Get-SCACServiceDeployment [-Cloud] <ACCloud> [ <CommonParameters>]

Detailed Description

The Get-SCACServiceDeployment cmdlet gets the service deployment for a cloud.

Parameters

-Cloud<ACCloud>

Specifies an cloud object. To retrieve an cloud object, use the Get-SCACCloud cmdlet.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACCloud

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACServiceDeployment

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

The first command gets the cloud system object named CloudSystem01 and stores the object in the $CloudSystem variable.

The second command gets the cloud object for the cloud system stored in $CloudSystem and stores the cloud object in the $Cloud variable.

The last command gets all service deployment objects for the cloud stored in $Cloud and displays information about each service deployment to the user.

PS C:\> $CloudSystem = Get-SCACCloudSystem -Name "CloudSystem01.Contoso.com"
PS C:\> $Cloud = Get-SCACCloud -CloudSystem $CloudSystem
PS C:\> Get-SCACServiceDeployment -Cloud $Cloud

Resume-SCACServiceDeployment

Suspend-SCACServiceDeployment