IHyakClientFactory.CreateClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- profile
- IAzureContextContainer
- 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
- profile
- IAzureContextContainer
- 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
- profile
- IAzureContextContainer
- 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
- profile
- IAzureContextContainer
- subscription
- IAzureSubscription
- endpoint
- String
Returns
TClient