1. Packages
  2. Azure Native v2
  3. API Docs
  4. appplatform
  5. listServiceTestKeys
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.appplatform.listServiceTestKeys

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.90.0 published on Thursday, Mar 27, 2025 by Pulumi

List test keys for a Service. 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>
Copy
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]
Copy
func ListServiceTestKeys(ctx *Context, args *ListServiceTestKeysArgs, opts ...InvokeOption) (*ListServiceTestKeysResult, error)
func ListServiceTestKeysOutput(ctx *Context, args *ListServiceTestKeysOutputArgs, opts ...InvokeOption) ListServiceTestKeysResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListServiceTestKeysResult> listServiceTestKeys(ListServiceTestKeysArgs args, InvokeOptions options)
public static Output<ListServiceTestKeysResult> listServiceTestKeys(ListServiceTestKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:appplatform:listServiceTestKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the Service resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the Service resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the Service resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the Service resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
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
This property is required.
Changes to this property will trigger replacement.
str
The name of the Service resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
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
This property is required.
Changes to this property will trigger replacement.
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
PrimaryTestEndpoint string
Primary test endpoint
SecondaryKey string
Secondary key
SecondaryTestEndpoint string
Secondary test endpoint
Enabled bool
Indicates whether the test endpoint feature enabled or not
PrimaryKey string
Primary key
PrimaryTestEndpoint string
Primary test endpoint
SecondaryKey string
Secondary key
SecondaryTestEndpoint string
Secondary test endpoint
enabled Boolean
Indicates whether the test endpoint feature enabled or not
primaryKey String
Primary key
primaryTestEndpoint String
Primary test endpoint
secondaryKey String
Secondary key
secondaryTestEndpoint String
Secondary test endpoint
enabled boolean
Indicates whether the test endpoint feature enabled or not
primaryKey string
Primary key
primaryTestEndpoint string
Primary test endpoint
secondaryKey string
Secondary key
secondaryTestEndpoint string
Secondary test endpoint
enabled bool
Indicates whether the test endpoint feature enabled or not
primary_key str
Primary key
primary_test_endpoint str
Primary test endpoint
secondary_key str
Secondary key
secondary_test_endpoint str
Secondary test endpoint
enabled Boolean
Indicates whether the test endpoint feature enabled or not
primaryKey String
Primary key
primaryTestEndpoint String
Primary test endpoint
secondaryKey String
Secondary key
secondaryTestEndpoint String
Secondary test endpoint

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.90.0 published on Thursday, Mar 27, 2025 by Pulumi