Compartir a través de


DeploymentManagerExtensions.GetArtifactSourceAsync Método

Definición

Obtiene un origen de artefacto.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/artifactSources/{artifactSourceName}
  • IdArtifactSources_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ArtifactSourceResource>> GetArtifactSourceAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string artifactSourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetArtifactSourceAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeploymentManager.ArtifactSourceResource>>
<Extension()>
Public Function GetArtifactSourceAsync (resourceGroupResource As ResourceGroupResource, artifactSourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArtifactSourceResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

artifactSourceName
String

Nombre del origen del artefacto.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

artifactSourceName es una cadena vacía y se espera que no esté vacía.

artifactSourceName es null.

Se aplica a