java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.extendedlocation.fluent.models.CustomLocationInner

public final class CustomLocationInner extends com.azure.core.management.Resource
Custom Locations definition.
  • Constructor Details

    • CustomLocationInner

      public CustomLocationInner()
  • Method Details

    • identity

      public Identity identity()
      Get the identity property: Identity for the resource.
      Returns:
      the identity value.
    • withIdentity

      public CustomLocationInner withIdentity(Identity identity)
      Set the identity property: Identity for the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the CustomLocationInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withLocation

      public CustomLocationInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public CustomLocationInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner object itself.
    • displayName

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

      public CustomLocationInner withDisplayName(String displayName)
      Set the displayName property: Display name for the Custom Locations location.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner 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 CustomLocationInner object itself.
    • provisioningState

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

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

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