Sdílet prostřednictvím


GuestConfigurationHcrpAssignmentCollection Class

Definition

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

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

Constructors

GuestConfigurationHcrpAssignmentCollection()

Initializes a new instance of the GuestConfigurationHcrpAssignmentCollection 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 ARC machine and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, GuestConfigurationAssignmentData, CancellationToken)

Creates an association between a ARC machine and guest configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_CreateOrUpdate
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
Get(String, CancellationToken)

Get information about a guest configuration assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
GetAll(CancellationToken)

List all guest configuration assignments for an ARC machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationHCRPAssignments_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
GetAllAsync(CancellationToken)

List all guest configuration assignments for an ARC machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationHCRPAssignments_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
GetAsync(String, CancellationToken)

Get information about a guest configuration assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}
  • Operation Id: GuestConfigurationHCRPAssignments_Get
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationHcrpAssignmentResource
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<GuestConfigurationHcrpAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GuestConfigurationHcrpAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to