IClientFactory.CreateArmClient Method

Definition

Overloads

CreateArmClient<TClient>(IAzureContext, String)

public TClient CreateArmClient<TClient>(Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, string endpoint) where TClient : Microsoft.Rest.ServiceClient<TClient>;
abstract member CreateArmClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> 'Client (requires 'Client :> Microsoft.Rest.ServiceClient<'Client>)
Public Function CreateArmClient(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

CreateArmClient<TClient>(IAzureContext, String, ICmdletContext)

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

Type Parameters

TClient

Parameters

context
IAzureContext
endpoint
String
cmdletContext
ICmdletContext

Returns

TClient

Applies to