Share via


AssignmentCollection Class

Definition

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

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

Constructors

AssignmentCollection()

Initializes a new instance of the AssignmentCollection 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, AssignmentData, CancellationToken)

Create or update a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, AssignmentData, CancellationToken)

Create or update a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
Get(String, CancellationToken)

Get a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
GetAll(CancellationToken)

List blueprint assignments within a subscription or a management group.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments
  • Operation Id: Assignments_List
GetAllAsync(CancellationToken)

List blueprint assignments within a subscription or a management group.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments
  • Operation Id: Assignments_List
GetAsync(String, CancellationToken)

Get a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
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<AssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to