共用方式為


ArmDevTestLabsModelFactory.DevTestLabArtifactSourceData Method

Definition

Initializes a new instance of DevTestLabArtifactSourceData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabArtifactSourceData DevTestLabArtifactSourceData (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 displayName = default, Uri uri = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabSourceControlType? sourceType = default, string folderPath = default, string armTemplateFolderPath = default, string branchRef = default, string securityToken = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus? status = default, DateTimeOffset? createdOn = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabArtifactSourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Uri * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabSourceControlType> * string * string * string * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus> * Nullable<DateTimeOffset> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabArtifactSourceData
Public Shared Function DevTestLabArtifactSourceData (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 displayName As String = Nothing, Optional uri As Uri = Nothing, Optional sourceType As Nullable(Of DevTestLabSourceControlType) = Nothing, Optional folderPath As String = Nothing, Optional armTemplateFolderPath As String = Nothing, Optional branchRef As String = Nothing, Optional securityToken As String = Nothing, Optional status As Nullable(Of DevTestLabEnableStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabArtifactSourceData

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.

displayName
String

The artifact source's display name.

uri
Uri

The artifact source's URI.

sourceType
Nullable<DevTestLabSourceControlType>

The artifact source's type.

folderPath
String

The folder containing artifacts.

armTemplateFolderPath
String

The folder containing Azure Resource Manager templates.

branchRef
String

The artifact source's branch reference.

securityToken
String

The security token to authenticate to the artifact source.

status
Nullable<DevTestLabEnableStatus>

Indicates if the artifact source is enabled (values: Enabled, Disabled).

createdOn
Nullable<DateTimeOffset>

The artifact source's creation date.

provisioningState
String

The provisioning status of the resource.

uniqueIdentifier
Nullable<Guid>

The unique immutable identifier of a resource (Guid).

Returns

A new DevTestLabArtifactSourceData instance for mocking.

Applies to