UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

74 lines (73 loc) 2.56 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Create new debug credentials for gateway. * Azure REST API version: 2023-03-01-preview. */ export declare function listGatewayDebugCredentials(args: ListGatewayDebugCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<ListGatewayDebugCredentialsResult>; 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. * Azure REST API version: 2023-03-01-preview. */ export declare function listGatewayDebugCredentialsOutput(args: ListGatewayDebugCredentialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListGatewayDebugCredentialsResult>; export interface ListGatewayDebugCredentialsOutputArgs { /** * Full resource Id of an API. */ apiId: pulumi.Input<string>; /** * 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<string>; /** * Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed' */ gatewayId: pulumi.Input<string>; /** * Purposes of debug credential. */ purposes: pulumi.Input<pulumi.Input<string | types.enums.GatewayListDebugCredentialsContractPurpose>[]>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; }