Compartir a través de


EndpointResource.GetCredentials Método

Definición

Obtiene las credenciales de acceso del punto de conexión al recurso.

  • Ruta de acceso de solicitud/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listCredentials
  • IdEndpoints_ListCredentials de operaciones
public virtual Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.TargetResourceEndpointAccess> GetCredentials (long? expiresin = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentials : Nullable<int64> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.TargetResourceEndpointAccess>
override this.GetCredentials : Nullable<int64> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.TargetResourceEndpointAccess>
Public Overridable Function GetCredentials (Optional expiresin As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TargetResourceEndpointAccess)

Parámetros

expiresin
Nullable<Int64>

es cuánto tiempo es válido el token de acceso del punto de conexión (en segundos).

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a