Compartir a través de


DataShareAccountResource.GetShareSubscription Método

Definición

Obtener una suscripción a shareSubscription en una cuenta

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}
  • IdShareSubscriptions_Get de operación
public virtual Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource> GetShareSubscription (string shareSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetShareSubscription : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource>
override this.GetShareSubscription : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource>
Public Overridable Function GetShareSubscription (shareSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ShareSubscriptionResource)

Parámetros

shareSubscriptionName
String

Nombre de shareSubscription.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

shareSubscriptionName es null.

Se aplica a