azure-native.appplatform.listServiceTestKeys
Explore with Pulumi AI
List test keys for a Service.
Uses Azure REST API version 2024-01-01-preview.
Other available API versions: 2023-05-01-preview, 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native appplatform [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Resource
Group 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.
- Service
Name string - The name of the Service resource.
- Resource
Group 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.
- Service
Name string - The name of the Service resource.
- resource
Group 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.
- service
Name String - The name of the Service resource.
- resource
Group 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.
- service
Name 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.
- resource
Group 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.
- service
Name 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
- Primary
Key string - Primary key
- Primary
Test stringEndpoint - Primary test endpoint
- Secondary
Key string - Secondary key
- Secondary
Test stringEndpoint - Secondary test endpoint
- Enabled bool
- Indicates whether the test endpoint feature enabled or not
- Primary
Key string - Primary key
- Primary
Test stringEndpoint - Primary test endpoint
- Secondary
Key string - Secondary key
- Secondary
Test stringEndpoint - Secondary test endpoint
- enabled Boolean
- Indicates whether the test endpoint feature enabled or not
- primary
Key String - Primary key
- primary
Test StringEndpoint - Primary test endpoint
- secondary
Key String - Secondary key
- secondary
Test StringEndpoint - Secondary test endpoint
- enabled boolean
- Indicates whether the test endpoint feature enabled or not
- primary
Key string - Primary key
- primary
Test stringEndpoint - Primary test endpoint
- secondary
Key string - Secondary key
- secondary
Test 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
- primary
Key String - Primary key
- primary
Test StringEndpoint - Primary test endpoint
- secondary
Key String - Secondary key
- secondary
Test StringEndpoint - Secondary test endpoint
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0