NewResourceManagerSdkClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NewResourceManagerSdkClient() |
Parameterless constructor for mocking |
NewResourceManagerSdkClient(IAzureContext) |
Creates new ResourceManagementClient |
NewResourceManagerSdkClient(IResourceManagementClient) |
Creates new ResourcesClient instance |
NewResourceManagerSdkClient()
Parameterless constructor for mocking
public NewResourceManagerSdkClient ();
Public Sub New ()
Applies to
NewResourceManagerSdkClient(IAzureContext)
Creates new ResourceManagementClient
public NewResourceManagerSdkClient (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.NewResourceManagerSdkClient : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.NewResourceManagerSdkClient
Public Sub New (context As IAzureContext)
Parameters
- context
- IAzureContext
Profile containing resources to manipulate
Applies to
NewResourceManagerSdkClient(IResourceManagementClient)
Creates new ResourcesClient instance
public NewResourceManagerSdkClient (Microsoft.Azure.Management.Resources.IResourceManagementClient resourceManagementClient);
new Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.NewResourceManagerSdkClient : Microsoft.Azure.Management.Resources.IResourceManagementClient -> Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.NewResourceManagerSdkClient
Public Sub New (resourceManagementClient As IResourceManagementClient)
Parameters
- resourceManagementClient
- IResourceManagementClient
The IResourceManagementClient instance