Interface KeyValue
public interface KeyValue
An immutable client-side representation of KeyValue.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the KeyValue definition.static interface
The KeyValue definition stages.static interface
The template for KeyValue update.static interface
The KeyValue update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the contentType property: The content type of the key-value's value.etag()
Gets the etag property: An ETag indicating the state of a key-value within a configuration store.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.appconfiguration.fluent.models.KeyValueInner object.key()
Gets the key property: The primary identifier of a key-value.label()
Gets the label property: A value used to group key-values.Gets the lastModified property: The last time a modifying operation was performed on the given key-value.locked()
Gets the locked property: A value indicating whether the key-value is locked.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.tags()
Gets the tags property: A dictionary of tags that can help identify what a key-value may be applicable for.type()
Gets the type property: The type of the resource.update()
Begins update for the KeyValue resource.value()
Gets the value property: The value of the key-value.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
key
String key()Gets the key property: The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.- Returns:
- the key value.
-
label
String label()Gets the label property: A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.- Returns:
- the label value.
-
value
String value()Gets the value property: The value of the key-value.- Returns:
- the value value.
-
contentType
String contentType()Gets the contentType property: 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.- Returns:
- the contentType value.
-
etag
String etag()Gets the etag property: An ETag indicating the state of a key-value within a configuration store.- Returns:
- the etag value.
-
lastModified
OffsetDateTime lastModified()Gets the lastModified property: The last time a modifying operation was performed on the given key-value.- Returns:
- the lastModified value.
-
locked
Boolean locked()Gets the locked property: A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.- Returns:
- the locked value.
-
tags
Gets the tags property: A dictionary of tags that can help identify what a key-value may be applicable for.- Returns:
- the tags value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
KeyValueInner innerModel()Gets the inner com.azure.resourcemanager.appconfiguration.fluent.models.KeyValueInner object.- Returns:
- the inner object.
-
update
KeyValue.Update update()Begins update for the KeyValue resource.- Returns:
- the stage of resource update.
-
refresh
KeyValue refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-