Class ArtifactSourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deploymentmanager.fluent.models.ArtifactSourceInner
public final class ArtifactSourceInner
extends com.azure.core.management.Resource
The resource that defines the source location where the artifacts are located.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the artifactRoot property: 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.Get the authentication property: The authentication method to use to access the artifact source.Get the sourceType property: The type of artifact source used.void
validate()
Validates the instance.withArtifactRoot
(String artifactRoot) Set the artifactRoot property: 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.withAuthentication
(Authentication authentication) Set the authentication property: The authentication method to use to access the artifact source.withLocation
(String location) withSourceType
(String sourceType) Set the sourceType property: The type of artifact source used.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ArtifactSourceInner
public ArtifactSourceInner()Creates an instance of ArtifactSourceInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
sourceType
Get the sourceType property: The type of artifact source used.- Returns:
- the sourceType value.
-
withSourceType
Set the sourceType property: The type of artifact source used.- Parameters:
sourceType
- the sourceType value to set.- Returns:
- the ArtifactSourceInner object itself.
-
artifactRoot
Get the artifactRoot property: 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.- Returns:
- the artifactRoot value.
-
withArtifactRoot
Set the artifactRoot property: 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.- Parameters:
artifactRoot
- the artifactRoot value to set.- Returns:
- the ArtifactSourceInner object itself.
-
authentication
Get the authentication property: The authentication method to use to access the artifact source.- Returns:
- the authentication value.
-
withAuthentication
Set the authentication property: The authentication method to use to access the artifact source.- Parameters:
authentication
- the authentication value to set.- Returns:
- the ArtifactSourceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-