次の方法で共有


ResourceClient Constructors

Definition

Overloads

ResourceClient()

Parameterless constructor for mocking

ResourceClient(IAzureContext)

Creates new ResourceManagementClient

ResourceClient(ResourceManagementClient, AuthorizationManagementClient)

Creates new ResourcesClient instance

ResourceClient()

Parameterless constructor for mocking

public ResourceClient ();
Public Sub New ()

Applies to

ResourceClient(IAzureContext)

Creates new ResourceManagementClient

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

Parameters

context
IAzureContext

Profile containing resources to manipulate

Applies to

ResourceClient(ResourceManagementClient, AuthorizationManagementClient)

Creates new ResourcesClient instance

public ResourceClient (Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient resourceManagementClient, Microsoft.Azure.Management.Authorization.Version2015_07_01.AuthorizationManagementClient authorizationManagementClient);
new Microsoft.Azure.Commands.WebApps.Models.ResourceClient : Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient * Microsoft.Azure.Management.Authorization.Version2015_07_01.AuthorizationManagementClient -> Microsoft.Azure.Commands.WebApps.Models.ResourceClient
Public Sub New (resourceManagementClient As ResourceManagementClient, authorizationManagementClient As AuthorizationManagementClient)

Parameters

resourceManagementClient
ResourceManagementClient

The IResourceManagementClient instance

authorizationManagementClient
AuthorizationManagementClient

The management client instance

Applies to