Set-AzureRmDeploymentManagerArtifactSource

Updates an artifact source.

Syntax

Set-AzureRmDeploymentManagerArtifactSource
   [-ArtifactSource] <PSArtifactSource>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AzureRmDeploymentManagerArtifactSource cmdlet updates an artifact source with the specified artifact source object. The cmdlet returns the updated ArtifactSource object.

Examples

Example 1

PS C:\> Get-AzureRmDeploymentManagerArtifactSource -ArtifactSource $artifactSourceObject

This command updates an artifact source whose name and ResourceGroup match the Name and ResourceGroupName properties of the $artifactSourceObject, respectively. The artifact source would be updated to the properties set in the $artifactSourceObject.

Parameters

-ArtifactSource

The artifact source object.

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

-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

-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.PSArtifactSource

Outputs

Microsoft.Azure.Commands.DeploymentManager.Models.PSArtifactSource