CustomLocation Class

Custom Locations definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.extendedlocation.v2021_03_15_preview.models._models_py3.TrackedResource
CustomLocation

Constructor

CustomLocation(*, location: str, tags: Optional[Dict[str, str]] = None, authentication: Optional[_models.CustomLocationPropertiesAuthentication] = None, cluster_extension_ids: Optional[List[str]] = None, display_name: Optional[str] = None, host_resource_id: Optional[str] = None, host_type: Optional[Union[str, _models.HostType]] = None, namespace: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

tags
dict[str, str]

A set of tags. Resource tags.

location
str

Required. The geo-location where the resource lives.

system_data
SystemData

Metadata pertaining to creation and last modification of the resource.

authentication
CustomLocationPropertiesAuthentication

This is optional input that contains the authentication that should be used to generate the namespace.

cluster_extension_ids
list[str]

Contains the reference to the add-on that contains charts to deploy CRDs and operators.

display_name
str

Display name for the Custom Locations location.

host_resource_id
str

Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.

host_type
str or HostType

Type of host the Custom Locations is referencing (Kubernetes, etc...). Known values are: "Kubernetes".

namespace
str

Kubernetes namespace that will be created on the specified cluster.

provisioning_state
str

Provisioning State for the Custom Location.