UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

106 lines (105 loc) 3.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCustomLocation(args: GetCustomLocationArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomLocationResult>; export interface GetCustomLocationArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Custom Locations name. */ resourceName: string; } /** * Custom Locations definition. */ export interface GetCustomLocationResult { /** * This is optional input that contains the authentication that should be used to generate the namespace. */ readonly authentication?: outputs.extendedlocation.CustomLocationPropertiesResponseAuthentication; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Contains the reference to the add-on that contains charts to deploy CRDs and operators. */ readonly clusterExtensionIds?: string[]; /** * Display name for the Custom Locations location. */ readonly displayName?: string; /** * Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */ readonly hostResourceId?: string; /** * Type of host the Custom Locations is referencing (Kubernetes, etc...). */ readonly hostType?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Identity for the resource. */ readonly identity?: outputs.extendedlocation.IdentityResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Kubernetes namespace that will be created on the specified cluster. */ readonly namespace?: string; /** * Provisioning State for the Custom Location. */ readonly provisioningState?: string; /** * Metadata pertaining to creation and last modification of the resource */ readonly systemData: outputs.extendedlocation.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getCustomLocationOutput(args: GetCustomLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomLocationResult>; export interface GetCustomLocationOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Custom Locations name. */ resourceName: pulumi.Input<string>; }