import type { StorageManagementContext as Client } from "../index.js"; import type { StorageAccountCheckNameAvailabilityParameters, CheckNameAvailabilityResult, StorageAccount, BlobRestoreStatus, BlobRestoreParameters, StorageAccountCreateParameters, StorageAccountUpdateParameters, _StorageAccountListResult, StorageAccountListKeysResult, StorageAccountRegenerateKeyParameters, AccountSasParameters, ListAccountSasResponse, ServiceSasParameters, ListServiceSasResponse, StorageAccountMigration, MigrationName } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { StorageAccountsGetCustomerInitiatedMigrationOptionalParams, StorageAccountsRevokeUserDelegationKeysOptionalParams, StorageAccountsRestoreBlobRangesOptionalParams, StorageAccountsCustomerInitiatedMigrationOptionalParams, StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams, StorageAccountsHierarchicalNamespaceMigrationOptionalParams, StorageAccountsFailoverOptionalParams, StorageAccountsListServiceSASOptionalParams, StorageAccountsListAccountSASOptionalParams, StorageAccountsRegenerateKeyOptionalParams, StorageAccountsListKeysOptionalParams, StorageAccountsListOptionalParams, StorageAccountsListByResourceGroupOptionalParams, StorageAccountsDeleteOptionalParams, StorageAccountsUpdateOptionalParams, StorageAccountsCreateOptionalParams, StorageAccountsGetPropertiesOptionalParams, StorageAccountsCheckNameAvailabilityOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _getCustomerInitiatedMigrationSend(context: Client, resourceGroupName: string, accountName: string, migrationName: MigrationName, options?: StorageAccountsGetCustomerInitiatedMigrationOptionalParams): StreamableMethod; export declare function _getCustomerInitiatedMigrationDeserialize(result: PathUncheckedResponse): Promise; /** Gets the status of the ongoing migration for the specified storage account. */ export declare function getCustomerInitiatedMigration(context: Client, resourceGroupName: string, accountName: string, migrationName: MigrationName, options?: StorageAccountsGetCustomerInitiatedMigrationOptionalParams): Promise; export declare function _revokeUserDelegationKeysSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsRevokeUserDelegationKeysOptionalParams): StreamableMethod; export declare function _revokeUserDelegationKeysDeserialize(result: PathUncheckedResponse): Promise; /** Revoke user delegation keys. */ export declare function revokeUserDelegationKeys(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsRevokeUserDelegationKeysOptionalParams): Promise; export declare function _restoreBlobRangesSend(context: Client, resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): StreamableMethod; export declare function _restoreBlobRangesDeserialize(result: PathUncheckedResponse): Promise; /** Restore blobs in the specified blob ranges */ export declare function restoreBlobRanges(context: Client, resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): PollerLike, BlobRestoreStatus>; export declare function _customerInitiatedMigrationSend(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountMigration, options?: StorageAccountsCustomerInitiatedMigrationOptionalParams): StreamableMethod; export declare function _customerInitiatedMigrationDeserialize(result: PathUncheckedResponse): Promise; /** Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region. */ export declare function customerInitiatedMigration(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountMigration, options?: StorageAccountsCustomerInitiatedMigrationOptionalParams): PollerLike, void>; export declare function _abortHierarchicalNamespaceMigrationSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams): StreamableMethod; export declare function _abortHierarchicalNamespaceMigrationDeserialize(result: PathUncheckedResponse): Promise; /** Abort live Migration of storage account to enable Hns */ export declare function abortHierarchicalNamespaceMigration(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsAbortHierarchicalNamespaceMigrationOptionalParams): PollerLike, void>; export declare function _hierarchicalNamespaceMigrationSend(context: Client, resourceGroupName: string, accountName: string, requestType: string, options?: StorageAccountsHierarchicalNamespaceMigrationOptionalParams): StreamableMethod; export declare function _hierarchicalNamespaceMigrationDeserialize(result: PathUncheckedResponse): Promise; /** Live Migration of storage account to enable Hns */ export declare function hierarchicalNamespaceMigration(context: Client, resourceGroupName: string, accountName: string, requestType: string, options?: StorageAccountsHierarchicalNamespaceMigrationOptionalParams): PollerLike, void>; export declare function _failoverSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): StreamableMethod; export declare function _failoverDeserialize(result: PathUncheckedResponse): Promise; /** A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance */ export declare function failover(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): PollerLike, void>; export declare function _listServiceSASSend(context: Client, resourceGroupName: string, accountName: string, parameters: ServiceSasParameters, options?: StorageAccountsListServiceSASOptionalParams): StreamableMethod; export declare function _listServiceSASDeserialize(result: PathUncheckedResponse): Promise; /** List service SAS credentials of a specific resource. */ export declare function listServiceSAS(context: Client, resourceGroupName: string, accountName: string, parameters: ServiceSasParameters, options?: StorageAccountsListServiceSASOptionalParams): Promise; export declare function _listAccountSASSend(context: Client, resourceGroupName: string, accountName: string, parameters: AccountSasParameters, options?: StorageAccountsListAccountSASOptionalParams): StreamableMethod; export declare function _listAccountSASDeserialize(result: PathUncheckedResponse): Promise; /** List SAS credentials of a storage account. */ export declare function listAccountSAS(context: Client, resourceGroupName: string, accountName: string, parameters: AccountSasParameters, options?: StorageAccountsListAccountSASOptionalParams): Promise; export declare function _regenerateKeySend(context: Client, resourceGroupName: string, accountName: string, regenerateKeyParameter: StorageAccountRegenerateKeyParameters, options?: StorageAccountsRegenerateKeyOptionalParams): StreamableMethod; export declare function _regenerateKeyDeserialize(result: PathUncheckedResponse): Promise; /** Regenerates one of the access keys or Kerberos keys for the specified storage account. */ export declare function regenerateKey(context: Client, resourceGroupName: string, accountName: string, regenerateKeyParameter: StorageAccountRegenerateKeyParameters, options?: StorageAccountsRegenerateKeyOptionalParams): Promise; export declare function _listKeysSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsListKeysOptionalParams): StreamableMethod; export declare function _listKeysDeserialize(result: PathUncheckedResponse): Promise; /** Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. */ export declare function listKeys(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsListKeysOptionalParams): Promise; export declare function _listSend(context: Client, options?: StorageAccountsListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_StorageAccountListResult>; /** Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. */ export declare function list(context: Client, options?: StorageAccountsListOptionalParams): PagedAsyncIterableIterator; export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: StorageAccountsListByResourceGroupOptionalParams): StreamableMethod; export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_StorageAccountListResult>; /** Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. */ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: StorageAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a storage account in Microsoft Azure. */ export declare function $delete(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsDeleteOptionalParams): Promise; export declare function _updateSend(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountUpdateParameters, options?: StorageAccountsUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. */ export declare function update(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountUpdateParameters, options?: StorageAccountsUpdateOptionalParams): Promise; export declare function _createSend(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): StreamableMethod; export declare function _createDeserialize(result: PathUncheckedResponse): Promise; /** Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. */ export declare function create(context: Client, resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): PollerLike, StorageAccount>; export declare function _getPropertiesSend(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsGetPropertiesOptionalParams): StreamableMethod; export declare function _getPropertiesDeserialize(result: PathUncheckedResponse): Promise; /** Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. */ export declare function getProperties(context: Client, resourceGroupName: string, accountName: string, options?: StorageAccountsGetPropertiesOptionalParams): Promise; export declare function _checkNameAvailabilitySend(context: Client, accountName: StorageAccountCheckNameAvailabilityParameters, options?: StorageAccountsCheckNameAvailabilityOptionalParams): StreamableMethod; export declare function _checkNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise; /** Checks that the storage account name is valid and is not already in use. */ export declare function checkNameAvailability(context: Client, accountName: StorageAccountCheckNameAvailabilityParameters, options?: StorageAccountsCheckNameAvailabilityOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map