Get-​AC​SStorage​Account

Retrieve a list of the tenant storage accounts based on the tenant subscription ID, account name (or part of the account name) , account status or based on a account ID.

Syntax

Get-ACSStorageAccount
   [[-SubscriptionId] <String>]
   [[-Token] <String>]
   [[-AdminUri] <Uri>]
   [-ResourceGroupName] <String>
   [-FarmName] <String>
   [-AccountId] <String>
   [-Detail]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-SkipCertificateValidation]
   [<CommonParameters>]
Get-ACSStorageAccount
   [[-SubscriptionId] <String>]
   [[-Token] <String>]
   [[-AdminUri] <Uri>]
   [-ResourceGroupName] <String>
   [-FarmName] <String>
   [[-TenantSubscriptionId] <String>]
   [[-PartialAccountName] <String>]
   [[-StorageAccountStatus] <Int32>]
   [-Detail]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-SkipCertificateValidation]
   [<CommonParameters>]

Description

Retrieve a list of the tenant storage accounts based on the tenant subscription ID, account name (or part of the account name) , account status or based on a account ID.

Examples

-------------------------- Example 1 --------------------------

@{paragraph=PS C:\>}



$resourceGroup = 'System' 

$farm = Get-ACSFarm -ResourceGroupName $resourceGroup

Get-ACSStorageAccount -ResourceGroupName $resourceGroup -FarmName $farm.Name -PartialAccountName 'YourStorageAccountName'

Required Parameters

-AccountId

@{Text=}

Type:String
Position:8
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-FarmName

@{Text=}

Type:String
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

@{Text=}

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AdminUri

@{Text=}

Type:Uri
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Detail

@{Text=}

Type:SwitchParameter
Position:9
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

@{Text=}

Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

@{Text=}

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PartialAccountName

@{Text=}

Type:String
Position:6
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

@{Text=}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageAccountStatus

@{Text=}

Type:Int32
Position:7
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

@{Text=}

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-TenantSubscriptionId

@{Text=}

Type:String
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Token

@{Text=}

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.FarmResponse

Outputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.StorageAccountResponse