azure-native.apimanagement.listTenantAccessSecrets
Explore with Pulumi AI
Get tenant access information details.
Uses Azure REST API version 2022-09-01-preview.
Other available API versions: 2021-04-01-preview, 2021-08-01, 2021-12-01-preview, 2022-04-01-preview, 2022-08-01, 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native apimanagement [ApiVersion]
. See the version guide for details.
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)
public static Output<ListTenantAccessSecretsResult> listTenantAccessSecrets(ListTenantAccessSecretsArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:apimanagement:listTenantAccessSecrets
arguments:
# arguments dictionary
The following arguments are supported:
- Access
Name string - The identifier of the Access configuration.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- Access
Name string - The identifier of the Access configuration.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- access
Name String - The identifier of the Access configuration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the API Management service.
- access
Name string - The identifier of the Access configuration.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- service
Name string - The name of the API Management service.
- access_
name str - The identifier of the Access configuration.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- service_
name str - The name of the API Management service.
- access
Name String - The identifier of the Access configuration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name 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')
- Primary
Key string - Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
- Principal
Id string - Principal (User) Identifier.
- Secondary
Key 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')
- Primary
Key string - Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
- Principal
Id string - Principal (User) Identifier.
- Secondary
Key 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')
- primary
Key String - Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
- principal
Id String - Principal (User) Identifier.
- secondary
Key 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')
- primary
Key string - Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
- principal
Id string - Principal (User) Identifier.
- secondary
Key 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')
- primary
Key String - Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
- principal
Id String - Principal (User) Identifier.
- secondary
Key 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