These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi
azure-native-v2.apimanagement.listGatewayDebugCredentials
Explore with Pulumi AI
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 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 dictionary
The following arguments are supported:
- Api
Id This property is required. string - Full resource Id of an API.
- Gateway
Id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- Purposes
This property is required. List<Union<string, Pulumi.Azure Native. Api Management. Gateway List Debug Credentials Contract Purpose>> - Purposes of debug credential.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the API Management service.
- Credentials
Expire 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 This property is required. string - Full resource Id of an API.
- Gateway
Id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- Purposes
This property is required. []string - Purposes of debug credential.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the API Management service.
- Credentials
Expire 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 This property is required. String - Full resource Id of an API.
- gateway
Id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
This property is required. List<Either<String,GatewayList Debug Credentials Contract Purpose>> - Purposes of debug credential.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the API Management service.
- credentials
Expire 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 This property is required. string - Full resource Id of an API.
- gateway
Id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
This property is required. (string | GatewayList Debug Credentials Contract Purpose)[] - Purposes of debug credential.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the API Management service.
- credentials
Expire 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 This property is required. str - Full resource Id of an API.
- gateway_
id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
This property is required. Sequence[Union[str, GatewayList Debug Credentials Contract Purpose]] - Purposes of debug credential.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- service_
name This property is required. Changes to this property will trigger replacement.
- 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.
- api
Id This property is required. String - Full resource Id of an API.
- gateway
Id This property is required. Changes to this property will trigger replacement.
- Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- purposes
This property is required. List<String | "tracing"> - Purposes of debug credential.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the API Management service.
- credentials
Expire 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-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi