共用方式為


PublishedBlueprintCollection.Get(String, CancellationToken) Method

Definition

Get a published version of a blueprint definition.

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

Parameters

versionId
String

Version of the published blueprint definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

versionId is null.

Applies to