共用方式為


GuestConfigurationExtensions.GetGuestConfigurationHcrpAssignments Method

Definition

Gets a collection of GuestConfigurationHcrpAssignmentResources in the ArmClient. MockingTo mock this method, please mock GetGuestConfigurationHcrpAssignments(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against. Expected resource type includes the following: Microsoft.HybridCompute/machines.

Returns

An object representing collection of GuestConfigurationHcrpAssignmentResources and their operations over a GuestConfigurationHcrpAssignmentResource.

Exceptions

client is null.

Applies to