@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* Gets the ingress gateway endpoint credentials
*
* Uses Azure REST API version 2024-12-01.
*
* Other available API versions: 2023-03-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hybridconnectivity [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listEndpointIngressGatewayCredentials(args: ListEndpointIngressGatewayCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<ListEndpointIngressGatewayCredentialsResult>;
export interface ListEndpointIngressGatewayCredentialsArgs {
/**
* The endpoint name.
*/
endpointName: string;
/**
* The is how long the endpoint access token is valid (in seconds).
*/
expiresin?: number;
/**
* The fully qualified Azure Resource manager identifier of the resource.
*/
resourceUri: string;
/**
* The name of the service. If not provided, the request will by pass the generation of service configuration token.
*/
serviceName?: string | enums.hybridconnectivity.ServiceName;
}
/**
* The ingress gateway access credentials
*/
export interface ListEndpointIngressGatewayCredentialsResult {
/**
* Access key for hybrid connection.
*/
readonly accessKey: string;
/**
* The expiration of access key in unix time.
*/
readonly expiresOn?: number;
/**
* The ingress hostname.
*/
readonly hostname: string;
/**
* Azure Relay hybrid connection name for the resource.
*/
readonly hybridConnectionName: string;
/**
* The namespace name.
*/
readonly namespaceName: string;
/**
* The suffix domain name of relay namespace.
*/
readonly namespaceNameSuffix: string;
/**
* The arc ingress gateway server app id.
*/
readonly serverId: string;
/**
* The token to access the enabled service.
*/
readonly serviceConfigurationToken?: string;
/**
* The target resource home tenant id.
*/
readonly tenantId: string;
}
/**
* Gets the ingress gateway endpoint credentials
*
* Uses Azure REST API version 2024-12-01.
*
* Other available API versions: 2023-03-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hybridconnectivity [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listEndpointIngressGatewayCredentialsOutput(args: ListEndpointIngressGatewayCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListEndpointIngressGatewayCredentialsResult>;
export interface ListEndpointIngressGatewayCredentialsOutputArgs {
/**
* The endpoint name.
*/
endpointName: pulumi.Input<string>;
/**
* The is how long the endpoint access token is valid (in seconds).
*/
expiresin?: pulumi.Input<number>;
/**
* The fully qualified Azure Resource manager identifier of the resource.
*/
resourceUri: pulumi.Input<string>;
/**
* The name of the service. If not provided, the request will by pass the generation of service configuration token.
*/
serviceName?: pulumi.Input<string | enums.hybridconnectivity.ServiceName>;
}