共用方式為


GuestConfigurationVmssAssignmentCollection Class

Definition

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

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

Constructors

GuestConfigurationVmssAssignmentCollection()

Initializes a new instance of the GuestConfigurationVmssAssignmentCollection 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 VMSS and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, GuestConfigurationAssignmentData, CancellationToken)

Creates an association between a VMSS and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
Get(String, CancellationToken)

Get information about a guest configuration assignment for VMSS

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
GetAll(CancellationToken)

List all guest configuration assignments for VMSS.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationAssignmentsVMSS_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
GetAllAsync(CancellationToken)

List all guest configuration assignments for VMSS.

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

Get information about a guest configuration assignment for VMSS

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{name}
  • Operation Id: GuestConfigurationAssignmentsVMSS_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmssAssignmentResource
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<GuestConfigurationVmssAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GuestConfigurationVmssAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to