Get-SCACAzureServiceDeployment

Applies To: System Center 2012 - App Controller

Get-SCACAzureServiceDeployment

Gets a specified Windows Azure service deployment.

Syntax

Parameter Set: __AllParameterSets
Get-SCACAzureServiceDeployment [-ACServer <ACServer> ] [ <CommonParameters>]

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

Parameter Set: HostedServiceParamSet
Get-SCACAzureServiceDeployment [-HostedService] <ACAzureHostedService> [[-DeploymentSlot] <String> ] [ <CommonParameters>]

Detailed Description

The Get-SCACAzureServiceDeployment cmdlet gets a Windows Azure service deployment.

Parameters

-ACServer<ACServer>

Specifies an App Controller server object. To retrieve an App Controller server object, use the Get-SCACServer cmdlet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Cloud<ACCloud>

Specifies a cloud object. To retrieve a 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

-DeploymentSlot<String>

Specifies the name of a deployment slot.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-HostedService<ACAzureHostedService>

Specifies a Windows Azure hosted service object. To retrieve an Azure hosted service object, use the Get-SCACAzureHostedService 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

Inputs

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

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureHostedService, System.String

Outputs

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

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACAzureServiceDeployment

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 object in the $Cloud variable.

The third command gets all Windows Azure hosted services for the cloud stored in $Cloud and stores the hosted service objects in the $HostedService array.

The last command gets the Windows Azure service deployment for the first hosted service stored in the $HostedService array and displays information about the service deployment to the user.

PS C:\> $CloudSystem = Get-SCACCloudSystem -Name "CloudSystem01"
PS C:\> $Cloud = Get-SCACCloud -CloudSystem $CloudSystem
PS C:\> $HostedService = @(Get-SCACAzureHostedService -Cloud $Cloud)
PS C:\> Get-SCACAzureServiceDeployment -HostedService $HostedService[0]

Get-SCACCloudSystem

Get-SCACCloud

Get-SCACAzureHostedService