Sdílet prostřednictvím


HybridConnectivityEndpointResource.GetIngressGatewayCredentialsAsync Method

Definition

Overloads

GetIngressGatewayCredentialsAsync(Nullable<Int64>, CancellationToken)

Gets the ingress gateway endpoint credentials

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listIngressGatewayCredentials
  • Operation Id: EndpointResources_ListIngressGatewayCredentials
  • Default Api Version: 2024-12-01
  • Resource: HybridConnectivityEndpointResource
GetIngressGatewayCredentialsAsync(ListIngressGatewayCredentialsContent, Nullable<Int64>, CancellationToken)

Gets the ingress gateway endpoint credentials

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listIngressGatewayCredentials
  • Operation Id: EndpointResources_ListIngressGatewayCredentials
  • Default Api Version: 2024-12-01
  • Resource: HybridConnectivityEndpointResource

GetIngressGatewayCredentialsAsync(Nullable<Int64>, CancellationToken)

Source:
HybridConnectivityEndpointResource.cs

Gets the ingress gateway endpoint credentials

  • Request Path: /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/listIngressGatewayCredentials
  • Operation Id: EndpointResources_ListIngressGatewayCredentials
  • Default Api Version: 2024-12-01
  • Resource: HybridConnectivityEndpointResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset>> GetIngressGatewayCredentialsAsync(long? expiresin, System.Threading.CancellationToken cancellationToken);
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 (expiresin As Nullable(Of Long), cancellationToken As CancellationToken) 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

GetIngressGatewayCredentialsAsync(ListIngressGatewayCredentialsContent, Nullable<Int64>, CancellationToken)

Source:
HybridConnectivityEndpointResource.cs

Gets the ingress gateway endpoint credentials

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

Parameters

content
ListIngressGatewayCredentialsContent

Object of type ListIngressGatewayCredentialsRequest.

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