Get-AzureRmDeploymentManagerStep
Gets the deployment step.
Syntax
Get-AzureRmDeploymentManagerStep
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmDeploymentManagerStep
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmDeploymentManagerStep
[-Step] <PSStepResource>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzureRmDeploymentManagerStep cmdlet gets a step, and returns an object that represents that step. Specify the step by its name and resource group name. Alternately, you can provide the Step object or the ResourceId.
You can modify this object locally, and then apply changes to the artifact source by using the Set-AzureRmDeploymentManagerStep cmdlet.
Examples
Example 1: Get a step
PS C:\> New-AzureRmDeploymentManagerStep -ResourceGroupName ContosoResourceGroup -Name ContosoService1WaitStep
This command gets a step named ContosoService1WaitStep in ContosoResourceGroup.
Example 2: Get a step using the resource identifier
PS C:\> Get-AzureRmDeploymentManagerStep -ResourceId "/subscriptions/subscriptionId/resourcegroups/ContosoResourceGroup/providers/Microsoft.DeploymentManager/steps/ContosoService1WaitStep"
This command gets a step named ContosoService1WaitStep in ContosoResourceGroup.
Example 3: Get a step using an object returned by New-AzureRmDeploymentManagerStep
PS C:\> Get-AzureRmDeploymentManagerStep -Step $stepObject
This command gets a step whose name and ResourceGroup match the Name and ResourceGroupName properties of the $stepObject, respectively.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the step.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
The resource identifier.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Step
The step resource object.
Type: | Microsoft.Azure.Commands.DeploymentManager.Models.PSStepResource |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.Commands.DeploymentManager.Models.PSStepResource
Outputs
Microsoft.Azure.Commands.DeploymentManager.Models.PSStepResource