ClientFactory.CreateArmClient Method

Definition

Overloads

CreateArmClient<TClient>(IAzureContext, String)

public virtual 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>)
override this.CreateArmClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> 'Client (requires 'Client :> Microsoft.Rest.ServiceClient<'Client>)
Public Overridable 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

Implements

Applies to

CreateArmClient<TClient>(IAzureContext, String, ICmdletContext)

public virtual 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>)
override this.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 Overridable 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

Implements

Applies to