Share via


MockableComputeArmClient.GetAvailabilitySetResource Method

Definition

Gets an object representing an AvailabilitySetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AvailabilitySetResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.AvailabilitySetResource GetAvailabilitySetResource (Azure.Core.ResourceIdentifier id);
abstract member GetAvailabilitySetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.AvailabilitySetResource
override this.GetAvailabilitySetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.AvailabilitySetResource
Public Overridable Function GetAvailabilitySetResource (id As ResourceIdentifier) As AvailabilitySetResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a AvailabilitySetResource object.

Applies to