共用方式為


AssignmentCollection.Get(String, CancellationToken) Method

Definition

Get a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Get
public virtual Azure.Response<Azure.ResourceManager.Blueprint.AssignmentResource> Get (string assignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Blueprint.AssignmentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Blueprint.AssignmentResource>
Public Overridable Function Get (assignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AssignmentResource)

Parameters

assignmentName
String

Name of the blueprint assignment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

assignmentName is an empty string, and was expected to be non-empty.

assignmentName is null.

Applies to