Partager via


HybridConnectivityEndpointResource.GetIngressGatewayCredentialsAsync Method

Definition

Gets the ingress gateway endpoint credentials

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listIngressGatewayCredentials
  • Operation Id: Endpoints_ListIngressGatewayCredentials
  • Default Api Version: 2023-03-15
  • Resource: HybridConnectivityEndpointResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset>> GetIngressGatewayCredentialsAsync (long? expiresin = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIngressGatewayCredentialsAsync : Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset>>
override this.GetIngressGatewayCredentialsAsync : Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset>>
Public Overridable Function GetIngressGatewayCredentialsAsync (Optional expiresin As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IngressGatewayAsset))

Parameters

expiresin
Nullable<Int64>

The is how long the endpoint access token is valid (in seconds).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to