編集

次の方法で共有


Get-AzAppConfigurationRevision

Gets a list of key-value revisions.

Syntax

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-After

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Endpoint

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Key

A filter used to match keys.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Label

A filter used to match labels

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Select

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

Type:List<T>[String]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SyncToken

Used to guarantee real-time consistency between requests.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IKeyValue