Partager via


IHyakClientFactory.CreateClient Method

Definition

Overloads

CreateClient<TClient>(IAzureContextContainer, String)
CreateClient<TClient>(IAzureContext, String)
CreateClient<TClient>(IAzureContextContainer, String)
CreateClient<TClient>(IAzureContextContainer, IAzureSubscription, String)
CreateClient<TClient>(IAzureContextContainer, IAzureSubscription, String)

CreateClient<TClient>(IAzureContextContainer, String)

public TClient CreateClient<TClient> (Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer profile, string endpoint) where TClient : Hyak.Common.ServiceClient<TClient>;
abstract member CreateClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * string -> 'Client (requires 'Client :> Hyak.Common.ServiceClient<'Client>)
Public Function CreateClient(Of TClient As ServiceClient(Of TClient)) (profile As IAzureContextContainer, endpoint As String) As TClient

Type Parameters

TClient

Parameters

endpoint
String

Returns

TClient

Applies to

CreateClient<TClient>(IAzureContext, String)

public TClient CreateClient<TClient> (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, string endpoint) where TClient : Hyak.Common.ServiceClient<TClient>;
abstract member CreateClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> 'Client (requires 'Client :> Hyak.Common.ServiceClient<'Client>)
Public Function CreateClient(Of TClient As ServiceClient(Of TClient)) (context As IAzureContext, endpoint As String) As TClient

Type Parameters

TClient

Parameters

context
IAzureContext
endpoint
String

Returns

TClient

Applies to

CreateClient<TClient>(IAzureContextContainer, String)

public TClient CreateClient<TClient> (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer profile, string endpoint) where TClient : Hyak.Common.ServiceClient<TClient>;
abstract member CreateClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * string -> 'Client (requires 'Client :> Hyak.Common.ServiceClient<'Client>)
Public Function CreateClient(Of TClient As ServiceClient(Of TClient)) (profile As IAzureContextContainer, endpoint As String) As TClient

Type Parameters

TClient

Parameters

endpoint
String

Returns

TClient

Applies to

CreateClient<TClient>(IAzureContextContainer, IAzureSubscription, String)

public TClient CreateClient<TClient> (Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer profile, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription subscription, string endpoint) where TClient : Hyak.Common.ServiceClient<TClient>;
abstract member CreateClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription * string -> 'Client (requires 'Client :> Hyak.Common.ServiceClient<'Client>)
Public Function CreateClient(Of TClient As ServiceClient(Of TClient)) (profile As IAzureContextContainer, subscription As IAzureSubscription, endpoint As String) As TClient

Type Parameters

TClient

Parameters

subscription
IAzureSubscription
endpoint
String

Returns

TClient

Applies to

CreateClient<TClient>(IAzureContextContainer, IAzureSubscription, String)

public TClient CreateClient<TClient> (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer profile, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription subscription, string endpoint) where TClient : Hyak.Common.ServiceClient<TClient>;
abstract member CreateClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription * string -> 'Client (requires 'Client :> Hyak.Common.ServiceClient<'Client>)
Public Function CreateClient(Of TClient As ServiceClient(Of TClient)) (profile As IAzureContextContainer, subscription As IAzureSubscription, endpoint As String) As TClient

Type Parameters

TClient

Parameters

subscription
IAzureSubscription
endpoint
String

Returns

TClient

Applies to