Class ManagedClusterBootstrapProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterBootstrapProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterBootstrapProfile>

public final class ManagedClusterBootstrapProfile extends Object implements com.azure.json.JsonSerializable<ManagedClusterBootstrapProfile>
The bootstrap profile.
  • Constructor Details

    • ManagedClusterBootstrapProfile

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

    • artifactSource

      public ArtifactSource artifactSource()
      Get the artifactSource property: The source where the artifacts are downloaded from.
      Returns:
      the artifactSource value.
    • withArtifactSource

      public ManagedClusterBootstrapProfile withArtifactSource(ArtifactSource artifactSource)
      Set the artifactSource property: The source where the artifacts are downloaded from.
      Parameters:
      artifactSource - the artifactSource value to set.
      Returns:
      the ManagedClusterBootstrapProfile object itself.
    • containerRegistryId

      public String containerRegistryId()
      Get the containerRegistryId property: The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
      Returns:
      the containerRegistryId value.
    • withContainerRegistryId

      public ManagedClusterBootstrapProfile withContainerRegistryId(String containerRegistryId)
      Set the containerRegistryId property: The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
      Parameters:
      containerRegistryId - the containerRegistryId value to set.
      Returns:
      the ManagedClusterBootstrapProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ManagedClusterBootstrapProfile>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterBootstrapProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedClusterBootstrapProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedClusterBootstrapProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ManagedClusterBootstrapProfile.