1. Packages
  2. Azure Native
  3. API Docs
  4. appplatform
  5. listServiceTestKeys
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.appplatform.listServiceTestKeys

Explore with Pulumi AI

azure-native logo
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.37.0 published on Monday, Apr 15, 2024 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.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:appplatform:listServiceTestKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName 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 string
    The name of the Service resource.
    ResourceGroupName 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 string
    The name of the Service resource.
    resourceGroupName 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 String
    The name of the Service resource.
    resourceGroupName 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 string
    The name of the Service resource.
    resource_group_name 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 str
    The name of the Service resource.
    resourceGroupName 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 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.37.0 published on Monday, Apr 15, 2024 by Pulumi