1. Packages
  2. Azure Native
  3. API Docs
  4. apimanagement
  5. listTenantAccessSecrets
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.apimanagement.listTenantAccessSecrets

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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Get tenant access information details. Azure REST API version: 2022-08-01.

    Other available API versions: 2022-09-01-preview, 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01.

    Using listTenantAccessSecrets

    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 listTenantAccessSecrets(args: ListTenantAccessSecretsArgs, opts?: InvokeOptions): Promise<ListTenantAccessSecretsResult>
    function listTenantAccessSecretsOutput(args: ListTenantAccessSecretsOutputArgs, opts?: InvokeOptions): Output<ListTenantAccessSecretsResult>
    def list_tenant_access_secrets(access_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   service_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> ListTenantAccessSecretsResult
    def list_tenant_access_secrets_output(access_name: Optional[pulumi.Input[str]] = None,
                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                   service_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[ListTenantAccessSecretsResult]
    func ListTenantAccessSecrets(ctx *Context, args *ListTenantAccessSecretsArgs, opts ...InvokeOption) (*ListTenantAccessSecretsResult, error)
    func ListTenantAccessSecretsOutput(ctx *Context, args *ListTenantAccessSecretsOutputArgs, opts ...InvokeOption) ListTenantAccessSecretsResultOutput

    > Note: This function is named ListTenantAccessSecrets in the Go SDK.

    public static class ListTenantAccessSecrets 
    {
        public static Task<ListTenantAccessSecretsResult> InvokeAsync(ListTenantAccessSecretsArgs args, InvokeOptions? opts = null)
        public static Output<ListTenantAccessSecretsResult> Invoke(ListTenantAccessSecretsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListTenantAccessSecretsResult> listTenantAccessSecrets(ListTenantAccessSecretsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:apimanagement:listTenantAccessSecrets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessName string
    The identifier of the Access configuration.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the API Management service.
    AccessName string
    The identifier of the Access configuration.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the API Management service.
    accessName String
    The identifier of the Access configuration.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the API Management service.
    accessName string
    The identifier of the Access configuration.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    serviceName string
    The name of the API Management service.
    access_name str
    The identifier of the Access configuration.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    service_name str
    The name of the API Management service.
    accessName String
    The identifier of the Access configuration.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the API Management service.

    listTenantAccessSecrets Result

    The following output properties are available:

    Enabled bool
    Determines whether direct access is enabled.
    Id string
    Access Information type ('access' or 'gitAccess')
    PrimaryKey string
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    PrincipalId string
    Principal (User) Identifier.
    SecondaryKey string
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    Enabled bool
    Determines whether direct access is enabled.
    Id string
    Access Information type ('access' or 'gitAccess')
    PrimaryKey string
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    PrincipalId string
    Principal (User) Identifier.
    SecondaryKey string
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    enabled Boolean
    Determines whether direct access is enabled.
    id String
    Access Information type ('access' or 'gitAccess')
    primaryKey String
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    principalId String
    Principal (User) Identifier.
    secondaryKey String
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    enabled boolean
    Determines whether direct access is enabled.
    id string
    Access Information type ('access' or 'gitAccess')
    primaryKey string
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    principalId string
    Principal (User) Identifier.
    secondaryKey string
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    enabled bool
    Determines whether direct access is enabled.
    id str
    Access Information type ('access' or 'gitAccess')
    primary_key str
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    principal_id str
    Principal (User) Identifier.
    secondary_key str
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    enabled Boolean
    Determines whether direct access is enabled.
    id String
    Access Information type ('access' or 'gitAccess')
    primaryKey String
    Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    principalId String
    Principal (User) Identifier.
    secondaryKey String
    Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi