Partilhar via


BlueprintArtifactCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um artefato de blueprint.

  • Caminho da Solicitação/{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • IdArtifacts_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>> GetAsync (string artifactName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintArtifactResource>>
Public Overridable Function GetAsync (artifactName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlueprintArtifactResource))

Parâmetros

artifactName
String

Nome do artefato de blueprint.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

artifactName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

artifactName é nulo.

Aplica-se a