Share via


ArtifactSource Constructors

Definition

Overloads

ArtifactSource()

Initializes a new instance of the ArtifactSource class.

ArtifactSource(String, String, Authentication, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the ArtifactSource class.

ArtifactSource()

Initializes a new instance of the ArtifactSource class.

public ArtifactSource ();
Public Sub New ()

Applies to

ArtifactSource(String, String, Authentication, String, String, String, IDictionary<String,String>, String)

Initializes a new instance of the ArtifactSource class.

public ArtifactSource (string location, string sourceType, Microsoft.Azure.Management.DeploymentManager.Models.Authentication authentication, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string artifactRoot = default);
new Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource : string * string * Microsoft.Azure.Management.DeploymentManager.Models.Authentication * string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.DeploymentManager.Models.ArtifactSource
Public Sub New (location As String, sourceType As String, authentication As Authentication, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional artifactRoot As String = Nothing)

Parameters

location
String

The geo-location where the resource lives

sourceType
String

The type of artifact source used.

authentication
Authentication

The authentication method to use to access the artifact source.

id
String

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Resource tags.

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.

Applies to