external help file | Module Name | online version | schema |
---|---|---|---|
Az.App-help.xml |
Az.App |
2.0.0 |
Create an in-memory object for Volume.
New-AzContainerAppVolumeObject [-MountOption <String>] [-Name <String>] [-Secret <ISecretVolumeItem[]>]
[-StorageName <String>] [-StorageType <String>] [<CommonParameters>]
Create an in-memory object for Volume.
New-AzContainerAppVolumeObject -Name "volumeName" -StorageName "azpssa"
MountOption Name StorageName StorageType
----------- ---- ----------- -----------
volumeName azpssa
Create a Volume object for ContainerApp.
Mount options used while mounting the AzureFile. Must be a comma-separated string.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Volume name.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. To construct, see NOTES section for SECRET properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISecretVolumeItem[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of storage resource. No need to provide for EmptyDir and Secret.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Storage type for the volume. If not provided, use EmptyDir.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.