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

The Sync-ACSStorageAccount cmdlet Synchronize the account status of the tenant storage accounts from backend to frontend cache. After you undelete a storage account, the service administrator needs 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: Synchronize the account status of the specified tenant storage account

PS C:\> Sync-ACSStorageAccount -AccountName "PattyFuller" -TenantSubscriptionId <TenantSubscriptionId> -ResourceLocation "local" -ResourceGroupName "RG005"

This command synchronizes the tenant storage account for the account named PattyFuller that is contained in the resource group named RG005.

Required Parameters

-Location

Specifies the geolocation for the storage account that this cmdlet synchronizes.

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

Specifies the name of the resource group that contains the ACS farm.

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

Specifies the name of the tenant account.

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

Specifies the name of the tenant resource group.

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

Optional Parameters

-AdminUri

Specifies the link, as a URI, to the service administrator.

Type:Uri
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm
Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event.

The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

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

Specifies the API version of Resource.Admin.

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

Indicates that the cmdlet does not validate the certificate.

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

Specifies the API version of the storage account that this cmdlet synchronizes.

Type:String
Position:8
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

Specifies the subscription ID.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Token
Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf
Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.StorageAccountResponse