@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* 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, 2024-10-01-preview. 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<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 | enums.apimanagement.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, 2024-10-01-preview. 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<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 | enums.apimanagement.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>;
}