Azure Native
getKeyValue
The key-value resource along with all resource properties. API Version: 2020-07-01-preview.
Using getKeyValue
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 getKeyValue(args: GetKeyValueArgs, opts?: InvokeOptions): Promise<GetKeyValueResult>
function getKeyValueOutput(args: GetKeyValueOutputArgs, opts?: InvokeOptions): Output<GetKeyValueResult>
def get_key_value(config_store_name: Optional[str] = None,
key_value_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeyValueResult
def get_key_value_output(config_store_name: Optional[pulumi.Input[str]] = None,
key_value_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeyValueResult]
func LookupKeyValue(ctx *Context, args *LookupKeyValueArgs, opts ...InvokeOption) (*LookupKeyValueResult, error)
func LookupKeyValueOutput(ctx *Context, args *LookupKeyValueOutputArgs, opts ...InvokeOption) LookupKeyValueResultOutput
> Note: This function is named LookupKeyValue
in the Go SDK.
public static class GetKeyValue
{
public static Task<GetKeyValueResult> InvokeAsync(GetKeyValueArgs args, InvokeOptions? opts = null)
public static Output<GetKeyValueResult> Invoke(GetKeyValueInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKeyValueResult> getKeyValue(GetKeyValueArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: azure-native:appconfiguration:getKeyValue
Arguments:
# Arguments dictionary
The following arguments are supported:
- Config
Store stringName The name of the configuration store.
- Key
Value stringName Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- Resource
Group stringName The name of the resource group to which the container registry belongs.
- Config
Store stringName The name of the configuration store.
- Key
Value stringName Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- Resource
Group stringName The name of the resource group to which the container registry belongs.
- config
Store StringName The name of the configuration store.
- key
Value StringName Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- resource
Group StringName The name of the resource group to which the container registry belongs.
- config
Store stringName The name of the configuration store.
- key
Value stringName Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- resource
Group stringName The name of the resource group to which the container registry belongs.
- config_
store_ strname The name of the configuration store.
- key_
value_ strname Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- resource_
group_ strname The name of the resource group to which the container registry belongs.
- config
Store StringName The name of the configuration store.
- key
Value StringName Identifier of key and label combination. Key and label are joined by $ character. Label is optional.
- resource
Group StringName The name of the resource group to which the container registry belongs.
getKeyValue Result
The following output properties are available:
- ETag string
An ETag indicating the state of a key-value within a configuration store.
- Id string
The resource ID.
- Key string
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- Label string
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- Last
Modified string The last time a modifying operation was performed on the given key-value.
- Locked bool
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- Name string
The name of the resource.
- Type string
The type of the resource.
- Content
Type string The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- Dictionary<string, string>
A dictionary of tags that can help identify what a key-value may be applicable for.
- Value string
The value of the key-value.
- ETag string
An ETag indicating the state of a key-value within a configuration store.
- Id string
The resource ID.
- Key string
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- Label string
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- Last
Modified string The last time a modifying operation was performed on the given key-value.
- Locked bool
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- Name string
The name of the resource.
- Type string
The type of the resource.
- Content
Type string The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- map[string]string
A dictionary of tags that can help identify what a key-value may be applicable for.
- Value string
The value of the key-value.
- e
Tag String An ETag indicating the state of a key-value within a configuration store.
- id String
The resource ID.
- key String
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- label String
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- last
Modified String The last time a modifying operation was performed on the given key-value.
- locked Boolean
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- name String
The name of the resource.
- type String
The type of the resource.
- content
Type String The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- Map
A dictionary of tags that can help identify what a key-value may be applicable for.
- value String
The value of the key-value.
- e
Tag string An ETag indicating the state of a key-value within a configuration store.
- id string
The resource ID.
- key string
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- label string
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- last
Modified string The last time a modifying operation was performed on the given key-value.
- locked boolean
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- name string
The name of the resource.
- type string
The type of the resource.
- content
Type string The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- {[key: string]: string}
A dictionary of tags that can help identify what a key-value may be applicable for.
- value string
The value of the key-value.
- e_
tag str An ETag indicating the state of a key-value within a configuration store.
- id str
The resource ID.
- key str
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- label str
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- last_
modified str The last time a modifying operation was performed on the given key-value.
- locked bool
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- name str
The name of the resource.
- type str
The type of the resource.
- content_
type str The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- Mapping[str, str]
A dictionary of tags that can help identify what a key-value may be applicable for.
- value str
The value of the key-value.
- e
Tag String An ETag indicating the state of a key-value within a configuration store.
- id String
The resource ID.
- key String
The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.
- label String
A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.
- last
Modified String The last time a modifying operation was performed on the given key-value.
- locked Boolean
A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.
- name String
The name of the resource.
- type String
The type of the resource.
- content
Type String The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.
- Map
A dictionary of tags that can help identify what a key-value may be applicable for.
- value String
The value of the key-value.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-native
- License
- Apache-2.0