Share via


IClientCreator<TClient,TOptions>.CreateClient Method

Definition

Construct a TClient instance for this resource that was deployed. This is intended to be called from the Azure.Deployment.ProvisioningDeployment.CreateClient user facing method.

public TClient CreateClient (System.Collections.Generic.IReadOnlyDictionary<string,object?> deploymentOutputs, Azure.Core.TokenCredential credential, TOptions? options = default);
abstract member CreateClient : System.Collections.Generic.IReadOnlyDictionary<string, obj> * Azure.Core.TokenCredential * 'Options -> 'Client
Public Function CreateClient (deploymentOutputs As IReadOnlyDictionary(Of String, Object), credential As TokenCredential, Optional options As TOptions = Nothing) As TClient

Parameters

deploymentOutputs
IReadOnlyDictionary<String,Object>

The outputs for the deployed resources.

credential
TokenCredential

A credential to use for creating the client.

options
TOptions

Optional ClientOptions to use for creating the client.

Returns

TClient

A data-plane client for the provisioned resource.

Applies to