Class UserArtifactSource
java.lang.Object
com.azure.resourcemanager.compute.models.UserArtifactSource
The source image from which the Image Version is going to be created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultConfigurationLink property: Optional.Get the mediaLink property: Required.voidvalidate()Validates the instance.withDefaultConfigurationLink(String defaultConfigurationLink) Set the defaultConfigurationLink property: Optional.withMediaLink(String mediaLink) Set the mediaLink property: Required.
-
Constructor Details
-
UserArtifactSource
public UserArtifactSource()
-
-
Method Details
-
mediaLink
Get the mediaLink property: Required. The mediaLink of the artifact, must be a readable storage page blob.- Returns:
- the mediaLink value.
-
withMediaLink
Set the mediaLink property: Required. The mediaLink of the artifact, must be a readable storage page blob.- Parameters:
mediaLink- the mediaLink value to set.- Returns:
- the UserArtifactSource object itself.
-
defaultConfigurationLink
Get the defaultConfigurationLink property: Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.- Returns:
- the defaultConfigurationLink value.
-
withDefaultConfigurationLink
Set the defaultConfigurationLink property: Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.- Parameters:
defaultConfigurationLink- the defaultConfigurationLink value to set.- Returns:
- the UserArtifactSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-