Share via


ArmResource Constructors

Definition

Overloads

ArmResource()

Initializes a new instance of the ArmResource class for mocking.

ArmResource(ArmClient, ResourceIdentifier)

Initializes a new instance of the ArmResource class.

ArmResource()

Source:
ArmResource.cs
Source:
ArmResource.cs

Initializes a new instance of the ArmResource class for mocking.

protected ArmResource ();
Protected Sub New ()

Applies to

ArmResource(ArmClient, ResourceIdentifier)

Source:
ArmResource.cs
Source:
ArmResource.cs

Initializes a new instance of the ArmResource class.

protected internal ArmResource (Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
new Azure.ResourceManager.ArmResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ArmResource
Protected Friend Sub New (client As ArmClient, id As ResourceIdentifier)

Parameters

client
ArmClient

The ArmClient this resource client should be created from.

id
ResourceIdentifier

The identifier of the resource that is the target of operations.

Applies to