Edit

Share via


Get-AzAppConfigurationRevision

Gets a list of key-value revisions.

Syntax

Default (Default)

Get-AzAppConfigurationRevision
    -Endpoint <String>
    [-After <String>]
    [-Key <String>]
    [-Label <String>]
    [-Select <System.Collections.Generic.List`1[System.String]>]
    [-AcceptDatetime <String>]
    [-SyncToken <String>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets a list of key-value revisions.

Examples

Example 1: List the revision of all the key-values in an App Configuration store

Get-AzAppConfigurationRevision -Endpoint $endpoint
ContentType Etag                                        Key      Label LastModified       Locked SyncToken Value
----------- ----                                        ---      ----- ------------       ------ --------- -----
            VYZXW_mkOPtFCaCR1Yo1UPXrU-4eBSj2zSzIdnOfCiU keyName2 label 7/21/2023 02:37:01 False            value2
            8btgGKjTObZloa_EsIB-WHozAI4-laTWdc-nr2IGAQ0 keyName4 label 7/21/2023 02:36:18 False            value4
            6tRurLbnyEBDKT7ynXV4F3mZpfA2hf_5z58cK2LDsHY keyName3       7/21/2023 02:22:55 False            value3
            EAy26mDBHMBrUohZn-uJhNTTxoeKiMRin9h1OpfGpZc keyName2       7/21/2023 02:22:50 False            value2
            7VYSVQjjNgQ987zh8bjsXeDqgdAUkspRblp6Ceh-Zb0 keyName1       7/21/2023 02:22:45 False            value1

List the revision of all the key-values in an App Configuration store

Example 2: List the revision of a key-value in an App Configuration store

Get-AzAppConfigurationRevision -Endpoint $endpoint -Key keyName2
ContentType Etag                                        Key      Label LastModified       Locked SyncToken Value
----------- ----                                        ---      ----- ------------       ------ --------- -----
            VYZXW_mkOPtFCaCR1Yo1UPXrU-4eBSj2zSzIdnOfCiU keyName2 label 7/21/2023 02:37:01 False            value2
            EAy26mDBHMBrUohZn-uJhNTTxoeKiMRin9h1OpfGpZc keyName2       7/21/2023 02:22:50 False            value2

List the revision of a key-value in an App Configuration store

Parameters

-AcceptDatetime

Requests the server to respond with the state of the resource at the specified time.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-After

Instructs the server to return elements that appear after the element referred to by the specified token.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Endpoint

The endpoint of the App Configuration instance to send requests to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Key

A filter used to match keys.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Label

A filter used to match labels

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Select

Used to select what fields are present in the returned resource(s).

Parameter properties

Type:

List<T>[String]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SyncToken

Used to guarantee real-time consistency between requests.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IKeyValue