Sync-​AC​SStorage​Account

Synchronize the account status of the tenant storage accounts from backend to frontend cache.

Syntax

Sync-ACSStorageAccount
    [[-SubscriptionId] <String>]
    [[-Token] <String>]
    [[-AdminUri] <Uri>]
    [-ResourceGroupName] <String>
    [-TenantAccountName] <String>
    [-TenantSubscriptionId] <String>
    [-Location] <String>
    [-TenantResourceGroup] <String>
    [[-StorageAccountApiVersion] <String>]
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [-ResourceAdminApiVersion <String>]
    [-SkipCertificateValidation]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]

Description

After undelete a storage account, service admin need to synchronize the account status change back to the frontend cache in order to make sure the frontend could serve the request for that undeleted storage account.

Examples

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

@{paragraph=PS C:\>}



$resourceGroup = 'System' 

Sync-ACSStorageAccount -AccountName first -TenantSubscriptionId <TenantSubscriptionId> -ResourceLocation 'local' -ResourceGroupName $resourceGroup

Required Parameters

-Location

@{Text=}

Type:String
Position:6
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
-TenantAccountName

@{Text=}

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

@{Text=}

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

@{Text=}

Type:String
Position:5
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
-Confirm

@{Text=}

Type:SwitchParameter
Aliases:cf
Position:Named
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
-ResourceAdminApiVersion

API version of Resource.Admin

Type:String
Position:Named
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
-StorageAccountApiVersion

@{Text=}

Type:String
Position:8
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
-Token

@{Text=}

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

@{Text=}

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.StorageAccountResponse