Language

ArmImageBuilderModelFactory.ImageTemplateSharedImageDistributor Method

Definition

Distribute via Azure Compute Gallery.

public static Azure.ResourceManager.ImageBuilder.Models.ImageTemplateSharedImageDistributor ImageTemplateSharedImageDistributor(string runOutputName = default, System.Collections.Generic.IDictionary<string,string> artifactTags = default, Azure.Core.ResourceIdentifier galleryImageId = default, System.Collections.Generic.IEnumerable<string> replicationRegions = default, bool? isExcludedFromLatest = default, Azure.ResourceManager.ImageBuilder.Models.SharedImageStorageAccountType? storageAccountType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateTargetRegion> targetRegions = default, Azure.ResourceManager.ImageBuilder.Models.DistributeVersioner versioning = default, Azure.ResourceManager.ImageBuilder.Models.ImageTemplateReplicationMode? replicationMode = default);
static member ImageTemplateSharedImageDistributor : string * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * seq<string> * Nullable<bool> * Nullable<Azure.ResourceManager.ImageBuilder.Models.SharedImageStorageAccountType> * seq<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateTargetRegion> * Azure.ResourceManager.ImageBuilder.Models.DistributeVersioner * Nullable<Azure.ResourceManager.ImageBuilder.Models.ImageTemplateReplicationMode> -> Azure.ResourceManager.ImageBuilder.Models.ImageTemplateSharedImageDistributor
Public Shared Function ImageTemplateSharedImageDistributor (Optional runOutputName As String = Nothing, Optional artifactTags As IDictionary(Of String, String) = Nothing, Optional galleryImageId As ResourceIdentifier = Nothing, Optional replicationRegions As IEnumerable(Of String) = Nothing, Optional isExcludedFromLatest As Nullable(Of Boolean) = Nothing, Optional storageAccountType As Nullable(Of SharedImageStorageAccountType) = Nothing, Optional targetRegions As IEnumerable(Of ImageTemplateTargetRegion) = Nothing, Optional versioning As DistributeVersioner = Nothing, Optional replicationMode As Nullable(Of ImageTemplateReplicationMode) = Nothing) As ImageTemplateSharedImageDistributor

Parameters

runOutputName
String

The name to be used for the associated RunOutput.

artifactTags
IDictionary<String,String>

Tags that will be applied to the artifact once it has been created/updated by the distributor.

galleryImageId
ResourceIdentifier

Resource Id of the Azure Compute Gallery image.

replicationRegions
IEnumerable<String>

[Deprecated] A list of regions that the image will be replicated to. This list can be specified only if targetRegions is not specified. This field is deprecated - use targetRegions instead.

isExcludedFromLatest
Nullable<Boolean>

Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).

storageAccountType
Nullable<SharedImageStorageAccountType>

[Deprecated] Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS). This field can be specified only if replicationRegions is specified. This field is deprecated - use targetRegions instead.

targetRegions
IEnumerable<ImageTemplateTargetRegion>

The target regions where the distributed Image Version is going to be replicated to. This object supersedes replicationRegions and can be specified only if replicationRegions is not specified.

versioning
DistributeVersioner

Describes how to generate new x.y.z version number for distribution.

replicationMode
Nullable<ImageTemplateReplicationMode>

Describes replication mode for distribution in Azure Compute Gallery. Omit to use the default (Full).

Returns

A new ImageTemplateSharedImageDistributor instance for mocking.

Applies to