This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.apimanagement.listGatewayDebugCredentials
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Create new debug credentials for gateway. Azure REST API version: 2023-03-01-preview.
Other available API versions: 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview.
Using listGatewayDebugCredentials
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listGatewayDebugCredentials(args: ListGatewayDebugCredentialsArgs, opts?: InvokeOptions): Promise<ListGatewayDebugCredentialsResult>
function listGatewayDebugCredentialsOutput(args: ListGatewayDebugCredentialsOutputArgs, opts?: InvokeOptions): Output<ListGatewayDebugCredentialsResult>def list_gateway_debug_credentials(api_id: Optional[str] = None,
                                   credentials_expire_after: Optional[str] = None,
                                   gateway_id: Optional[str] = None,
                                   purposes: Optional[Sequence[Union[str, GatewayListDebugCredentialsContractPurpose]]] = None,
                                   resource_group_name: Optional[str] = None,
                                   service_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> ListGatewayDebugCredentialsResult
def list_gateway_debug_credentials_output(api_id: Optional[pulumi.Input[str]] = None,
                                   credentials_expire_after: Optional[pulumi.Input[str]] = None,
                                   gateway_id: Optional[pulumi.Input[str]] = None,
                                   purposes: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, GatewayListDebugCredentialsContractPurpose]]]]] = None,
                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                   service_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[ListGatewayDebugCredentialsResult]func ListGatewayDebugCredentials(ctx *Context, args *ListGatewayDebugCredentialsArgs, opts ...InvokeOption) (*ListGatewayDebugCredentialsResult, error)
func ListGatewayDebugCredentialsOutput(ctx *Context, args *ListGatewayDebugCredentialsOutputArgs, opts ...InvokeOption) ListGatewayDebugCredentialsResultOutput> Note: This function is named ListGatewayDebugCredentials in the Go SDK.
public static class ListGatewayDebugCredentials 
{
    public static Task<ListGatewayDebugCredentialsResult> InvokeAsync(ListGatewayDebugCredentialsArgs args, InvokeOptions? opts = null)
    public static Output<ListGatewayDebugCredentialsResult> Invoke(ListGatewayDebugCredentialsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListGatewayDebugCredentialsResult> listGatewayDebugCredentials(ListGatewayDebugCredentialsArgs args, InvokeOptions options)
public static Output<ListGatewayDebugCredentialsResult> listGatewayDebugCredentials(ListGatewayDebugCredentialsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:apimanagement:listGatewayDebugCredentials
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApiId string
- Full resource Id of an API.
- GatewayId string
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- Purposes
List<Union<string, Pulumi.Azure Native. Api Management. Gateway List Debug Credentials Contract Purpose>> 
- Purposes of debug credential.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of the API Management service.
- CredentialsExpire stringAfter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
- ApiId string
- Full resource Id of an API.
- GatewayId string
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- Purposes []string
- Purposes of debug credential.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of the API Management service.
- CredentialsExpire stringAfter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
- apiId String
- Full resource Id of an API.
- gatewayId String
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
List<Either<String,GatewayList Debug Credentials Contract Purpose>> 
- Purposes of debug credential.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of the API Management service.
- credentialsExpire StringAfter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
- apiId string
- Full resource Id of an API.
- gatewayId string
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
(string | GatewayList Debug Credentials Contract Purpose)[] 
- Purposes of debug credential.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- serviceName string
- The name of the API Management service.
- credentialsExpire stringAfter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
- api_id str
- Full resource Id of an API.
- gateway_id str
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
Sequence[Union[str, GatewayList Debug Credentials Contract Purpose]] 
- Purposes of debug credential.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- service_name str
- The name of the API Management service.
- credentials_expire_ strafter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
- apiId String
- Full resource Id of an API.
- gatewayId String
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes List<String | "tracing">
- Purposes of debug credential.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of the API Management service.
- credentialsExpire StringAfter 
- Credentials expiration in ISO8601 format. Maximum duration of the credentials is PT1H. When property is not specified, them value PT1H is used.
listGatewayDebugCredentials Result
The following output properties are available:
- Token string
- Gateway debug token.
- Token string
- Gateway debug token.
- token String
- Gateway debug token.
- token string
- Gateway debug token.
- token str
- Gateway debug token.
- token String
- Gateway debug token.
Supporting Types
GatewayListDebugCredentialsContractPurpose     
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi