你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IClientCreator<TClient,TOptions> Interface

Definition

Allows easy creation of a data-plane client for a specific Azure resource.

public interface IClientCreator<TClient,TOptions> : Azure.Provisioning.Primitives.IClientCreator where TOptions : ClientOptions
type IClientCreator<'Client, 'Options (requires 'Options :> ClientOptions)> = interface
    interface IClientCreator
Public Interface IClientCreator(Of TClient, TOptions)
Implements IClientCreator

Type Parameters

TClient

The type of client that can be created for this Azure resource.

TOptions

The type of ClientOptions used to configure the client.

Derived
Implements

Remarks

This will be implemented explicitly by individual resources and you should prefer calling Azure.Deployment.ProvisioningDeployment.CreateClient instead to construct data-plane client resources.

Methods

CreateClient(IReadOnlyDictionary<String,Object>, TokenCredential, TOptions)

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.

GetOutputs()

Get the outputs required to construct a client for this resource.

(Inherited from IClientCreator)

Applies to