import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Create new debug credentials for gateway. * * Uses Azure REST API version 2024-06-01-preview. * * Other available API versions: 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native apimanagement [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listGatewayDebugCredentials(args: ListGatewayDebugCredentialsArgs, opts?: pulumi.InvokeOptions): Promise; export interface ListGatewayDebugCredentialsArgs { /** * Full resource Id of an API. */ apiId: string; /** * Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used. */ credentialsExpireAfter?: string; /** * Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed' */ gatewayId: string; /** * Purposes of debug credential. */ purposes: (string | types.enums.GatewayListDebugCredentialsContractPurpose)[]; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Gateway debug credentials. */ export interface ListGatewayDebugCredentialsResult { /** * Gateway debug token. */ readonly token?: string; } /** * Create new debug credentials for gateway. * * Uses Azure REST API version 2024-06-01-preview. * * Other available API versions: 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native apimanagement [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listGatewayDebugCredentialsOutput(args: ListGatewayDebugCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface ListGatewayDebugCredentialsOutputArgs { /** * Full resource Id of an API. */ apiId: pulumi.Input; /** * Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used. */ credentialsExpireAfter?: pulumi.Input; /** * Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed' */ gatewayId: pulumi.Input; /** * Purposes of debug credential. */ purposes: pulumi.Input[]>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of the API Management service. */ serviceName: pulumi.Input; }