Class CustomLocationProperties
java.lang.Object
com.azure.resourcemanager.extendedlocation.fluent.models.CustomLocationProperties
Properties for a custom location.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: This is optional input that contains the authentication that should be used to generate the namespace.Get the clusterExtensionIds property: Contains the reference to the add-on that contains charts to deploy CRDs and operators.Get the displayName property: Display name for the Custom Locations location.Get the hostResourceId property: Connected Cluster or AKS Cluster.hostType()
Get the hostType property: Type of host the Custom Locations is referencing (Kubernetes, etc...).Get the namespace property: Kubernetes namespace that will be created on the specified cluster.Get the provisioningState property: Provisioning State for the Custom Location.void
validate()
Validates the instance.withAuthentication
(CustomLocationPropertiesAuthentication authentication) Set the authentication property: This is optional input that contains the authentication that should be used to generate the namespace.withClusterExtensionIds
(List<String> clusterExtensionIds) Set the clusterExtensionIds property: Contains the reference to the add-on that contains charts to deploy CRDs and operators.withDisplayName
(String displayName) Set the displayName property: Display name for the Custom Locations location.withHostResourceId
(String hostResourceId) Set the hostResourceId property: Connected Cluster or AKS Cluster.withHostType
(HostType hostType) Set the hostType property: Type of host the Custom Locations is referencing (Kubernetes, etc...).withNamespace
(String namespace) Set the namespace property: Kubernetes namespace that will be created on the specified cluster.withProvisioningState
(String provisioningState) Set the provisioningState property: Provisioning State for the Custom Location.
-
Constructor Details
-
CustomLocationProperties
public CustomLocationProperties()
-
-
Method Details
-
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
Get the clusterExtensionIds property: Contains the reference to the add-on that contains charts to deploy CRDs and operators.- Returns:
- the clusterExtensionIds value.
-
withClusterExtensionIds
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
Get the displayName property: Display name for the Custom Locations location.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name for the Custom Locations location.- Parameters:
displayName
- the displayName value to set.- Returns:
- the CustomLocationProperties object itself.
-
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
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
Get the hostType property: Type of host the Custom Locations is referencing (Kubernetes, etc...).- Returns:
- the hostType value.
-
withHostType
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
Get the namespace property: Kubernetes namespace that will be created on the specified cluster.- Returns:
- the namespace value.
-
withNamespace
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
Get the provisioningState property: Provisioning State for the Custom Location.- Returns:
- the provisioningState value.
-
withProvisioningState
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.
-