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 Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterBootstrapProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactSource property: The source where the artifacts are downloaded from.Get the containerRegistryId property: The resource Id of Azure Container Registry.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterBootstrapProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withArtifactSource(ArtifactSource artifactSource) Set the artifactSource property: The source where the artifacts are downloaded from.withContainerRegistryId(String containerRegistryId) Set the containerRegistryId property: The resource Id of Azure Container Registry.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterBootstrapProfile
public ManagedClusterBootstrapProfile()Creates an instance of ManagedClusterBootstrapProfile class.
-
-
Method Details
-
artifactSource
Get the artifactSource property: The source where the artifacts are downloaded from.- Returns:
- the artifactSource value.
-
withArtifactSource
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
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
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
- Specified by:
toJsonin interfacecom.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.
-