Compartilhar via


ResourceManagerSdkClient Constructors

Definition

Overloads

ResourceManagerSdkClient()

Parameterless constructor for mocking

ResourceManagerSdkClient(IAzureContext)

Creates new ResourceManagementClient

ResourceManagerSdkClient(IResourceManagementClient)

Creates new ResourcesClient instance

ResourceManagerSdkClient()

Parameterless constructor for mocking

public ResourceManagerSdkClient ();
Public Sub New ()

Applies to

ResourceManagerSdkClient(IAzureContext)

Creates new ResourceManagementClient

public ResourceManagerSdkClient (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ResourceManagerSdkClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ResourceManagerSdkClient
Public Sub New (context As IAzureContext)

Parameters

context
IAzureContext

Profile containing resources to manipulate

Applies to

ResourceManagerSdkClient(IResourceManagementClient)

Creates new ResourcesClient instance

public ResourceManagerSdkClient (Microsoft.Azure.Management.ResourceManager.IResourceManagementClient resourceManagementClient);
new Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ResourceManagerSdkClient : Microsoft.Azure.Management.ResourceManager.IResourceManagementClient -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ResourceManagerSdkClient
Public Sub New (resourceManagementClient As IResourceManagementClient)

Parameters

resourceManagementClient
IResourceManagementClient

The IResourceManagementClient instance

Applies to