ArmDeploymentManagerModelFactory.ArtifactSourceData Method

Definition

Initializes a new instance of ArtifactSourceData.

public static Azure.ResourceManager.DeploymentManager.ArtifactSourceData ArtifactSourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string sourceType = default, string artifactRoot = default, Azure.ResourceManager.DeploymentManager.Models.Authentication authentication = default);
static member ArtifactSourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * Azure.ResourceManager.DeploymentManager.Models.Authentication -> Azure.ResourceManager.DeploymentManager.ArtifactSourceData
Public Shared Function ArtifactSourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sourceType As String = Nothing, Optional artifactRoot As String = Nothing, Optional authentication As Authentication = Nothing) As ArtifactSourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sourceType
String

The type of artifact source used.

artifactRoot
String

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

authentication
Authentication

The authentication method to use to access the artifact source. Please note Authentication is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SasAuthentication.

Returns

A new ArtifactSourceData instance for mocking.

Applies to