Class ArtifactSource
The resource that defines the source location where the artifacts are located.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ArtifactSource : Microsoft.Azure.Management.DeploymentManager.Models.TrackedResource
Constructors
ArtifactSource()
Initializes a new instance of the ArtifactSource class.
Declaration
public ArtifactSource ();
ArtifactSource(String, String, Authentication, String, String, String, IDictionary<String,String>, String)
Initializes a new instance of the ArtifactSource class.
Declaration
public ArtifactSource (string location, string sourceType, Microsoft.Azure.Management.DeploymentManager.Models.Authentication authentication, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string artifactRoot = null);
Parameters
|
String
location
The geo-location where the resource lives |
|
String
sourceType
The type of artifact source used. |
|
Authentication
authentication
The authentication method to use to access the artifact source. |
|
String
id
Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
String
name
The name of the resource |
|
String
type
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. |
|
IDictionary<String,String>
tags
Resource tags. |
|
String
artifactRoot
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. |
Properties
ArtifactRoot
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.artifactRoot")]
public string ArtifactRoot { get; set; }
Property Value
|
String
|
Authentication
Gets or sets the authentication method to use to access the artifact source.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.authentication")]
public Microsoft.Azure.Management.DeploymentManager.Models.Authentication Authentication { get; set; }
Property Value
|
Authentication
|
SourceType
Gets or sets the type of artifact source used.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.sourceType")]
public string SourceType { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |