azure-native.extendedlocation.getCustomLocation
Explore with Pulumi AI
Gets the details of the customLocation with a specified resource group and name.
Uses Azure REST API version 2021-08-31-preview.
Other available API versions: 2021-08-15. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native extendedlocation [ApiVersion]
. See the version guide for details.
Using getCustomLocation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomLocation(args: GetCustomLocationArgs, opts?: InvokeOptions): Promise<GetCustomLocationResult>
function getCustomLocationOutput(args: GetCustomLocationOutputArgs, opts?: InvokeOptions): Output<GetCustomLocationResult>
def get_custom_location(resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomLocationResult
def get_custom_location_output(resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomLocationResult]
func LookupCustomLocation(ctx *Context, args *LookupCustomLocationArgs, opts ...InvokeOption) (*LookupCustomLocationResult, error)
func LookupCustomLocationOutput(ctx *Context, args *LookupCustomLocationOutputArgs, opts ...InvokeOption) LookupCustomLocationResultOutput
> Note: This function is named LookupCustomLocation
in the Go SDK.
public static class GetCustomLocation
{
public static Task<GetCustomLocationResult> InvokeAsync(GetCustomLocationArgs args, InvokeOptions? opts = null)
public static Output<GetCustomLocationResult> Invoke(GetCustomLocationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomLocationResult> getCustomLocation(GetCustomLocationArgs args, InvokeOptions options)
public static Output<GetCustomLocationResult> getCustomLocation(GetCustomLocationArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:extendedlocation:getCustomLocation
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - Custom Locations name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - Custom Locations name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - Custom Locations name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - Custom Locations name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - Custom Locations name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - Custom Locations name.
getCustomLocation Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Extended Location. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Authentication
Pulumi.
Azure Native. Extended Location. Outputs. Custom Location Properties Response Authentication - This is optional input that contains the authentication that should be used to generate the namespace.
- Cluster
Extension List<string>Ids - Contains the reference to the add-on that contains charts to deploy CRDs and operators.
- Display
Name string - Display name for the Custom Locations location.
- Host
Resource stringId - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- Host
Type string - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- Identity
Pulumi.
Azure Native. Extended Location. Outputs. Identity Response - Identity for the resource.
- Namespace string
- Kubernetes namespace that will be created on the specified cluster.
- Provisioning
State string - Provisioning State for the Custom Location.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Authentication
Custom
Location Properties Response Authentication - This is optional input that contains the authentication that should be used to generate the namespace.
- Cluster
Extension []stringIds - Contains the reference to the add-on that contains charts to deploy CRDs and operators.
- Display
Name string - Display name for the Custom Locations location.
- Host
Resource stringId - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- Host
Type string - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- Identity
Identity
Response - Identity for the resource.
- Namespace string
- Kubernetes namespace that will be created on the specified cluster.
- Provisioning
State string - Provisioning State for the Custom Location.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- authentication
Custom
Location Properties Response Authentication - This is optional input that contains the authentication that should be used to generate the namespace.
- cluster
Extension List<String>Ids - Contains the reference to the add-on that contains charts to deploy CRDs and operators.
- display
Name String - Display name for the Custom Locations location.
- host
Resource StringId - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- host
Type String - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- identity
Identity
Response - Identity for the resource.
- namespace String
- Kubernetes namespace that will be created on the specified cluster.
- provisioning
State String - Provisioning State for the Custom Location.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- authentication
Custom
Location Properties Response Authentication - This is optional input that contains the authentication that should be used to generate the namespace.
- cluster
Extension string[]Ids - Contains the reference to the add-on that contains charts to deploy CRDs and operators.
- display
Name string - Display name for the Custom Locations location.
- host
Resource stringId - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- host
Type string - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- identity
Identity
Response - Identity for the resource.
- namespace string
- Kubernetes namespace that will be created on the specified cluster.
- provisioning
State string - Provisioning State for the Custom Location.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- authentication
Custom
Location Properties Response Authentication - This is optional input that contains the authentication that should be used to generate the namespace.
- cluster_
extension_ Sequence[str]ids - 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_ strid - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- host_
type str - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- identity
Identity
Response - Identity for the resource.
- namespace str
- Kubernetes namespace that will be created on the specified cluster.
- provisioning_
state str - Provisioning State for the Custom Location.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- authentication Property Map
- This is optional input that contains the authentication that should be used to generate the namespace.
- cluster
Extension List<String>Ids - Contains the reference to the add-on that contains charts to deploy CRDs and operators.
- display
Name String - Display name for the Custom Locations location.
- host
Resource StringId - Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.
- host
Type String - Type of host the Custom Locations is referencing (Kubernetes, etc...).
- identity Property Map
- Identity for the resource.
- namespace String
- Kubernetes namespace that will be created on the specified cluster.
- provisioning
State String - Provisioning State for the Custom Location.
- Map<String>
- Resource tags.
Supporting Types
CustomLocationPropertiesResponseAuthentication
- Type string
- The type of the Custom Locations authentication
- Type string
- The type of the Custom Locations authentication
- type String
- The type of the Custom Locations authentication
- type string
- The type of the Custom Locations authentication
- type str
- The type of the Custom Locations authentication
- type String
- The type of the Custom Locations authentication
IdentityResponse
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- principal
Id string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- The identity type.
- principal_
id str - The principal ID of resource identity.
- tenant_
id str - The tenant ID of resource.
- type str
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0