public class ArtifactSourceInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
ArtifactSourceInner() |
Modifier and Type | Method and Description |
---|---|
String |
armTemplateFolderPath()
Get the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.
|
String |
branchRef()
Get the branchRef property: The artifact source's branch reference.
|
OffsetDateTime |
createdDate()
Get the createdDate property: The artifact source's creation date.
|
String |
displayName()
Get the displayName property: The artifact source's display name.
|
String |
folderPath()
Get the folderPath property: The folder containing artifacts.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
String |
securityToken()
Get the securityToken property: The security token to authenticate to the artifact source.
|
SourceControlType |
sourceType()
Get the sourceType property: The artifact source's type.
|
EnableStatus |
status()
Get the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
String |
uri()
Get the uri property: The artifact source's URI.
|
void |
validate()
Validates the instance.
|
ArtifactSourceInner |
withArmTemplateFolderPath(String armTemplateFolderPath)
Set the armTemplateFolderPath property: The folder containing Azure Resource Manager templates.
|
ArtifactSourceInner |
withBranchRef(String branchRef)
Set the branchRef property: The artifact source's branch reference.
|
ArtifactSourceInner |
withDisplayName(String displayName)
Set the displayName property: The artifact source's display name.
|
ArtifactSourceInner |
withFolderPath(String folderPath)
Set the folderPath property: The folder containing artifacts.
|
ArtifactSourceInner |
withLocation(String location) |
ArtifactSourceInner |
withSecurityToken(String securityToken)
Set the securityToken property: The security token to authenticate to the artifact source.
|
ArtifactSourceInner |
withSourceType(SourceControlType sourceType)
Set the sourceType property: The artifact source's type.
|
ArtifactSourceInner |
withStatus(EnableStatus status)
Set the status property: Indicates if the artifact source is enabled (values: Enabled, Disabled).
|
ArtifactSourceInner |
withTags(Map<String,String> tags) |
ArtifactSourceInner |
withUri(String uri)
Set the uri property: The artifact source's URI.
|
public String displayName()
public ArtifactSourceInner withDisplayName(String displayName)
displayName
- the displayName value to set.public String uri()
public ArtifactSourceInner withUri(String uri)
uri
- the uri value to set.public SourceControlType sourceType()
public ArtifactSourceInner withSourceType(SourceControlType sourceType)
sourceType
- the sourceType value to set.public String folderPath()
public ArtifactSourceInner withFolderPath(String folderPath)
folderPath
- the folderPath value to set.public String armTemplateFolderPath()
public ArtifactSourceInner withArmTemplateFolderPath(String armTemplateFolderPath)
armTemplateFolderPath
- the armTemplateFolderPath value to set.public String branchRef()
public ArtifactSourceInner withBranchRef(String branchRef)
branchRef
- the branchRef value to set.public String securityToken()
public ArtifactSourceInner withSecurityToken(String securityToken)
securityToken
- the securityToken value to set.public EnableStatus status()
public ArtifactSourceInner withStatus(EnableStatus status)
status
- the status value to set.public OffsetDateTime createdDate()
public String provisioningState()
public String uniqueIdentifier()
public ArtifactSourceInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public ArtifactSourceInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.