This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.appplatform.listServiceTestKeys
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
List test keys for a Service.
Uses Azure REST API version 2023-05-01-preview.
Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01, 2024-01-01-preview, 2024-05-01-preview.
Using listServiceTestKeys
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 listServiceTestKeys(args: ListServiceTestKeysArgs, opts?: InvokeOptions): Promise<ListServiceTestKeysResult>
function listServiceTestKeysOutput(args: ListServiceTestKeysOutputArgs, opts?: InvokeOptions): Output<ListServiceTestKeysResult>def list_service_test_keys(resource_group_name: Optional[str] = None,
                           service_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> ListServiceTestKeysResult
def list_service_test_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                           service_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[ListServiceTestKeysResult]func ListServiceTestKeys(ctx *Context, args *ListServiceTestKeysArgs, opts ...InvokeOption) (*ListServiceTestKeysResult, error)
func ListServiceTestKeysOutput(ctx *Context, args *ListServiceTestKeysOutputArgs, opts ...InvokeOption) ListServiceTestKeysResultOutput> Note: This function is named ListServiceTestKeys in the Go SDK.
public static class ListServiceTestKeys 
{
    public static Task<ListServiceTestKeysResult> InvokeAsync(ListServiceTestKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListServiceTestKeysResult> Invoke(ListServiceTestKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListServiceTestKeysResult> listServiceTestKeys(ListServiceTestKeysArgs args, InvokeOptions options)
public static Output<ListServiceTestKeysResult> listServiceTestKeys(ListServiceTestKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:appplatform:listServiceTestKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServiceName string
- The name of the Service resource.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServiceName string
- The name of the Service resource.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName String
- The name of the Service resource.
- resourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName string
- The name of the Service resource.
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- service_name str
- The name of the Service resource.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName String
- The name of the Service resource.
listServiceTestKeys Result
The following output properties are available:
- Enabled bool
- Indicates whether the test endpoint feature enabled or not
- PrimaryKey string
- Primary key
- PrimaryTest stringEndpoint 
- Primary test endpoint
- SecondaryKey string
- Secondary key
- SecondaryTest stringEndpoint 
- Secondary test endpoint
- Enabled bool
- Indicates whether the test endpoint feature enabled or not
- PrimaryKey string
- Primary key
- PrimaryTest stringEndpoint 
- Primary test endpoint
- SecondaryKey string
- Secondary key
- SecondaryTest stringEndpoint 
- Secondary test endpoint
- enabled Boolean
- Indicates whether the test endpoint feature enabled or not
- primaryKey String
- Primary key
- primaryTest StringEndpoint 
- Primary test endpoint
- secondaryKey String
- Secondary key
- secondaryTest StringEndpoint 
- Secondary test endpoint
- enabled boolean
- Indicates whether the test endpoint feature enabled or not
- primaryKey string
- Primary key
- primaryTest stringEndpoint 
- Primary test endpoint
- secondaryKey string
- Secondary key
- secondaryTest stringEndpoint 
- Secondary test endpoint
- enabled bool
- Indicates whether the test endpoint feature enabled or not
- primary_key str
- Primary key
- primary_test_ strendpoint 
- Primary test endpoint
- secondary_key str
- Secondary key
- secondary_test_ strendpoint 
- Secondary test endpoint
- enabled Boolean
- Indicates whether the test endpoint feature enabled or not
- primaryKey String
- Primary key
- primaryTest StringEndpoint 
- Primary test endpoint
- secondaryKey String
- Secondary key
- secondaryTest StringEndpoint 
- Secondary test endpoint
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 v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi