external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.DataBoxEdge.dll-Help.xml |
Az.DataBoxEdge |
2.0.0 |
Gets the Edge Storage accounts on the device.
Get-AzDataBoxEdgeStorageAccount [-ResourceGroupName] <String> [-DeviceName] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzDataBoxEdgeStorageAccount -ResourceId <String> [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzDataBoxEdgeStorageAccount [-ResourceGroupName] <String> [-DeviceName] <String> [-Name] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzDataBoxEdgeStorageAccount [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>]
-DeviceObject <PSDataBoxEdgeDevice> [<CommonParameters>]
The Get-AzDataBoxEdgeStorageAccount cmdlet gets the Edge Storage accounts available on a Data Box Edge device. You can specify the Name as a parameter in the cmdlet to get the information of a specific Edge Storage account.
Get-AzDataBoxEdgeStorageAccount -ResourceGroupName rgpName -DeviceName db-edge -Name edgestoragegacount1
Name ContainerCount Status BlobEndpoint CloudStorageAccountName DeviceName ResourceGroupName
---- -------------- ----- ------------ ----------------------- ---------- -----------------
edgestoragegacount1 2 OK https://edgestoragegacount1.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount1 db-edge rgpName
Get-AzDataBoxEdgeStorageAccount -ResourceGroupName rgpName -DeviceName db-edge
Name ContainerCount Status BlobEndpoint CloudStorageAccountName DeviceName ResourceGroupName
---- -------------- ----- ------------ ----------------------- ---------- -----------------
edgestoragegacount1 2 OK https://edgestoragegacount1.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount1 db-edge rgpName
edgestoragegacount2 0 OK https://edgestoragegacount2.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount2 db-edge rgpName
Get-AzDataBoxEdgeDevice -ResourceGroupName rgpName -Name db-edge | Get-AzDataBoxEdgeStorageAccount
Name ContainerCount Status BlobEndpoint CloudStorageAccountName DeviceName ResourceGroupName
---- -------------- ----- ------------ ----------------------- ---------- -----------------
edgestoragegacount1 2 OK https://edgestoragegacount1.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount1 db-edge rgpName
edgestoragegacount2 0 OK https://edgestoragegacount2.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount2 db-edge rgpName
Get-AzDataBoxEdgeStorageAccount -DeviceObject $dbEdge
Name ContainerCount Status BlobEndpoint CloudStorageAccountName DeviceName ResourceGroupName
---- -------------- ----- ------------ ----------------------- ---------- -----------------
edgestoragegacount1 2 OK https://edgestoragegacount1.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount1 db-edge rgpName
edgestoragegacount2 0 OK https://edgestoragegacount2.blob.db-edge.microsoftdatabox.com/ cloudstorageaccount2 db-edge rgpName
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Device Name
Type: System.String
Parameter Sets: ListParameterSet, GetByNameParameterSet
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Please provide corresponding device object
Type: Microsoft.Azure.PowerShell.Cmdlets.DataBoxEdge.Models.PSDataBoxEdgeDevice
Parameter Sets: GetByParentObjectParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Resource Name
Type: System.String
Parameter Sets: GetByNameParameterSet
Aliases: EdgeStorageAccountName
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: System.String
Parameter Sets: GetByParentObjectParameterSet
Aliases: EdgeStorageAccountName
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Resource Group Name
Type: System.String
Parameter Sets: ListParameterSet, GetByNameParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Azure ResourceId
Type: System.String
Parameter Sets: GetByResourceIdParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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.