Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package storage implements the Azure ARM Storage service API version 2022-05-01.
The Azure Storage Management API.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessPolicy
- type AccessTier
- type Account
- type AccountCheckNameAvailabilityParameters
- type AccountCreateParameters
- type AccountExpand
- type AccountImmutabilityPolicyProperties
- type AccountImmutabilityPolicyState
- type AccountInternetEndpoints
- type AccountKey
- type AccountListKeysResult
- type AccountListResult
- type AccountListResultIterator
- func (iter *AccountListResultIterator) Next() error
- func (iter *AccountListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AccountListResultIterator) NotDone() bool
- func (iter AccountListResultIterator) Response() AccountListResult
- func (iter AccountListResultIterator) Value() Account
- type AccountListResultPage
- type AccountMicrosoftEndpoints
- type AccountProperties
- type AccountPropertiesCreateParameters
- type AccountPropertiesUpdateParameters
- type AccountRegenerateKeyParameters
- type AccountSasParameters
- type AccountSkuConversionStatus
- type AccountStatus
- type AccountType
- type AccountUpdateParameters
- type AccountsAbortHierarchicalNamespaceMigrationFuture
- type AccountsClient
- func (client AccountsClient) AbortHierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string) (result AccountsAbortHierarchicalNamespaceMigrationFuture, err error)
- func (client AccountsClient) AbortHierarchicalNamespaceMigrationPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) AbortHierarchicalNamespaceMigrationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) AbortHierarchicalNamespaceMigrationSender(req *http.Request) (future AccountsAbortHierarchicalNamespaceMigrationFuture, err error)
- func (client AccountsClient) CheckNameAvailability(ctx context.Context, accountName AccountCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error)
- func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, accountName AccountCheckNameAvailabilityParameters) (*http.Request, error)
- func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)
- func (client AccountsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountsCreateFuture, err error)
- func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) CreateResponder(resp *http.Response) (result Account, err error)
- func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFuture, err error)
- func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
- func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Failover(ctx context.Context, resourceGroupName string, accountName string) (result AccountsFailoverFuture, err error)
- func (client AccountsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) FailoverSender(req *http.Request) (future AccountsFailoverFuture, err error)
- func (client AccountsClient) GetProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (result Account, err error)
- func (client AccountsClient) GetPropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) GetPropertiesResponder(resp *http.Response) (result Account, err error)
- func (client AccountsClient) GetPropertiesSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) HierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountsHierarchicalNamespaceMigrationFuture, err error)
- func (client AccountsClient) HierarchicalNamespaceMigrationPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) HierarchicalNamespaceMigrationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) HierarchicalNamespaceMigrationSender(req *http.Request) (future AccountsHierarchicalNamespaceMigrationFuture, err error)
- func (client AccountsClient) List(ctx context.Context) (result AccountListResultPage, err error)
- func (client AccountsClient) ListAccountSAS(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListAccountSasResponse, err error)
- func (client AccountsClient) ListAccountSASPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) ListAccountSASResponder(resp *http.Response) (result ListAccountSasResponse, err error)
- func (client AccountsClient) ListAccountSASSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error)
- func (client AccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error)
- func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result AccountListResult, err error)
- func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) ListComplete(ctx context.Context) (result AccountListResultIterator, err error)
- func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountListKeysResult, err error)
- func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) ListKeysResponder(resp *http.Response) (result AccountListKeysResult, err error)
- func (client AccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client AccountsClient) ListResponder(resp *http.Response) (result AccountListResult, err error)
- func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) ListServiceSAS(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListServiceSasResponse, err error)
- func (client AccountsClient) ListServiceSASPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) ListServiceSASResponder(resp *http.Response) (result ListServiceSasResponse, err error)
- func (client AccountsClient) ListServiceSASSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountListKeysResult, err error)
- func (client AccountsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) RegenerateKeyResponder(resp *http.Response) (result AccountListKeysResult, err error)
- func (client AccountsClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) RestoreBlobRanges(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountsRestoreBlobRangesFuture, err error)
- func (client AccountsClient) RestoreBlobRangesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) RestoreBlobRangesResponder(resp *http.Response) (result BlobRestoreStatus, err error)
- func (client AccountsClient) RestoreBlobRangesSender(req *http.Request) (future AccountsRestoreBlobRangesFuture, err error)
- func (client AccountsClient) RevokeUserDelegationKeys(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
- func (client AccountsClient) RevokeUserDelegationKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) RevokeUserDelegationKeysResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) RevokeUserDelegationKeysSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result Account, err error)
- func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)
- func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type AccountsCreateFuture
- type AccountsFailoverFuture
- type AccountsHierarchicalNamespaceMigrationFuture
- type AccountsRestoreBlobRangesFuture
- type Action
- type ActiveDirectoryProperties
- type AllowedCopyScope
- type AllowedMethods
- type AzureEntityResource
- type AzureFilesIdentityBasedAuthentication
- type BaseClient
- type BlobContainer
- type BlobContainersClient
- func (client BlobContainersClient) ClearLegalHold(ctx context.Context, resourceGroupName string, accountName string, ...) (result LegalHold, err error)
- func (client BlobContainersClient) ClearLegalHoldPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) ClearLegalHoldResponder(resp *http.Response) (result LegalHold, err error)
- func (client BlobContainersClient) ClearLegalHoldSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobContainer, err error)
- func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, ...) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicySender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) CreateResponder(resp *http.Response) (result BlobContainer, err error)
- func (client BlobContainersClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, ...) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) DeleteImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) DeleteImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) DeleteImmutabilityPolicySender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BlobContainersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, ...) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) ExtendImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) ExtendImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) ExtendImmutabilityPolicySender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobContainer, err error)
- func (client BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, ...) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) GetImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) GetImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) GetImmutabilityPolicySender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) GetResponder(resp *http.Response) (result BlobContainer, err error)
- func (client BlobContainersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) Lease(ctx context.Context, resourceGroupName string, accountName string, ...) (result LeaseContainerResponse, err error)
- func (client BlobContainersClient) LeasePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) LeaseResponder(resp *http.Response) (result LeaseContainerResponse, err error)
- func (client BlobContainersClient) LeaseSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) List(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListContainerItemsPage, err error)
- func (client BlobContainersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListContainerItemsIterator, err error)
- func (client BlobContainersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) ListResponder(resp *http.Response) (result ListContainerItems, err error)
- func (client BlobContainersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, ...) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) LockImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) LockImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
- func (client BlobContainersClient) LockImmutabilityPolicySender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) ObjectLevelWorm(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobContainersObjectLevelWormFuture, err error)
- func (client BlobContainersClient) ObjectLevelWormPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) ObjectLevelWormResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BlobContainersClient) ObjectLevelWormSender(req *http.Request) (future BlobContainersObjectLevelWormFuture, err error)
- func (client BlobContainersClient) SetLegalHold(ctx context.Context, resourceGroupName string, accountName string, ...) (result LegalHold, err error)
- func (client BlobContainersClient) SetLegalHoldPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) SetLegalHoldResponder(resp *http.Response) (result LegalHold, err error)
- func (client BlobContainersClient) SetLegalHoldSender(req *http.Request) (*http.Response, error)
- func (client BlobContainersClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobContainer, err error)
- func (client BlobContainersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobContainersClient) UpdateResponder(resp *http.Response) (result BlobContainer, err error)
- func (client BlobContainersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type BlobContainersObjectLevelWormFuture
- type BlobInventoryPoliciesClient
- func (client BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobInventoryPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client BlobInventoryPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
- func (client BlobInventoryPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client BlobInventoryPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BlobInventoryPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BlobInventoryPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result BlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client BlobInventoryPoliciesClient) GetResponder(resp *http.Response) (result BlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BlobInventoryPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListBlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client BlobInventoryPoliciesClient) ListResponder(resp *http.Response) (result ListBlobInventoryPolicy, err error)
- func (client BlobInventoryPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type BlobInventoryPolicy
- type BlobInventoryPolicyDefinition
- type BlobInventoryPolicyFilter
- type BlobInventoryPolicyProperties
- type BlobInventoryPolicyRule
- type BlobInventoryPolicySchema
- type BlobRestoreParameters
- type BlobRestoreProgressStatus
- type BlobRestoreRange
- type BlobRestoreStatus
- type BlobServiceItems
- type BlobServiceProperties
- type BlobServicePropertiesProperties
- type BlobServicesClient
- func (client BlobServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result BlobServiceProperties, err error)
- func (client BlobServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client BlobServicesClient) GetServicePropertiesResponder(resp *http.Response) (result BlobServiceProperties, err error)
- func (client BlobServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
- func (client BlobServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BlobServiceItems, err error)
- func (client BlobServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client BlobServicesClient) ListResponder(resp *http.Response) (result BlobServiceItems, err error)
- func (client BlobServicesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client BlobServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (result BlobServiceProperties, err error)
- func (client BlobServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client BlobServicesClient) SetServicePropertiesResponder(resp *http.Response) (result BlobServiceProperties, err error)
- func (client BlobServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
- type Bypass
- type ChangeFeed
- type CheckNameAvailabilityResult
- type CloudError
- type CloudErrorBody
- type ContainerProperties
- type CorsRule
- type CorsRules
- type CreatedByType
- type CustomDomain
- type DNSEndpointType
- type DateAfterCreation
- type DateAfterModification
- type DefaultAction
- type DefaultSharePermission
- type DeleteRetentionPolicy
- type DeletedAccount
- type DeletedAccountListResult
- type DeletedAccountListResultIterator
- func (iter *DeletedAccountListResultIterator) Next() error
- func (iter *DeletedAccountListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DeletedAccountListResultIterator) NotDone() bool
- func (iter DeletedAccountListResultIterator) Response() DeletedAccountListResult
- func (iter DeletedAccountListResultIterator) Value() DeletedAccount
- type DeletedAccountListResultPage
- func (page *DeletedAccountListResultPage) Next() error
- func (page *DeletedAccountListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DeletedAccountListResultPage) NotDone() bool
- func (page DeletedAccountListResultPage) Response() DeletedAccountListResult
- func (page DeletedAccountListResultPage) Values() []DeletedAccount
- type DeletedAccountProperties
- type DeletedAccountsClient
- func (client DeletedAccountsClient) Get(ctx context.Context, deletedAccountName string, location string) (result DeletedAccount, err error)
- func (client DeletedAccountsClient) GetPreparer(ctx context.Context, deletedAccountName string, location string) (*http.Request, error)
- func (client DeletedAccountsClient) GetResponder(resp *http.Response) (result DeletedAccount, err error)
- func (client DeletedAccountsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeletedAccountsClient) List(ctx context.Context) (result DeletedAccountListResultPage, err error)
- func (client DeletedAccountsClient) ListComplete(ctx context.Context) (result DeletedAccountListResultIterator, err error)
- func (client DeletedAccountsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client DeletedAccountsClient) ListResponder(resp *http.Response) (result DeletedAccountListResult, err error)
- func (client DeletedAccountsClient) ListSender(req *http.Request) (*http.Response, error)
- type DeletedShare
- type Dimension
- type DirectoryServiceOptions
- type EnabledProtocols
- type Encryption
- type EncryptionIdentity
- type EncryptionScope
- type EncryptionScopeKeyVaultProperties
- type EncryptionScopeListResult
- type EncryptionScopeListResultIterator
- func (iter *EncryptionScopeListResultIterator) Next() error
- func (iter *EncryptionScopeListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EncryptionScopeListResultIterator) NotDone() bool
- func (iter EncryptionScopeListResultIterator) Response() EncryptionScopeListResult
- func (iter EncryptionScopeListResultIterator) Value() EncryptionScope
- type EncryptionScopeListResultPage
- func (page *EncryptionScopeListResultPage) Next() error
- func (page *EncryptionScopeListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page EncryptionScopeListResultPage) NotDone() bool
- func (page EncryptionScopeListResultPage) Response() EncryptionScopeListResult
- func (page EncryptionScopeListResultPage) Values() []EncryptionScope
- type EncryptionScopeProperties
- type EncryptionScopeSource
- type EncryptionScopeState
- type EncryptionScopesClient
- func (client EncryptionScopesClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client EncryptionScopesClient) GetResponder(resp *http.Response) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client EncryptionScopesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result EncryptionScopeListResultPage, err error)
- func (client EncryptionScopesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result EncryptionScopeListResultIterator, err error)
- func (client EncryptionScopesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client EncryptionScopesClient) ListResponder(resp *http.Response) (result EncryptionScopeListResult, err error)
- func (client EncryptionScopesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client EncryptionScopesClient) Patch(ctx context.Context, resourceGroupName string, accountName string, ...) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) PatchPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client EncryptionScopesClient) PatchResponder(resp *http.Response) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client EncryptionScopesClient) Put(ctx context.Context, resourceGroupName string, accountName string, ...) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) PutPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client EncryptionScopesClient) PutResponder(resp *http.Response) (result EncryptionScope, err error)
- func (client EncryptionScopesClient) PutSender(req *http.Request) (*http.Response, error)
- type EncryptionService
- type EncryptionServices
- type Endpoints
- type ErrorResponse
- type ErrorResponseBody
- type ExtendedLocation
- type ExtendedLocationTypes
- type FileServiceItems
- type FileServiceProperties
- type FileServicePropertiesProperties
- type FileServicesClient
- func (client FileServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result FileServiceProperties, err error)
- func (client FileServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client FileServicesClient) GetServicePropertiesResponder(resp *http.Response) (result FileServiceProperties, err error)
- func (client FileServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
- func (client FileServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result FileServiceItems, err error)
- func (client FileServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client FileServicesClient) ListResponder(resp *http.Response) (result FileServiceItems, err error)
- func (client FileServicesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client FileServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileServiceProperties, err error)
- func (client FileServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileServicesClient) SetServicePropertiesResponder(resp *http.Response) (result FileServiceProperties, err error)
- func (client FileServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
- type FileShare
- type FileShareItem
- type FileShareItems
- type FileShareItemsIterator
- func (iter *FileShareItemsIterator) Next() error
- func (iter *FileShareItemsIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FileShareItemsIterator) NotDone() bool
- func (iter FileShareItemsIterator) Response() FileShareItems
- func (iter FileShareItemsIterator) Value() FileShareItem
- type FileShareItemsPage
- type FileShareProperties
- type FileSharesClient
- func (client FileSharesClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileShare, err error)
- func (client FileSharesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) CreateResponder(resp *http.Response) (result FileShare, err error)
- func (client FileSharesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FileSharesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileShare, err error)
- func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) GetResponder(resp *http.Response) (result FileShare, err error)
- func (client FileSharesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) Lease(ctx context.Context, resourceGroupName string, accountName string, ...) (result LeaseShareResponse, err error)
- func (client FileSharesClient) LeasePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) LeaseResponder(resp *http.Response) (result LeaseShareResponse, err error)
- func (client FileSharesClient) LeaseSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) List(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileShareItemsPage, err error)
- func (client FileSharesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileShareItemsIterator, err error)
- func (client FileSharesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) ListResponder(resp *http.Response) (result FileShareItems, err error)
- func (client FileSharesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) Restore(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client FileSharesClient) RestorePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) RestoreResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FileSharesClient) RestoreSender(req *http.Request) (*http.Response, error)
- func (client FileSharesClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result FileShare, err error)
- func (client FileSharesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FileSharesClient) UpdateResponder(resp *http.Response) (result FileShare, err error)
- func (client FileSharesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type Format
- type GeoReplicationStats
- type GeoReplicationStatus
- type HTTPProtocol
- type IPRule
- type Identity
- type IdentityType
- type ImmutabilityPolicy
- type ImmutabilityPolicyProperties
- type ImmutabilityPolicyProperty
- type ImmutabilityPolicyState
- type ImmutabilityPolicyUpdateType
- type ImmutableStorageAccount
- type ImmutableStorageWithVersioning
- type KeyCreationTime
- type KeyPermission
- type KeyPolicy
- type KeySource
- type KeyType
- type KeyVaultProperties
- type Kind
- type LargeFileSharesState
- type LastAccessTimeTrackingPolicy
- type LeaseContainerRequest
- type LeaseContainerRequestAction
- type LeaseContainerResponse
- type LeaseDuration
- type LeaseShareAction
- type LeaseShareRequest
- type LeaseShareResponse
- type LeaseState
- type LeaseStatus
- type LegalHold
- type LegalHoldProperties
- type ListAccountSasResponse
- type ListBlobInventoryPolicy
- type ListContainerItem
- type ListContainerItems
- type ListContainerItemsIterator
- func (iter *ListContainerItemsIterator) Next() error
- func (iter *ListContainerItemsIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ListContainerItemsIterator) NotDone() bool
- func (iter ListContainerItemsIterator) Response() ListContainerItems
- func (iter ListContainerItemsIterator) Value() ListContainerItem
- type ListContainerItemsPage
- func (page *ListContainerItemsPage) Next() error
- func (page *ListContainerItemsPage) NextWithContext(ctx context.Context) (err error)
- func (page ListContainerItemsPage) NotDone() bool
- func (page ListContainerItemsPage) Response() ListContainerItems
- func (page ListContainerItemsPage) Values() []ListContainerItem
- type ListContainersInclude
- type ListKeyExpand
- type ListQueue
- type ListQueueProperties
- type ListQueueResource
- type ListQueueResourceIterator
- func (iter *ListQueueResourceIterator) Next() error
- func (iter *ListQueueResourceIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ListQueueResourceIterator) NotDone() bool
- func (iter ListQueueResourceIterator) Response() ListQueueResource
- func (iter ListQueueResourceIterator) Value() ListQueue
- type ListQueueResourcePage
- type ListQueueServices
- type ListServiceSasResponse
- type ListTableResource
- type ListTableResourceIterator
- func (iter *ListTableResourceIterator) Next() error
- func (iter *ListTableResourceIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ListTableResourceIterator) NotDone() bool
- func (iter ListTableResourceIterator) Response() ListTableResource
- func (iter ListTableResourceIterator) Value() Table
- type ListTableResourcePage
- type ListTableServices
- type LocalUser
- type LocalUserKeys
- type LocalUserProperties
- type LocalUserRegeneratePasswordResult
- type LocalUsers
- type LocalUsersClient
- func (client LocalUsersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result LocalUser, err error)
- func (client LocalUsersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client LocalUsersClient) CreateOrUpdateResponder(resp *http.Response) (result LocalUser, err error)
- func (client LocalUsersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client LocalUsersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client LocalUsersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client LocalUsersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LocalUsersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client LocalUsersClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result LocalUser, err error)
- func (client LocalUsersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client LocalUsersClient) GetResponder(resp *http.Response) (result LocalUser, err error)
- func (client LocalUsersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LocalUsersClient) List(ctx context.Context, resourceGroupName string, accountName string) (result LocalUsers, err error)
- func (client LocalUsersClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string, ...) (result LocalUserKeys, err error)
- func (client LocalUsersClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client LocalUsersClient) ListKeysResponder(resp *http.Response) (result LocalUserKeys, err error)
- func (client LocalUsersClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client LocalUsersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client LocalUsersClient) ListResponder(resp *http.Response) (result LocalUsers, err error)
- func (client LocalUsersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client LocalUsersClient) RegeneratePassword(ctx context.Context, resourceGroupName string, accountName string, ...) (result LocalUserRegeneratePasswordResult, err error)
- func (client LocalUsersClient) RegeneratePasswordPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client LocalUsersClient) RegeneratePasswordResponder(resp *http.Response) (result LocalUserRegeneratePasswordResult, err error)
- func (client LocalUsersClient) RegeneratePasswordSender(req *http.Request) (*http.Response, error)
- type ManagementPoliciesClient
- func (client ManagementPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result ManagementPolicy, err error)
- func (client ManagementPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client ManagementPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementPolicy, err error)
- func (client ManagementPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ManagementPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
- func (client ManagementPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client ManagementPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagementPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result ManagementPolicy, err error)
- func (client ManagementPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client ManagementPoliciesClient) GetResponder(resp *http.Response) (result ManagementPolicy, err error)
- func (client ManagementPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type ManagementPolicy
- type ManagementPolicyAction
- type ManagementPolicyBaseBlob
- type ManagementPolicyDefinition
- type ManagementPolicyFilter
- type ManagementPolicyProperties
- type ManagementPolicyRule
- type ManagementPolicySchema
- type ManagementPolicySnapShot
- type ManagementPolicyVersion
- type MetricSpecification
- type MigrationState
- type MinimumTLSVersion
- type Multichannel
- type Name
- type NetworkRuleSet
- type ObjectReplicationPolicies
- type ObjectReplicationPoliciesClient
- func (client ObjectReplicationPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result ObjectReplicationPolicy, err error)
- func (client ObjectReplicationPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client ObjectReplicationPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ObjectReplicationPolicy, err error)
- func (client ObjectReplicationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ObjectReplicationPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client ObjectReplicationPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client ObjectReplicationPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ObjectReplicationPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ObjectReplicationPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result ObjectReplicationPolicy, err error)
- func (client ObjectReplicationPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client ObjectReplicationPoliciesClient) GetResponder(resp *http.Response) (result ObjectReplicationPolicy, err error)
- func (client ObjectReplicationPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ObjectReplicationPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ObjectReplicationPolicies, err error)
- func (client ObjectReplicationPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client ObjectReplicationPoliciesClient) ListResponder(resp *http.Response) (result ObjectReplicationPolicies, err error)
- func (client ObjectReplicationPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type ObjectReplicationPolicy
- type ObjectReplicationPolicyFilter
- type ObjectReplicationPolicyProperties
- type ObjectReplicationPolicyRule
- type ObjectType
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationProperties
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PermissionScope
- type Permissions
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, accountName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) PutResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) PutSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) ListByStorageAccount(ctx context.Context, resourceGroupName string, accountName string) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListByStorageAccountResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByStorageAccountSender(req *http.Request) (*http.Response, error)
- type PrivateLinkServiceConnectionState
- type ProtectedAppendWritesHistory
- type ProtocolSettings
- type ProvisioningState
- type ProxyResource
- type PublicAccess
- type PublicNetworkAccess
- type Queue
- type QueueClient
- func (client QueueClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result Queue, err error)
- func (client QueueClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueClient) CreateResponder(resp *http.Response) (result Queue, err error)
- func (client QueueClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client QueueClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client QueueClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client QueueClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client QueueClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result Queue, err error)
- func (client QueueClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueClient) GetResponder(resp *http.Response) (result Queue, err error)
- func (client QueueClient) GetSender(req *http.Request) (*http.Response, error)
- func (client QueueClient) List(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListQueueResourcePage, err error)
- func (client QueueClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, ...) (result ListQueueResourceIterator, err error)
- func (client QueueClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueClient) ListResponder(resp *http.Response) (result ListQueueResource, err error)
- func (client QueueClient) ListSender(req *http.Request) (*http.Response, error)
- func (client QueueClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result Queue, err error)
- func (client QueueClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueClient) UpdateResponder(resp *http.Response) (result Queue, err error)
- func (client QueueClient) UpdateSender(req *http.Request) (*http.Response, error)
- type QueueProperties
- type QueueServiceProperties
- type QueueServicePropertiesProperties
- type QueueServicesClient
- func (client QueueServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result QueueServiceProperties, err error)
- func (client QueueServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client QueueServicesClient) GetServicePropertiesResponder(resp *http.Response) (result QueueServiceProperties, err error)
- func (client QueueServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
- func (client QueueServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListQueueServices, err error)
- func (client QueueServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client QueueServicesClient) ListResponder(resp *http.Response) (result ListQueueServices, err error)
- func (client QueueServicesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client QueueServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (result QueueServiceProperties, err error)
- func (client QueueServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client QueueServicesClient) SetServicePropertiesResponder(resp *http.Response) (result QueueServiceProperties, err error)
- func (client QueueServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
- type Reason
- type ReasonCode
- type Resource
- type ResourceAccessRule
- type RestorePolicyProperties
- type Restriction
- type RootSquashType
- type RoutingChoice
- type RoutingPreference
- type SKUCapability
- type SSHPublicKey
- type SasPolicy
- type Schedule
- type ServiceSasParameters
- type ServiceSpecification
- type Services
- type ShareAccessTier
- type SignedIdentifier
- type SignedResource
- type SignedResourceTypes
- type Sku
- type SkuConversionStatus
- type SkuInformation
- type SkuListResult
- type SkuName
- type SkuTier
- type SkusClient
- func (client SkusClient) List(ctx context.Context) (result SkuListResult, err error)
- func (client SkusClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SkusClient) ListResponder(resp *http.Response) (result SkuListResult, err error)
- func (client SkusClient) ListSender(req *http.Request) (*http.Response, error)
- type SmbSetting
- type State
- type SystemData
- type Table
- type TableAccessPolicy
- type TableClient
- func (client TableClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result Table, err error)
- func (client TableClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TableClient) CreateResponder(resp *http.Response) (result Table, err error)
- func (client TableClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client TableClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client TableClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TableClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TableClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TableClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result Table, err error)
- func (client TableClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TableClient) GetResponder(resp *http.Response) (result Table, err error)
- func (client TableClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TableClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListTableResourcePage, err error)
- func (client TableClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result ListTableResourceIterator, err error)
- func (client TableClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client TableClient) ListResponder(resp *http.Response) (result ListTableResource, err error)
- func (client TableClient) ListSender(req *http.Request) (*http.Response, error)
- func (client TableClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result Table, err error)
- func (client TableClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TableClient) UpdateResponder(resp *http.Response) (result Table, err error)
- func (client TableClient) UpdateSender(req *http.Request) (*http.Response, error)
- type TableProperties
- type TableServiceProperties
- type TableServicePropertiesProperties
- type TableServicesClient
- func (client TableServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result TableServiceProperties, err error)
- func (client TableServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client TableServicesClient) GetServicePropertiesResponder(resp *http.Response) (result TableServiceProperties, err error)
- func (client TableServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
- func (client TableServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListTableServices, err error)
- func (client TableServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client TableServicesClient) ListResponder(resp *http.Response) (result ListTableServices, err error)
- func (client TableServicesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client TableServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, ...) (result TableServiceProperties, err error)
- func (client TableServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TableServicesClient) SetServicePropertiesResponder(resp *http.Response) (result TableServiceProperties, err error)
- func (client TableServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
- type TableSignedIdentifier
- type TagFilter
- type TagProperty
- type TrackedResource
- type UpdateHistoryProperty
- type Usage
- type UsageListResult
- type UsageName
- type UsageUnit
- type UsagesClient
- func (client UsagesClient) ListByLocation(ctx context.Context, location string) (result UsageListResult, err error)
- func (client UsagesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client UsagesClient) ListByLocationResponder(resp *http.Response) (result UsageListResult, err error)
- func (client UsagesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- type UserAssignedIdentity
- type VirtualNetworkRule
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Storage
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessPolicy ¶
type AccessPolicy struct { // StartTime - Start time of the access policy StartTime *date.Time `json:"startTime,omitempty"` // ExpiryTime - Expiry time of the access policy ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Permission - List of abbreviated permissions. Permission *string `json:"permission,omitempty"` }
AccessPolicy ...
type AccessTier ¶
type AccessTier string
AccessTier enumerates the values for access tier.
const ( // Cool ... Cool AccessTier = "Cool" // Hot ... Hot AccessTier = "Hot" // Premium ... Premium AccessTier = "Premium" )
func PossibleAccessTierValues ¶
func PossibleAccessTierValues() []AccessTier
PossibleAccessTierValues returns an array of possible values for the AccessTier const type.
type Account ¶
type Account struct { autorest.Response `json:"-"` // Sku - READ-ONLY; Gets the SKU. Sku *Sku `json:"sku,omitempty"` // Kind - READ-ONLY; Gets the Kind. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // ExtendedLocation - The extendedLocation of the resource. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // AccountProperties - Properties of the storage account. *AccountProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Account the storage account.
func (Account) MarshalJSON ¶
MarshalJSON is the custom marshaler for Account.
func (*Account) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Account struct.
type AccountCheckNameAvailabilityParameters ¶
type AccountCheckNameAvailabilityParameters struct { // Name - The storage account name. Name *string `json:"name,omitempty"` // Type - The type of resource, Microsoft.Storage/storageAccounts Type *string `json:"type,omitempty"` }
AccountCheckNameAvailabilityParameters the parameters used to check the availability of the storage account name.
type AccountCreateParameters ¶
type AccountCreateParameters struct { // Sku - Required. Gets or sets the SKU name. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Location - Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Location *string `json:"location,omitempty"` // ExtendedLocation - Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. Tags map[string]*string `json:"tags"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // AccountPropertiesCreateParameters - The parameters used to create the storage account. *AccountPropertiesCreateParameters `json:"properties,omitempty"` }
AccountCreateParameters the parameters used when creating a storage account.
func (AccountCreateParameters) MarshalJSON ¶
func (acp AccountCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountCreateParameters.
func (*AccountCreateParameters) UnmarshalJSON ¶
func (acp *AccountCreateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AccountCreateParameters struct.
type AccountExpand ¶
type AccountExpand string
AccountExpand enumerates the values for account expand.
const ( // AccountExpandBlobRestoreStatus ... AccountExpandBlobRestoreStatus AccountExpand = "blobRestoreStatus" // AccountExpandGeoReplicationStats ... AccountExpandGeoReplicationStats AccountExpand = "geoReplicationStats" )
func PossibleAccountExpandValues ¶
func PossibleAccountExpandValues() []AccountExpand
PossibleAccountExpandValues returns an array of possible values for the AccountExpand const type.
type AccountImmutabilityPolicyProperties ¶
type AccountImmutabilityPolicyProperties struct { // ImmutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` // State - The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. Possible values include: 'Unlocked', 'Locked', 'Disabled' State AccountImmutabilityPolicyState `json:"state,omitempty"` // AllowProtectedAppendWrites - This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` }
AccountImmutabilityPolicyProperties this defines account-level immutability policy properties.
type AccountImmutabilityPolicyState ¶
type AccountImmutabilityPolicyState string
AccountImmutabilityPolicyState enumerates the values for account immutability policy state.
const ( // Disabled ... Disabled AccountImmutabilityPolicyState = "Disabled" // Locked ... Locked AccountImmutabilityPolicyState = "Locked" // Unlocked ... Unlocked AccountImmutabilityPolicyState = "Unlocked" )
func PossibleAccountImmutabilityPolicyStateValues ¶
func PossibleAccountImmutabilityPolicyStateValues() []AccountImmutabilityPolicyState
PossibleAccountImmutabilityPolicyStateValues returns an array of possible values for the AccountImmutabilityPolicyState const type.
type AccountInternetEndpoints ¶
type AccountInternetEndpoints struct { // Blob - READ-ONLY; Gets the blob endpoint. Blob *string `json:"blob,omitempty"` // File - READ-ONLY; Gets the file endpoint. File *string `json:"file,omitempty"` // Web - READ-ONLY; Gets the web endpoint. Web *string `json:"web,omitempty"` // Dfs - READ-ONLY; Gets the dfs endpoint. Dfs *string `json:"dfs,omitempty"` }
AccountInternetEndpoints the URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint.
func (AccountInternetEndpoints) MarshalJSON ¶
func (aie AccountInternetEndpoints) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountInternetEndpoints.
type AccountKey ¶
type AccountKey struct { // KeyName - READ-ONLY; Name of the key. KeyName *string `json:"keyName,omitempty"` // Value - READ-ONLY; Base 64-encoded value of the key. Value *string `json:"value,omitempty"` // Permissions - READ-ONLY; Permissions for the key -- read-only or full permissions. Possible values include: 'Read', 'Full' Permissions KeyPermission `json:"permissions,omitempty"` // CreationTime - READ-ONLY; Creation time of the key, in round trip date format. CreationTime *date.Time `json:"creationTime,omitempty"` }
AccountKey an access key for the storage account.
func (AccountKey) MarshalJSON ¶
func (ak AccountKey) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountKey.
type AccountListKeysResult ¶
type AccountListKeysResult struct { autorest.Response `json:"-"` // Keys - READ-ONLY; Gets the list of storage account keys and their properties for the specified storage account. Keys *[]AccountKey `json:"keys,omitempty"` }
AccountListKeysResult the response from the ListKeys operation.
func (AccountListKeysResult) MarshalJSON ¶
func (alkr AccountListKeysResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountListKeysResult.
type AccountListResult ¶
type AccountListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Gets the list of storage accounts and their properties. Value *[]Account `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size. NextLink *string `json:"nextLink,omitempty"` }
AccountListResult the response from the List Storage Accounts operation.
func (AccountListResult) IsEmpty ¶
func (alr AccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AccountListResult) MarshalJSON ¶
func (alr AccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountListResult.
type AccountListResultIterator ¶
type AccountListResultIterator struct {
// contains filtered or unexported fields
}
AccountListResultIterator provides access to a complete listing of Account values.
func NewAccountListResultIterator ¶
func NewAccountListResultIterator(page AccountListResultPage) AccountListResultIterator
Creates a new instance of the AccountListResultIterator type.
func (*AccountListResultIterator) Next ¶
func (iter *AccountListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AccountListResultIterator) NextWithContext ¶
func (iter *AccountListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AccountListResultIterator) NotDone ¶
func (iter AccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AccountListResultIterator) Response ¶
func (iter AccountListResultIterator) Response() AccountListResult
Response returns the raw server response from the last page request.
func (AccountListResultIterator) Value ¶
func (iter AccountListResultIterator) Value() Account
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AccountListResultPage ¶
type AccountListResultPage struct {
// contains filtered or unexported fields
}
AccountListResultPage contains a page of Account values.
func NewAccountListResultPage ¶
func NewAccountListResultPage(cur AccountListResult, getNextPage func(context.Context, AccountListResult) (AccountListResult, error)) AccountListResultPage
Creates a new instance of the AccountListResultPage type.
func (*AccountListResultPage) Next ¶
func (page *AccountListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AccountListResultPage) NextWithContext ¶
func (page *AccountListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AccountListResultPage) NotDone ¶
func (page AccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AccountListResultPage) Response ¶
func (page AccountListResultPage) Response() AccountListResult
Response returns the raw server response from the last page request.
func (AccountListResultPage) Values ¶
func (page AccountListResultPage) Values() []Account
Values returns the slice of values for the current page or nil if there are no values.
type AccountMicrosoftEndpoints ¶
type AccountMicrosoftEndpoints struct { // Blob - READ-ONLY; Gets the blob endpoint. Blob *string `json:"blob,omitempty"` // Queue - READ-ONLY; Gets the queue endpoint. Queue *string `json:"queue,omitempty"` // Table - READ-ONLY; Gets the table endpoint. Table *string `json:"table,omitempty"` // File - READ-ONLY; Gets the file endpoint. File *string `json:"file,omitempty"` // Web - READ-ONLY; Gets the web endpoint. Web *string `json:"web,omitempty"` // Dfs - READ-ONLY; Gets the dfs endpoint. Dfs *string `json:"dfs,omitempty"` }
AccountMicrosoftEndpoints the URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint.
func (AccountMicrosoftEndpoints) MarshalJSON ¶
func (ame AccountMicrosoftEndpoints) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountMicrosoftEndpoints.
type AccountProperties ¶
type AccountProperties struct { // ProvisioningState - READ-ONLY; Gets the status of the storage account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrimaryEndpoints - READ-ONLY; Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints *Endpoints `json:"primaryEndpoints,omitempty"` // PrimaryLocation - READ-ONLY; Gets the location of the primary data center for the storage account. PrimaryLocation *string `json:"primaryLocation,omitempty"` // StatusOfPrimary - READ-ONLY; Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'Available', 'Unavailable' StatusOfPrimary AccountStatus `json:"statusOfPrimary,omitempty"` // LastGeoFailoverTime - READ-ONLY; Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime *date.Time `json:"lastGeoFailoverTime,omitempty"` // SecondaryLocation - READ-ONLY; Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation *string `json:"secondaryLocation,omitempty"` // StatusOfSecondary - READ-ONLY; Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: 'Available', 'Unavailable' StatusOfSecondary AccountStatus `json:"statusOfSecondary,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the storage account in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` // CustomDomain - READ-ONLY; Gets the custom domain the user assigned to this storage account. CustomDomain *CustomDomain `json:"customDomain,omitempty"` // SasPolicy - READ-ONLY; SasPolicy assigned to the storage account. SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` // KeyPolicy - READ-ONLY; KeyPolicy assigned to the storage account. KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` // KeyCreationTime - READ-ONLY; Storage account keys creation time. KeyCreationTime *KeyCreationTime `json:"keyCreationTime,omitempty"` // SecondaryEndpoints - READ-ONLY; Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. SecondaryEndpoints *Endpoints `json:"secondaryEndpoints,omitempty"` // Encryption - READ-ONLY; Encryption settings to be used for server-side encryption for the storage account. Encryption *Encryption `json:"encryption,omitempty"` // AccessTier - READ-ONLY; Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. Possible values include: 'Hot', 'Cool', 'Premium' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` // EnableHTTPSTrafficOnly - Allows https traffic only to storage service if sets to true. EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` // NetworkRuleSet - READ-ONLY; Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` // IsSftpEnabled - Enables Secure File Transfer Protocol, if set to true IsSftpEnabled *bool `json:"isSftpEnabled,omitempty"` // IsLocalUserEnabled - Enables local users feature, if set to true IsLocalUserEnabled *bool `json:"isLocalUserEnabled,omitempty"` // IsHnsEnabled - Account HierarchicalNamespace enabled if sets to true. IsHnsEnabled *bool `json:"isHnsEnabled,omitempty"` // GeoReplicationStats - READ-ONLY; Geo Replication Stats GeoReplicationStats *GeoReplicationStats `json:"geoReplicationStats,omitempty"` // FailoverInProgress - READ-ONLY; If the failover is in progress, the value will be true, otherwise, it will be null. FailoverInProgress *bool `json:"failoverInProgress,omitempty"` LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` // PrivateEndpointConnections - READ-ONLY; List of private endpoint connection associated with the specified storage account PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` // RoutingPreference - Maintains information about the network routing choice opted by the user for data transfer RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // BlobRestoreStatus - READ-ONLY; Blob restore status BlobRestoreStatus *BlobRestoreStatus `json:"blobRestoreStatus,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` // EnableNfsV3 - NFS 3.0 protocol support enabled if set to true. EnableNfsV3 *bool `json:"isNfsV3Enabled,omitempty"` // AllowCrossTenantReplication - Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. AllowCrossTenantReplication *bool `json:"allowCrossTenantReplication,omitempty"` // DefaultToOAuthAuthentication - A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. DefaultToOAuthAuthentication *bool `json:"defaultToOAuthAuthentication,omitempty"` // PublicNetworkAccess - Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled' PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // ImmutableStorageWithVersioning - The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. ImmutableStorageWithVersioning *ImmutableStorageAccount `json:"immutableStorageWithVersioning,omitempty"` // AllowedCopyScope - Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. Possible values include: 'PrivateLink', 'AAD' AllowedCopyScope AllowedCopyScope `json:"allowedCopyScope,omitempty"` // StorageAccountSkuConversionStatus - This property is readOnly and is set by server during asynchronous storage account sku conversion operations. StorageAccountSkuConversionStatus *AccountSkuConversionStatus `json:"storageAccountSkuConversionStatus,omitempty"` // DNSEndpointType - Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Possible values include: 'Standard', 'AzureDNSZone' DNSEndpointType DNSEndpointType `json:"dnsEndpointType,omitempty"` }
AccountProperties properties of the storage account.
func (AccountProperties) MarshalJSON ¶
func (ap AccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountProperties.
type AccountPropertiesCreateParameters ¶
type AccountPropertiesCreateParameters struct { // AllowedCopyScope - Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. Possible values include: 'PrivateLink', 'AAD' AllowedCopyScope AllowedCopyScope `json:"allowedCopyScope,omitempty"` // PublicNetworkAccess - Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled' PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // SasPolicy - SasPolicy assigned to the storage account. SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` // KeyPolicy - KeyPolicy assigned to the storage account. KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` // CustomDomain - User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. CustomDomain *CustomDomain `json:"customDomain,omitempty"` // Encryption - Encryption settings to be used for server-side encryption for the storage account. Encryption *Encryption `json:"encryption,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. Possible values include: 'Hot', 'Cool', 'Premium' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` // EnableHTTPSTrafficOnly - Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` // IsSftpEnabled - Enables Secure File Transfer Protocol, if set to true IsSftpEnabled *bool `json:"isSftpEnabled,omitempty"` // IsLocalUserEnabled - Enables local users feature, if set to true IsLocalUserEnabled *bool `json:"isLocalUserEnabled,omitempty"` // IsHnsEnabled - Account HierarchicalNamespace enabled if sets to true. IsHnsEnabled *bool `json:"isHnsEnabled,omitempty"` LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` // RoutingPreference - Maintains information about the network routing choice opted by the user for data transfer RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` // EnableNfsV3 - NFS 3.0 protocol support enabled if set to true. EnableNfsV3 *bool `json:"isNfsV3Enabled,omitempty"` // AllowCrossTenantReplication - Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. AllowCrossTenantReplication *bool `json:"allowCrossTenantReplication,omitempty"` // DefaultToOAuthAuthentication - A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. DefaultToOAuthAuthentication *bool `json:"defaultToOAuthAuthentication,omitempty"` // ImmutableStorageWithVersioning - The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default. ImmutableStorageWithVersioning *ImmutableStorageAccount `json:"immutableStorageWithVersioning,omitempty"` // DNSEndpointType - Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Possible values include: 'Standard', 'AzureDNSZone' DNSEndpointType DNSEndpointType `json:"dnsEndpointType,omitempty"` }
AccountPropertiesCreateParameters the parameters used to create the storage account.
type AccountPropertiesUpdateParameters ¶
type AccountPropertiesUpdateParameters struct { // CustomDomain - Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. CustomDomain *CustomDomain `json:"customDomain,omitempty"` // Encryption - Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled. Encryption *Encryption `json:"encryption,omitempty"` // SasPolicy - SasPolicy assigned to the storage account. SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` // KeyPolicy - KeyPolicy assigned to the storage account. KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. Possible values include: 'Hot', 'Cool', 'Premium' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` // EnableHTTPSTrafficOnly - Allows https traffic only to storage service if sets to true. EnableHTTPSTrafficOnly *bool `json:"supportsHttpsTrafficOnly,omitempty"` // IsSftpEnabled - Enables Secure File Transfer Protocol, if set to true IsSftpEnabled *bool `json:"isSftpEnabled,omitempty"` // IsLocalUserEnabled - Enables local users feature, if set to true IsLocalUserEnabled *bool `json:"isLocalUserEnabled,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` LargeFileSharesState LargeFileSharesState `json:"largeFileSharesState,omitempty"` // RoutingPreference - Maintains information about the network routing choice opted by the user for data transfer RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` // AllowCrossTenantReplication - Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property. AllowCrossTenantReplication *bool `json:"allowCrossTenantReplication,omitempty"` // DefaultToOAuthAuthentication - A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. DefaultToOAuthAuthentication *bool `json:"defaultToOAuthAuthentication,omitempty"` // PublicNetworkAccess - Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled' PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // ImmutableStorageWithVersioning - The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. ImmutableStorageWithVersioning *ImmutableStorageAccount `json:"immutableStorageWithVersioning,omitempty"` // AllowedCopyScope - Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. Possible values include: 'PrivateLink', 'AAD' AllowedCopyScope AllowedCopyScope `json:"allowedCopyScope,omitempty"` // DNSEndpointType - Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. Possible values include: 'Standard', 'AzureDNSZone' DNSEndpointType DNSEndpointType `json:"dnsEndpointType,omitempty"` }
AccountPropertiesUpdateParameters the parameters used when updating a storage account.
type AccountRegenerateKeyParameters ¶
type AccountRegenerateKeyParameters struct { // KeyName - The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. KeyName *string `json:"keyName,omitempty"` }
AccountRegenerateKeyParameters the parameters used to regenerate the storage account key.
type AccountSasParameters ¶
type AccountSasParameters struct { // Services - The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'B', 'Q', 'T', 'F' Services Services `json:"signedServices,omitempty"` // ResourceTypes - The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Possible values include: 'SignedResourceTypesS', 'SignedResourceTypesC', 'SignedResourceTypesO' ResourceTypes SignedResourceTypes `json:"signedResourceTypes,omitempty"` // Permissions - The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` SharedAccessExpiryTime *date.Time `json:"signedExpiry,omitempty"` // KeyToSign - The key to sign the account SAS token with. KeyToSign *string `json:"keyToSign,omitempty"` }
AccountSasParameters the parameters to list SAS credentials of a storage account.
type AccountSkuConversionStatus ¶
type AccountSkuConversionStatus struct { // SkuConversionStatus - READ-ONLY; This property indicates the current sku conversion status. Possible values include: 'SkuConversionStatusInProgress', 'SkuConversionStatusSucceeded', 'SkuConversionStatusFailed' SkuConversionStatus SkuConversionStatus `json:"skuConversionStatus,omitempty"` // TargetSkuName - This property represents the target sku name to which the account sku is being converted asynchronously. Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' TargetSkuName SkuName `json:"targetSkuName,omitempty"` // StartTime - READ-ONLY; This property represents the sku conversion start time. StartTime *string `json:"startTime,omitempty"` // EndTime - READ-ONLY; This property represents the sku conversion end time. EndTime *string `json:"endTime,omitempty"` }
AccountSkuConversionStatus this defines the sku conversion status object for asynchronous sku conversions.
func (AccountSkuConversionStatus) MarshalJSON ¶
func (ascs AccountSkuConversionStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountSkuConversionStatus.
type AccountStatus ¶
type AccountStatus string
AccountStatus enumerates the values for account status.
const ( // Available ... Available AccountStatus = "available" Unavailable AccountStatus = "unavailable" )
func PossibleAccountStatusValues ¶
func PossibleAccountStatusValues() []AccountStatus
PossibleAccountStatusValues returns an array of possible values for the AccountStatus const type.
type AccountType ¶
type AccountType string
AccountType enumerates the values for account type.
const ( // Computer ... Computer AccountType = "Computer" // User ... User AccountType = "User" )
func PossibleAccountTypeValues ¶
func PossibleAccountTypeValues() []AccountType
PossibleAccountTypeValues returns an array of possible values for the AccountType const type.
type AccountUpdateParameters ¶
type AccountUpdateParameters struct { // Sku - Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. Sku *Sku `json:"sku,omitempty"` // Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. Tags map[string]*string `json:"tags"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // AccountPropertiesUpdateParameters - The parameters used when updating a storage account. *AccountPropertiesUpdateParameters `json:"properties,omitempty"` // Kind - Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` }
AccountUpdateParameters the parameters that can be provided when updating the storage account properties.
func (AccountUpdateParameters) MarshalJSON ¶
func (aup AccountUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountUpdateParameters.
func (*AccountUpdateParameters) UnmarshalJSON ¶
func (aup *AccountUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AccountUpdateParameters struct.
type AccountsAbortHierarchicalNamespaceMigrationFuture ¶
type AccountsAbortHierarchicalNamespaceMigrationFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (autorest.Response, error) }
AccountsAbortHierarchicalNamespaceMigrationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AccountsAbortHierarchicalNamespaceMigrationFuture) UnmarshalJSON ¶
func (future *AccountsAbortHierarchicalNamespaceMigrationFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AccountsClient ¶
type AccountsClient struct {
BaseClient
}
AccountsClient is the the Azure Storage Management API.
func NewAccountsClient ¶
func NewAccountsClient(subscriptionID string) AccountsClient
NewAccountsClient creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI ¶
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient
NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (AccountsClient) AbortHierarchicalNamespaceMigration ¶
func (client AccountsClient) AbortHierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string) (result AccountsAbortHierarchicalNamespaceMigrationFuture, err error)
AbortHierarchicalNamespaceMigration abort live Migration of storage account to enable Hns Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (AccountsClient) AbortHierarchicalNamespaceMigrationPreparer ¶
func (client AccountsClient) AbortHierarchicalNamespaceMigrationPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
AbortHierarchicalNamespaceMigrationPreparer prepares the AbortHierarchicalNamespaceMigration request.
func (AccountsClient) AbortHierarchicalNamespaceMigrationResponder ¶
func (client AccountsClient) AbortHierarchicalNamespaceMigrationResponder(resp *http.Response) (result autorest.Response, err error)
AbortHierarchicalNamespaceMigrationResponder handles the response to the AbortHierarchicalNamespaceMigration request. The method always closes the http.Response Body.
func (AccountsClient) AbortHierarchicalNamespaceMigrationSender ¶
func (client AccountsClient) AbortHierarchicalNamespaceMigrationSender(req *http.Request) (future AccountsAbortHierarchicalNamespaceMigrationFuture, err error)
AbortHierarchicalNamespaceMigrationSender sends the AbortHierarchicalNamespaceMigration request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) CheckNameAvailability ¶
func (client AccountsClient) CheckNameAvailability(ctx context.Context, accountName AccountCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error)
CheckNameAvailability checks that the storage account name is valid and is not already in use. Parameters: accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (AccountsClient) CheckNameAvailabilityPreparer ¶
func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, accountName AccountCheckNameAvailabilityParameters) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (AccountsClient) CheckNameAvailabilityResponder ¶
func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (AccountsClient) CheckNameAvailabilitySender ¶
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Create ¶
func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, parameters AccountCreateParameters) (result AccountsCreateFuture, err error)
Create 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. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the parameters to provide for the created account.
func (AccountsClient) CreatePreparer ¶
func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters AccountCreateParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
func (AccountsClient) CreateResponder ¶
func (client AccountsClient) CreateResponder(resp *http.Response) (result Account, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (AccountsClient) CreateSender ¶
func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Delete ¶
func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
Delete deletes a storage account in Microsoft Azure. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (AccountsClient) DeletePreparer ¶
func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AccountsClient) DeleteResponder ¶
func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AccountsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Failover ¶
func (client AccountsClient) Failover(ctx context.Context, resourceGroupName string, accountName string) (result AccountsFailoverFuture, err error)
Failover failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (AccountsClient) FailoverPreparer ¶
func (client AccountsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
FailoverPreparer prepares the Failover request.
func (AccountsClient) FailoverResponder ¶
func (client AccountsClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)
FailoverResponder handles the response to the Failover request. The method always closes the http.Response Body.
func (AccountsClient) FailoverSender ¶
func (client AccountsClient) FailoverSender(req *http.Request) (future AccountsFailoverFuture, err error)
FailoverSender sends the Failover request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) GetProperties ¶
func (client AccountsClient) GetProperties(ctx context.Context, resourceGroupName string, accountName string, expand AccountExpand) (result Account, err error)
GetProperties 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. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. expand - may be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.
func (AccountsClient) GetPropertiesPreparer ¶
func (client AccountsClient) GetPropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, expand AccountExpand) (*http.Request, error)
GetPropertiesPreparer prepares the GetProperties request.
func (AccountsClient) GetPropertiesResponder ¶
func (client AccountsClient) GetPropertiesResponder(resp *http.Response) (result Account, err error)
GetPropertiesResponder handles the response to the GetProperties request. The method always closes the http.Response Body.
func (AccountsClient) GetPropertiesSender ¶
GetPropertiesSender sends the GetProperties request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) HierarchicalNamespaceMigration ¶
func (client AccountsClient) HierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string, requestType string) (result AccountsHierarchicalNamespaceMigrationFuture, err error)
HierarchicalNamespaceMigration live Migration of storage account to enable Hns Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. requestType - required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.
func (AccountsClient) HierarchicalNamespaceMigrationPreparer ¶
func (client AccountsClient) HierarchicalNamespaceMigrationPreparer(ctx context.Context, resourceGroupName string, accountName string, requestType string) (*http.Request, error)
HierarchicalNamespaceMigrationPreparer prepares the HierarchicalNamespaceMigration request.
func (AccountsClient) HierarchicalNamespaceMigrationResponder ¶
func (client AccountsClient) HierarchicalNamespaceMigrationResponder(resp *http.Response) (result autorest.Response, err error)
HierarchicalNamespaceMigrationResponder handles the response to the HierarchicalNamespaceMigration request. The method always closes the http.Response Body.
func (AccountsClient) HierarchicalNamespaceMigrationSender ¶
func (client AccountsClient) HierarchicalNamespaceMigrationSender(req *http.Request) (future AccountsHierarchicalNamespaceMigrationFuture, err error)
HierarchicalNamespaceMigrationSender sends the HierarchicalNamespaceMigration request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) List ¶
func (client AccountsClient) List(ctx context.Context) (result AccountListResultPage, err error)
List lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
func (AccountsClient) ListAccountSAS ¶
func (client AccountsClient) ListAccountSAS(ctx context.Context, resourceGroupName string, accountName string, parameters AccountSasParameters) (result ListAccountSasResponse, err error)
ListAccountSAS list SAS credentials of a storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the parameters to provide to list SAS credentials for the storage account.
func (AccountsClient) ListAccountSASPreparer ¶
func (client AccountsClient) ListAccountSASPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters AccountSasParameters) (*http.Request, error)
ListAccountSASPreparer prepares the ListAccountSAS request.
func (AccountsClient) ListAccountSASResponder ¶
func (client AccountsClient) ListAccountSASResponder(resp *http.Response) (result ListAccountSasResponse, err error)
ListAccountSASResponder handles the response to the ListAccountSAS request. The method always closes the http.Response Body.
func (AccountsClient) ListAccountSASSender ¶
ListAccountSASSender sends the ListAccountSAS request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListByResourceGroup ¶
func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error)
ListByResourceGroup lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.
func (AccountsClient) ListByResourceGroupComplete ¶
func (client AccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (AccountsClient) ListByResourceGroupPreparer ¶
func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (AccountsClient) ListByResourceGroupResponder ¶
func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result AccountListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (AccountsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListComplete ¶
func (client AccountsClient) ListComplete(ctx context.Context) (result AccountListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AccountsClient) ListKeys ¶
func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string, expand ListKeyExpand) (result AccountListKeysResult, err error)
ListKeys lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. expand - specifies type of the key to be listed. Possible value is kerb.
func (AccountsClient) ListKeysPreparer ¶
func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, expand ListKeyExpand) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (AccountsClient) ListKeysResponder ¶
func (client AccountsClient) ListKeysResponder(resp *http.Response) (result AccountListKeysResult, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (AccountsClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (AccountsClient) ListResponder ¶
func (client AccountsClient) ListResponder(resp *http.Response) (result AccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AccountsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) ListServiceSAS ¶
func (client AccountsClient) ListServiceSAS(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceSasParameters) (result ListServiceSasResponse, err error)
ListServiceSAS list service SAS credentials of a specific resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the parameters to provide to list service SAS credentials.
func (AccountsClient) ListServiceSASPreparer ¶
func (client AccountsClient) ListServiceSASPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceSasParameters) (*http.Request, error)
ListServiceSASPreparer prepares the ListServiceSAS request.
func (AccountsClient) ListServiceSASResponder ¶
func (client AccountsClient) ListServiceSASResponder(resp *http.Response) (result ListServiceSasResponse, err error)
ListServiceSASResponder handles the response to the ListServiceSAS request. The method always closes the http.Response Body.
func (AccountsClient) ListServiceSASSender ¶
ListServiceSASSender sends the ListServiceSAS request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) RegenerateKey ¶
func (client AccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, regenerateKey AccountRegenerateKeyParameters) (result AccountListKeysResult, err error)
RegenerateKey regenerates one of the access keys or Kerberos keys for the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. regenerateKey - specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.
func (AccountsClient) RegenerateKeyPreparer ¶
func (client AccountsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, regenerateKey AccountRegenerateKeyParameters) (*http.Request, error)
RegenerateKeyPreparer prepares the RegenerateKey request.
func (AccountsClient) RegenerateKeyResponder ¶
func (client AccountsClient) RegenerateKeyResponder(resp *http.Response) (result AccountListKeysResult, err error)
RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.
func (AccountsClient) RegenerateKeySender ¶
RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) RestoreBlobRanges ¶
func (client AccountsClient) RestoreBlobRanges(ctx context.Context, resourceGroupName string, accountName string, parameters BlobRestoreParameters) (result AccountsRestoreBlobRangesFuture, err error)
RestoreBlobRanges restore blobs in the specified blob ranges Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the parameters to provide for restore blob ranges.
func (AccountsClient) RestoreBlobRangesPreparer ¶
func (client AccountsClient) RestoreBlobRangesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters BlobRestoreParameters) (*http.Request, error)
RestoreBlobRangesPreparer prepares the RestoreBlobRanges request.
func (AccountsClient) RestoreBlobRangesResponder ¶
func (client AccountsClient) RestoreBlobRangesResponder(resp *http.Response) (result BlobRestoreStatus, err error)
RestoreBlobRangesResponder handles the response to the RestoreBlobRanges request. The method always closes the http.Response Body.
func (AccountsClient) RestoreBlobRangesSender ¶
func (client AccountsClient) RestoreBlobRangesSender(req *http.Request) (future AccountsRestoreBlobRangesFuture, err error)
RestoreBlobRangesSender sends the RestoreBlobRanges request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) RevokeUserDelegationKeys ¶
func (client AccountsClient) RevokeUserDelegationKeys(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
RevokeUserDelegationKeys revoke user delegation keys. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (AccountsClient) RevokeUserDelegationKeysPreparer ¶
func (client AccountsClient) RevokeUserDelegationKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
RevokeUserDelegationKeysPreparer prepares the RevokeUserDelegationKeys request.
func (AccountsClient) RevokeUserDelegationKeysResponder ¶
func (client AccountsClient) RevokeUserDelegationKeysResponder(resp *http.Response) (result autorest.Response, err error)
RevokeUserDelegationKeysResponder handles the response to the RevokeUserDelegationKeys request. The method always closes the http.Response Body.
func (AccountsClient) RevokeUserDelegationKeysSender ¶
func (client AccountsClient) RevokeUserDelegationKeysSender(req *http.Request) (*http.Response, error)
RevokeUserDelegationKeysSender sends the RevokeUserDelegationKeys request. The method will close the http.Response Body if it receives an error.
func (AccountsClient) Update ¶
func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters AccountUpdateParameters) (result Account, err error)
Update 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. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the parameters to provide for the updated account.
func (AccountsClient) UpdatePreparer ¶
func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters AccountUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (AccountsClient) UpdateResponder ¶
func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (AccountsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AccountsCreateFuture ¶
type AccountsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (Account, error) }
AccountsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AccountsCreateFuture) UnmarshalJSON ¶
func (future *AccountsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AccountsFailoverFuture ¶
type AccountsFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (autorest.Response, error) }
AccountsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AccountsFailoverFuture) UnmarshalJSON ¶
func (future *AccountsFailoverFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AccountsHierarchicalNamespaceMigrationFuture ¶
type AccountsHierarchicalNamespaceMigrationFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (autorest.Response, error) }
AccountsHierarchicalNamespaceMigrationFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AccountsHierarchicalNamespaceMigrationFuture) UnmarshalJSON ¶
func (future *AccountsHierarchicalNamespaceMigrationFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type AccountsRestoreBlobRangesFuture ¶
type AccountsRestoreBlobRangesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (BlobRestoreStatus, error) }
AccountsRestoreBlobRangesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AccountsRestoreBlobRangesFuture) UnmarshalJSON ¶
func (future *AccountsRestoreBlobRangesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type Action ¶
type Action string
Action enumerates the values for action.
const ( // Allow ... Allow Action = "Allow" )
func PossibleActionValues ¶
func PossibleActionValues() []Action
PossibleActionValues returns an array of possible values for the Action const type.
type ActiveDirectoryProperties ¶
type ActiveDirectoryProperties struct { // DomainName - Specifies the primary domain that the AD DNS server is authoritative for. DomainName *string `json:"domainName,omitempty"` // NetBiosDomainName - Specifies the NetBIOS domain name. NetBiosDomainName *string `json:"netBiosDomainName,omitempty"` // ForestName - Specifies the Active Directory forest to get. ForestName *string `json:"forestName,omitempty"` // DomainGUID - Specifies the domain GUID. DomainGUID *string `json:"domainGuid,omitempty"` // DomainSid - Specifies the security identifier (SID). DomainSid *string `json:"domainSid,omitempty"` // AzureStorageSid - Specifies the security identifier (SID) for Azure Storage. AzureStorageSid *string `json:"azureStorageSid,omitempty"` // SamAccountName - Specifies the Active Directory SAMAccountName for Azure Storage. SamAccountName *string `json:"samAccountName,omitempty"` // AccountType - Specifies the Active Directory account type for Azure Storage. Possible values include: 'User', 'Computer' AccountType AccountType `json:"accountType,omitempty"` }
ActiveDirectoryProperties settings properties for Active Directory (AD).
type AllowedCopyScope ¶
type AllowedCopyScope string
AllowedCopyScope enumerates the values for allowed copy scope.
const ( // AAD ... AAD AllowedCopyScope = "AAD" // PrivateLink ... PrivateLink AllowedCopyScope = "PrivateLink" )
func PossibleAllowedCopyScopeValues ¶
func PossibleAllowedCopyScopeValues() []AllowedCopyScope
PossibleAllowedCopyScopeValues returns an array of possible values for the AllowedCopyScope const type.
type AllowedMethods ¶
type AllowedMethods string
AllowedMethods enumerates the values for allowed methods.
const ( // DELETE ... DELETE AllowedMethods = "DELETE" // GET ... GET AllowedMethods = "GET" // HEAD ... HEAD AllowedMethods = "HEAD" // MERGE ... MERGE AllowedMethods = "MERGE" // OPTIONS ... OPTIONS AllowedMethods = "OPTIONS" // PATCH ... PATCH AllowedMethods = "PATCH" // POST ... POST AllowedMethods = "POST" // PUT ... PUT AllowedMethods = "PUT" )
func PossibleAllowedMethodsValues ¶
func PossibleAllowedMethodsValues() []AllowedMethods
PossibleAllowedMethodsValues returns an array of possible values for the AllowedMethods const type.
type AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
func (AzureEntityResource) MarshalJSON ¶
func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureEntityResource.
type AzureFilesIdentityBasedAuthentication ¶
type AzureFilesIdentityBasedAuthentication struct { // DirectoryServiceOptions - Indicates the directory service used. Note that this enum may be extended in the future. Possible values include: 'DirectoryServiceOptionsNone', 'DirectoryServiceOptionsAADDS', 'DirectoryServiceOptionsAD', 'DirectoryServiceOptionsAADKERB' DirectoryServiceOptions DirectoryServiceOptions `json:"directoryServiceOptions,omitempty"` // ActiveDirectoryProperties - Required if directoryServiceOptions are AD, optional if they are AADKERB. ActiveDirectoryProperties *ActiveDirectoryProperties `json:"activeDirectoryProperties,omitempty"` DefaultSharePermission DefaultSharePermission `json:"defaultSharePermission,omitempty"` }
AzureFilesIdentityBasedAuthentication settings for Azure Files identity based authentication.
type BaseClient ¶
BaseClient is the base client for Storage.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BlobContainer ¶
type BlobContainer struct { autorest.Response `json:"-"` // ContainerProperties - Properties of the blob container. *ContainerProperties `json:"properties,omitempty"` // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
BlobContainer properties of the blob container, including Id, resource name, resource type, Etag.
func (BlobContainer) MarshalJSON ¶
func (bc BlobContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainer.
func (*BlobContainer) UnmarshalJSON ¶
func (bc *BlobContainer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobContainer struct.
type BlobContainersClient ¶
type BlobContainersClient struct {
BaseClient
}
BlobContainersClient is the the Azure Storage Management API.
func NewBlobContainersClient ¶
func NewBlobContainersClient(subscriptionID string) BlobContainersClient
NewBlobContainersClient creates an instance of the BlobContainersClient client.
func NewBlobContainersClientWithBaseURI ¶
func NewBlobContainersClientWithBaseURI(baseURI string, subscriptionID string) BlobContainersClient
NewBlobContainersClientWithBaseURI creates an instance of the BlobContainersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BlobContainersClient) ClearLegalHold ¶
func (client BlobContainersClient) ClearLegalHold(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold LegalHold) (result LegalHold, err error)
ClearLegalHold clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. legalHold - the LegalHold property that will be clear from a blob container.
func (BlobContainersClient) ClearLegalHoldPreparer ¶
func (client BlobContainersClient) ClearLegalHoldPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold LegalHold) (*http.Request, error)
ClearLegalHoldPreparer prepares the ClearLegalHold request.
func (BlobContainersClient) ClearLegalHoldResponder ¶
func (client BlobContainersClient) ClearLegalHoldResponder(resp *http.Response) (result LegalHold, err error)
ClearLegalHoldResponder handles the response to the ClearLegalHold request. The method always closes the http.Response Body.
func (BlobContainersClient) ClearLegalHoldSender ¶
ClearLegalHoldSender sends the ClearLegalHold request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) Create ¶
func (client BlobContainersClient) Create(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer BlobContainer) (result BlobContainer, err error)
Create creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. blobContainer - properties of the blob container to create.
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicy ¶
func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, containerName string, parameters *ImmutabilityPolicy, ifMatch string) (result ImmutabilityPolicy, err error)
CreateOrUpdateImmutabilityPolicy creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. parameters - the ImmutabilityPolicy Properties that will be created or updated to a blob container. ifMatch - the entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicyPreparer ¶
func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, parameters *ImmutabilityPolicy, ifMatch string) (*http.Request, error)
CreateOrUpdateImmutabilityPolicyPreparer prepares the CreateOrUpdateImmutabilityPolicy request.
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicyResponder ¶
func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
CreateOrUpdateImmutabilityPolicyResponder handles the response to the CreateOrUpdateImmutabilityPolicy request. The method always closes the http.Response Body.
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicySender ¶
func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicySender(req *http.Request) (*http.Response, error)
CreateOrUpdateImmutabilityPolicySender sends the CreateOrUpdateImmutabilityPolicy request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) CreatePreparer ¶
func (client BlobContainersClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer BlobContainer) (*http.Request, error)
CreatePreparer prepares the Create request.
func (BlobContainersClient) CreateResponder ¶
func (client BlobContainersClient) CreateResponder(resp *http.Response) (result BlobContainer, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (BlobContainersClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) Delete ¶
func (client BlobContainersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, containerName string) (result autorest.Response, err error)
Delete deletes specified container under its account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
func (BlobContainersClient) DeleteImmutabilityPolicy ¶
func (client BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (result ImmutabilityPolicy, err error)
DeleteImmutabilityPolicy aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. ifMatch - the entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
func (BlobContainersClient) DeleteImmutabilityPolicyPreparer ¶
func (client BlobContainersClient) DeleteImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (*http.Request, error)
DeleteImmutabilityPolicyPreparer prepares the DeleteImmutabilityPolicy request.
func (BlobContainersClient) DeleteImmutabilityPolicyResponder ¶
func (client BlobContainersClient) DeleteImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
DeleteImmutabilityPolicyResponder handles the response to the DeleteImmutabilityPolicy request. The method always closes the http.Response Body.
func (BlobContainersClient) DeleteImmutabilityPolicySender ¶
func (client BlobContainersClient) DeleteImmutabilityPolicySender(req *http.Request) (*http.Response, error)
DeleteImmutabilityPolicySender sends the DeleteImmutabilityPolicy request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) DeletePreparer ¶
func (client BlobContainersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BlobContainersClient) DeleteResponder ¶
func (client BlobContainersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BlobContainersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) ExtendImmutabilityPolicy ¶
func (client BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string, parameters *ImmutabilityPolicy) (result ImmutabilityPolicy, err error)
ExtendImmutabilityPolicy extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. ifMatch - the entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied. parameters - the ImmutabilityPolicy Properties that will be extended for a blob container.
func (BlobContainersClient) ExtendImmutabilityPolicyPreparer ¶
func (client BlobContainersClient) ExtendImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string, parameters *ImmutabilityPolicy) (*http.Request, error)
ExtendImmutabilityPolicyPreparer prepares the ExtendImmutabilityPolicy request.
func (BlobContainersClient) ExtendImmutabilityPolicyResponder ¶
func (client BlobContainersClient) ExtendImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
ExtendImmutabilityPolicyResponder handles the response to the ExtendImmutabilityPolicy request. The method always closes the http.Response Body.
func (BlobContainersClient) ExtendImmutabilityPolicySender ¶
func (client BlobContainersClient) ExtendImmutabilityPolicySender(req *http.Request) (*http.Response, error)
ExtendImmutabilityPolicySender sends the ExtendImmutabilityPolicy request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) Get ¶
func (client BlobContainersClient) Get(ctx context.Context, resourceGroupName string, accountName string, containerName string) (result BlobContainer, err error)
Get gets properties of a specified container. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
func (BlobContainersClient) GetImmutabilityPolicy ¶
func (client BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (result ImmutabilityPolicy, err error)
GetImmutabilityPolicy gets the existing immutability policy along with the corresponding ETag in response headers and body. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. ifMatch - the entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
func (BlobContainersClient) GetImmutabilityPolicyPreparer ¶
func (client BlobContainersClient) GetImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (*http.Request, error)
GetImmutabilityPolicyPreparer prepares the GetImmutabilityPolicy request.
func (BlobContainersClient) GetImmutabilityPolicyResponder ¶
func (client BlobContainersClient) GetImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
GetImmutabilityPolicyResponder handles the response to the GetImmutabilityPolicy request. The method always closes the http.Response Body.
func (BlobContainersClient) GetImmutabilityPolicySender ¶
func (client BlobContainersClient) GetImmutabilityPolicySender(req *http.Request) (*http.Response, error)
GetImmutabilityPolicySender sends the GetImmutabilityPolicy request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) GetPreparer ¶
func (client BlobContainersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BlobContainersClient) GetResponder ¶
func (client BlobContainersClient) GetResponder(resp *http.Response) (result BlobContainer, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BlobContainersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) Lease ¶
func (client BlobContainersClient) Lease(ctx context.Context, resourceGroupName string, accountName string, containerName string, parameters *LeaseContainerRequest) (result LeaseContainerResponse, err error)
Lease the Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. parameters - lease Container request body.
func (BlobContainersClient) LeasePreparer ¶
func (client BlobContainersClient) LeasePreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, parameters *LeaseContainerRequest) (*http.Request, error)
LeasePreparer prepares the Lease request.
func (BlobContainersClient) LeaseResponder ¶
func (client BlobContainersClient) LeaseResponder(resp *http.Response) (result LeaseContainerResponse, err error)
LeaseResponder handles the response to the Lease request. The method always closes the http.Response Body.
func (BlobContainersClient) LeaseSender ¶
LeaseSender sends the Lease request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) List ¶
func (client BlobContainersClient) List(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, include ListContainersInclude) (result ListContainerItemsPage, err error)
List lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. maxpagesize - optional. Specified maximum number of containers that can be included in the list. filter - optional. When specified, only container names starting with the filter will be listed. include - optional, used to include the properties for soft deleted blob containers.
func (BlobContainersClient) ListComplete ¶
func (client BlobContainersClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, include ListContainersInclude) (result ListContainerItemsIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (BlobContainersClient) ListPreparer ¶
func (client BlobContainersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, include ListContainersInclude) (*http.Request, error)
ListPreparer prepares the List request.
func (BlobContainersClient) ListResponder ¶
func (client BlobContainersClient) ListResponder(resp *http.Response) (result ListContainerItems, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BlobContainersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) LockImmutabilityPolicy ¶
func (client BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (result ImmutabilityPolicy, err error)
LockImmutabilityPolicy sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. ifMatch - the entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
func (BlobContainersClient) LockImmutabilityPolicyPreparer ¶
func (client BlobContainersClient) LockImmutabilityPolicyPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string) (*http.Request, error)
LockImmutabilityPolicyPreparer prepares the LockImmutabilityPolicy request.
func (BlobContainersClient) LockImmutabilityPolicyResponder ¶
func (client BlobContainersClient) LockImmutabilityPolicyResponder(resp *http.Response) (result ImmutabilityPolicy, err error)
LockImmutabilityPolicyResponder handles the response to the LockImmutabilityPolicy request. The method always closes the http.Response Body.
func (BlobContainersClient) LockImmutabilityPolicySender ¶
func (client BlobContainersClient) LockImmutabilityPolicySender(req *http.Request) (*http.Response, error)
LockImmutabilityPolicySender sends the LockImmutabilityPolicy request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) ObjectLevelWorm ¶
func (client BlobContainersClient) ObjectLevelWorm(ctx context.Context, resourceGroupName string, accountName string, containerName string) (result BlobContainersObjectLevelWormFuture, err error)
ObjectLevelWorm this operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
func (BlobContainersClient) ObjectLevelWormPreparer ¶
func (client BlobContainersClient) ObjectLevelWormPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string) (*http.Request, error)
ObjectLevelWormPreparer prepares the ObjectLevelWorm request.
func (BlobContainersClient) ObjectLevelWormResponder ¶
func (client BlobContainersClient) ObjectLevelWormResponder(resp *http.Response) (result autorest.Response, err error)
ObjectLevelWormResponder handles the response to the ObjectLevelWorm request. The method always closes the http.Response Body.
func (BlobContainersClient) ObjectLevelWormSender ¶
func (client BlobContainersClient) ObjectLevelWormSender(req *http.Request) (future BlobContainersObjectLevelWormFuture, err error)
ObjectLevelWormSender sends the ObjectLevelWorm request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) SetLegalHold ¶
func (client BlobContainersClient) SetLegalHold(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold LegalHold) (result LegalHold, err error)
SetLegalHold sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. legalHold - the LegalHold property that will be set to a blob container.
func (BlobContainersClient) SetLegalHoldPreparer ¶
func (client BlobContainersClient) SetLegalHoldPreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold LegalHold) (*http.Request, error)
SetLegalHoldPreparer prepares the SetLegalHold request.
func (BlobContainersClient) SetLegalHoldResponder ¶
func (client BlobContainersClient) SetLegalHoldResponder(resp *http.Response) (result LegalHold, err error)
SetLegalHoldResponder handles the response to the SetLegalHold request. The method always closes the http.Response Body.
func (BlobContainersClient) SetLegalHoldSender ¶
SetLegalHoldSender sends the SetLegalHold request. The method will close the http.Response Body if it receives an error.
func (BlobContainersClient) Update ¶
func (client BlobContainersClient) Update(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer BlobContainer) (result BlobContainer, err error)
Update updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. containerName - the name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. blobContainer - properties to update for the blob container.
func (BlobContainersClient) UpdatePreparer ¶
func (client BlobContainersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer BlobContainer) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BlobContainersClient) UpdateResponder ¶
func (client BlobContainersClient) UpdateResponder(resp *http.Response) (result BlobContainer, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BlobContainersClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BlobContainersObjectLevelWormFuture ¶
type BlobContainersObjectLevelWormFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(BlobContainersClient) (autorest.Response, error) }
BlobContainersObjectLevelWormFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BlobContainersObjectLevelWormFuture) UnmarshalJSON ¶
func (future *BlobContainersObjectLevelWormFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BlobInventoryPoliciesClient ¶
type BlobInventoryPoliciesClient struct {
BaseClient
}
BlobInventoryPoliciesClient is the the Azure Storage Management API.
func NewBlobInventoryPoliciesClient ¶
func NewBlobInventoryPoliciesClient(subscriptionID string) BlobInventoryPoliciesClient
NewBlobInventoryPoliciesClient creates an instance of the BlobInventoryPoliciesClient client.
func NewBlobInventoryPoliciesClientWithBaseURI ¶
func NewBlobInventoryPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BlobInventoryPoliciesClient
NewBlobInventoryPoliciesClientWithBaseURI creates an instance of the BlobInventoryPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BlobInventoryPoliciesClient) CreateOrUpdate ¶
func (client BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, properties BlobInventoryPolicy) (result BlobInventoryPolicy, err error)
CreateOrUpdate sets the blob inventory policy to the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. properties - the blob inventory policy set to a storage account.
func (BlobInventoryPoliciesClient) CreateOrUpdatePreparer ¶
func (client BlobInventoryPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, properties BlobInventoryPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BlobInventoryPoliciesClient) CreateOrUpdateResponder ¶
func (client BlobInventoryPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BlobInventoryPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BlobInventoryPoliciesClient) CreateOrUpdateSender ¶
func (client BlobInventoryPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (BlobInventoryPoliciesClient) Delete ¶
func (client BlobInventoryPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
Delete deletes the blob inventory policy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (BlobInventoryPoliciesClient) DeletePreparer ¶
func (client BlobInventoryPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BlobInventoryPoliciesClient) DeleteResponder ¶
func (client BlobInventoryPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BlobInventoryPoliciesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BlobInventoryPoliciesClient) Get ¶
func (client BlobInventoryPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result BlobInventoryPolicy, err error)
Get gets the blob inventory policy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (BlobInventoryPoliciesClient) GetPreparer ¶
func (client BlobInventoryPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BlobInventoryPoliciesClient) GetResponder ¶
func (client BlobInventoryPoliciesClient) GetResponder(resp *http.Response) (result BlobInventoryPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BlobInventoryPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BlobInventoryPoliciesClient) List ¶
func (client BlobInventoryPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListBlobInventoryPolicy, err error)
List gets the blob inventory policy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (BlobInventoryPoliciesClient) ListPreparer ¶
func (client BlobInventoryPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (BlobInventoryPoliciesClient) ListResponder ¶
func (client BlobInventoryPoliciesClient) ListResponder(resp *http.Response) (result ListBlobInventoryPolicy, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BlobInventoryPoliciesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BlobInventoryPolicy ¶
type BlobInventoryPolicy struct { autorest.Response `json:"-"` // BlobInventoryPolicyProperties - Returns the storage account blob inventory policy rules. *BlobInventoryPolicyProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
BlobInventoryPolicy the storage account blob inventory policy.
func (BlobInventoryPolicy) MarshalJSON ¶
func (bip BlobInventoryPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobInventoryPolicy.
func (*BlobInventoryPolicy) UnmarshalJSON ¶
func (bip *BlobInventoryPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobInventoryPolicy struct.
type BlobInventoryPolicyDefinition ¶
type BlobInventoryPolicyDefinition struct { // Filters - An object that defines the filter set. Filters *BlobInventoryPolicyFilter `json:"filters,omitempty"` // Format - This is a required field, it specifies the format for the inventory files. Possible values include: 'Csv', 'Parquet' Format Format `json:"format,omitempty"` // Schedule - This is a required field. This field is used to schedule an inventory formation. Possible values include: 'Daily', 'Weekly' Schedule Schedule `json:"schedule,omitempty"` // ObjectType - This is a required field. This field specifies the scope of the inventory created either at the blob or container level. Possible values include: 'Blob', 'Container' ObjectType ObjectType `json:"objectType,omitempty"` // SchemaFields - This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts. SchemaFields *[]string `json:"schemaFields,omitempty"` }
BlobInventoryPolicyDefinition an object that defines the blob inventory rule.
type BlobInventoryPolicyFilter ¶
type BlobInventoryPolicyFilter struct { // PrefixMatch - An array of strings with maximum 10 blob prefixes to be included in the inventory. PrefixMatch *[]string `json:"prefixMatch,omitempty"` // ExcludePrefix - An array of strings with maximum 10 blob prefixes to be excluded from the inventory. ExcludePrefix *[]string `json:"excludePrefix,omitempty"` // BlobTypes - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'. BlobTypes *[]string `json:"blobTypes,omitempty"` // IncludeBlobVersions - Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded. IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty"` // IncludeSnapshots - Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded. IncludeSnapshots *bool `json:"includeSnapshots,omitempty"` // IncludeDeleted - For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. IncludeDeleted *bool `json:"includeDeleted,omitempty"` }
BlobInventoryPolicyFilter an object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional.
type BlobInventoryPolicyProperties ¶
type BlobInventoryPolicyProperties struct { // LastModifiedTime - READ-ONLY; Returns the last modified date and time of the blob inventory policy. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Policy - The storage account blob inventory policy object. It is composed of policy rules. Policy *BlobInventoryPolicySchema `json:"policy,omitempty"` }
BlobInventoryPolicyProperties the storage account blob inventory policy properties.
func (BlobInventoryPolicyProperties) MarshalJSON ¶
func (bipp BlobInventoryPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobInventoryPolicyProperties.
type BlobInventoryPolicyRule ¶
type BlobInventoryPolicyRule struct { // Enabled - Rule is enabled when set to true. Enabled *bool `json:"enabled,omitempty"` // Name - A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. Name *string `json:"name,omitempty"` // Destination - Container name where blob inventory files are stored. Must be pre-created. Destination *string `json:"destination,omitempty"` // Definition - An object that defines the blob inventory policy rule. Definition *BlobInventoryPolicyDefinition `json:"definition,omitempty"` }
BlobInventoryPolicyRule an object that wraps the blob inventory rule. Each rule is uniquely defined by name.
type BlobInventoryPolicySchema ¶
type BlobInventoryPolicySchema struct { // Enabled - Policy is enabled if set to true. Enabled *bool `json:"enabled,omitempty"` // Destination - READ-ONLY; Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination' Destination *string `json:"destination,omitempty"` // Type - The valid value is Inventory Type *string `json:"type,omitempty"` // Rules - The storage account blob inventory policy rules. The rule is applied when it is enabled. Rules *[]BlobInventoryPolicyRule `json:"rules,omitempty"` }
BlobInventoryPolicySchema the storage account blob inventory policy rules.
func (BlobInventoryPolicySchema) MarshalJSON ¶
func (bips BlobInventoryPolicySchema) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobInventoryPolicySchema.
type BlobRestoreParameters ¶
type BlobRestoreParameters struct { // TimeToRestore - Restore blob to the specified time. TimeToRestore *date.Time `json:"timeToRestore,omitempty"` // BlobRanges - Blob ranges to restore. BlobRanges *[]BlobRestoreRange `json:"blobRanges,omitempty"` }
BlobRestoreParameters blob restore parameters
type BlobRestoreProgressStatus ¶
type BlobRestoreProgressStatus string
BlobRestoreProgressStatus enumerates the values for blob restore progress status.
const ( // Complete ... Complete BlobRestoreProgressStatus = "Complete" // Failed ... Failed BlobRestoreProgressStatus = "Failed" // InProgress ... InProgress BlobRestoreProgressStatus = "InProgress" )
func PossibleBlobRestoreProgressStatusValues ¶
func PossibleBlobRestoreProgressStatusValues() []BlobRestoreProgressStatus
PossibleBlobRestoreProgressStatusValues returns an array of possible values for the BlobRestoreProgressStatus const type.
type BlobRestoreRange ¶
type BlobRestoreRange struct { // StartRange - Blob start range. This is inclusive. Empty means account start. StartRange *string `json:"startRange,omitempty"` // EndRange - Blob end range. This is exclusive. Empty means account end. EndRange *string `json:"endRange,omitempty"` }
BlobRestoreRange blob range
type BlobRestoreStatus ¶
type BlobRestoreStatus struct { autorest.Response `json:"-"` // Status - READ-ONLY; The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. Possible values include: 'InProgress', 'Complete', 'Failed' Status BlobRestoreProgressStatus `json:"status,omitempty"` // FailureReason - READ-ONLY; Failure reason when blob restore is failed. FailureReason *string `json:"failureReason,omitempty"` // RestoreID - READ-ONLY; Id for tracking blob restore request. RestoreID *string `json:"restoreId,omitempty"` // Parameters - READ-ONLY; Blob restore request parameters. Parameters *BlobRestoreParameters `json:"parameters,omitempty"` }
BlobRestoreStatus blob restore status.
func (BlobRestoreStatus) MarshalJSON ¶
func (brs BlobRestoreStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobRestoreStatus.
type BlobServiceItems ¶
type BlobServiceItems struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of blob services returned. Value *[]BlobServiceProperties `json:"value,omitempty"` }
BlobServiceItems ...
func (BlobServiceItems) MarshalJSON ¶
func (bsi BlobServiceItems) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobServiceItems.
type BlobServiceProperties ¶
type BlobServiceProperties struct { autorest.Response `json:"-"` // BlobServicePropertiesProperties - The properties of a storage account’s Blob service. *BlobServicePropertiesProperties `json:"properties,omitempty"` // Sku - READ-ONLY; Sku name and tier. Sku *Sku `json:"sku,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
BlobServiceProperties the properties of a storage account’s Blob service.
func (BlobServiceProperties) MarshalJSON ¶
func (bsp BlobServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobServiceProperties.
func (*BlobServiceProperties) UnmarshalJSON ¶
func (bsp *BlobServiceProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobServiceProperties struct.
type BlobServicePropertiesProperties ¶
type BlobServicePropertiesProperties struct { // Cors - Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. Cors *CorsRules `json:"cors,omitempty"` // DefaultServiceVersion - DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions. DefaultServiceVersion *string `json:"defaultServiceVersion,omitempty"` // DeleteRetentionPolicy - The blob service properties for blob soft delete. DeleteRetentionPolicy *DeleteRetentionPolicy `json:"deleteRetentionPolicy,omitempty"` // IsVersioningEnabled - Versioning is enabled if set to true. IsVersioningEnabled *bool `json:"isVersioningEnabled,omitempty"` // AutomaticSnapshotPolicyEnabled - Deprecated in favor of isVersioningEnabled property. AutomaticSnapshotPolicyEnabled *bool `json:"automaticSnapshotPolicyEnabled,omitempty"` // ChangeFeed - The blob service properties for change feed events. ChangeFeed *ChangeFeed `json:"changeFeed,omitempty"` // RestorePolicy - The blob service properties for blob restore policy. RestorePolicy *RestorePolicyProperties `json:"restorePolicy,omitempty"` // ContainerDeleteRetentionPolicy - The blob service properties for container soft delete. ContainerDeleteRetentionPolicy *DeleteRetentionPolicy `json:"containerDeleteRetentionPolicy,omitempty"` // LastAccessTimeTrackingPolicy - The blob service property to configure last access time based tracking policy. LastAccessTimeTrackingPolicy *LastAccessTimeTrackingPolicy `json:"lastAccessTimeTrackingPolicy,omitempty"` }
BlobServicePropertiesProperties the properties of a storage account’s Blob service.
type BlobServicesClient ¶
type BlobServicesClient struct {
BaseClient
}
BlobServicesClient is the the Azure Storage Management API.
func NewBlobServicesClient ¶
func NewBlobServicesClient(subscriptionID string) BlobServicesClient
NewBlobServicesClient creates an instance of the BlobServicesClient client.
func NewBlobServicesClientWithBaseURI ¶
func NewBlobServicesClientWithBaseURI(baseURI string, subscriptionID string) BlobServicesClient
NewBlobServicesClientWithBaseURI creates an instance of the BlobServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BlobServicesClient) GetServiceProperties ¶
func (client BlobServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result BlobServiceProperties, err error)
GetServiceProperties gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (BlobServicesClient) GetServicePropertiesPreparer ¶
func (client BlobServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetServicePropertiesPreparer prepares the GetServiceProperties request.
func (BlobServicesClient) GetServicePropertiesResponder ¶
func (client BlobServicesClient) GetServicePropertiesResponder(resp *http.Response) (result BlobServiceProperties, err error)
GetServicePropertiesResponder handles the response to the GetServiceProperties request. The method always closes the http.Response Body.
func (BlobServicesClient) GetServicePropertiesSender ¶
func (client BlobServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
GetServicePropertiesSender sends the GetServiceProperties request. The method will close the http.Response Body if it receives an error.
func (BlobServicesClient) List ¶
func (client BlobServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BlobServiceItems, err error)
List list blob services of storage account. It returns a collection of one object named default. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (BlobServicesClient) ListPreparer ¶
func (client BlobServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (BlobServicesClient) ListResponder ¶
func (client BlobServicesClient) ListResponder(resp *http.Response) (result BlobServiceItems, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BlobServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (BlobServicesClient) SetServiceProperties ¶
func (client BlobServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, parameters BlobServiceProperties) (result BlobServiceProperties, err error)
SetServiceProperties sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
func (BlobServicesClient) SetServicePropertiesPreparer ¶
func (client BlobServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters BlobServiceProperties) (*http.Request, error)
SetServicePropertiesPreparer prepares the SetServiceProperties request.
func (BlobServicesClient) SetServicePropertiesResponder ¶
func (client BlobServicesClient) SetServicePropertiesResponder(resp *http.Response) (result BlobServiceProperties, err error)
SetServicePropertiesResponder handles the response to the SetServiceProperties request. The method always closes the http.Response Body.
func (BlobServicesClient) SetServicePropertiesSender ¶
func (client BlobServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
SetServicePropertiesSender sends the SetServiceProperties request. The method will close the http.Response Body if it receives an error.
type Bypass ¶
type Bypass string
Bypass enumerates the values for bypass.
func PossibleBypassValues ¶
func PossibleBypassValues() []Bypass
PossibleBypassValues returns an array of possible values for the Bypass const type.
type ChangeFeed ¶
type ChangeFeed struct { // Enabled - Indicates whether change feed event logging is enabled for the Blob service. Enabled *bool `json:"enabled,omitempty"` // RetentionInDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed. RetentionInDays *int32 `json:"retentionInDays,omitempty"` }
ChangeFeed the blob service properties for change feed events.
type CheckNameAvailabilityResult ¶
type CheckNameAvailabilityResult struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - READ-ONLY; Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists' Reason Reason `json:"reason,omitempty"` // Message - READ-ONLY; Gets an error message explaining the Reason value in more detail. Message *string `json:"message,omitempty"` }
CheckNameAvailabilityResult the CheckNameAvailability operation response.
func (CheckNameAvailabilityResult) MarshalJSON ¶
func (cnar CheckNameAvailabilityResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CheckNameAvailabilityResult.
type CloudError ¶
type CloudError struct {
Error *CloudErrorBody `json:"error,omitempty"`
}
CloudError an error response from the Storage service.
type CloudErrorBody ¶
type CloudErrorBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // Target - The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` // Details - A list of additional details about the error. Details *[]CloudErrorBody `json:"details,omitempty"` }
CloudErrorBody an error response from the Storage service.
type ContainerProperties ¶
type ContainerProperties struct { // Version - READ-ONLY; The version of the deleted blob container. Version *string `json:"version,omitempty"` // Deleted - READ-ONLY; Indicates whether the blob container was deleted. Deleted *bool `json:"deleted,omitempty"` // DeletedTime - READ-ONLY; Blob container deletion time. DeletedTime *date.Time `json:"deletedTime,omitempty"` // RemainingRetentionDays - READ-ONLY; Remaining retention days for soft deleted blob container. RemainingRetentionDays *int32 `json:"remainingRetentionDays,omitempty"` // DefaultEncryptionScope - Default the container to use specified encryption scope for all writes. DefaultEncryptionScope *string `json:"defaultEncryptionScope,omitempty"` // DenyEncryptionScopeOverride - Block override of encryption scope from the container default. DenyEncryptionScopeOverride *bool `json:"denyEncryptionScopeOverride,omitempty"` // PublicAccess - Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'PublicAccessContainer', 'PublicAccessBlob', 'PublicAccessNone' PublicAccess PublicAccess `json:"publicAccess,omitempty"` // LastModifiedTime - READ-ONLY; Returns the date and time the container was last modified. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // LeaseStatus - READ-ONLY; The lease status of the container. Possible values include: 'LeaseStatusLocked', 'LeaseStatusUnlocked' LeaseStatus LeaseStatus `json:"leaseStatus,omitempty"` // LeaseState - READ-ONLY; Lease state of the container. Possible values include: 'LeaseStateAvailable', 'LeaseStateLeased', 'LeaseStateExpired', 'LeaseStateBreaking', 'LeaseStateBroken' LeaseState LeaseState `json:"leaseState,omitempty"` // LeaseDuration - READ-ONLY; Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed' LeaseDuration LeaseDuration `json:"leaseDuration,omitempty"` // Metadata - A name-value pair to associate with the container as metadata. Metadata map[string]*string `json:"metadata"` // ImmutabilityPolicy - READ-ONLY; The ImmutabilityPolicy property of the container. ImmutabilityPolicy *ImmutabilityPolicyProperties `json:"immutabilityPolicy,omitempty"` // LegalHold - READ-ONLY; The LegalHold property of the container. LegalHold *LegalHoldProperties `json:"legalHold,omitempty"` // HasLegalHold - READ-ONLY; The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. HasLegalHold *bool `json:"hasLegalHold,omitempty"` // HasImmutabilityPolicy - READ-ONLY; The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container. HasImmutabilityPolicy *bool `json:"hasImmutabilityPolicy,omitempty"` // ImmutableStorageWithVersioning - The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process. ImmutableStorageWithVersioning *ImmutableStorageWithVersioning `json:"immutableStorageWithVersioning,omitempty"` // EnableNfsV3RootSquash - Enable NFSv3 root squash on blob container. EnableNfsV3RootSquash *bool `json:"enableNfsV3RootSquash,omitempty"` // EnableNfsV3AllSquash - Enable NFSv3 all squash on blob container. EnableNfsV3AllSquash *bool `json:"enableNfsV3AllSquash,omitempty"` }
ContainerProperties the properties of a container.
func (ContainerProperties) MarshalJSON ¶
func (cp ContainerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerProperties.
type CorsRule ¶
type CorsRule struct { // AllowedOrigins - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains AllowedOrigins *[]string `json:"allowedOrigins,omitempty"` // AllowedMethods - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. AllowedMethods *[]AllowedMethods `json:"allowedMethods,omitempty"` // MaxAgeInSeconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. MaxAgeInSeconds *int32 `json:"maxAgeInSeconds,omitempty"` // ExposedHeaders - Required if CorsRule element is present. A list of response headers to expose to CORS clients. ExposedHeaders *[]string `json:"exposedHeaders,omitempty"` // AllowedHeaders - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request. AllowedHeaders *[]string `json:"allowedHeaders,omitempty"` }
CorsRule specifies a CORS rule for the Blob service.
type CorsRules ¶
type CorsRules struct { // CorsRules - The List of CORS rules. You can include up to five CorsRule elements in the request. CorsRules *[]CorsRule `json:"corsRules,omitempty"` }
CorsRules sets the CORS rules. You can include up to five CorsRule elements in the request.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type CustomDomain ¶
type CustomDomain struct { // Name - Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. Name *string `json:"name,omitempty"` // UseSubDomainName - Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. UseSubDomainName *bool `json:"useSubDomainName,omitempty"` }
CustomDomain the custom domain assigned to this storage account. This can be set via Update.
type DNSEndpointType ¶
type DNSEndpointType string
DNSEndpointType enumerates the values for dns endpoint type.
const ( // AzureDNSZone ... AzureDNSZone DNSEndpointType = "AzureDnsZone" // Standard ... Standard DNSEndpointType = "Standard" )
func PossibleDNSEndpointTypeValues ¶
func PossibleDNSEndpointTypeValues() []DNSEndpointType
PossibleDNSEndpointTypeValues returns an array of possible values for the DNSEndpointType const type.
type DateAfterCreation ¶
type DateAfterCreation struct { // DaysAfterCreationGreaterThan - Value indicating the age in days after creation DaysAfterCreationGreaterThan *float64 `json:"daysAfterCreationGreaterThan,omitempty"` // DaysAfterLastTierChangeGreaterThan - Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied. DaysAfterLastTierChangeGreaterThan *float64 `json:"daysAfterLastTierChangeGreaterThan,omitempty"` }
DateAfterCreation object to define snapshot and version action conditions.
type DateAfterModification ¶
type DateAfterModification struct { // DaysAfterModificationGreaterThan - Value indicating the age in days after last modification DaysAfterModificationGreaterThan *float64 `json:"daysAfterModificationGreaterThan,omitempty"` // DaysAfterLastAccessTimeGreaterThan - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy DaysAfterLastAccessTimeGreaterThan *float64 `json:"daysAfterLastAccessTimeGreaterThan,omitempty"` // DaysAfterLastTierChangeGreaterThan - Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied. DaysAfterLastTierChangeGreaterThan *float64 `json:"daysAfterLastTierChangeGreaterThan,omitempty"` // DaysAfterCreationGreaterThan - Value indicating the age in days after blob creation. DaysAfterCreationGreaterThan *float64 `json:"daysAfterCreationGreaterThan,omitempty"` }
DateAfterModification object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan.
type DefaultAction ¶
type DefaultAction string
DefaultAction enumerates the values for default action.
const ( // DefaultActionAllow ... DefaultActionAllow DefaultAction = "Allow" // DefaultActionDeny ... DefaultActionDeny DefaultAction = "Deny" )
func PossibleDefaultActionValues ¶
func PossibleDefaultActionValues() []DefaultAction
PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.
type DefaultSharePermission ¶
type DefaultSharePermission string
DefaultSharePermission enumerates the values for default share permission.
const ( DefaultSharePermission = "None" DefaultSharePermissionStorageFileDataSmbShareContributor DefaultSharePermission = "StorageFileDataSmbShareContributor" DefaultSharePermissionStorageFileDataSmbShareElevatedContributor DefaultSharePermission = "StorageFileDataSmbShareElevatedContributor" DefaultSharePermissionStorageFileDataSmbShareReader DefaultSharePermission = "StorageFileDataSmbShareReader" )DefaultSharePermissionNone
func PossibleDefaultSharePermissionValues ¶
func PossibleDefaultSharePermissionValues() []DefaultSharePermission
PossibleDefaultSharePermissionValues returns an array of possible values for the DefaultSharePermission const type.
type DeleteRetentionPolicy ¶
type DeleteRetentionPolicy struct { // Enabled - Indicates whether DeleteRetentionPolicy is enabled. Enabled *bool `json:"enabled,omitempty"` // Days - Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365. Days *int32 `json:"days,omitempty"` // AllowPermanentDelete - This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share. AllowPermanentDelete *bool `json:"allowPermanentDelete,omitempty"` }
DeleteRetentionPolicy the service properties for soft delete.
type DeletedAccount ¶
type DeletedAccount struct { autorest.Response `json:"-"` // DeletedAccountProperties - Properties of the deleted account. *DeletedAccountProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
DeletedAccount deleted storage account
func (DeletedAccount) MarshalJSON ¶
func (da DeletedAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedAccount.
func (*DeletedAccount) UnmarshalJSON ¶
func (da *DeletedAccount) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DeletedAccount struct.
type DeletedAccountListResult ¶
type DeletedAccountListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Gets the list of deleted accounts and their properties. Value *[]DeletedAccount `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to query next page of deleted accounts. Returned when total number of requested deleted accounts exceed maximum page size. NextLink *string `json:"nextLink,omitempty"` }
DeletedAccountListResult the response from the List Deleted Accounts operation.
func (DeletedAccountListResult) IsEmpty ¶
func (dalr DeletedAccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DeletedAccountListResult) MarshalJSON ¶
func (dalr DeletedAccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedAccountListResult.
type DeletedAccountListResultIterator ¶
type DeletedAccountListResultIterator struct {
// contains filtered or unexported fields
}
DeletedAccountListResultIterator provides access to a complete listing of DeletedAccount values.
func NewDeletedAccountListResultIterator ¶
func NewDeletedAccountListResultIterator(page DeletedAccountListResultPage) DeletedAccountListResultIterator
Creates a new instance of the DeletedAccountListResultIterator type.
func (*DeletedAccountListResultIterator) Next ¶
func (iter *DeletedAccountListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DeletedAccountListResultIterator) NextWithContext ¶
func (iter *DeletedAccountListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DeletedAccountListResultIterator) NotDone ¶
func (iter DeletedAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DeletedAccountListResultIterator) Response ¶
func (iter DeletedAccountListResultIterator) Response() DeletedAccountListResult
Response returns the raw server response from the last page request.
func (DeletedAccountListResultIterator) Value ¶
func (iter DeletedAccountListResultIterator) Value() DeletedAccount
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DeletedAccountListResultPage ¶
type DeletedAccountListResultPage struct {
// contains filtered or unexported fields
}
DeletedAccountListResultPage contains a page of DeletedAccount values.
func NewDeletedAccountListResultPage ¶
func NewDeletedAccountListResultPage(cur DeletedAccountListResult, getNextPage func(context.Context, DeletedAccountListResult) (DeletedAccountListResult, error)) DeletedAccountListResultPage
Creates a new instance of the DeletedAccountListResultPage type.
func (*DeletedAccountListResultPage) Next ¶
func (page *DeletedAccountListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DeletedAccountListResultPage) NextWithContext ¶
func (page *DeletedAccountListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DeletedAccountListResultPage) NotDone ¶
func (page DeletedAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DeletedAccountListResultPage) Response ¶
func (page DeletedAccountListResultPage) Response() DeletedAccountListResult
Response returns the raw server response from the last page request.
func (DeletedAccountListResultPage) Values ¶
func (page DeletedAccountListResultPage) Values() []DeletedAccount
Values returns the slice of values for the current page or nil if there are no values.
type DeletedAccountProperties ¶
type DeletedAccountProperties struct { // StorageAccountResourceID - READ-ONLY; Full resource id of the original storage account. StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"` // Location - READ-ONLY; Location of the deleted account. Location *string `json:"location,omitempty"` // RestoreReference - READ-ONLY; Can be used to attempt recovering this deleted account via PutStorageAccount API. RestoreReference *string `json:"restoreReference,omitempty"` // CreationTime - READ-ONLY; Creation time of the deleted account. CreationTime *string `json:"creationTime,omitempty"` // DeletionTime - READ-ONLY; Deletion time of the deleted account. DeletionTime *string `json:"deletionTime,omitempty"` }
DeletedAccountProperties attributes of a deleted storage account.
func (DeletedAccountProperties) MarshalJSON ¶
func (dap DeletedAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeletedAccountProperties.
type DeletedAccountsClient ¶
type DeletedAccountsClient struct {
BaseClient
}
DeletedAccountsClient is the the Azure Storage Management API.
func NewDeletedAccountsClient ¶
func NewDeletedAccountsClient(subscriptionID string) DeletedAccountsClient
NewDeletedAccountsClient creates an instance of the DeletedAccountsClient client.
func NewDeletedAccountsClientWithBaseURI ¶
func NewDeletedAccountsClientWithBaseURI(baseURI string, subscriptionID string) DeletedAccountsClient
NewDeletedAccountsClientWithBaseURI creates an instance of the DeletedAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DeletedAccountsClient) Get ¶
func (client DeletedAccountsClient) Get(ctx context.Context, deletedAccountName string, location string) (result DeletedAccount, err error)
Get get properties of specified deleted account resource. Parameters: deletedAccountName - name of the deleted storage account. location - the location of the deleted storage account.
func (DeletedAccountsClient) GetPreparer ¶
func (client DeletedAccountsClient) GetPreparer(ctx context.Context, deletedAccountName string, location string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeletedAccountsClient) GetResponder ¶
func (client DeletedAccountsClient) GetResponder(resp *http.Response) (result DeletedAccount, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DeletedAccountsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeletedAccountsClient) List ¶
func (client DeletedAccountsClient) List(ctx context.Context) (result DeletedAccountListResultPage, err error)
List lists deleted accounts under the subscription.
func (DeletedAccountsClient) ListComplete ¶
func (client DeletedAccountsClient) ListComplete(ctx context.Context) (result DeletedAccountListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DeletedAccountsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (DeletedAccountsClient) ListResponder ¶
func (client DeletedAccountsClient) ListResponder(resp *http.Response) (result DeletedAccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DeletedAccountsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type DeletedShare ¶
type DeletedShare struct { string `json:"deletedShareName,omitempty"` DeletedShareVersion *string `json:"deletedShareVersion,omitempty"` }DeletedShareName *
DeletedShare the deleted share to be restored.
type Dimension ¶
type Dimension struct { // Name - Display name of dimension. Name *string `json:"name,omitempty"` // DisplayName - Display name of dimension. DisplayName *string `json:"displayName,omitempty"` }
Dimension dimension of blobs, possibly be blob type or access tier.
type DirectoryServiceOptions ¶
type DirectoryServiceOptions string
DirectoryServiceOptions enumerates the values for directory service options.
const ( // DirectoryServiceOptionsAADDS ... DirectoryServiceOptionsAADDS DirectoryServiceOptions = "AADDS" // DirectoryServiceOptionsAADKERB ... DirectoryServiceOptionsAADKERB DirectoryServiceOptions = "AADKERB" // DirectoryServiceOptionsAD ... DirectoryServiceOptionsAD DirectoryServiceOptions = "AD" // DirectoryServiceOptionsNone ... DirectoryServiceOptionsNone DirectoryServiceOptions = "None" )
func PossibleDirectoryServiceOptionsValues ¶
func PossibleDirectoryServiceOptionsValues() []DirectoryServiceOptions
PossibleDirectoryServiceOptionsValues returns an array of possible values for the DirectoryServiceOptions const type.
type EnabledProtocols ¶
type EnabledProtocols string
EnabledProtocols enumerates the values for enabled protocols.
const ( // NFS ... NFS EnabledProtocols = "NFS" // SMB ... SMB EnabledProtocols = "SMB" )
func PossibleEnabledProtocolsValues ¶
func PossibleEnabledProtocolsValues() []EnabledProtocols
PossibleEnabledProtocolsValues returns an array of possible values for the EnabledProtocols const type.
type Encryption ¶
type Encryption struct { // Services - List of services which support encryption. Services *EncryptionServices `json:"services,omitempty"` // KeySource - The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'KeySourceMicrosoftStorage', 'KeySourceMicrosoftKeyvault' KeySource KeySource `json:"keySource,omitempty"` // RequireInfrastructureEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` // KeyVaultProperties - Properties provided by key vault. KeyVaultProperties *KeyVaultProperties `json:"keyvaultproperties,omitempty"` // EncryptionIdentity - The identity to be used with service-side encryption at rest. EncryptionIdentity *EncryptionIdentity `json:"identity,omitempty"` }
Encryption the encryption settings on the storage account.
type EncryptionIdentity ¶
type EncryptionIdentity struct { // EncryptionUserAssignedIdentity - Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. EncryptionUserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` // EncryptionFederatedIdentityClientID - ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account. EncryptionFederatedIdentityClientID *string `json:"federatedIdentityClientId,omitempty"` }
EncryptionIdentity encryption identity for the storage account.
type EncryptionScope ¶
type EncryptionScope struct { autorest.Response `json:"-"` // EncryptionScopeProperties - Properties of the encryption scope. *EncryptionScopeProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
EncryptionScope the Encryption Scope resource.
func (EncryptionScope) MarshalJSON ¶
func (es EncryptionScope) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionScope.
func (*EncryptionScope) UnmarshalJSON ¶
func (es *EncryptionScope) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for EncryptionScope struct.
type EncryptionScopeKeyVaultProperties ¶
type EncryptionScopeKeyVaultProperties struct { // KeyURI - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. KeyURI *string `json:"keyUri,omitempty"` // CurrentVersionedKeyIdentifier - READ-ONLY; The object identifier of the current versioned Key Vault Key in use. CurrentVersionedKeyIdentifier *string `json:"currentVersionedKeyIdentifier,omitempty"` // LastKeyRotationTimestamp - READ-ONLY; Timestamp of last rotation of the Key Vault Key. LastKeyRotationTimestamp *date.Time `json:"lastKeyRotationTimestamp,omitempty"` }
EncryptionScopeKeyVaultProperties the key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
func (EncryptionScopeKeyVaultProperties) MarshalJSON ¶
func (eskvp EncryptionScopeKeyVaultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionScopeKeyVaultProperties.
type EncryptionScopeListResult ¶
type EncryptionScopeListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of encryption scopes requested. Value *[]EncryptionScope `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size. NextLink *string `json:"nextLink,omitempty"` }
EncryptionScopeListResult list of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes.
func (EncryptionScopeListResult) IsEmpty ¶
func (eslr EncryptionScopeListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (EncryptionScopeListResult) MarshalJSON ¶
func (eslr EncryptionScopeListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionScopeListResult.
type EncryptionScopeListResultIterator ¶
type EncryptionScopeListResultIterator struct {
// contains filtered or unexported fields
}
EncryptionScopeListResultIterator provides access to a complete listing of EncryptionScope values.
func NewEncryptionScopeListResultIterator ¶
func NewEncryptionScopeListResultIterator(page EncryptionScopeListResultPage) EncryptionScopeListResultIterator
Creates a new instance of the EncryptionScopeListResultIterator type.
func (*EncryptionScopeListResultIterator) Next ¶
func (iter *EncryptionScopeListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EncryptionScopeListResultIterator) NextWithContext ¶
func (iter *EncryptionScopeListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (EncryptionScopeListResultIterator) NotDone ¶
func (iter EncryptionScopeListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (EncryptionScopeListResultIterator) Response ¶
func (iter EncryptionScopeListResultIterator) Response() EncryptionScopeListResult
Response returns the raw server response from the last page request.
func (EncryptionScopeListResultIterator) Value ¶
func (iter EncryptionScopeListResultIterator) Value() EncryptionScope
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type EncryptionScopeListResultPage ¶
type EncryptionScopeListResultPage struct {
// contains filtered or unexported fields
}
EncryptionScopeListResultPage contains a page of EncryptionScope values.
func NewEncryptionScopeListResultPage ¶
func NewEncryptionScopeListResultPage(cur EncryptionScopeListResult, getNextPage func(context.Context, EncryptionScopeListResult) (EncryptionScopeListResult, error)) EncryptionScopeListResultPage
Creates a new instance of the EncryptionScopeListResultPage type.
func (*EncryptionScopeListResultPage) Next ¶
func (page *EncryptionScopeListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EncryptionScopeListResultPage) NextWithContext ¶
func (page *EncryptionScopeListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (EncryptionScopeListResultPage) NotDone ¶
func (page EncryptionScopeListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (EncryptionScopeListResultPage) Response ¶
func (page EncryptionScopeListResultPage) Response() EncryptionScopeListResult
Response returns the raw server response from the last page request.
func (EncryptionScopeListResultPage) Values ¶
func (page EncryptionScopeListResultPage) Values() []EncryptionScope
Values returns the slice of values for the current page or nil if there are no values.
type EncryptionScopeProperties ¶
type EncryptionScopeProperties struct { // Source - The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'MicrosoftStorage', 'MicrosoftKeyVault' Source EncryptionScopeSource `json:"source,omitempty"` // State - The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'EncryptionScopeStateEnabled', 'EncryptionScopeStateDisabled' State EncryptionScopeState `json:"state,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the encryption scope in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - READ-ONLY; Gets the last modification date and time of the encryption scope in UTC. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // KeyVaultProperties - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. KeyVaultProperties *EncryptionScopeKeyVaultProperties `json:"keyVaultProperties,omitempty"` // RequireInfrastructureEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` }
EncryptionScopeProperties properties of the encryption scope.
func (EncryptionScopeProperties) MarshalJSON ¶
func (esp EncryptionScopeProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionScopeProperties.
type EncryptionScopeSource ¶
type EncryptionScopeSource string
EncryptionScopeSource enumerates the values for encryption scope source.
const ( // MicrosoftKeyVault ... MicrosoftKeyVault EncryptionScopeSource = "Microsoft.KeyVault" // MicrosoftStorage ... MicrosoftStorage EncryptionScopeSource = "Microsoft.Storage" )
func PossibleEncryptionScopeSourceValues ¶
func PossibleEncryptionScopeSourceValues() []EncryptionScopeSource
PossibleEncryptionScopeSourceValues returns an array of possible values for the EncryptionScopeSource const type.
type EncryptionScopeState ¶
type EncryptionScopeState string
EncryptionScopeState enumerates the values for encryption scope state.
const ( // EncryptionScopeStateDisabled ... EncryptionScopeStateDisabled EncryptionScopeState = "Disabled" // EncryptionScopeStateEnabled ... EncryptionScopeStateEnabled EncryptionScopeState = "Enabled" )
func PossibleEncryptionScopeStateValues ¶
func PossibleEncryptionScopeStateValues() []EncryptionScopeState
PossibleEncryptionScopeStateValues returns an array of possible values for the EncryptionScopeState const type.
type EncryptionScopesClient ¶
type EncryptionScopesClient struct {
BaseClient
}
EncryptionScopesClient is the the Azure Storage Management API.
func NewEncryptionScopesClient ¶
func NewEncryptionScopesClient(subscriptionID string) EncryptionScopesClient
NewEncryptionScopesClient creates an instance of the EncryptionScopesClient client.
func NewEncryptionScopesClientWithBaseURI ¶
func NewEncryptionScopesClientWithBaseURI(baseURI string, subscriptionID string) EncryptionScopesClient
NewEncryptionScopesClientWithBaseURI creates an instance of the EncryptionScopesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (EncryptionScopesClient) Get ¶
func (client EncryptionScopesClient) Get(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string) (result EncryptionScope, err error)
Get returns the properties for the specified encryption scope. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. encryptionScopeName - the name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
func (EncryptionScopesClient) GetPreparer ¶
func (client EncryptionScopesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (EncryptionScopesClient) GetResponder ¶
func (client EncryptionScopesClient) GetResponder(resp *http.Response) (result EncryptionScope, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (EncryptionScopesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (EncryptionScopesClient) List ¶
func (client EncryptionScopesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result EncryptionScopeListResultPage, err error)
List lists all the encryption scopes available under the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (EncryptionScopesClient) ListComplete ¶
func (client EncryptionScopesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result EncryptionScopeListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (EncryptionScopesClient) ListPreparer ¶
func (client EncryptionScopesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (EncryptionScopesClient) ListResponder ¶
func (client EncryptionScopesClient) ListResponder(resp *http.Response) (result EncryptionScopeListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (EncryptionScopesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (EncryptionScopesClient) Patch ¶
func (client EncryptionScopesClient) Patch(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope EncryptionScope) (result EncryptionScope, err error)
Patch update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. encryptionScopeName - the name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. encryptionScope - encryption scope properties to be used for the update.
func (EncryptionScopesClient) PatchPreparer ¶
func (client EncryptionScopesClient) PatchPreparer(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope EncryptionScope) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (EncryptionScopesClient) PatchResponder ¶
func (client EncryptionScopesClient) PatchResponder(resp *http.Response) (result EncryptionScope, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (EncryptionScopesClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (EncryptionScopesClient) Put ¶
func (client EncryptionScopesClient) Put(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope EncryptionScope) (result EncryptionScope, err error)
Put synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. encryptionScopeName - the name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. encryptionScope - encryption scope properties to be used for the create or update.
func (EncryptionScopesClient) PutPreparer ¶
func (client EncryptionScopesClient) PutPreparer(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope EncryptionScope) (*http.Request, error)
PutPreparer prepares the Put request.
func (EncryptionScopesClient) PutResponder ¶
func (client EncryptionScopesClient) PutResponder(resp *http.Response) (result EncryptionScope, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type EncryptionService ¶
type EncryptionService struct { // Enabled - A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. Enabled *bool `json:"enabled,omitempty"` // LastEnabledTime - READ-ONLY; Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled. LastEnabledTime *date.Time `json:"lastEnabledTime,omitempty"` // KeyType - Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. Possible values include: 'KeyTypeService', 'KeyTypeAccount' KeyType KeyType `json:"keyType,omitempty"` }
EncryptionService a service that allows server-side encryption to be used.
func (EncryptionService) MarshalJSON ¶
func (es EncryptionService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionService.
type EncryptionServices ¶
type EncryptionServices struct { // Blob - The encryption function of the blob storage service. Blob *EncryptionService `json:"blob,omitempty"` // File - The encryption function of the file storage service. File *EncryptionService `json:"file,omitempty"` // Table - The encryption function of the table storage service. Table *EncryptionService `json:"table,omitempty"` // Queue - The encryption function of the queue storage service. Queue *EncryptionService `json:"queue,omitempty"` }
EncryptionServices a list of services that support encryption.
type Endpoints ¶
type Endpoints struct { // Blob - READ-ONLY; Gets the blob endpoint. Blob *string `json:"blob,omitempty"` // Queue - READ-ONLY; Gets the queue endpoint. Queue *string `json:"queue,omitempty"` // Table - READ-ONLY; Gets the table endpoint. Table *string `json:"table,omitempty"` // File - READ-ONLY; Gets the file endpoint. File *string `json:"file,omitempty"` // Web - READ-ONLY; Gets the web endpoint. Web *string `json:"web,omitempty"` // Dfs - READ-ONLY; Gets the dfs endpoint. Dfs *string `json:"dfs,omitempty"` // MicrosoftEndpoints - Gets the microsoft routing storage endpoints. MicrosoftEndpoints *AccountMicrosoftEndpoints `json:"microsoftEndpoints,omitempty"` // InternetEndpoints - Gets the internet routing storage endpoints InternetEndpoints *AccountInternetEndpoints `json:"internetEndpoints,omitempty"` }
Endpoints the URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.
func (Endpoints) MarshalJSON ¶
MarshalJSON is the custom marshaler for Endpoints.
type ErrorResponse ¶
type ErrorResponse struct { // Error - Azure Storage Resource Provider error response body. Error *ErrorResponseBody `json:"error,omitempty"` }
ErrorResponse an error response from the storage resource provider.
type ErrorResponseBody ¶
type ErrorResponseBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` }
ErrorResponseBody error response body contract.
type ExtendedLocation ¶
type ExtendedLocation struct { // Name - The name of the extended location. Name *string `json:"name,omitempty"` // Type - The type of the extended location. Possible values include: 'EdgeZone' Type ExtendedLocationTypes `json:"type,omitempty"` }
ExtendedLocation the complex type of the extended location.
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
ExtendedLocationTypes enumerates the values for extended location types.
const ( // EdgeZone ... EdgeZone ExtendedLocationTypes = "EdgeZone" )
func PossibleExtendedLocationTypesValues ¶
func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes
PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type.
type FileServiceItems ¶
type FileServiceItems struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of file services returned. Value *[]FileServiceProperties `json:"value,omitempty"` }
FileServiceItems ...
func (FileServiceItems) MarshalJSON ¶
func (fsi FileServiceItems) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FileServiceItems.
type FileServiceProperties ¶
type FileServiceProperties struct { autorest.Response `json:"-"` // FileServicePropertiesProperties - The properties of File services in storage account. *FileServicePropertiesProperties `json:"properties,omitempty"` // Sku - READ-ONLY; Sku name and tier. Sku *Sku `json:"sku,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
FileServiceProperties the properties of File services in storage account.
func (FileServiceProperties) MarshalJSON ¶
func (fsp FileServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FileServiceProperties.
func (*FileServiceProperties) UnmarshalJSON ¶
func (fsp *FileServiceProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FileServiceProperties struct.
type FileServicePropertiesProperties ¶
type FileServicePropertiesProperties struct { // Cors - Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service. Cors *CorsRules `json:"cors,omitempty"` ShareDeleteRetentionPolicy *DeleteRetentionPolicy `json:"shareDeleteRetentionPolicy,omitempty"` // ProtocolSettings - Protocol settings for file service ProtocolSettings *ProtocolSettings `json:"protocolSettings,omitempty"` }
FileServicePropertiesProperties the properties of File services in storage account.
type FileServicesClient ¶
type FileServicesClient struct {
BaseClient
}
FileServicesClient is the the Azure Storage Management API.
func NewFileServicesClient ¶
func NewFileServicesClient(subscriptionID string) FileServicesClient
NewFileServicesClient creates an instance of the FileServicesClient client.
func NewFileServicesClientWithBaseURI ¶
func NewFileServicesClientWithBaseURI(baseURI string, subscriptionID string) FileServicesClient
NewFileServicesClientWithBaseURI creates an instance of the FileServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (FileServicesClient) GetServiceProperties ¶
func (client FileServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result FileServiceProperties, err error)
GetServiceProperties gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (FileServicesClient) GetServicePropertiesPreparer ¶
func (client FileServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetServicePropertiesPreparer prepares the GetServiceProperties request.
func (FileServicesClient) GetServicePropertiesResponder ¶
func (client FileServicesClient) GetServicePropertiesResponder(resp *http.Response) (result FileServiceProperties, err error)
GetServicePropertiesResponder handles the response to the GetServiceProperties request. The method always closes the http.Response Body.
func (FileServicesClient) GetServicePropertiesSender ¶
func (client FileServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
GetServicePropertiesSender sends the GetServiceProperties request. The method will close the http.Response Body if it receives an error.
func (FileServicesClient) List ¶
func (client FileServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result FileServiceItems, err error)
List list all file services in storage accounts Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (FileServicesClient) ListPreparer ¶
func (client FileServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (FileServicesClient) ListResponder ¶
func (client FileServicesClient) ListResponder(resp *http.Response) (result FileServiceItems, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (FileServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (FileServicesClient) SetServiceProperties ¶
func (client FileServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, parameters FileServiceProperties) (result FileServiceProperties, err error)
SetServiceProperties sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
func (FileServicesClient) SetServicePropertiesPreparer ¶
func (client FileServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters FileServiceProperties) (*http.Request, error)
SetServicePropertiesPreparer prepares the SetServiceProperties request.
func (FileServicesClient) SetServicePropertiesResponder ¶
func (client FileServicesClient) SetServicePropertiesResponder(resp *http.Response) (result FileServiceProperties, err error)
SetServicePropertiesResponder handles the response to the SetServiceProperties request. The method always closes the http.Response Body.
func (FileServicesClient) SetServicePropertiesSender ¶
func (client FileServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
SetServicePropertiesSender sends the SetServiceProperties request. The method will close the http.Response Body if it receives an error.
type FileShare ¶
type FileShare struct { FileShareProperties `json:"properties,omitempty"` Etag *string `json:"etag,omitempty"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }*
FileShare properties of the file share, including Id, resource name, resource type, Etag.
func (FileShare) MarshalJSON ¶
MarshalJSON is the custom marshaler for FileShare.
func (*FileShare) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for FileShare struct.
type FileShareItem ¶
type FileShareItem struct { FileShareProperties `json:"properties,omitempty"` Etag *string `json:"etag,omitempty"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }*
FileShareItem the file share properties be listed out.
func (FileShareItem) MarshalJSON ¶
func (fsi FileShareItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FileShareItem.
func (*FileShareItem) UnmarshalJSON ¶
func (fsi *FileShareItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FileShareItem struct.
type FileShareItems ¶
type FileShareItems struct { FileShareItem `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }Value *[]
FileShareItems response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares.
func (FileShareItems) IsEmpty ¶
func (fsi FileShareItems) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (FileShareItems) MarshalJSON ¶
func (fsi FileShareItems) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FileShareItems.
type FileShareItemsIterator ¶
type FileShareItemsIterator struct {
// contains filtered or unexported fields
}
FileShareItemsIterator provides access to a complete listing of FileShareItem values.
func NewFileShareItemsIterator ¶
func NewFileShareItemsIterator(page FileShareItemsPage) FileShareItemsIterator
Creates a new instance of the FileShareItemsIterator type.
func (*FileShareItemsIterator) Next ¶
func (iter *FileShareItemsIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FileShareItemsIterator) NextWithContext ¶
func (iter *FileShareItemsIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (FileShareItemsIterator) NotDone ¶
func (iter FileShareItemsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (FileShareItemsIterator) Response ¶
func (iter FileShareItemsIterator) Response() FileShareItems
Response returns the raw server response from the last page request.
func (FileShareItemsIterator) Value ¶
func (iter FileShareItemsIterator) Value() FileShareItem
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type FileShareItemsPage ¶
type FileShareItemsPage struct {
// contains filtered or unexported fields
}
FileShareItemsPage contains a page of FileShareItem values.
func NewFileShareItemsPage ¶
func NewFileShareItemsPage(cur FileShareItems, getNextPage func(context.Context, FileShareItems) (FileShareItems, error)) FileShareItemsPage
Creates a new instance of the FileShareItemsPage type.
func (*FileShareItemsPage) Next ¶
func (page *FileShareItemsPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FileShareItemsPage) NextWithContext ¶
func (page *FileShareItemsPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (FileShareItemsPage) NotDone ¶
func (page FileShareItemsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (FileShareItemsPage) Response ¶
func (page FileShareItemsPage) Response() FileShareItems
Response returns the raw server response from the last page request.
func (FileShareItemsPage) Values ¶
func (page FileShareItemsPage) Values() []FileShareItem
Values returns the slice of values for the current page or nil if there are no values.
type FileShareProperties ¶
type FileShareProperties struct { date.Time `json:"lastModifiedTime,omitempty"` Metadata map[string]*string `json:"metadata"` ShareQuota *int32 `json:"shareQuota,omitempty"` EnabledProtocols EnabledProtocols `json:"enabledProtocols,omitempty"` RootSquash RootSquashType `json:"rootSquash,omitempty"` Version *string `json:"version,omitempty"` Deleted *bool `json:"deleted,omitempty"` DeletedTime *date.Time `json:"deletedTime,omitempty"` RemainingRetentionDays *int32 `json:"remainingRetentionDays,omitempty"` AccessTier ShareAccessTier `json:"accessTier,omitempty"` AccessTierChangeTime *date.Time `json:"accessTierChangeTime,omitempty"` AccessTierStatus *string `json:"accessTierStatus,omitempty"` ShareUsageBytes *int64 `json:"shareUsageBytes,omitempty"` LeaseStatus LeaseStatus `json:"leaseStatus,omitempty"` LeaseState LeaseState `json:"leaseState,omitempty"` LeaseDuration LeaseDuration `json:"leaseDuration,omitempty"` SignedIdentifiers *[]SignedIdentifier `json:"signedIdentifiers,omitempty"` SnapshotTime *date.Time `json:"snapshotTime,omitempty"` }LastModifiedTime *
FileShareProperties the properties of the file share.
func (FileShareProperties) MarshalJSON ¶
func (fsp FileShareProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FileShareProperties.
type FileSharesClient ¶
type FileSharesClient struct {
}FileSharesClient is the the Azure Storage Management API.
func NewFileSharesClient ¶
func NewFileSharesClient(subscriptionID string) FileSharesClient
NewFileSharesClient creates an instance of the FileSharesClient client.
func NewFileSharesClientWithBaseURI ¶
func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileSharesClient
NewFileSharesClientWithBaseURI creates an instance of the FileSharesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (FileSharesClient) Create ¶
func (client FileSharesClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare, expand string) (result FileShare, err error)
Create creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. fileShare - properties of the file share to create. expand - optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','
func (FileSharesClient) CreatePreparer ¶
func (client FileSharesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare, expand string) (*http.Request, error)
CreatePreparer prepares the Create request.
func (FileSharesClient) CreateResponder ¶
func (client FileSharesClient) CreateResponder(resp *http.Response) (result FileShare, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (FileSharesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) Delete ¶
func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, xMsSnapshot string, include string) (result autorest.Response, err error)
Delete deletes specified share under its account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. xMsSnapshot - optional, used to delete a snapshot. include - optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails.
func (FileSharesClient) DeletePreparer ¶
func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, xMsSnapshot string, include string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FileSharesClient) DeleteResponder ¶
func (client FileSharesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (FileSharesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) Get ¶
func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand string, xMsSnapshot string) (result FileShare, err error)
Get gets properties of a specified share. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. expand - optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','. xMsSnapshot - optional, used to retrieve properties of a snapshot.
func (FileSharesClient) GetPreparer ¶
func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand string, xMsSnapshot string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FileSharesClient) GetResponder ¶
func (client FileSharesClient) GetResponder(resp *http.Response) (result FileShare, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FileSharesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) Lease ¶
func (client FileSharesClient) Lease(ctx context.Context, resourceGroupName string, accountName string, shareName string, parameters *LeaseShareRequest, xMsSnapshot string) (result LeaseShareResponse, err error)
Lease the Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. parameters - lease Share request body. xMsSnapshot - optional. Specify the snapshot time to lease a snapshot.
func (FileSharesClient) LeasePreparer ¶
func (client FileSharesClient) LeasePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, parameters *LeaseShareRequest, xMsSnapshot string) (*http.Request, error)
LeasePreparer prepares the Lease request.
func (FileSharesClient) LeaseResponder ¶
func (client FileSharesClient) LeaseResponder(resp *http.Response) (result LeaseShareResponse, err error)
LeaseResponder handles the response to the Lease request. The method always closes the http.Response Body.
func (FileSharesClient) LeaseSender ¶
LeaseSender sends the Lease request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) List ¶
func (client FileSharesClient) List(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, expand string) (result FileShareItemsPage, err error)
List lists all shares. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. maxpagesize - optional. Specified maximum number of shares that can be included in the list. filter - optional. When specified, only share names starting with the filter will be listed. expand - optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','
func (FileSharesClient) ListComplete ¶
func (client FileSharesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, expand string) (result FileShareItemsIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (FileSharesClient) ListPreparer ¶
func (client FileSharesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (FileSharesClient) ListResponder ¶
func (client FileSharesClient) ListResponder(resp *http.Response) (result FileShareItems, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (FileSharesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) Restore ¶
func (client FileSharesClient) Restore(ctx context.Context, resourceGroupName string, accountName string, shareName string, deletedShare DeletedShare) (result autorest.Response, err error)
Restore restore a file share within a valid retention days if share soft delete is enabled Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
func (FileSharesClient) RestorePreparer ¶
func (client FileSharesClient) RestorePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, deletedShare DeletedShare) (*http.Request, error)
RestorePreparer prepares the Restore request.
func (FileSharesClient) RestoreResponder ¶
func (client FileSharesClient) RestoreResponder(resp *http.Response) (result autorest.Response, err error)
RestoreResponder handles the response to the Restore request. The method always closes the http.Response Body.
func (FileSharesClient) RestoreSender ¶
RestoreSender sends the Restore request. The method will close the http.Response Body if it receives an error.
func (FileSharesClient) Update ¶
func (client FileSharesClient) Update(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare) (result FileShare, err error)
Update updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. shareName - the name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. fileShare - properties to update for the file share.
func (FileSharesClient) UpdatePreparer ¶
func (client FileSharesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (FileSharesClient) UpdateResponder ¶
func (client FileSharesClient) UpdateResponder(resp *http.Response) (result FileShare, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (FileSharesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type Format ¶
type Format string
Format enumerates the values for format.
func PossibleFormatValues ¶
func PossibleFormatValues() []Format
PossibleFormatValues returns an array of possible values for the Format const type.
type GeoReplicationStats ¶
type GeoReplicationStats struct { // Status - READ-ONLY; The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. Possible values include: 'GeoReplicationStatusLive', 'GeoReplicationStatusBootstrap', 'GeoReplicationStatusUnavailable' Status GeoReplicationStatus `json:"status,omitempty"` // LastSyncTime - READ-ONLY; All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap. LastSyncTime *date.Time `json:"lastSyncTime,omitempty"` // CanFailover - READ-ONLY; A boolean flag which indicates whether or not account failover is supported for the account. CanFailover *bool `json:"canFailover,omitempty"` }
GeoReplicationStats statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account.
func (GeoReplicationStats) MarshalJSON ¶
func (grs GeoReplicationStats) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GeoReplicationStats.
type GeoReplicationStatus ¶
type GeoReplicationStatus string
GeoReplicationStatus enumerates the values for geo replication status.
const ( // GeoReplicationStatusBootstrap ... GeoReplicationStatusBootstrap GeoReplicationStatus = "Bootstrap" // GeoReplicationStatusLive ... GeoReplicationStatusLive GeoReplicationStatus = "Live" GeoReplicationStatusUnavailable GeoReplicationStatus = "Unavailable" )
func PossibleGeoReplicationStatusValues ¶
func PossibleGeoReplicationStatusValues() []GeoReplicationStatus
PossibleGeoReplicationStatusValues returns an array of possible values for the GeoReplicationStatus const type.
type HTTPProtocol ¶
type HTTPProtocol string
HTTPProtocol enumerates the values for http protocol.
const ( // HTTPS ... HTTPS HTTPProtocol = "https" // Httpshttp ... Httpshttp HTTPProtocol = "https,http" )
func PossibleHTTPProtocolValues ¶
func PossibleHTTPProtocolValues() []HTTPProtocol
PossibleHTTPProtocolValues returns an array of possible values for the HTTPProtocol const type.
type IPRule ¶
type IPRule struct { // IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. IPAddressOrRange *string `json:"value,omitempty"` // Action - The action of IP ACL rule. Possible values include: 'Allow' Action Action `json:"action,omitempty"` }
IPRule IP rule with specific IP or IP range in CIDR format.
type Identity ¶
type Identity struct { // PrincipalID - READ-ONLY; The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // Type - The identity type. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned', 'IdentityTypeSystemAssignedUserAssigned' Type IdentityType `json:"type,omitempty"` // UserAssignedIdentities - Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here. UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"` }
Identity identity for the resource.
func (Identity) MarshalJSON ¶
MarshalJSON is the custom marshaler for Identity.
type IdentityType ¶
type IdentityType string
IdentityType enumerates the values for identity type.
const ( // IdentityTypeNone ... IdentityTypeNone IdentityType = "None" // IdentityTypeSystemAssigned ... IdentityTypeSystemAssigned IdentityType = "SystemAssigned" // IdentityTypeSystemAssignedUserAssigned ... IdentityTypeSystemAssignedUserAssigned IdentityType = "SystemAssigned,UserAssigned" // IdentityTypeUserAssigned ... IdentityTypeUserAssigned IdentityType = "UserAssigned" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
type ImmutabilityPolicy ¶
type ImmutabilityPolicy struct { autorest.Response `json:"-"` // ImmutabilityPolicyProperty - The properties of an ImmutabilityPolicy of a blob container. *ImmutabilityPolicyProperty `json:"properties,omitempty"` // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ImmutabilityPolicy the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.
func (ImmutabilityPolicy) MarshalJSON ¶
func (IP ImmutabilityPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImmutabilityPolicy.
func (*ImmutabilityPolicy) UnmarshalJSON ¶
func (IP *ImmutabilityPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImmutabilityPolicy struct.
type ImmutabilityPolicyProperties ¶
type ImmutabilityPolicyProperties struct { // ImmutabilityPolicyProperty - The properties of an ImmutabilityPolicy of a blob container. *ImmutabilityPolicyProperty `json:"properties,omitempty"` // Etag - READ-ONLY; ImmutabilityPolicy Etag. Etag *string `json:"etag,omitempty"` // UpdateHistory - READ-ONLY; The ImmutabilityPolicy update history of the blob container. UpdateHistory *[]UpdateHistoryProperty `json:"updateHistory,omitempty"` }
ImmutabilityPolicyProperties the properties of an ImmutabilityPolicy of a blob container.
func (ImmutabilityPolicyProperties) MarshalJSON ¶
func (ipp ImmutabilityPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImmutabilityPolicyProperties.
func (*ImmutabilityPolicyProperties) UnmarshalJSON ¶
func (ipp *ImmutabilityPolicyProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImmutabilityPolicyProperties struct.
type ImmutabilityPolicyProperty ¶
type ImmutabilityPolicyProperty struct { // ImmutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` // State - READ-ONLY; The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'ImmutabilityPolicyStateLocked', 'ImmutabilityPolicyStateUnlocked' State ImmutabilityPolicyState `json:"state,omitempty"` // AllowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` // AllowProtectedAppendWritesAll - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` }
ImmutabilityPolicyProperty the properties of an ImmutabilityPolicy of a blob container.
func (ImmutabilityPolicyProperty) MarshalJSON ¶
func (ipp ImmutabilityPolicyProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImmutabilityPolicyProperty.
type ImmutabilityPolicyState ¶
type ImmutabilityPolicyState string
ImmutabilityPolicyState enumerates the values for immutability policy state.
const ( // ImmutabilityPolicyStateLocked ... ImmutabilityPolicyStateLocked ImmutabilityPolicyState = "Locked" // ImmutabilityPolicyStateUnlocked ... ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked" )
func PossibleImmutabilityPolicyStateValues ¶
func PossibleImmutabilityPolicyStateValues() []ImmutabilityPolicyState
PossibleImmutabilityPolicyStateValues returns an array of possible values for the ImmutabilityPolicyState const type.
type ImmutabilityPolicyUpdateType ¶
type ImmutabilityPolicyUpdateType string
ImmutabilityPolicyUpdateType enumerates the values for immutability policy update type.
const ( // Extend ... Extend ImmutabilityPolicyUpdateType = "extend" // Lock ... Lock ImmutabilityPolicyUpdateType = "lock" // Put ... Put ImmutabilityPolicyUpdateType = "put" )
func PossibleImmutabilityPolicyUpdateTypeValues ¶
func PossibleImmutabilityPolicyUpdateTypeValues() []ImmutabilityPolicyUpdateType
PossibleImmutabilityPolicyUpdateTypeValues returns an array of possible values for the ImmutabilityPolicyUpdateType const type.
type ImmutableStorageAccount ¶
type ImmutableStorageAccount struct { // Enabled - A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. Enabled *bool `json:"enabled,omitempty"` // ImmutabilityPolicy - Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy. ImmutabilityPolicy *AccountImmutabilityPolicyProperties `json:"immutabilityPolicy,omitempty"` }
ImmutableStorageAccount this property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning.
type ImmutableStorageWithVersioning ¶
type ImmutableStorageWithVersioning struct { // Enabled - This is an immutable property, when set to true it enables object level immutability at the container level. Enabled *bool `json:"enabled,omitempty"` // TimeStamp - READ-ONLY; Returns the date and time the object level immutability was enabled. TimeStamp *date.Time `json:"timeStamp,omitempty"` // MigrationState - READ-ONLY; This property denotes the container level immutability to object level immutability migration state. Possible values include: 'MigrationStateInProgress', 'MigrationStateCompleted' MigrationState MigrationState `json:"migrationState,omitempty"` }
ImmutableStorageWithVersioning object level immutability properties of the container.
func (ImmutableStorageWithVersioning) MarshalJSON ¶
func (iswv ImmutableStorageWithVersioning) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImmutableStorageWithVersioning.
type KeyCreationTime ¶
type KeyCreationTime struct { Key1 *date.Time `json:"key1,omitempty"` Key2 *date.Time `json:"key2,omitempty"` }
KeyCreationTime storage account keys creation time.
type KeyPermission ¶
type KeyPermission string
KeyPermission enumerates the values for key permission.
const ( // Full ... Full KeyPermission = "Full" // Read ... Read KeyPermission = "Read" )
func PossibleKeyPermissionValues ¶
func PossibleKeyPermissionValues() []KeyPermission
PossibleKeyPermissionValues returns an array of possible values for the KeyPermission const type.
type KeyPolicy ¶
type KeyPolicy struct { // KeyExpirationPeriodInDays - The key expiration period in days. KeyExpirationPeriodInDays *int32 `json:"keyExpirationPeriodInDays,omitempty"` }
KeyPolicy keyPolicy assigned to the storage account.
type KeySource ¶
type KeySource string
KeySource enumerates the values for key source.
func PossibleKeySourceValues ¶
func PossibleKeySourceValues() []KeySource
PossibleKeySourceValues returns an array of possible values for the KeySource const type.
type KeyType ¶
type KeyType string
KeyType enumerates the values for key type.
func PossibleKeyTypeValues ¶
func PossibleKeyTypeValues() []KeyType
PossibleKeyTypeValues returns an array of possible values for the KeyType const type.
type KeyVaultProperties ¶
type KeyVaultProperties struct { // KeyName - The name of KeyVault key. KeyName *string `json:"keyname,omitempty"` // KeyVersion - The version of KeyVault key. KeyVersion *string `json:"keyversion,omitempty"` // KeyVaultURI - The Uri of KeyVault. KeyVaultURI *string `json:"keyvaulturi,omitempty"` // CurrentVersionedKeyIdentifier - READ-ONLY; The object identifier of the current versioned Key Vault Key in use. CurrentVersionedKeyIdentifier *string `json:"currentVersionedKeyIdentifier,omitempty"` // LastKeyRotationTimestamp - READ-ONLY; Timestamp of last rotation of the Key Vault Key. LastKeyRotationTimestamp *date.Time `json:"lastKeyRotationTimestamp,omitempty"` // CurrentVersionedKeyExpirationTimestamp - READ-ONLY; This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. CurrentVersionedKeyExpirationTimestamp *date.Time `json:"currentVersionedKeyExpirationTimestamp,omitempty"` }
KeyVaultProperties properties of key vault.
func (KeyVaultProperties) MarshalJSON ¶
func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KeyVaultProperties.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type LargeFileSharesState ¶
type LargeFileSharesState string
LargeFileSharesState enumerates the values for large file shares state.
const ( LargeFileSharesState = "Disabled" LargeFileSharesStateEnabled LargeFileSharesState = "Enabled" )LargeFileSharesStateDisabled
func PossibleLargeFileSharesStateValues ¶
func PossibleLargeFileSharesStateValues() []LargeFileSharesState
PossibleLargeFileSharesStateValues returns an array of possible values for the LargeFileSharesState const type.
type LastAccessTimeTrackingPolicy ¶
type LastAccessTimeTrackingPolicy struct { // Enable - When set to true last access time based tracking is enabled. Enable *bool `json:"enable,omitempty"` // Name - Name of the policy. The valid value is AccessTimeTracking. This field is currently read only. Possible values include: 'AccessTimeTracking' Name Name `json:"name,omitempty"` // TrackingGranularityInDays - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1 TrackingGranularityInDays *int32 `json:"trackingGranularityInDays,omitempty"` // BlobType - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only BlobType *[]string `json:"blobType,omitempty"` }
LastAccessTimeTrackingPolicy the blob service properties for Last access time based tracking policy.
type LeaseContainerRequest ¶
type LeaseContainerRequest struct { // Action - Specifies the lease action. Can be one of the available actions. Possible values include: 'Acquire', 'Renew', 'Change', 'Release', 'Break' Action LeaseContainerRequestAction `json:"action,omitempty"` // LeaseID - Identifies the lease. Can be specified in any valid GUID string format. LeaseID *string `json:"leaseId,omitempty"` // BreakPeriod - Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. BreakPeriod *int32 `json:"breakPeriod,omitempty"` // LeaseDuration - Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. LeaseDuration *int32 `json:"leaseDuration,omitempty"` // ProposedLeaseID - Optional for acquire, required for change. Proposed lease ID, in a GUID string format. ProposedLeaseID *string `json:"proposedLeaseId,omitempty"` }
LeaseContainerRequest lease Container request schema.
type LeaseContainerRequestAction ¶
type LeaseContainerRequestAction string
LeaseContainerRequestAction enumerates the values for lease container request action.
const ( // Acquire ... Acquire LeaseContainerRequestAction = "Acquire" // Break ... Break LeaseContainerRequestAction = "Break" // Change ... Change LeaseContainerRequestAction = "Change" // Release ... Release LeaseContainerRequestAction = "Release" // Renew ... Renew LeaseContainerRequestAction = "Renew" )
func PossibleLeaseContainerRequestActionValues ¶
func PossibleLeaseContainerRequestActionValues() []LeaseContainerRequestAction
PossibleLeaseContainerRequestActionValues returns an array of possible values for the LeaseContainerRequestAction const type.
type LeaseContainerResponse ¶
type LeaseContainerResponse struct { autorest.Response `json:"-"` // LeaseID - Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease. LeaseID *string `json:"leaseId,omitempty"` // LeaseTimeSeconds - Approximate time remaining in the lease period, in seconds. LeaseTimeSeconds *string `json:"leaseTimeSeconds,omitempty"` }
LeaseContainerResponse lease Container response schema.
type LeaseDuration ¶
type LeaseDuration string
LeaseDuration enumerates the values for lease duration.
const ( // Fixed ... Fixed LeaseDuration = "Fixed" // Infinite ... Infinite LeaseDuration = "Infinite" )
func PossibleLeaseDurationValues ¶
func PossibleLeaseDurationValues() []LeaseDuration
PossibleLeaseDurationValues returns an array of possible values for the LeaseDuration const type.
type LeaseShareAction ¶
type LeaseShareAction string
LeaseShareAction enumerates the values for lease share action.
const ( LeaseShareAction = "Acquire" LeaseShareActionBreak LeaseShareAction = "Break" LeaseShareActionChange LeaseShareAction = "Change" LeaseShareActionRelease LeaseShareAction = "Release" LeaseShareActionRenew LeaseShareAction = "Renew" )LeaseShareActionAcquire
func PossibleLeaseShareActionValues ¶
func PossibleLeaseShareActionValues() []LeaseShareAction
PossibleLeaseShareActionValues returns an array of possible values for the LeaseShareAction const type.
type LeaseShareRequest ¶
type LeaseShareRequest struct { LeaseShareAction `json:"action,omitempty"` LeaseID *string `json:"leaseId,omitempty"` BreakPeriod *int32 `json:"breakPeriod,omitempty"` LeaseDuration *int32 `json:"leaseDuration,omitempty"` ProposedLeaseID *string `json:"proposedLeaseId,omitempty"` }Action
LeaseShareRequest lease Share request schema.
type LeaseShareResponse ¶
type LeaseShareResponse struct { string `json:"leaseId,omitempty"` LeaseTimeSeconds *string `json:"leaseTimeSeconds,omitempty"` }LeaseID *
LeaseShareResponse lease Share response schema.
type LeaseState ¶
type LeaseState string
LeaseState enumerates the values for lease state.
const ( // LeaseStateAvailable ... LeaseStateAvailable LeaseState = "Available" // LeaseStateBreaking ... LeaseStateBreaking LeaseState = "Breaking" // LeaseStateBroken ... LeaseStateBroken LeaseState = "Broken" // LeaseStateExpired ... LeaseStateExpired LeaseState = "Expired" // LeaseStateLeased ... LeaseStateLeased LeaseState = "Leased" )
func PossibleLeaseStateValues ¶
func PossibleLeaseStateValues() []LeaseState
PossibleLeaseStateValues returns an array of possible values for the LeaseState const type.
type LeaseStatus ¶
type LeaseStatus string
LeaseStatus enumerates the values for lease status.
const ( // LeaseStatusLocked ... LeaseStatusLocked LeaseStatus = "Locked" // LeaseStatusUnlocked ... LeaseStatusUnlocked LeaseStatus = "Unlocked" )
func PossibleLeaseStatusValues ¶
func PossibleLeaseStatusValues() []LeaseStatus
PossibleLeaseStatusValues returns an array of possible values for the LeaseStatus const type.
type LegalHold ¶
type LegalHold struct { autorest.Response `json:"-"` // HasLegalHold - READ-ONLY; The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. HasLegalHold *bool `json:"hasLegalHold,omitempty"` // Tags - Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP. Tags *[]string `json:"tags,omitempty"` // AllowProtectedAppendWritesAll - When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` }
LegalHold the LegalHold property of a blob container.
func (LegalHold) MarshalJSON ¶
MarshalJSON is the custom marshaler for LegalHold.
type LegalHoldProperties ¶
type LegalHoldProperties struct { // HasLegalHold - READ-ONLY; The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. HasLegalHold *bool `json:"hasLegalHold,omitempty"` // Tags - The list of LegalHold tags of a blob container. Tags *[]TagProperty `json:"tags,omitempty"` // ProtectedAppendWritesHistory - Protected append blob writes history. ProtectedAppendWritesHistory *ProtectedAppendWritesHistory `json:"protectedAppendWritesHistory,omitempty"` }
LegalHoldProperties the LegalHold property of a blob container.
func (LegalHoldProperties) MarshalJSON ¶
func (lhp LegalHoldProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LegalHoldProperties.
type ListAccountSasResponse ¶
type ListAccountSasResponse struct { autorest.Response `json:"-"` // AccountSasToken - READ-ONLY; List SAS credentials of storage account. AccountSasToken *string `json:"accountSasToken,omitempty"` }
ListAccountSasResponse the List SAS credentials operation response.
func (ListAccountSasResponse) MarshalJSON ¶
func (lasr ListAccountSasResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListAccountSasResponse.
type ListBlobInventoryPolicy ¶
type ListBlobInventoryPolicy struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of blob inventory policies. Value *[]BlobInventoryPolicy `json:"value,omitempty"` }
ListBlobInventoryPolicy list of blob inventory policies returned.
func (ListBlobInventoryPolicy) MarshalJSON ¶
func (lbip ListBlobInventoryPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListBlobInventoryPolicy.
type ListContainerItem ¶
type ListContainerItem struct { // ContainerProperties - The blob container properties be listed out. *ContainerProperties `json:"properties,omitempty"` // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ListContainerItem the blob container properties be listed out.
func (ListContainerItem) MarshalJSON ¶
func (lci ListContainerItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListContainerItem.
func (*ListContainerItem) UnmarshalJSON ¶
func (lci *ListContainerItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ListContainerItem struct.
type ListContainerItems ¶
type ListContainerItems struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of blobs containers returned. Value *[]ListContainerItem `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size. NextLink *string `json:"nextLink,omitempty"` }
ListContainerItems response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers.
func (ListContainerItems) IsEmpty ¶
func (lci ListContainerItems) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ListContainerItems) MarshalJSON ¶
func (lci ListContainerItems) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListContainerItems.
type ListContainerItemsIterator ¶
type ListContainerItemsIterator struct {
// contains filtered or unexported fields
}
ListContainerItemsIterator provides access to a complete listing of ListContainerItem values.
func NewListContainerItemsIterator ¶
func NewListContainerItemsIterator(page ListContainerItemsPage) ListContainerItemsIterator
Creates a new instance of the ListContainerItemsIterator type.
func (*ListContainerItemsIterator) Next ¶
func (iter *ListContainerItemsIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListContainerItemsIterator) NextWithContext ¶
func (iter *ListContainerItemsIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ListContainerItemsIterator) NotDone ¶
func (iter ListContainerItemsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListContainerItemsIterator) Response ¶
func (iter ListContainerItemsIterator) Response() ListContainerItems
Response returns the raw server response from the last page request.
func (ListContainerItemsIterator) Value ¶
func (iter ListContainerItemsIterator) Value() ListContainerItem
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListContainerItemsPage ¶
type ListContainerItemsPage struct {
// contains filtered or unexported fields
}
ListContainerItemsPage contains a page of ListContainerItem values.
func NewListContainerItemsPage ¶
func NewListContainerItemsPage(cur ListContainerItems, getNextPage func(context.Context, ListContainerItems) (ListContainerItems, error)) ListContainerItemsPage
Creates a new instance of the ListContainerItemsPage type.
func (*ListContainerItemsPage) Next ¶
func (page *ListContainerItemsPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListContainerItemsPage) NextWithContext ¶
func (page *ListContainerItemsPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ListContainerItemsPage) NotDone ¶
func (page ListContainerItemsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListContainerItemsPage) Response ¶
func (page ListContainerItemsPage) Response() ListContainerItems
Response returns the raw server response from the last page request.
func (ListContainerItemsPage) Values ¶
func (page ListContainerItemsPage) Values() []ListContainerItem
Values returns the slice of values for the current page or nil if there are no values.
type ListContainersInclude ¶
type ListContainersInclude string
ListContainersInclude enumerates the values for list containers include.
const ( // Deleted ... Deleted ListContainersInclude = "deleted" )
func PossibleListContainersIncludeValues ¶
func PossibleListContainersIncludeValues() []ListContainersInclude
PossibleListContainersIncludeValues returns an array of possible values for the ListContainersInclude const type.
type ListKeyExpand ¶
type ListKeyExpand string
ListKeyExpand enumerates the values for list key expand.
const ( // Kerb ... Kerb ListKeyExpand = "kerb" )
func PossibleListKeyExpandValues ¶
func PossibleListKeyExpandValues() []ListKeyExpand
PossibleListKeyExpandValues returns an array of possible values for the ListKeyExpand const type.
type ListQueue ¶
type ListQueue struct { // ListQueueProperties - List Queue resource properties. *ListQueueProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ListQueue ...
func (ListQueue) MarshalJSON ¶
MarshalJSON is the custom marshaler for ListQueue.
func (*ListQueue) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for ListQueue struct.
type ListQueueProperties ¶
type ListQueueProperties struct { // Metadata - A name-value pair that represents queue metadata. Metadata map[string]*string `json:"metadata"` }
ListQueueProperties ...
func (ListQueueProperties) MarshalJSON ¶
func (lqp ListQueueProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListQueueProperties.
type ListQueueResource ¶
type ListQueueResource struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of queues returned. Value *[]ListQueue `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to list next page of queues NextLink *string `json:"nextLink,omitempty"` }
ListQueueResource response schema. Contains list of queues returned
func (ListQueueResource) IsEmpty ¶
func (lqr ListQueueResource) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ListQueueResource) MarshalJSON ¶
func (lqr ListQueueResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListQueueResource.
type ListQueueResourceIterator ¶
type ListQueueResourceIterator struct {
// contains filtered or unexported fields
}
ListQueueResourceIterator provides access to a complete listing of ListQueue values.
func NewListQueueResourceIterator ¶
func NewListQueueResourceIterator(page ListQueueResourcePage) ListQueueResourceIterator
Creates a new instance of the ListQueueResourceIterator type.
func (*ListQueueResourceIterator) Next ¶
func (iter *ListQueueResourceIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListQueueResourceIterator) NextWithContext ¶
func (iter *ListQueueResourceIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ListQueueResourceIterator) NotDone ¶
func (iter ListQueueResourceIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListQueueResourceIterator) Response ¶
func (iter ListQueueResourceIterator) Response() ListQueueResource
Response returns the raw server response from the last page request.
func (ListQueueResourceIterator) Value ¶
func (iter ListQueueResourceIterator) Value() ListQueue
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListQueueResourcePage ¶
type ListQueueResourcePage struct {
// contains filtered or unexported fields
}
ListQueueResourcePage contains a page of ListQueue values.
func NewListQueueResourcePage ¶
func NewListQueueResourcePage(cur ListQueueResource, getNextPage func(context.Context, ListQueueResource) (ListQueueResource, error)) ListQueueResourcePage
Creates a new instance of the ListQueueResourcePage type.
func (*ListQueueResourcePage) Next ¶
func (page *ListQueueResourcePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListQueueResourcePage) NextWithContext ¶
func (page *ListQueueResourcePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ListQueueResourcePage) NotDone ¶
func (page ListQueueResourcePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListQueueResourcePage) Response ¶
func (page ListQueueResourcePage) Response() ListQueueResource
Response returns the raw server response from the last page request.
func (ListQueueResourcePage) Values ¶
func (page ListQueueResourcePage) Values() []ListQueue
Values returns the slice of values for the current page or nil if there are no values.
type ListQueueServices ¶
type ListQueueServices struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of queue services returned. Value *[]QueueServiceProperties `json:"value,omitempty"` }
ListQueueServices ...
func (ListQueueServices) MarshalJSON ¶
func (lqs ListQueueServices) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListQueueServices.
type ListServiceSasResponse ¶
type ListServiceSasResponse struct { autorest.Response `json:"-"` // ServiceSasToken - READ-ONLY; List service SAS credentials of specific resource. ServiceSasToken *string `json:"serviceSasToken,omitempty"` }
ListServiceSasResponse the List service SAS credentials operation response.
func (ListServiceSasResponse) MarshalJSON ¶
func (lssr ListServiceSasResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListServiceSasResponse.
type ListTableResource ¶
type ListTableResource struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of tables returned. Value *[]Table `json:"value,omitempty"` // NextLink - READ-ONLY; Request URL that can be used to query next page of tables NextLink *string `json:"nextLink,omitempty"` }
ListTableResource response schema. Contains list of tables returned
func (ListTableResource) IsEmpty ¶
func (ltr ListTableResource) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ListTableResource) MarshalJSON ¶
func (ltr ListTableResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListTableResource.
type ListTableResourceIterator ¶
type ListTableResourceIterator struct {
// contains filtered or unexported fields
}
ListTableResourceIterator provides access to a complete listing of Table values.
func NewListTableResourceIterator ¶
func NewListTableResourceIterator(page ListTableResourcePage) ListTableResourceIterator
Creates a new instance of the ListTableResourceIterator type.
func (*ListTableResourceIterator) Next ¶
func (iter *ListTableResourceIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListTableResourceIterator) NextWithContext ¶
func (iter *ListTableResourceIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ListTableResourceIterator) NotDone ¶
func (iter ListTableResourceIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListTableResourceIterator) Response ¶
func (iter ListTableResourceIterator) Response() ListTableResource
Response returns the raw server response from the last page request.
func (ListTableResourceIterator) Value ¶
func (iter ListTableResourceIterator) Value() Table
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListTableResourcePage ¶
type ListTableResourcePage struct {
// contains filtered or unexported fields
}
ListTableResourcePage contains a page of Table values.
func NewListTableResourcePage ¶
func NewListTableResourcePage(cur ListTableResource, getNextPage func(context.Context, ListTableResource) (ListTableResource, error)) ListTableResourcePage
Creates a new instance of the ListTableResourcePage type.
func (*ListTableResourcePage) Next ¶
func (page *ListTableResourcePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListTableResourcePage) NextWithContext ¶
func (page *ListTableResourcePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ListTableResourcePage) NotDone ¶
func (page ListTableResourcePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListTableResourcePage) Response ¶
func (page ListTableResourcePage) Response() ListTableResource
Response returns the raw server response from the last page request.
func (ListTableResourcePage) Values ¶
func (page ListTableResourcePage) Values() []Table
Values returns the slice of values for the current page or nil if there are no values.
type ListTableServices ¶
type ListTableServices struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of table services returned. Value *[]TableServiceProperties `json:"value,omitempty"` }
ListTableServices ...
func (ListTableServices) MarshalJSON ¶
func (lts ListTableServices) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListTableServices.
type LocalUser ¶
type LocalUser struct { autorest.Response `json:"-"` // LocalUserProperties - Storage account local user properties. *LocalUserProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
LocalUser the local user associated with the storage accounts.
func (LocalUser) MarshalJSON ¶
MarshalJSON is the custom marshaler for LocalUser.
func (*LocalUser) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for LocalUser struct.
type LocalUserKeys ¶
type LocalUserKeys struct { autorest.Response `json:"-"` SSHAuthorizedKeys *[]SSHPublicKey `json:"sshAuthorizedKeys,omitempty"` }
LocalUserKeys the Storage Account Local User keys.
type LocalUserProperties ¶
type LocalUserProperties struct { // PermissionScopes - The permission scopes of the local user. PermissionScopes *[]PermissionScope `json:"permissionScopes,omitempty"` // HomeDirectory - Optional, local user home directory. HomeDirectory *string `json:"homeDirectory,omitempty"` SSHAuthorizedKeys *[]SSHPublicKey `json:"sshAuthorizedKeys,omitempty"` // Sid - READ-ONLY; A unique Security Identifier that is generated by the server. Sid *string `json:"sid,omitempty"` HasSharedKey *bool `json:"hasSharedKey,omitempty"` // HasSSHKey - Indicates whether ssh key exists. Set it to false to remove existing SSH key. HasSSHKey *bool `json:"hasSshKey,omitempty"` // HasSSHPassword - Indicates whether ssh password exists. Set it to false to remove existing SSH password. HasSSHPassword *bool `json:"hasSshPassword,omitempty"` }
LocalUserProperties the Storage Account Local User properties.
func (LocalUserProperties) MarshalJSON ¶
func (lup LocalUserProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalUserProperties.
type LocalUserRegeneratePasswordResult ¶
type LocalUserRegeneratePasswordResult struct { autorest.Response `json:"-"` // SSHPassword - READ-ONLY; Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user. SSHPassword *string `json:"sshPassword,omitempty"` }
LocalUserRegeneratePasswordResult the secrets of Storage Account Local User.
func (LocalUserRegeneratePasswordResult) MarshalJSON ¶
func (lurpr LocalUserRegeneratePasswordResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalUserRegeneratePasswordResult.
type LocalUsers ¶
type LocalUsers struct { autorest.Response `json:"-"` // Value - The local users associated with the storage account. Value *[]LocalUser `json:"value,omitempty"` }
LocalUsers list storage account local users.
type LocalUsersClient ¶
type LocalUsersClient struct {
BaseClient
}
LocalUsersClient is the the Azure Storage Management API.
func NewLocalUsersClient ¶
func NewLocalUsersClient(subscriptionID string) LocalUsersClient
NewLocalUsersClient creates an instance of the LocalUsersClient client.
func NewLocalUsersClientWithBaseURI ¶
func NewLocalUsersClientWithBaseURI(baseURI string, subscriptionID string) LocalUsersClient
NewLocalUsersClientWithBaseURI creates an instance of the LocalUsersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LocalUsersClient) CreateOrUpdate ¶
func (client LocalUsersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, username string, properties LocalUser) (result LocalUser, err error)
CreateOrUpdate create or update the properties of a local user associated with the storage account Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. username - the name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. properties - the local user associated with a storage account.
func (LocalUsersClient) CreateOrUpdatePreparer ¶
func (client LocalUsersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, username string, properties LocalUser) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LocalUsersClient) CreateOrUpdateResponder ¶
func (client LocalUsersClient) CreateOrUpdateResponder(resp *http.Response) (result LocalUser, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (LocalUsersClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (LocalUsersClient) Delete ¶
func (client LocalUsersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, username string) (result autorest.Response, err error)
Delete deletes the local user associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. username - the name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
func (LocalUsersClient) DeletePreparer ¶
func (client LocalUsersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, username string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LocalUsersClient) DeleteResponder ¶
func (client LocalUsersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (LocalUsersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (LocalUsersClient) Get ¶
func (client LocalUsersClient) Get(ctx context.Context, resourceGroupName string, accountName string, username string) (result LocalUser, err error)
Get get the local user of the storage account by username. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. username - the name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
func (LocalUsersClient) GetPreparer ¶
func (client LocalUsersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, username string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LocalUsersClient) GetResponder ¶
func (client LocalUsersClient) GetResponder(resp *http.Response) (result LocalUser, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LocalUsersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LocalUsersClient) List ¶
func (client LocalUsersClient) List(ctx context.Context, resourceGroupName string, accountName string) (result LocalUsers, err error)
List list the local users associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (LocalUsersClient) ListKeys ¶
func (client LocalUsersClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string, username string) (result LocalUserKeys, err error)
ListKeys list SSH authorized keys and shared key of the local user. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. username - the name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
func (LocalUsersClient) ListKeysPreparer ¶
func (client LocalUsersClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string, username string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (LocalUsersClient) ListKeysResponder ¶
func (client LocalUsersClient) ListKeysResponder(resp *http.Response) (result LocalUserKeys, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (LocalUsersClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (LocalUsersClient) ListPreparer ¶
func (client LocalUsersClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (LocalUsersClient) ListResponder ¶
func (client LocalUsersClient) ListResponder(resp *http.Response) (result LocalUsers, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LocalUsersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (LocalUsersClient) RegeneratePassword ¶
func (client LocalUsersClient) RegeneratePassword(ctx context.Context, resourceGroupName string, accountName string, username string) (result LocalUserRegeneratePasswordResult, err error)
RegeneratePassword regenerate the local user SSH password. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. username - the name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.
func (LocalUsersClient) RegeneratePasswordPreparer ¶
func (client LocalUsersClient) RegeneratePasswordPreparer(ctx context.Context, resourceGroupName string, accountName string, username string) (*http.Request, error)
RegeneratePasswordPreparer prepares the RegeneratePassword request.
func (LocalUsersClient) RegeneratePasswordResponder ¶
func (client LocalUsersClient) RegeneratePasswordResponder(resp *http.Response) (result LocalUserRegeneratePasswordResult, err error)
RegeneratePasswordResponder handles the response to the RegeneratePassword request. The method always closes the http.Response Body.
func (LocalUsersClient) RegeneratePasswordSender ¶
RegeneratePasswordSender sends the RegeneratePassword request. The method will close the http.Response Body if it receives an error.
type ManagementPoliciesClient ¶
type ManagementPoliciesClient struct {
BaseClient
}
ManagementPoliciesClient is the the Azure Storage Management API.
func NewManagementPoliciesClient ¶
func NewManagementPoliciesClient(subscriptionID string) ManagementPoliciesClient
NewManagementPoliciesClient creates an instance of the ManagementPoliciesClient client.
func NewManagementPoliciesClientWithBaseURI ¶
func NewManagementPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagementPoliciesClient
NewManagementPoliciesClientWithBaseURI creates an instance of the ManagementPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ManagementPoliciesClient) CreateOrUpdate ¶
func (client ManagementPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, properties ManagementPolicy) (result ManagementPolicy, err error)
CreateOrUpdate sets the managementpolicy to the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. properties - the ManagementPolicy set to a storage account.
func (ManagementPoliciesClient) CreateOrUpdatePreparer ¶
func (client ManagementPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, properties ManagementPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ManagementPoliciesClient) CreateOrUpdateResponder ¶
func (client ManagementPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ManagementPoliciesClient) CreateOrUpdateSender ¶
func (client ManagementPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ManagementPoliciesClient) Delete ¶
func (client ManagementPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
Delete deletes the managementpolicy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (ManagementPoliciesClient) DeletePreparer ¶
func (client ManagementPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagementPoliciesClient) DeleteResponder ¶
func (client ManagementPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ManagementPoliciesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagementPoliciesClient) Get ¶
func (client ManagementPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result ManagementPolicy, err error)
Get gets the managementpolicy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (ManagementPoliciesClient) GetPreparer ¶
func (client ManagementPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagementPoliciesClient) GetResponder ¶
func (client ManagementPoliciesClient) GetResponder(resp *http.Response) (result ManagementPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ManagementPolicy ¶
type ManagementPolicy struct { autorest.Response `json:"-"` // ManagementPolicyProperties - Returns the Storage Account Data Policies Rules. *ManagementPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ManagementPolicy the Get Storage Account ManagementPolicies operation response.
func (ManagementPolicy) MarshalJSON ¶
func (mp ManagementPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagementPolicy.
func (*ManagementPolicy) UnmarshalJSON ¶
func (mp *ManagementPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagementPolicy struct.
type ManagementPolicyAction ¶
type ManagementPolicyAction struct { // BaseBlob - The management policy action for base blob BaseBlob *ManagementPolicyBaseBlob `json:"baseBlob,omitempty"` // Snapshot - The management policy action for snapshot Snapshot *ManagementPolicySnapShot `json:"snapshot,omitempty"` // Version - The management policy action for version Version *ManagementPolicyVersion `json:"version,omitempty"` }
ManagementPolicyAction actions are applied to the filtered blobs when the execution condition is met.
type ManagementPolicyBaseBlob ¶
type ManagementPolicyBaseBlob struct { // TierToCool - The function to tier blobs to cool storage. Support blobs currently at Hot tier TierToCool *DateAfterModification `json:"tierToCool,omitempty"` // TierToArchive - The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier TierToArchive *DateAfterModification `json:"tierToArchive,omitempty"` // Delete - The function to delete the blob Delete *DateAfterModification `json:"delete,omitempty"` // EnableAutoTierToHotFromCool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. EnableAutoTierToHotFromCool *bool `json:"enableAutoTierToHotFromCool,omitempty"` }
ManagementPolicyBaseBlob management policy action for base blob.
type ManagementPolicyDefinition ¶
type ManagementPolicyDefinition struct { // Actions - An object that defines the action set. Actions *ManagementPolicyAction `json:"actions,omitempty"` // Filters - An object that defines the filter set. Filters *ManagementPolicyFilter `json:"filters,omitempty"` }
ManagementPolicyDefinition an object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set.
type ManagementPolicyFilter ¶
type ManagementPolicyFilter struct { // PrefixMatch - An array of strings for prefixes to be match. PrefixMatch *[]string `json:"prefixMatch,omitempty"` // BlobTypes - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. BlobTypes *[]string `json:"blobTypes,omitempty"` // BlobIndexMatch - An array of blob index tag based filters, there can be at most 10 tag filters BlobIndexMatch *[]TagFilter `json:"blobIndexMatch,omitempty"` }
ManagementPolicyFilter filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.
type ManagementPolicyProperties ¶
type ManagementPolicyProperties struct { // LastModifiedTime - READ-ONLY; Returns the date and time the ManagementPolicies was last modified. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Policy - The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. Policy *ManagementPolicySchema `json:"policy,omitempty"` }
ManagementPolicyProperties the Storage Account ManagementPolicy properties.
func (ManagementPolicyProperties) MarshalJSON ¶
func (mpp ManagementPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagementPolicyProperties.
type ManagementPolicyRule ¶
type ManagementPolicyRule struct { // Enabled - Rule is enabled if set to true. Enabled *bool `json:"enabled,omitempty"` // Name - A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. Name *string `json:"name,omitempty"` // Type - The valid value is Lifecycle Type *string `json:"type,omitempty"` // Definition - An object that defines the Lifecycle rule. Definition *ManagementPolicyDefinition `json:"definition,omitempty"` }
ManagementPolicyRule an object that wraps the Lifecycle rule. Each rule is uniquely defined by name.
type ManagementPolicySchema ¶
type ManagementPolicySchema struct { // Rules - The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. Rules *[]ManagementPolicyRule `json:"rules,omitempty"` }
ManagementPolicySchema the Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
type ManagementPolicySnapShot ¶
type ManagementPolicySnapShot struct { // TierToCool - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` // TierToArchive - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` // Delete - The function to delete the blob snapshot Delete *DateAfterCreation `json:"delete,omitempty"` }
ManagementPolicySnapShot management policy action for snapshot.
type ManagementPolicyVersion ¶
type ManagementPolicyVersion struct { // TierToCool - The function to tier blob version to cool storage. Support blob version currently at Hot tier TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` // TierToArchive - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` // Delete - The function to delete the blob version Delete *DateAfterCreation `json:"delete,omitempty"` }
ManagementPolicyVersion management policy action for blob version.
type MetricSpecification ¶
type MetricSpecification struct { // Name - Name of metric specification. Name *string `json:"name,omitempty"` // DisplayName - Display name of metric specification. DisplayName *string `json:"displayName,omitempty"` // DisplayDescription - Display description of metric specification. DisplayDescription *string `json:"displayDescription,omitempty"` // Unit - Unit could be Bytes or Count. Unit *string `json:"unit,omitempty"` // Dimensions - Dimensions of blobs, including blob type and access tier. Dimensions *[]Dimension `json:"dimensions,omitempty"` // AggregationType - Aggregation type could be Average. AggregationType *string `json:"aggregationType,omitempty"` // FillGapWithZero - The property to decide fill gap with zero or not. FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` // Category - The category this metric specification belong to, could be Capacity. Category *string `json:"category,omitempty"` // ResourceIDDimensionNameOverride - Account Resource Id. ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` }
MetricSpecification metric specification of operation.
type MigrationState ¶
type MigrationState string
MigrationState enumerates the values for migration state.
const ( // MigrationStateCompleted ... MigrationStateCompleted MigrationState = "Completed" // MigrationStateInProgress ... MigrationStateInProgress MigrationState = "InProgress" )
func PossibleMigrationStateValues ¶
func PossibleMigrationStateValues() []MigrationState
PossibleMigrationStateValues returns an array of possible values for the MigrationState const type.
type MinimumTLSVersion ¶
type MinimumTLSVersion string
MinimumTLSVersion enumerates the values for minimum tls version.
const ( // TLS10 ... TLS10 MinimumTLSVersion = "TLS1_0" // TLS11 ... TLS11 MinimumTLSVersion = "TLS1_1" // TLS12 ... TLS12 MinimumTLSVersion = "TLS1_2" )
func PossibleMinimumTLSVersionValues ¶
func PossibleMinimumTLSVersionValues() []MinimumTLSVersion
PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type.
type Multichannel ¶
type Multichannel struct { // Enabled - Indicates whether multichannel is enabled Enabled *bool `json:"enabled,omitempty"` }
Multichannel multichannel setting. Applies to Premium FileStorage only.
type Name ¶
type Name string
Name enumerates the values for name.
const ( // AccessTimeTracking ... AccessTimeTracking Name = "AccessTimeTracking" )
func PossibleNameValues ¶
func PossibleNameValues() []Name
PossibleNameValues returns an array of possible values for the Name const type.
type NetworkRuleSet ¶
type NetworkRuleSet struct { // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' Bypass Bypass `json:"bypass,omitempty"` // ResourceAccessRules - Sets the resource access rules ResourceAccessRules *[]ResourceAccessRule `json:"resourceAccessRules,omitempty"` // VirtualNetworkRules - Sets the virtual network rules VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` // IPRules - Sets the IP ACL rules IPRules *[]IPRule `json:"ipRules,omitempty"` // DefaultAction - Specifies the default action of allow or deny when no other rules match. Possible values include: 'DefaultActionAllow', 'DefaultActionDeny' DefaultAction DefaultAction `json:"defaultAction,omitempty"` }
NetworkRuleSet network rule set
type ObjectReplicationPolicies ¶
type ObjectReplicationPolicies struct { autorest.Response `json:"-"` // Value - The replication policy between two storage accounts. Value *[]ObjectReplicationPolicy `json:"value,omitempty"` }
ObjectReplicationPolicies list storage account object replication policies.
type ObjectReplicationPoliciesClient ¶
type ObjectReplicationPoliciesClient struct {
BaseClient
}
ObjectReplicationPoliciesClient is the the Azure Storage Management API.
func NewObjectReplicationPoliciesClient ¶
func NewObjectReplicationPoliciesClient(subscriptionID string) ObjectReplicationPoliciesClient
NewObjectReplicationPoliciesClient creates an instance of the ObjectReplicationPoliciesClient client.
func NewObjectReplicationPoliciesClientWithBaseURI ¶
func NewObjectReplicationPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ObjectReplicationPoliciesClient
NewObjectReplicationPoliciesClientWithBaseURI creates an instance of the ObjectReplicationPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ObjectReplicationPoliciesClient) CreateOrUpdate ¶
func (client ObjectReplicationPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string, properties ObjectReplicationPolicy) (result ObjectReplicationPolicy, err error)
CreateOrUpdate create or update the object replication policy of the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. objectReplicationPolicyID - for the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file. properties - the object replication policy set to a storage account. A unique policy ID will be created if absent.
func (ObjectReplicationPoliciesClient) CreateOrUpdatePreparer ¶
func (client ObjectReplicationPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string, properties ObjectReplicationPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ObjectReplicationPoliciesClient) CreateOrUpdateResponder ¶
func (client ObjectReplicationPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ObjectReplicationPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ObjectReplicationPoliciesClient) CreateOrUpdateSender ¶
func (client ObjectReplicationPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ObjectReplicationPoliciesClient) Delete ¶
func (client ObjectReplicationPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string) (result autorest.Response, err error)
Delete deletes the object replication policy associated with the specified storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. objectReplicationPolicyID - for the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
func (ObjectReplicationPoliciesClient) DeletePreparer ¶
func (client ObjectReplicationPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ObjectReplicationPoliciesClient) DeleteResponder ¶
func (client ObjectReplicationPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ObjectReplicationPoliciesClient) DeleteSender ¶
func (client ObjectReplicationPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ObjectReplicationPoliciesClient) Get ¶
func (client ObjectReplicationPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string) (result ObjectReplicationPolicy, err error)
Get get the object replication policy of the storage account by policy ID. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. objectReplicationPolicyID - for the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
func (ObjectReplicationPoliciesClient) GetPreparer ¶
func (client ObjectReplicationPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ObjectReplicationPoliciesClient) GetResponder ¶
func (client ObjectReplicationPoliciesClient) GetResponder(resp *http.Response) (result ObjectReplicationPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ObjectReplicationPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ObjectReplicationPoliciesClient) List ¶
func (client ObjectReplicationPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ObjectReplicationPolicies, err error)
List list the object replication policies associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (ObjectReplicationPoliciesClient) ListPreparer ¶
func (client ObjectReplicationPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ObjectReplicationPoliciesClient) ListResponder ¶
func (client ObjectReplicationPoliciesClient) ListResponder(resp *http.Response) (result ObjectReplicationPolicies, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ObjectReplicationPoliciesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ObjectReplicationPolicy ¶
type ObjectReplicationPolicy struct { autorest.Response `json:"-"` // ObjectReplicationPolicyProperties - Returns the Storage Account Object Replication Policy. *ObjectReplicationPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ObjectReplicationPolicy the replication policy between two storage accounts. Multiple rules can be defined in one policy.
func (ObjectReplicationPolicy) MarshalJSON ¶
func (orp ObjectReplicationPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ObjectReplicationPolicy.
func (*ObjectReplicationPolicy) UnmarshalJSON ¶
func (orp *ObjectReplicationPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ObjectReplicationPolicy struct.
type ObjectReplicationPolicyFilter ¶
type ObjectReplicationPolicyFilter struct { // PrefixMatch - Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. PrefixMatch *[]string `json:"prefixMatch,omitempty"` // MinCreationTime - Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z MinCreationTime *string `json:"minCreationTime,omitempty"` }
ObjectReplicationPolicyFilter filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.
type ObjectReplicationPolicyProperties ¶
type ObjectReplicationPolicyProperties struct { // PolicyID - READ-ONLY; A unique id for object replication policy. PolicyID *string `json:"policyId,omitempty"` // EnabledTime - READ-ONLY; Indicates when the policy is enabled on the source account. EnabledTime *date.Time `json:"enabledTime,omitempty"` // SourceAccount - Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. SourceAccount *string `json:"sourceAccount,omitempty"` // DestinationAccount - Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. DestinationAccount *string `json:"destinationAccount,omitempty"` // Rules - The storage account object replication rules. Rules *[]ObjectReplicationPolicyRule `json:"rules,omitempty"` }
ObjectReplicationPolicyProperties the Storage Account ObjectReplicationPolicy properties.
func (ObjectReplicationPolicyProperties) MarshalJSON ¶
func (orpp ObjectReplicationPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ObjectReplicationPolicyProperties.
type ObjectReplicationPolicyRule ¶
type ObjectReplicationPolicyRule struct { // RuleID - Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. RuleID *string `json:"ruleId,omitempty"` // SourceContainer - Required. Source container name. SourceContainer *string `json:"sourceContainer,omitempty"` // DestinationContainer - Required. Destination container name. DestinationContainer *string `json:"destinationContainer,omitempty"` // Filters - Optional. An object that defines the filter set. Filters *ObjectReplicationPolicyFilter `json:"filters,omitempty"` }
ObjectReplicationPolicyRule the replication policy rule between two containers.
type ObjectType ¶
type ObjectType string
ObjectType enumerates the values for object type.
const ( // Blob ... Blob ObjectType = "Blob" // Container ... Container ObjectType = "Container" )
func PossibleObjectTypeValues ¶
func PossibleObjectTypeValues() []ObjectType
PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
type Operation ¶
type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` // Display - Display metadata associated with the operation. Display *OperationDisplay `json:"display,omitempty"` // Origin - The origin of operations. Origin *string `json:"origin,omitempty"` // OperationProperties - Properties of operation, include metric specifications. *OperationProperties `json:"properties,omitempty"` }
Operation storage REST API operation definition.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Operation struct.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft Storage. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed etc. Resource *string `json:"resource,omitempty"` // Operation - Type of operation: get, read, delete, etc. Operation *string `json:"operation,omitempty"` // Description - Description of the operation. Description *string `json:"description,omitempty"` }
OperationDisplay display metadata associated with the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Storage operations supported by the Storage resource provider. Value *[]Operation `json:"value,omitempty"` }
OperationListResult result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.
type OperationProperties ¶
type OperationProperties struct { // ServiceSpecification - One property of operation, include metric specifications. ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` }
OperationProperties properties of operation, include metric specifications.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the the Azure Storage Management API.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available Storage Rest API operations.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PermissionScope ¶
type PermissionScope struct { // Permissions - The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create (c). Permissions *string `json:"permissions,omitempty"` // Service - The service used by the local user, e.g. blob, file. Service *string `json:"service,omitempty"` // ResourceName - The name of resource, normally the container name or the file share name, used by the local user. ResourceName *string `json:"resourceName,omitempty"` }
PermissionScope ...
type Permissions ¶
type Permissions string
Permissions enumerates the values for permissions.
const ( // A ... A Permissions = "a" // C ... C Permissions = "c" // D ... D Permissions = "d" // L ... L Permissions = "l" // P ... P Permissions = "p" // R ... R Permissions = "r" // U ... U Permissions = "u" // W ... W Permissions = "w" )
func PossiblePermissionsValues ¶
func PossiblePermissionsValues() []Permissions
PossiblePermissionsValues returns an array of possible values for the Permissions const type.
type PrivateEndpoint ¶
type PrivateEndpoint struct { // ID - READ-ONLY; The ARM identifier for Private Endpoint ID *string `json:"id,omitempty"` }
PrivateEndpoint the Private Endpoint resource.
func (PrivateEndpoint) MarshalJSON ¶
func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpoint.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // PrivateEndpointConnectionProperties - Resource properties. *PrivateEndpointConnectionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
PrivateEndpointConnection the Private Endpoint Connection resource.
func (PrivateEndpointConnection) MarshalJSON ¶
func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpointConnection.
func (*PrivateEndpointConnection) UnmarshalJSON ¶
func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
type PrivateEndpointConnectionListResult ¶
type PrivateEndpointConnectionListResult struct { autorest.Response `json:"-"` // Value - Array of private endpoint connections Value *[]PrivateEndpointConnection `json:"value,omitempty"` }
PrivateEndpointConnectionListResult list of private endpoint connection associated with the specified storage account
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // PrivateEndpoint - The resource of private end point. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed' ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.
const ( // PrivateEndpointConnectionProvisioningStateCreating ... PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" // PrivateEndpointConnectionProvisioningStateDeleting ... PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" // PrivateEndpointConnectionProvisioningStateFailed ... PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" // PrivateEndpointConnectionProvisioningStateSucceeded ... PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func PossiblePrivateEndpointConnectionProvisioningStateValues ¶
func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState
PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
BaseClient
}
PrivateEndpointConnectionsClient is the the Azure Storage Management API.
func NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI ¶
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateEndpointConnectionsClient) Delete ¶
func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string) (result autorest.Response, err error)
Delete deletes the specified private endpoint connection associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource
func (PrivateEndpointConnectionsClient) DeletePreparer ¶
func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointConnectionsClient) DeleteResponder ¶
func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) DeleteSender ¶
func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Get ¶
func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
Get gets the specified private endpoint connection associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource
func (PrivateEndpointConnectionsClient) GetPreparer ¶
func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointConnectionsClient) GetResponder ¶
func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) List ¶
func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateEndpointConnectionListResult, err error)
List list all the private endpoint connections associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (PrivateEndpointConnectionsClient) ListPreparer ¶
func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PrivateEndpointConnectionsClient) ListResponder ¶
func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PrivateEndpointConnectionsClient) ListSender ¶
func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointConnectionsClient) Put ¶
func (client PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (result PrivateEndpointConnection, err error)
Put update the state of specified private endpoint connection associated with the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource properties - the private endpoint connection properties.
func (PrivateEndpointConnectionsClient) PutPreparer ¶
func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (*http.Request, error)
PutPreparer prepares the Put request.
func (PrivateEndpointConnectionsClient) PutResponder ¶
func (client PrivateEndpointConnectionsClient) PutResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
const ( // Approved ... Approved PrivateEndpointServiceConnectionStatus = "Approved" // Pending ... Pending PrivateEndpointServiceConnectionStatus = "Pending" // Rejected ... Rejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func PossiblePrivateEndpointServiceConnectionStatusValues ¶
func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus
PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
type PrivateLinkResource ¶
type PrivateLinkResource struct { // PrivateLinkResourceProperties - Resource properties. *PrivateLinkResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
PrivateLinkResource a private link resource
func (PrivateLinkResource) MarshalJSON ¶
func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResource.
func (*PrivateLinkResource) UnmarshalJSON ¶
func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct { autorest.Response `json:"-"` // Value - Array of private link resources Value *[]PrivateLinkResource `json:"value,omitempty"` }
PrivateLinkResourceListResult a list of private link resources
type PrivateLinkResourceProperties ¶
type PrivateLinkResourceProperties struct { // GroupID - READ-ONLY; The private link resource group id. GroupID *string `json:"groupId,omitempty"` // RequiredMembers - READ-ONLY; The private link resource required member names. RequiredMembers *[]string `json:"requiredMembers,omitempty"` // RequiredZoneNames - The private link resource Private link DNS zone name. RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` }
PrivateLinkResourceProperties properties of a private link resource.
func (PrivateLinkResourceProperties) MarshalJSON ¶
func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
BaseClient
}
PrivateLinkResourcesClient is the the Azure Storage Management API.
func NewPrivateLinkResourcesClient ¶
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient
NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrivateLinkResourcesClient) ListByStorageAccount ¶
func (client PrivateLinkResourcesClient) ListByStorageAccount(ctx context.Context, resourceGroupName string, accountName string) (result PrivateLinkResourceListResult, err error)
ListByStorageAccount gets the private link resources that need to be created for a storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (PrivateLinkResourcesClient) ListByStorageAccountPreparer ¶
func (client PrivateLinkResourcesClient) ListByStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByStorageAccountPreparer prepares the ListByStorageAccount request.
func (PrivateLinkResourcesClient) ListByStorageAccountResponder ¶
func (client PrivateLinkResourcesClient) ListByStorageAccountResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
ListByStorageAccountResponder handles the response to the ListByStorageAccount request. The method always closes the http.Response Body.
func (PrivateLinkResourcesClient) ListByStorageAccountSender ¶
func (client PrivateLinkResourcesClient) ListByStorageAccountSender(req *http.Request) (*http.Response, error)
ListByStorageAccountSender sends the ListByStorageAccount request. The method will close the http.Response Body if it receives an error.
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected' Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` // ActionRequired - A message indicating if changes on the service provider require any updates on the consumer. ActionRequired *string `json:"actionRequired,omitempty"` }
PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.
type ProtectedAppendWritesHistory ¶
type ProtectedAppendWritesHistory struct { // AllowProtectedAppendWritesAll - When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` // Timestamp - READ-ONLY; Returns the date and time the tag was added. Timestamp *date.Time `json:"timestamp,omitempty"` }
ProtectedAppendWritesHistory protected append writes history setting for the blob container with Legal holds.
func (ProtectedAppendWritesHistory) MarshalJSON ¶
func (pawh ProtectedAppendWritesHistory) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProtectedAppendWritesHistory.
type ProtocolSettings ¶
type ProtocolSettings struct { // Smb - Setting for SMB protocol Smb *SmbSetting `json:"smb,omitempty"` }
ProtocolSettings protocol settings for file service
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // Creating ... Creating ProvisioningState = "Creating" // ResolvingDNS ... ResolvingDNS ProvisioningState = "ResolvingDNS" // Succeeded ... Succeeded ProvisioningState = "Succeeded" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type PublicAccess ¶
type PublicAccess string
PublicAccess enumerates the values for public access.
const ( // PublicAccessBlob ... PublicAccessBlob PublicAccess = "Blob" // PublicAccessContainer ... PublicAccessContainer PublicAccess = "Container" // PublicAccessNone ... PublicAccessNone PublicAccess = "None" )
func PossiblePublicAccessValues ¶
func PossiblePublicAccessValues() []PublicAccess
PossiblePublicAccessValues returns an array of possible values for the PublicAccess const type.
type PublicNetworkAccess ¶
type PublicNetworkAccess string
PublicNetworkAccess enumerates the values for public network access.
const ( // PublicNetworkAccessDisabled ... PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" // PublicNetworkAccessEnabled ... PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func PossiblePublicNetworkAccessValues ¶
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess
PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
type Queue ¶
type Queue struct { autorest.Response `json:"-"` // QueueProperties - Queue resource properties. *QueueProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Queue ...
func (Queue) MarshalJSON ¶
MarshalJSON is the custom marshaler for Queue.
func (*Queue) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Queue struct.
type QueueClient ¶
type QueueClient struct {
BaseClient
}
QueueClient is the the Azure Storage Management API.
func NewQueueClient ¶
func NewQueueClient(subscriptionID string) QueueClient
NewQueueClient creates an instance of the QueueClient client.
func NewQueueClientWithBaseURI ¶
func NewQueueClientWithBaseURI(baseURI string, subscriptionID string) QueueClient
NewQueueClientWithBaseURI creates an instance of the QueueClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (QueueClient) Create ¶
func (client QueueClient) Create(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue Queue) (result Queue, err error)
Create creates a new queue with the specified queue name, under the specified account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. queueName - a queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters. queue - queue properties and metadata to be created with
func (QueueClient) CreatePreparer ¶
func (client QueueClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue Queue) (*http.Request, error)
CreatePreparer prepares the Create request.
func (QueueClient) CreateResponder ¶
func (client QueueClient) CreateResponder(resp *http.Response) (result Queue, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (QueueClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (QueueClient) Delete ¶
func (client QueueClient) Delete(ctx context.Context, resourceGroupName string, accountName string, queueName string) (result autorest.Response, err error)
Delete deletes the queue with the specified queue name, under the specified account if it exists. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. queueName - a queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
func (QueueClient) DeletePreparer ¶
func (client QueueClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, queueName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (QueueClient) DeleteResponder ¶
func (client QueueClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (QueueClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (QueueClient) Get ¶
func (client QueueClient) Get(ctx context.Context, resourceGroupName string, accountName string, queueName string) (result Queue, err error)
Get gets the queue with the specified queue name, under the specified account if it exists. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. queueName - a queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
func (QueueClient) GetPreparer ¶
func (client QueueClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, queueName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (QueueClient) GetResponder ¶
func (client QueueClient) GetResponder(resp *http.Response) (result Queue, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (QueueClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (QueueClient) List ¶
func (client QueueClient) List(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string) (result ListQueueResourcePage, err error)
List gets a list of all the queues under the specified storage account Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. maxpagesize - optional, a maximum number of queues that should be included in a list queue response filter - optional, When specified, only the queues with a name starting with the given filter will be listed.
func (QueueClient) ListComplete ¶
func (client QueueClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string) (result ListQueueResourceIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (QueueClient) ListPreparer ¶
func (client QueueClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, maxpagesize string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (QueueClient) ListResponder ¶
func (client QueueClient) ListResponder(resp *http.Response) (result ListQueueResource, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (QueueClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (QueueClient) Update ¶
func (client QueueClient) Update(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue Queue) (result Queue, err error)
Update creates a new queue with the specified queue name, under the specified account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. queueName - a queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters. queue - queue properties and metadata to be created with
func (QueueClient) UpdatePreparer ¶
func (client QueueClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue Queue) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (QueueClient) UpdateResponder ¶
func (client QueueClient) UpdateResponder(resp *http.Response) (result Queue, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (QueueClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type QueueProperties ¶
type QueueProperties struct { // Metadata - A name-value pair that represents queue metadata. Metadata map[string]*string `json:"metadata"` // ApproximateMessageCount - READ-ONLY; Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher. ApproximateMessageCount *int32 `json:"approximateMessageCount,omitempty"` }
QueueProperties ...
func (QueueProperties) MarshalJSON ¶
func (qp QueueProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueueProperties.
type QueueServiceProperties ¶
type QueueServiceProperties struct { autorest.Response `json:"-"` // QueueServicePropertiesProperties - The properties of a storage account’s Queue service. *QueueServicePropertiesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
QueueServiceProperties the properties of a storage account’s Queue service.
func (QueueServiceProperties) MarshalJSON ¶
func (qsp QueueServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for QueueServiceProperties.
func (*QueueServiceProperties) UnmarshalJSON ¶
func (qsp *QueueServiceProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for QueueServiceProperties struct.
type QueueServicePropertiesProperties ¶
type QueueServicePropertiesProperties struct { // Cors - Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. Cors *CorsRules `json:"cors,omitempty"` }
QueueServicePropertiesProperties the properties of a storage account’s Queue service.
type QueueServicesClient ¶
type QueueServicesClient struct {
BaseClient
}
QueueServicesClient is the the Azure Storage Management API.
func NewQueueServicesClient ¶
func NewQueueServicesClient(subscriptionID string) QueueServicesClient
NewQueueServicesClient creates an instance of the QueueServicesClient client.
func NewQueueServicesClientWithBaseURI ¶
func NewQueueServicesClientWithBaseURI(baseURI string, subscriptionID string) QueueServicesClient
NewQueueServicesClientWithBaseURI creates an instance of the QueueServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (QueueServicesClient) GetServiceProperties ¶
func (client QueueServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result QueueServiceProperties, err error)
GetServiceProperties gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (QueueServicesClient) GetServicePropertiesPreparer ¶
func (client QueueServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetServicePropertiesPreparer prepares the GetServiceProperties request.
func (QueueServicesClient) GetServicePropertiesResponder ¶
func (client QueueServicesClient) GetServicePropertiesResponder(resp *http.Response) (result QueueServiceProperties, err error)
GetServicePropertiesResponder handles the response to the GetServiceProperties request. The method always closes the http.Response Body.
func (QueueServicesClient) GetServicePropertiesSender ¶
func (client QueueServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
GetServicePropertiesSender sends the GetServiceProperties request. The method will close the http.Response Body if it receives an error.
func (QueueServicesClient) List ¶
func (client QueueServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListQueueServices, err error)
List list all queue services for the storage account Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (QueueServicesClient) ListPreparer ¶
func (client QueueServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (QueueServicesClient) ListResponder ¶
func (client QueueServicesClient) ListResponder(resp *http.Response) (result ListQueueServices, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (QueueServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (QueueServicesClient) SetServiceProperties ¶
func (client QueueServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, parameters QueueServiceProperties) (result QueueServiceProperties, err error)
SetServiceProperties sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
func (QueueServicesClient) SetServicePropertiesPreparer ¶
func (client QueueServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters QueueServiceProperties) (*http.Request, error)
SetServicePropertiesPreparer prepares the SetServiceProperties request.
func (QueueServicesClient) SetServicePropertiesResponder ¶
func (client QueueServicesClient) SetServicePropertiesResponder(resp *http.Response) (result QueueServiceProperties, err error)
SetServicePropertiesResponder handles the response to the SetServiceProperties request. The method always closes the http.Response Body.
func (QueueServicesClient) SetServicePropertiesSender ¶
func (client QueueServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
SetServicePropertiesSender sends the SetServiceProperties request. The method will close the http.Response Body if it receives an error.
type Reason ¶
type Reason string
Reason enumerates the values for reason.
func PossibleReasonValues ¶
func PossibleReasonValues() []Reason
PossibleReasonValues returns an array of possible values for the Reason const type.
type ReasonCode ¶
type ReasonCode string
ReasonCode enumerates the values for reason code.
const ( // NotAvailableForSubscription ... NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" // QuotaID ... QuotaID ReasonCode = "QuotaId" )
func PossibleReasonCodeValues ¶
func PossibleReasonCodeValues() []ReasonCode
PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceAccessRule ¶
type ResourceAccessRule struct { // TenantID - Tenant Id TenantID *string `json:"tenantId,omitempty"` // ResourceID - Resource Id ResourceID *string `json:"resourceId,omitempty"` }
ResourceAccessRule resource Access Rule.
type RestorePolicyProperties ¶
type RestorePolicyProperties struct { // Enabled - Blob restore is enabled if set to true. Enabled *bool `json:"enabled,omitempty"` // Days - how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days. Days *int32 `json:"days,omitempty"` // LastEnabledTime - READ-ONLY; Deprecated in favor of minRestoreTime property. LastEnabledTime *date.Time `json:"lastEnabledTime,omitempty"` // MinRestoreTime - READ-ONLY; Returns the minimum date and time that the restore can be started. MinRestoreTime *date.Time `json:"minRestoreTime,omitempty"` }
RestorePolicyProperties the blob service properties for blob restore policy
func (RestorePolicyProperties) MarshalJSON ¶
func (rpp RestorePolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RestorePolicyProperties.
type Restriction ¶
type Restriction struct { // Type - READ-ONLY; The type of restrictions. As of now only possible value for this is location. Type *string `json:"type,omitempty"` // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Values *[]string `json:"values,omitempty"` // ReasonCode - The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Possible values include: 'QuotaID', 'NotAvailableForSubscription' ReasonCode ReasonCode `json:"reasonCode,omitempty"` }
Restriction the restriction because of which SKU cannot be used.
func (Restriction) MarshalJSON ¶
func (r Restriction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Restriction.
type RootSquashType ¶
type RootSquashType string
RootSquashType enumerates the values for root squash type.
const ( // AllSquash ... AllSquash RootSquashType = "AllSquash" // NoRootSquash ... NoRootSquash RootSquashType = "NoRootSquash" // RootSquash ... RootSquash RootSquashType = "RootSquash" )
func PossibleRootSquashTypeValues ¶
func PossibleRootSquashTypeValues() []RootSquashType
PossibleRootSquashTypeValues returns an array of possible values for the RootSquashType const type.
type RoutingChoice ¶
type RoutingChoice string
RoutingChoice enumerates the values for routing choice.
const ( // InternetRouting ... InternetRouting RoutingChoice = "InternetRouting" // MicrosoftRouting ... MicrosoftRouting RoutingChoice = "MicrosoftRouting" )
func PossibleRoutingChoiceValues ¶
func PossibleRoutingChoiceValues() []RoutingChoice
PossibleRoutingChoiceValues returns an array of possible values for the RoutingChoice const type.
type RoutingPreference ¶
type RoutingPreference struct { // RoutingChoice - Routing Choice defines the kind of network routing opted by the user. Possible values include: 'MicrosoftRouting', 'InternetRouting' RoutingChoice RoutingChoice `json:"routingChoice,omitempty"` // PublishMicrosoftEndpoints - A boolean flag which indicates whether microsoft routing storage endpoints are to be published PublishMicrosoftEndpoints *bool `json:"publishMicrosoftEndpoints,omitempty"` // PublishInternetEndpoints - A boolean flag which indicates whether internet routing storage endpoints are to be published PublishInternetEndpoints *bool `json:"publishInternetEndpoints,omitempty"` }
RoutingPreference routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing
type SKUCapability ¶
type SKUCapability struct { // Name - READ-ONLY; The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. Name *string `json:"name,omitempty"` // Value - READ-ONLY; A string value to indicate states of given capability. Possibly 'true' or 'false'. Value *string `json:"value,omitempty"` }
SKUCapability the capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
func (SKUCapability) MarshalJSON ¶
func (sc SKUCapability) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SKUCapability.
type SSHPublicKey ¶
type SSHPublicKey struct { // Description - Optional. It is used to store the function/usage of the key Description *string `json:"description,omitempty"` // Key - Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', e.g. ssh-rsa AAAABBBB Key *string `json:"key,omitempty"` }
SSHPublicKey ...
type SasPolicy ¶
type SasPolicy struct { // SasExpirationPeriod - The SAS expiration period, DD.HH:MM:SS. SasExpirationPeriod *string `json:"sasExpirationPeriod,omitempty"` // ExpirationAction - The SAS expiration action. Can only be Log. ExpirationAction *string `json:"expirationAction,omitempty"` }
SasPolicy sasPolicy assigned to the storage account.
type Schedule ¶
type Schedule string
Schedule enumerates the values for schedule.
func PossibleScheduleValues ¶
func PossibleScheduleValues() []Schedule
PossibleScheduleValues returns an array of possible values for the Schedule const type.
type ServiceSasParameters ¶
type ServiceSasParameters struct { // CanonicalizedResource - The canonical path to the signed resource. CanonicalizedResource *string `json:"canonicalizedResource,omitempty"` // Resource - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). Possible values include: 'SignedResourceB', 'SignedResourceC', 'SignedResourceF', 'SignedResourceS' Resource SignedResource `json:"signedResource,omitempty"` // Permissions - The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` SharedAccessExpiryTime *date.Time `json:"signedExpiry,omitempty"` // Identifier - A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. Identifier *string `json:"signedIdentifier,omitempty"` // PartitionKeyStart - The start of partition key. PartitionKeyStart *string `json:"startPk,omitempty"` // PartitionKeyEnd - The end of partition key. PartitionKeyEnd *string `json:"endPk,omitempty"` // RowKeyStart - The start of row key. RowKeyStart *string `json:"startRk,omitempty"` // RowKeyEnd - The end of row key. RowKeyEnd *string `json:"endRk,omitempty"` // KeyToSign - The key to sign the account SAS token with. KeyToSign *string `json:"keyToSign,omitempty"` // CacheControl - The response header override for cache control. CacheControl *string `json:"rscc,omitempty"` // ContentDisposition - The response header override for content disposition. ContentDisposition *string `json:"rscd,omitempty"` // ContentEncoding - The response header override for content encoding. ContentEncoding *string `json:"rsce,omitempty"` // ContentLanguage - The response header override for content language. ContentLanguage *string `json:"rscl,omitempty"` // ContentType - The response header override for content type. ContentType *string `json:"rsct,omitempty"` }
ServiceSasParameters the parameters to list service SAS credentials of a specific resource.
type ServiceSpecification ¶
type ServiceSpecification struct { // MetricSpecifications - Metric specifications of operation. MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"` }
ServiceSpecification one property of operation, include metric specifications.
type Services ¶
type Services string
Services enumerates the values for services.
func PossibleServicesValues ¶
func PossibleServicesValues() []Services
PossibleServicesValues returns an array of possible values for the Services const type.
type ShareAccessTier ¶
type ShareAccessTier string
ShareAccessTier enumerates the values for share access tier.
const ( ShareAccessTier = "Cool" ShareAccessTierHot ShareAccessTier = "Hot" ShareAccessTierPremium ShareAccessTier = "Premium" ShareAccessTierTransactionOptimized ShareAccessTier = "TransactionOptimized" )ShareAccessTierCool
func PossibleShareAccessTierValues ¶
func PossibleShareAccessTierValues() []ShareAccessTier
PossibleShareAccessTierValues returns an array of possible values for the ShareAccessTier const type.
type SignedIdentifier ¶
type SignedIdentifier struct { // ID - An unique identifier of the stored access policy. ID *string `json:"id,omitempty"` // AccessPolicy - Access policy AccessPolicy *AccessPolicy `json:"accessPolicy,omitempty"` }
SignedIdentifier ...
type SignedResource ¶
type SignedResource string
SignedResource enumerates the values for signed resource.
const ( // SignedResourceB ... SignedResourceB SignedResource = "b" // SignedResourceC ... SignedResourceC SignedResource = "c" // SignedResourceF ... SignedResourceF SignedResource = "f" // SignedResourceS ... SignedResourceS SignedResource = "s" )
func PossibleSignedResourceValues ¶
func PossibleSignedResourceValues() []SignedResource
PossibleSignedResourceValues returns an array of possible values for the SignedResource const type.
type SignedResourceTypes ¶
type SignedResourceTypes string
SignedResourceTypes enumerates the values for signed resource types.
const ( // SignedResourceTypesC ... SignedResourceTypesC SignedResourceTypes = "c" // SignedResourceTypesO ... SignedResourceTypesO SignedResourceTypes = "o" // SignedResourceTypesS ... SignedResourceTypesS SignedResourceTypes = "s" )
func PossibleSignedResourceTypesValues ¶
func PossibleSignedResourceTypesValues() []SignedResourceTypes
PossibleSignedResourceTypesValues returns an array of possible values for the SignedResourceTypes const type.
type Sku ¶
type Sku struct { // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' Name SkuName `json:"name,omitempty"` // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' Tier SkuTier `json:"tier,omitempty"` }
Sku the SKU of the storage account.
type SkuConversionStatus ¶
type SkuConversionStatus string
SkuConversionStatus enumerates the values for sku conversion status.
const ( // SkuConversionStatusFailed ... SkuConversionStatusFailed SkuConversionStatus = "Failed" // SkuConversionStatusInProgress ... SkuConversionStatusInProgress SkuConversionStatus = "InProgress" // SkuConversionStatusSucceeded ... SkuConversionStatusSucceeded SkuConversionStatus = "Succeeded" )
func PossibleSkuConversionStatusValues ¶
func PossibleSkuConversionStatusValues() []SkuConversionStatus
PossibleSkuConversionStatusValues returns an array of possible values for the SkuConversionStatus const type.
type SkuInformation ¶
type SkuInformation struct { // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' Name SkuName `json:"name,omitempty"` // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' Tier SkuTier `json:"tier,omitempty"` // ResourceType - READ-ONLY; The type of the resource, usually it is 'storageAccounts'. ResourceType *string `json:"resourceType,omitempty"` // Kind - READ-ONLY; Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Locations - READ-ONLY; The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). Locations *[]string `json:"locations,omitempty"` // Capabilities - READ-ONLY; The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. Capabilities *[]SKUCapability `json:"capabilities,omitempty"` // Restrictions - The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. Restrictions *[]Restriction `json:"restrictions,omitempty"` }
SkuInformation storage SKU and its properties
func (SkuInformation) MarshalJSON ¶
func (si SkuInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuInformation.
type SkuListResult ¶
type SkuListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; Get the list result of storage SKUs and their properties. Value *[]SkuInformation `json:"value,omitempty"` }
SkuListResult the response from the List Storage SKUs operation.
func (SkuListResult) MarshalJSON ¶
func (slr SkuListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuListResult.
type SkuName ¶
type SkuName string
SkuName enumerates the values for sku name.
const ( // PremiumLRS ... PremiumLRS SkuName = "Premium_LRS" // PremiumZRS ... PremiumZRS SkuName = "Premium_ZRS" // StandardGRS ... StandardGRS SkuName = "Standard_GRS" // StandardGZRS ... StandardGZRS SkuName = "Standard_GZRS" // StandardLRS ... StandardLRS SkuName = "Standard_LRS" // StandardRAGRS ... StandardRAGRS SkuName = "Standard_RAGRS" // StandardRAGZRS ... StandardRAGZRS SkuName = "Standard_RAGZRS" // StandardZRS ... StandardZRS SkuName = "Standard_ZRS" )
func PossibleSkuNameValues ¶
func PossibleSkuNameValues() []SkuName
PossibleSkuNameValues returns an array of possible values for the SkuName const type.
type SkuTier ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
func PossibleSkuTierValues ¶
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
type SkusClient ¶
type SkusClient struct {
BaseClient
}
SkusClient is the the Azure Storage Management API.
func NewSkusClient ¶
func NewSkusClient(subscriptionID string) SkusClient
NewSkusClient creates an instance of the SkusClient client.
func NewSkusClientWithBaseURI ¶
func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient
NewSkusClientWithBaseURI creates an instance of the SkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SkusClient) List ¶
func (client SkusClient) List(ctx context.Context) (result SkuListResult, err error)
List lists the available SKUs supported by Microsoft.Storage for given subscription.
func (SkusClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SkusClient) ListResponder ¶
func (client SkusClient) ListResponder(resp *http.Response) (result SkuListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SkusClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SmbSetting ¶
type SmbSetting struct { // Multichannel - Multichannel setting. Applies to Premium FileStorage only. Multichannel *Multichannel `json:"multichannel,omitempty"` // Versions - SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'. Versions *string `json:"versions,omitempty"` // AuthenticationMethods - SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. AuthenticationMethods *string `json:"authenticationMethods,omitempty"` // KerberosTicketEncryption - Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';' KerberosTicketEncryption *string `json:"kerberosTicketEncryption,omitempty"` // ChannelEncryption - SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'. ChannelEncryption *string `json:"channelEncryption,omitempty"` }
SmbSetting setting for SMB protocol
type State ¶
type State string
State enumerates the values for state.
const ( // StateDeprovisioning ... StateDeprovisioning State = "Deprovisioning" // StateFailed ... StateFailed State = "Failed" // StateNetworkSourceDeleted ... StateNetworkSourceDeleted State = "NetworkSourceDeleted" // StateProvisioning ... StateProvisioning State = "Provisioning" // StateSucceeded ... StateSucceeded State = "Succeeded" )
func PossibleStateValues ¶
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type Table ¶
type Table struct { autorest.Response `json:"-"` // TableProperties - Table resource properties. *TableProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Table properties of the table, including Id, resource name, resource type.
func (Table) MarshalJSON ¶
MarshalJSON is the custom marshaler for Table.
func (*Table) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Table struct.
type TableAccessPolicy ¶
type TableAccessPolicy struct { // StartTime - Start time of the access policy StartTime *date.Time `json:"startTime,omitempty"` // ExpiryTime - Expiry time of the access policy ExpiryTime *date.Time `json:"expiryTime,omitempty"` // Permission - Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d' Permission *string `json:"permission,omitempty"` }
TableAccessPolicy table Access Policy Properties Object.
type TableClient ¶
type TableClient struct {
BaseClient
}
TableClient is the the Azure Storage Management API.
func NewTableClient ¶
func NewTableClient(subscriptionID string) TableClient
NewTableClient creates an instance of the TableClient client.
func NewTableClientWithBaseURI ¶
func NewTableClientWithBaseURI(baseURI string, subscriptionID string) TableClient
NewTableClientWithBaseURI creates an instance of the TableClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TableClient) Create ¶
func (client TableClient) Create(ctx context.Context, resourceGroupName string, accountName string, tableName string, parameters *Table) (result Table, err error)
Create creates a new table with the specified table name, under the specified account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. tableName - a table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character. parameters - the parameters to provide to create a table.
func (TableClient) CreatePreparer ¶
func (client TableClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string, parameters *Table) (*http.Request, error)
CreatePreparer prepares the Create request.
func (TableClient) CreateResponder ¶
func (client TableClient) CreateResponder(resp *http.Response) (result Table, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (TableClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (TableClient) Delete ¶
func (client TableClient) Delete(ctx context.Context, resourceGroupName string, accountName string, tableName string) (result autorest.Response, err error)
Delete deletes the table with the specified table name, under the specified account if it exists. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. tableName - a table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
func (TableClient) DeletePreparer ¶
func (client TableClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (TableClient) DeleteResponder ¶
func (client TableClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (TableClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (TableClient) Get ¶
func (client TableClient) Get(ctx context.Context, resourceGroupName string, accountName string, tableName string) (result Table, err error)
Get gets the table with the specified table name, under the specified account if it exists. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. tableName - a table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
func (TableClient) GetPreparer ¶
func (client TableClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TableClient) GetResponder ¶
func (client TableClient) GetResponder(resp *http.Response) (result Table, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TableClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TableClient) List ¶
func (client TableClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListTableResourcePage, err error)
List gets a list of all the tables under the specified storage account Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (TableClient) ListComplete ¶
func (client TableClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string) (result ListTableResourceIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (TableClient) ListPreparer ¶
func (client TableClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (TableClient) ListResponder ¶
func (client TableClient) ListResponder(resp *http.Response) (result ListTableResource, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TableClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (TableClient) Update ¶
func (client TableClient) Update(ctx context.Context, resourceGroupName string, accountName string, tableName string, parameters *Table) (result Table, err error)
Update creates a new table with the specified table name, under the specified account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. tableName - a table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character. parameters - the parameters to provide to create a table.
func (TableClient) UpdatePreparer ¶
func (client TableClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string, parameters *Table) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (TableClient) UpdateResponder ¶
func (client TableClient) UpdateResponder(resp *http.Response) (result Table, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (TableClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type TableProperties ¶
type TableProperties struct { // TableName - READ-ONLY; Table name under the specified account TableName *string `json:"tableName,omitempty"` // SignedIdentifiers - List of stored access policies specified on the table. SignedIdentifiers *[]TableSignedIdentifier `json:"signedIdentifiers,omitempty"` }
TableProperties ...
func (TableProperties) MarshalJSON ¶
func (tp TableProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TableProperties.
type TableServiceProperties ¶
type TableServiceProperties struct { autorest.Response `json:"-"` // TableServicePropertiesProperties - The properties of a storage account’s Table service. *TableServicePropertiesProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TableServiceProperties the properties of a storage account’s Table service.
func (TableServiceProperties) MarshalJSON ¶
func (tsp TableServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TableServiceProperties.
func (*TableServiceProperties) UnmarshalJSON ¶
func (tsp *TableServiceProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TableServiceProperties struct.
type TableServicePropertiesProperties ¶
type TableServicePropertiesProperties struct { // Cors - Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service. Cors *CorsRules `json:"cors,omitempty"` }
TableServicePropertiesProperties the properties of a storage account’s Table service.
type TableServicesClient ¶
type TableServicesClient struct {
BaseClient
}
TableServicesClient is the the Azure Storage Management API.
func NewTableServicesClient ¶
func NewTableServicesClient(subscriptionID string) TableServicesClient
NewTableServicesClient creates an instance of the TableServicesClient client.
func NewTableServicesClientWithBaseURI ¶
func NewTableServicesClientWithBaseURI(baseURI string, subscriptionID string) TableServicesClient
NewTableServicesClientWithBaseURI creates an instance of the TableServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (TableServicesClient) GetServiceProperties ¶
func (client TableServicesClient) GetServiceProperties(ctx context.Context, resourceGroupName string, accountName string) (result TableServiceProperties, err error)
GetServiceProperties gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (TableServicesClient) GetServicePropertiesPreparer ¶
func (client TableServicesClient) GetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetServicePropertiesPreparer prepares the GetServiceProperties request.
func (TableServicesClient) GetServicePropertiesResponder ¶
func (client TableServicesClient) GetServicePropertiesResponder(resp *http.Response) (result TableServiceProperties, err error)
GetServicePropertiesResponder handles the response to the GetServiceProperties request. The method always closes the http.Response Body.
func (TableServicesClient) GetServicePropertiesSender ¶
func (client TableServicesClient) GetServicePropertiesSender(req *http.Request) (*http.Response, error)
GetServicePropertiesSender sends the GetServiceProperties request. The method will close the http.Response Body if it receives an error.
func (TableServicesClient) List ¶
func (client TableServicesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListTableServices, err error)
List list all table services for the storage account. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
func (TableServicesClient) ListPreparer ¶
func (client TableServicesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListPreparer prepares the List request.
func (TableServicesClient) ListResponder ¶
func (client TableServicesClient) ListResponder(resp *http.Response) (result ListTableServices, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TableServicesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (TableServicesClient) SetServiceProperties ¶
func (client TableServicesClient) SetServiceProperties(ctx context.Context, resourceGroupName string, accountName string, parameters TableServiceProperties) (result TableServiceProperties, err error)
SetServiceProperties sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. accountName - the name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters - the properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
func (TableServicesClient) SetServicePropertiesPreparer ¶
func (client TableServicesClient) SetServicePropertiesPreparer(ctx context.Context, resourceGroupName string, accountName string, parameters TableServiceProperties) (*http.Request, error)
SetServicePropertiesPreparer prepares the SetServiceProperties request.
func (TableServicesClient) SetServicePropertiesResponder ¶
func (client TableServicesClient) SetServicePropertiesResponder(resp *http.Response) (result TableServiceProperties, err error)
SetServicePropertiesResponder handles the response to the SetServiceProperties request. The method always closes the http.Response Body.
func (TableServicesClient) SetServicePropertiesSender ¶
func (client TableServicesClient) SetServicePropertiesSender(req *http.Request) (*http.Response, error)
SetServicePropertiesSender sends the SetServiceProperties request. The method will close the http.Response Body if it receives an error.
type TableSignedIdentifier ¶
type TableSignedIdentifier struct { // ID - unique-64-character-value of the stored access policy. ID *string `json:"id,omitempty"` // AccessPolicy - Access policy AccessPolicy *TableAccessPolicy `json:"accessPolicy,omitempty"` }
TableSignedIdentifier object to set Table Access Policy.
type TagFilter ¶
type TagFilter struct { // Name - This is the filter tag name, it can have 1 - 128 characters Name *string `json:"name,omitempty"` // Op - This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported Op *string `json:"op,omitempty"` // Value - This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters Value *string `json:"value,omitempty"` }
TagFilter blob index tag based filtering for blob objects
type TagProperty ¶
type TagProperty struct { // Tag - READ-ONLY; The tag value. Tag *string `json:"tag,omitempty"` // Timestamp - READ-ONLY; Returns the date and time the tag was added. Timestamp *date.Time `json:"timestamp,omitempty"` // ObjectIdentifier - READ-ONLY; Returns the Object ID of the user who added the tag. ObjectIdentifier *string `json:"objectIdentifier,omitempty"` // TenantID - READ-ONLY; Returns the Tenant ID that issued the token for the user who added the tag. TenantID *string `json:"tenantId,omitempty"` // Upn - READ-ONLY; Returns the User Principal Name of the user who added the tag. Upn *string `json:"upn,omitempty"` }
TagProperty a tag of the LegalHold of a blob container.
func (TagProperty) MarshalJSON ¶
func (tp TagProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagProperty.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type UpdateHistoryProperty ¶
type UpdateHistoryProperty struct { // Update - READ-ONLY; The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'Put', 'Lock', 'Extend' Update ImmutabilityPolicyUpdateType `json:"update,omitempty"` // ImmutabilityPeriodSinceCreationInDays - READ-ONLY; The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` // Timestamp - READ-ONLY; Returns the date and time the ImmutabilityPolicy was updated. Timestamp *date.Time `json:"timestamp,omitempty"` // ObjectIdentifier - READ-ONLY; Returns the Object ID of the user who updated the ImmutabilityPolicy. ObjectIdentifier *string `json:"objectIdentifier,omitempty"` // TenantID - READ-ONLY; Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy. TenantID *string `json:"tenantId,omitempty"` // Upn - READ-ONLY; Returns the User Principal Name of the user who updated the ImmutabilityPolicy. Upn *string `json:"upn,omitempty"` // AllowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` // AllowProtectedAppendWritesAll - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` }
UpdateHistoryProperty an update history of the ImmutabilityPolicy of a blob container.
func (UpdateHistoryProperty) MarshalJSON ¶
func (uhp UpdateHistoryProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateHistoryProperty.
type Usage ¶
type Usage struct { // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond' Unit UsageUnit `json:"unit,omitempty"` // CurrentValue - READ-ONLY; Gets the current count of the allocated resources in the subscription. CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - READ-ONLY; Gets the maximum count of the resources that can be allocated in the subscription. Limit *int32 `json:"limit,omitempty"` // Name - READ-ONLY; Gets the name of the type of usage. Name *UsageName `json:"name,omitempty"` }
Usage describes Storage Resource Usage.
func (Usage) MarshalJSON ¶
MarshalJSON is the custom marshaler for Usage.
type UsageListResult ¶
type UsageListResult struct { autorest.Response `json:"-"` // Value - Gets or sets the list of Storage Resource Usages. Value *[]Usage `json:"value,omitempty"` }
UsageListResult the response from the List Usages operation.
type UsageName ¶
type UsageName struct { // Value - READ-ONLY; Gets a string describing the resource name. Value *string `json:"value,omitempty"` // LocalizedValue - READ-ONLY; Gets a localized string describing the resource name. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageName the usage names that can be used; currently limited to StorageAccount.
func (UsageName) MarshalJSON ¶
MarshalJSON is the custom marshaler for UsageName.
type UsageUnit ¶
type UsageUnit string
UsageUnit enumerates the values for usage unit.
const ( // Bytes ... Bytes UsageUnit = "Bytes" // BytesPerSecond ... BytesPerSecond UsageUnit = "BytesPerSecond" // Count ... Count UsageUnit = "Count" // CountsPerSecond ... CountsPerSecond UsageUnit = "CountsPerSecond" // Percent ... Percent UsageUnit = "Percent" // Seconds ... Seconds UsageUnit = "Seconds" )
func PossibleUsageUnitValues ¶
func PossibleUsageUnitValues() []UsageUnit
PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
type UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient is the the Azure Storage Management API.
func NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (UsagesClient) ListByLocation ¶
func (client UsagesClient) ListByLocation(ctx context.Context, location string) (result UsageListResult, err error)
ListByLocation gets the current usage count and the limit for the resources of the location under the subscription. Parameters: location - the location of the Azure Storage resource.
func (UsagesClient) ListByLocationPreparer ¶
func (client UsagesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (UsagesClient) ListByLocationResponder ¶
func (client UsagesClient) ListByLocationResponder(resp *http.Response) (result UsageListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (UsagesClient) ListByLocationSender ¶
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
type UserAssignedIdentity ¶
type UserAssignedIdentity struct { // PrincipalID - READ-ONLY; The principal ID of the identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client ID of the identity. ClientID *string `json:"clientId,omitempty"` }
UserAssignedIdentity userAssignedIdentity for the resource.
func (UserAssignedIdentity) MarshalJSON ¶
func (uai UserAssignedIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UserAssignedIdentity.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { // VirtualNetworkResourceID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. VirtualNetworkResourceID *string `json:"id,omitempty"` // Action - The action of virtual network rule. Possible values include: 'Allow' Action Action `json:"action,omitempty"` // State - Gets the state of virtual network rule. Possible values include: 'StateProvisioning', 'StateDeprovisioning', 'StateSucceeded', 'StateFailed', 'StateNetworkSourceDeleted' State State `json:"state,omitempty"` }
VirtualNetworkRule virtual Network rule.
Source Files ¶
- accounts.go
- blobcontainers.go
- blobinventorypolicies.go
- blobservices.go
- client.go
- deletedaccounts.go
- encryptionscopes.go
- enums.go
- fileservices.go
- fileshares.go
- localusers.go
- managementpolicies.go
- models.go
- objectreplicationpolicies.go
- operations.go
- privateendpointconnections.go
- privatelinkresources.go
- queue.go
- queueservices.go
- skus.go
- table.go
- tableservices.go
- usages.go
- version.go