Get-AzContainerAppManagedEnvStorage
Get storage for a managedEnvironment.
Syntax
List (Default)
Get-AzContainerAppManagedEnvStorage
-EnvName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzContainerAppManagedEnvStorage
-EnvName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityManagedEnvironment
Get-AzContainerAppManagedEnvStorage
-Name <String>
-ManagedEnvironmentInputObject <IAppIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzContainerAppManagedEnvStorage
-InputObject <IAppIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get storage for a managedEnvironment.
Examples
Example 1: List storage for a managedEnvironment.
Get-AzContainerAppManagedEnvStorage -EnvName azps-env -ResourceGroupName azps_test_group_app
Name AzureFileAccessMode AzureFileAccountName AzureFileShareName ResourceGroupName
---- ------------------- -------------------- ------------------ -----------------
azpstestsa ReadWrite azpstestsa azps-rw-sharename azps_test_group_app
List storage for a managedEnvironment.
Example 2: Get storage for a managedEnvironment by name.
Get-AzContainerAppManagedEnvStorage -EnvName azps-env -ResourceGroupName azps_test_group_app -Name azpstestsa
Name AzureFileAccessMode AzureFileAccountName AzureFileShareName ResourceGroupName
---- ------------------- -------------------- ------------------ -----------------
azpstestsa ReadWrite azpstestsa azps-rw-sharename azps_test_group_app
Get storage for a managedEnvironment by name.
Example 3: Get storage for a managedEnvironment.
$managedenv = Get-AzContainerAppManagedEnv -Name azps-env -ResourceGroupName azps_test_group_app
Get-AzContainerAppManagedEnvStorage -ManagedEnvironmentInputObject $managedenv -Name azpstestsa
Name AzureFileAccessMode AzureFileAccountName AzureFileShareName ResourceGroupName
---- ------------------- -------------------- ------------------ -----------------
azpstestsa ReadWrite azpstestsa azps-rw-sharename azps_test_group_app
Get storage for a managedEnvironment.
Parameters
-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
-EnvName
Name of the Environment.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IAppIdentity
Default value: None
Supports wildcards: False
DontShow: False
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IAppIdentity
Default value: None
Supports wildcards: False
DontShow: False
GetViaIdentityManagedEnvironment
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the storage.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: StorageName
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
GetViaIdentityManagedEnvironment
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
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