Condividi tramite


AutomanageExtensions.GetAutomanageVmConfigurationProfileAssignments Method

Definition

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

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

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.Compute/virtualMachines.

Returns

An object representing collection of AutomanageVmConfigurationProfileAssignmentResources and their operations over a AutomanageVmConfigurationProfileAssignmentResource.

Exceptions

client is null.

Applies to