Freigeben über


ResourcesClient Constructors

Definition

Overloads

ResourcesClient()

Parameterless constructor for mocking

ResourcesClient(IAzureContext)

Creates new ResourceManagementClient

ResourcesClient(IResourceManagementClient, IAuthorizationManagementClient)

Creates new ResourcesClient instance

ResourcesClient(IResourceManagementClient, GalleryTemplatesClient, IAuthorizationManagementClient)

ResourcesClient()

Parameterless constructor for mocking

public ResourcesClient ();
Public Sub New ()

Applies to

ResourcesClient(IAzureContext)

Creates new ResourceManagementClient

public ResourcesClient (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.Resources.Models.ResourcesClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Resources.Models.ResourcesClient
Public Sub New (context As IAzureContext)

Parameters

context
IAzureContext

Profile containing resources to manipulate

Applies to

ResourcesClient(IResourceManagementClient, IAuthorizationManagementClient)

Creates new ResourcesClient instance

public ResourcesClient (Microsoft.Azure.Management.ResourceManager.IResourceManagementClient resourceManagementClient, Microsoft.Azure.Management.Authorization.IAuthorizationManagementClient authorizationManagementClient);
new Microsoft.Azure.Commands.Resources.Models.ResourcesClient : Microsoft.Azure.Management.ResourceManager.IResourceManagementClient * Microsoft.Azure.Management.Authorization.IAuthorizationManagementClient -> Microsoft.Azure.Commands.Resources.Models.ResourcesClient
Public Sub New (resourceManagementClient As IResourceManagementClient, authorizationManagementClient As IAuthorizationManagementClient)

Parameters

resourceManagementClient
IResourceManagementClient

The IResourceManagementClient instance

authorizationManagementClient
IAuthorizationManagementClient

The management client instance

Applies to

ResourcesClient(IResourceManagementClient, GalleryTemplatesClient, IAuthorizationManagementClient)

public ResourcesClient (Microsoft.Azure.Management.ResourceManager.IResourceManagementClient resourceManagementClient, Microsoft.Azure.Commands.Resources.Models.GalleryTemplatesClient galleryTemplatesClient, Microsoft.Azure.Management.Authorization.IAuthorizationManagementClient authorizationManagementClient);
new Microsoft.Azure.Commands.Resources.Models.ResourcesClient : Microsoft.Azure.Management.ResourceManager.IResourceManagementClient * Microsoft.Azure.Commands.Resources.Models.GalleryTemplatesClient * Microsoft.Azure.Management.Authorization.IAuthorizationManagementClient -> Microsoft.Azure.Commands.Resources.Models.ResourcesClient
Public Sub New (resourceManagementClient As IResourceManagementClient, galleryTemplatesClient As GalleryTemplatesClient, authorizationManagementClient As IAuthorizationManagementClient)

Parameters

resourceManagementClient
IResourceManagementClient
galleryTemplatesClient
GalleryTemplatesClient
authorizationManagementClient
IAuthorizationManagementClient

Applies to