Class UserArtifactSource

java.lang.Object
com.azure.resourcemanager.compute.models.UserArtifactSource

public final class UserArtifactSource extends Object
The source image from which the Image Version is going to be created.
  • Constructor Details

    • UserArtifactSource

      public UserArtifactSource()
      Creates an instance of UserArtifactSource class.
  • Method Details

    • mediaLink

      public String mediaLink()
      Get the mediaLink property: Required. The mediaLink of the artifact, must be a readable storage page blob.
      Returns:
      the mediaLink value.
    • withMediaLink

      public UserArtifactSource withMediaLink(String mediaLink)
      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

      public String defaultConfigurationLink()
      Get the defaultConfigurationLink property: Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
      Returns:
      the defaultConfigurationLink value.
    • withDefaultConfigurationLink

      public UserArtifactSource withDefaultConfigurationLink(String defaultConfigurationLink)
      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.