Share via


GuestConfigurationExtensions.GetGuestConfigurationVmAssignmentResource Method

Definition

Gets an object representing a GuestConfigurationVmAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a GuestConfigurationVmAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGuestConfigurationVmAssignmentResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource GetGuestConfigurationVmAssignmentResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetGuestConfigurationVmAssignmentResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource
<Extension()>
Public Function GetGuestConfigurationVmAssignmentResource (client As ArmClient, id As ResourceIdentifier) As GuestConfigurationVmAssignmentResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a GuestConfigurationVmAssignmentResource object.

Exceptions

client is null.

Applies to