pulumi/tests/testdata/codegen/output-funcs/docs/getclientconfig/_index.md

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:

ClientId string
Azure Client ID (Application Object ID).
ObjectId string
Azure Object ID of the current user or service principal.
SubscriptionId string
Azure Subscription ID
TenantId string
Azure Tenant ID
ClientId string
Azure Client ID (Application Object ID).
ObjectId string
Azure Object ID of the current user or service principal.
SubscriptionId string
Azure Subscription ID
TenantId string
Azure Tenant ID
clientId String
Azure Client ID (Application Object ID).
objectId String
Azure Object ID of the current user or service principal.
subscriptionId String
Azure Subscription ID
tenantId String
Azure Tenant ID
clientId string
Azure Client ID (Application Object ID).
objectId string
Azure Object ID of the current user or service principal.
subscriptionId string
Azure Subscription ID
tenantId 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
clientId String
Azure Client ID (Application Object ID).
objectId String
Azure Object ID of the current user or service principal.
subscriptionId String
Azure Subscription ID
tenantId String
Azure Tenant ID

Package Details

Repository
mypkg
License