mirror of https://github.com/pulumi/pulumi.git
16 KiB
16 KiB
title: "getClientConfig" title_tag: "mypkg.getClientConfig" meta_desc: "Documentation for the mypkg.getClientConfig function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Failing example taken from azure-native. Original doc: Use this function to access the current configuration of the native Azure provider.
Using getClientConfig
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 getClientConfig(opts?: InvokeOptions): Promise<GetClientConfigResult>
function getClientConfigOutput(opts?: InvokeOptions): Output<GetClientConfigResult>
def get_client_config(opts: Optional[InvokeOptions] = None) -> GetClientConfigResult
def get_client_config_output(opts: Optional[InvokeOptions] = None) -> Output[GetClientConfigResult]
func GetClientConfig(ctx *Context, opts ...InvokeOption) (*GetClientConfigResult, error)
func GetClientConfigOutput(ctx *Context, opts ...InvokeOption) GetClientConfigResultOutput
> Note: This function is named GetClientConfig
in the Go SDK.
public static class GetClientConfig
{
public static Task<GetClientConfigResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetClientConfigResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetClientConfigResult> getClientConfig(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mypkg:getClientConfig
arguments:
# arguments dictionary
getClientConfig Result
The following output properties are available:
-
Client
Id string - Azure Client ID (Application Object ID).
-
Object
Id string - Azure Object ID of the current user or service principal.
-
Subscription
Id string - Azure Subscription ID
-
Tenant
Id string - Azure Tenant ID
-
Client
Id string - Azure Client ID (Application Object ID).
-
Object
Id string - Azure Object ID of the current user or service principal.
-
Subscription
Id string - Azure Subscription ID
-
Tenant
Id string - Azure Tenant ID
-
client
Id String - Azure Client ID (Application Object ID).
-
object
Id String - Azure Object ID of the current user or service principal.
-
subscription
Id String - Azure Subscription ID
-
tenant
Id String - Azure Tenant ID
-
client
Id string - Azure Client ID (Application Object ID).
-
object
Id string - Azure Object ID of the current user or service principal.
-
subscription
Id string - Azure Subscription ID
-
tenant
Id string - Azure Tenant ID
-
client_
id str - Azure Client ID (Application Object ID).
-
object_
id str - Azure Object ID of the current user or service principal.
-
subscription_
id str - Azure Subscription ID
-
tenant_
id str - Azure Tenant ID
-
client
Id String - Azure Client ID (Application Object ID).
-
object
Id String - Azure Object ID of the current user or service principal.
-
subscription
Id String - Azure Subscription ID
-
tenant
Id String - Azure Tenant ID
Package Details
- Repository
- mypkg
- License