Udostępnij za pośrednictwem


ArmElasticModelFactory.ElasticVmResourceInfo(ResourceIdentifier) Method

Definition

Initializes a new instance of ElasticVmResourceInfo.

public static Azure.ResourceManager.Elastic.Models.ElasticVmResourceInfo ElasticVmResourceInfo (Azure.Core.ResourceIdentifier vmResourceId = default);
static member ElasticVmResourceInfo : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Elastic.Models.ElasticVmResourceInfo
Public Shared Function ElasticVmResourceInfo (Optional vmResourceId As ResourceIdentifier = Nothing) As ElasticVmResourceInfo

Parameters

vmResourceId
ResourceIdentifier

The ARM id of the VM resource.

Returns

A new ElasticVmResourceInfo instance for mocking.

Applies to