Class CustomLocationProperties

java.lang.Object
com.azure.resourcemanager.extendedlocation.fluent.models.CustomLocationProperties

public final class CustomLocationProperties extends Object
Properties for a custom location.
  • Constructor Details

    • CustomLocationProperties

      public CustomLocationProperties()
  • Method Details

    • authentication

      public CustomLocationPropertiesAuthentication authentication()
      Get the authentication property: This is optional input that contains the authentication that should be used to generate the namespace.
      Returns:
      the authentication value.
    • withAuthentication

      public CustomLocationProperties withAuthentication(CustomLocationPropertiesAuthentication authentication)
      Set the authentication property: This is optional input that contains the authentication that should be used to generate the namespace.
      Parameters:
      authentication - the authentication value to set.
      Returns:
      the CustomLocationProperties object itself.
    • clusterExtensionIds

      public List<String> clusterExtensionIds()
      Get the clusterExtensionIds property: Contains the reference to the add-on that contains charts to deploy CRDs and operators.
      Returns:
      the clusterExtensionIds value.
    • withClusterExtensionIds

      public CustomLocationProperties withClusterExtensionIds(List<String> clusterExtensionIds)
      Set the clusterExtensionIds property: Contains the reference to the add-on that contains charts to deploy CRDs and operators.
      Parameters:
      clusterExtensionIds - the clusterExtensionIds value to set.
      Returns:
      the CustomLocationProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name for the Custom Locations location.
      Returns:
      the displayName value.
    • withDisplayName

      public CustomLocationProperties withDisplayName(String displayName)
      Set the displayName property: Display name for the Custom Locations location.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the CustomLocationProperties object itself.
    • hostResourceId

      public String hostResourceId()
      Get the hostResourceId property: Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
      Returns:
      the hostResourceId value.
    • withHostResourceId

      public CustomLocationProperties withHostResourceId(String hostResourceId)
      Set the hostResourceId property: Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
      Parameters:
      hostResourceId - the hostResourceId value to set.
      Returns:
      the CustomLocationProperties object itself.
    • hostType

      public HostType hostType()
      Get the hostType property: Type of host the Custom Locations is referencing (Kubernetes, etc...).
      Returns:
      the hostType value.
    • withHostType

      public CustomLocationProperties withHostType(HostType hostType)
      Set the hostType property: Type of host the Custom Locations is referencing (Kubernetes, etc...).
      Parameters:
      hostType - the hostType value to set.
      Returns:
      the CustomLocationProperties object itself.
    • namespace

      public String namespace()
      Get the namespace property: Kubernetes namespace that will be created on the specified cluster.
      Returns:
      the namespace value.
    • withNamespace

      public CustomLocationProperties withNamespace(String namespace)
      Set the namespace property: Kubernetes namespace that will be created on the specified cluster.
      Parameters:
      namespace - the namespace value to set.
      Returns:
      the CustomLocationProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning State for the Custom Location.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public CustomLocationProperties withProvisioningState(String provisioningState)
      Set the provisioningState property: Provisioning State for the Custom Location.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the CustomLocationProperties object itself.
    • validate

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