Partilhar via


DeploymentManagerExtensions.GetArtifactSource Método

Definição

Obtém uma fonte de artefato.

  • Caminho da solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/artifactSources/{artifactSourceName}
  • IdArtifactSources_Get de operação
public static Azure.Response<Azure.ResourceManager.DeploymentManager.ArtifactSourceResource> GetArtifactSource (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string artifactSourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetArtifactSource : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeploymentManager.ArtifactSourceResource>
<Extension()>
Public Function GetArtifactSource (resourceGroupResource As ResourceGroupResource, artifactSourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArtifactSourceResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

artifactSourceName
String

O nome da origem do artefato.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

artifactSourceName é nulo.

Aplica-se a