1. Packages
  2. Azure Native v1
  3. API Docs
  4. apimanagement
  5. getNamedValue
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.apimanagement.getNamedValue

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the details of the named value specified by its identifier. API Version: 2020-12-01.

    Using getNamedValue

    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 getNamedValue(args: GetNamedValueArgs, opts?: InvokeOptions): Promise<GetNamedValueResult>
    function getNamedValueOutput(args: GetNamedValueOutputArgs, opts?: InvokeOptions): Output<GetNamedValueResult>
    def get_named_value(named_value_id: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        service_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetNamedValueResult
    def get_named_value_output(named_value_id: 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[GetNamedValueResult]
    func LookupNamedValue(ctx *Context, args *LookupNamedValueArgs, opts ...InvokeOption) (*LookupNamedValueResult, error)
    func LookupNamedValueOutput(ctx *Context, args *LookupNamedValueOutputArgs, opts ...InvokeOption) LookupNamedValueResultOutput

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

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

    The following arguments are supported:

    NamedValueId string
    Identifier of the NamedValue.
    ResourceGroupName string
    The name of the resource group.
    ServiceName string
    The name of the API Management service.
    NamedValueId string
    Identifier of the NamedValue.
    ResourceGroupName string
    The name of the resource group.
    ServiceName string
    The name of the API Management service.
    namedValueId String
    Identifier of the NamedValue.
    resourceGroupName String
    The name of the resource group.
    serviceName String
    The name of the API Management service.
    namedValueId string
    Identifier of the NamedValue.
    resourceGroupName string
    The name of the resource group.
    serviceName string
    The name of the API Management service.
    named_value_id str
    Identifier of the NamedValue.
    resource_group_name str
    The name of the resource group.
    service_name str
    The name of the API Management service.
    namedValueId String
    Identifier of the NamedValue.
    resourceGroupName String
    The name of the resource group.
    serviceName String
    The name of the API Management service.

    getNamedValue Result

    The following output properties are available:

    DisplayName string
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    Id string
    Resource ID.
    Name string
    Resource name.
    Type string
    Resource type for API Management resource.
    KeyVault Pulumi.AzureNative.ApiManagement.Outputs.KeyVaultContractPropertiesResponse
    KeyVault location details of the namedValue.
    Secret bool
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    Tags List<string>
    Optional tags that when provided can be used to filter the NamedValue list.
    Value string
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    DisplayName string
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    Id string
    Resource ID.
    Name string
    Resource name.
    Type string
    Resource type for API Management resource.
    KeyVault KeyVaultContractPropertiesResponse
    KeyVault location details of the namedValue.
    Secret bool
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    Tags []string
    Optional tags that when provided can be used to filter the NamedValue list.
    Value string
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    displayName String
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    id String
    Resource ID.
    name String
    Resource name.
    type String
    Resource type for API Management resource.
    keyVault KeyVaultContractPropertiesResponse
    KeyVault location details of the namedValue.
    secret Boolean
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    tags List<String>
    Optional tags that when provided can be used to filter the NamedValue list.
    value String
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    displayName string
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    id string
    Resource ID.
    name string
    Resource name.
    type string
    Resource type for API Management resource.
    keyVault KeyVaultContractPropertiesResponse
    KeyVault location details of the namedValue.
    secret boolean
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    tags string[]
    Optional tags that when provided can be used to filter the NamedValue list.
    value string
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    display_name str
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    id str
    Resource ID.
    name str
    Resource name.
    type str
    Resource type for API Management resource.
    key_vault KeyVaultContractPropertiesResponse
    KeyVault location details of the namedValue.
    secret bool
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    tags Sequence[str]
    Optional tags that when provided can be used to filter the NamedValue list.
    value str
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
    displayName String
    Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
    id String
    Resource ID.
    name String
    Resource name.
    type String
    Resource type for API Management resource.
    keyVault Property Map
    KeyVault location details of the namedValue.
    secret Boolean
    Determines whether the value is a secret and should be encrypted or not. Default value is false.
    tags List<String>
    Optional tags that when provided can be used to filter the NamedValue list.
    value String
    Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

    Supporting Types

    KeyVaultContractPropertiesResponse

    IdentityClientId string
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    LastStatus Pulumi.AzureNative.ApiManagement.Inputs.KeyVaultLastAccessStatusContractPropertiesResponse
    Last time sync and refresh status of secret from key vault.
    SecretIdentifier string
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
    IdentityClientId string
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    LastStatus KeyVaultLastAccessStatusContractPropertiesResponse
    Last time sync and refresh status of secret from key vault.
    SecretIdentifier string
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
    identityClientId String
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    lastStatus KeyVaultLastAccessStatusContractPropertiesResponse
    Last time sync and refresh status of secret from key vault.
    secretIdentifier String
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
    identityClientId string
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    lastStatus KeyVaultLastAccessStatusContractPropertiesResponse
    Last time sync and refresh status of secret from key vault.
    secretIdentifier string
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
    identity_client_id str
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    last_status KeyVaultLastAccessStatusContractPropertiesResponse
    Last time sync and refresh status of secret from key vault.
    secret_identifier str
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi
    identityClientId String
    Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret.
    lastStatus Property Map
    Last time sync and refresh status of secret from key vault.
    secretIdentifier String
    Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi

    KeyVaultLastAccessStatusContractPropertiesResponse

    Code string
    Last status code for sync and refresh of secret from key vault.
    Message string
    Details of the error else empty.
    TimeStampUtc string
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
    Code string
    Last status code for sync and refresh of secret from key vault.
    Message string
    Details of the error else empty.
    TimeStampUtc string
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
    code String
    Last status code for sync and refresh of secret from key vault.
    message String
    Details of the error else empty.
    timeStampUtc String
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
    code string
    Last status code for sync and refresh of secret from key vault.
    message string
    Details of the error else empty.
    timeStampUtc string
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
    code str
    Last status code for sync and refresh of secret from key vault.
    message str
    Details of the error else empty.
    time_stamp_utc str
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
    code String
    Last status code for sync and refresh of secret from key vault.
    message String
    Details of the error else empty.
    timeStampUtc String
    Last time secret was accessed. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi