Share via


GuestConfigurationVmAssignmentCollection Class

Definition

A class representing a collection of GuestConfigurationVmAssignmentResource and their operations. Each GuestConfigurationVmAssignmentResource in the collection will belong to the same instance of ArmResource. To get a GuestConfigurationVmAssignmentCollection instance call the GetGuestConfigurationVmAssignments method from an instance of ArmResource.

public class GuestConfigurationVmAssignmentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource>
type GuestConfigurationVmAssignmentCollection = class
    inherit ArmCollection
    interface seq<GuestConfigurationVmAssignmentResource>
    interface IEnumerable
    interface IAsyncEnumerable<GuestConfigurationVmAssignmentResource>
Public Class GuestConfigurationVmAssignmentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of GuestConfigurationVmAssignmentResource), IEnumerable(Of GuestConfigurationVmAssignmentResource)
Inheritance
GuestConfigurationVmAssignmentCollection
Implements

Constructors

GuestConfigurationVmAssignmentCollection()

Initializes a new instance of the GuestConfigurationVmAssignmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, GuestConfigurationAssignmentData, CancellationToken)

Creates an association between a VM and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, GuestConfigurationAssignmentData, CancellationToken)

Creates an association between a VM and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
Get(String, CancellationToken)

Get information about a guest configuration assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
GetAll(CancellationToken)

List all guest configuration assignments for a virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationAssignments_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
GetAllAsync(CancellationToken)

List all guest configuration assignments for a virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationAssignments_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
GetAsync(String, CancellationToken)

Get information about a guest configuration assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<GuestConfigurationVmAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GuestConfigurationVmAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to