Set-AzureRmDeploymentManagerServiceTopology

Updates the service topology.

Syntax

Set-AzureRmDeploymentManagerServiceTopology
   [-ServiceTopology] <PSServiceTopologyResource>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AzureRmDeploymentManagerServiceTopology cmdlet updates a service topology with the specified service topology object. The cmdlet returns the updated service topology object.

Examples

Example 1

PS C:\> Set-AzureRmDeploymentManagerService -ServiceTopology $serviceTopologyObject

This command updates a service topology whose name and ResourceGroup match the Name and ResourceGroupName properties of the $serviceTopologyObject, respectively. The command returns the updated service topology object.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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

-ServiceTopology

The service topology object.

Type:Microsoft.Azure.Commands.DeploymentManager.Models.PSServiceTopologyResource
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Azure.Commands.DeploymentManager.Models.PSServiceTopologyResource

Outputs

Microsoft.Azure.Commands.DeploymentManager.Models.PSServiceTopologyResource