編集

次の方法で共有


Get-AzAppConfigurationStore

Get or list app configuration stores.

Syntax

Get-AzAppConfigurationStore
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAppConfigurationStore
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAppConfigurationStore
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAppConfigurationStore
   -InputObject <IAppConfigurationIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Get or list app configuration stores.

Examples

Example 1: List all app configuration stores under a subscription

Get-AzAppConfigurationStore

Location Name              ResourceGroupName
-------- ----              -----------------
eastus   azpstest-appstore azpstest_gp
eastus   azpstestappstore  azpstest-gp

This command lists all app configuration stores under a subscription.

Example 2: List all app configuration stores under a resource group

Get-AzAppConfigurationStore -ResourceGroupName azpstest_gp

Location Name              ResourceGroupName
-------- ----              -----------------
eastus   azpstest-appstore azpstest_gp

This command lists all app configuration stores under a resource group.

Example 3: Get an app configuration store by name

Get-AzAppConfigurationStore -Name azpstest-appstore -ResourceGroupName azpstest_gp

Location Name              ResourceGroupName
-------- ----              -----------------
eastus   azpstest-appstore azpstest_gp

This command gets an app configuration store by name.

Parameters

-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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

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

-Name

The name of the configuration store.

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

-ResourceGroupName

The name of the resource group to which the container registry belongs.

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

-SubscriptionId

The Microsoft Azure subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IAppConfigurationIdentity

Outputs

IConfigurationStore