storageaccounts

package
v0.20230530.1154251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts Documentation

The storageaccounts SDK allows for interaction with the Azure Resource Manager Service storage (API Version 2022-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2022-05-01/storageaccounts"

Client Initialization

client := storageaccounts.NewStorageAccountsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: StorageAccountsClient.AbortHierarchicalNamespaceMigration

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

if err := client.AbortHierarchicalNamespaceMigrationThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: StorageAccountsClient.CheckNameAvailability

ctx := context.TODO()
id := storageaccounts.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := storageaccounts.StorageAccountCheckNameAvailabilityParameters{
	// ...
}


read, err := client.CheckNameAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.Create

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.StorageAccountCreateParameters{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: StorageAccountsClient.Delete

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.Failover

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

if err := client.FailoverThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: StorageAccountsClient.GetProperties

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

read, err := client.GetProperties(ctx, id, storageaccounts.DefaultGetPropertiesOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.HierarchicalNamespaceMigration

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

if err := client.HierarchicalNamespaceMigrationThenPoll(ctx, id, storageaccounts.DefaultHierarchicalNamespaceMigrationOperationOptions()); err != nil {
	// handle the error
}

Example Usage: StorageAccountsClient.List

ctx := context.TODO()
id := storageaccounts.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StorageAccountsClient.ListAccountSAS

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.AccountSasParameters{
	// ...
}


read, err := client.ListAccountSAS(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.ListByResourceGroup

ctx := context.TODO()
id := storageaccounts.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: StorageAccountsClient.ListKeys

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

read, err := client.ListKeys(ctx, id, storageaccounts.DefaultListKeysOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.ListServiceSAS

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.ServiceSasParameters{
	// ...
}


read, err := client.ListServiceSAS(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.RegenerateKey

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.StorageAccountRegenerateKeyParameters{
	// ...
}


read, err := client.RegenerateKey(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.RestoreBlobRanges

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.BlobRestoreParameters{
	// ...
}


if err := client.RestoreBlobRangesThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: StorageAccountsClient.RevokeUserDelegationKeys

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

read, err := client.RevokeUserDelegationKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: StorageAccountsClient.Update

ctx := context.TODO()
id := storageaccounts.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "storageAccountValue")

payload := storageaccounts.StorageAccountUpdateParameters{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessTier

func PossibleValuesForAccessTier() []string

func PossibleValuesForAccountImmutabilityPolicyState

func PossibleValuesForAccountImmutabilityPolicyState() []string

func PossibleValuesForAccountStatus

func PossibleValuesForAccountStatus() []string

func PossibleValuesForAccountType

func PossibleValuesForAccountType() []string

func PossibleValuesForAction

func PossibleValuesForAction() []string

func PossibleValuesForAllowedCopyScope

func PossibleValuesForAllowedCopyScope() []string

func PossibleValuesForBlobRestoreProgressStatus

func PossibleValuesForBlobRestoreProgressStatus() []string

func PossibleValuesForBypass

func PossibleValuesForBypass() []string

func PossibleValuesForDefaultAction

func PossibleValuesForDefaultAction() []string

func PossibleValuesForDefaultSharePermission

func PossibleValuesForDefaultSharePermission() []string

func PossibleValuesForDirectoryServiceOptions

func PossibleValuesForDirectoryServiceOptions() []string

func PossibleValuesForDnsEndpointType

func PossibleValuesForDnsEndpointType() []string

func PossibleValuesForExpirationAction

func PossibleValuesForExpirationAction() []string

func PossibleValuesForGeoReplicationStatus

func PossibleValuesForGeoReplicationStatus() []string

func PossibleValuesForHTTPProtocol

func PossibleValuesForHTTPProtocol() []string

func PossibleValuesForKeyPermission

func PossibleValuesForKeyPermission() []string

func PossibleValuesForKeySource

func PossibleValuesForKeySource() []string

func PossibleValuesForKeyType

func PossibleValuesForKeyType() []string

func PossibleValuesForKind

func PossibleValuesForKind() []string

func PossibleValuesForLargeFileSharesState

func PossibleValuesForLargeFileSharesState() []string

func PossibleValuesForListKeyExpand

func PossibleValuesForListKeyExpand() []string

func PossibleValuesForMinimumTlsVersion

func PossibleValuesForMinimumTlsVersion() []string

func PossibleValuesForPermissions

func PossibleValuesForPermissions() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForReason

func PossibleValuesForReason() []string

func PossibleValuesForRoutingChoice

func PossibleValuesForRoutingChoice() []string

func PossibleValuesForServices

func PossibleValuesForServices() []string

func PossibleValuesForSignedResource

func PossibleValuesForSignedResource() []string

func PossibleValuesForSignedResourceTypes

func PossibleValuesForSignedResourceTypes() []string

func PossibleValuesForSkuConversionStatus

func PossibleValuesForSkuConversionStatus() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func PossibleValuesForState

func PossibleValuesForState() []string

func PossibleValuesForStorageAccountExpand

func PossibleValuesForStorageAccountExpand() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func ValidateStorageAccountID

func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID

Types

type AbortHierarchicalNamespaceMigrationOperationResponse

type AbortHierarchicalNamespaceMigrationOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type AccessTier

type AccessTier string
const (
	AccessTierCool    AccessTier = "Cool"
	AccessTierHot     AccessTier = "Hot"
	AccessTierPremium AccessTier = "Premium"
)

type AccountImmutabilityPolicyProperties

type AccountImmutabilityPolicyProperties struct {
	AllowProtectedAppendWrites            *bool                           `json:"allowProtectedAppendWrites,omitempty"`
	ImmutabilityPeriodSinceCreationInDays *int64                          `json:"immutabilityPeriodSinceCreationInDays,omitempty"`
	State                                 *AccountImmutabilityPolicyState `json:"state,omitempty"`
}

type AccountImmutabilityPolicyState

type AccountImmutabilityPolicyState string
const (
	AccountImmutabilityPolicyStateDisabled AccountImmutabilityPolicyState = "Disabled"
	AccountImmutabilityPolicyStateLocked   AccountImmutabilityPolicyState = "Locked"
	AccountImmutabilityPolicyStateUnlocked AccountImmutabilityPolicyState = "Unlocked"
)

type AccountSasParameters

type AccountSasParameters struct {
	KeyToSign           *string             `json:"keyToSign,omitempty"`
	SignedExpiry        string              `json:"signedExpiry"`
	SignedIP            *string             `json:"signedIp,omitempty"`
	SignedPermission    Permissions         `json:"signedPermission"`
	SignedProtocol      *HTTPProtocol       `json:"signedProtocol,omitempty"`
	SignedResourceTypes SignedResourceTypes `json:"signedResourceTypes"`
	SignedServices      Services            `json:"signedServices"`
	SignedStart         *string             `json:"signedStart,omitempty"`
}

func (*AccountSasParameters) GetSignedExpiryAsTime

func (o *AccountSasParameters) GetSignedExpiryAsTime() (*time.Time, error)

func (*AccountSasParameters) GetSignedStartAsTime

func (o *AccountSasParameters) GetSignedStartAsTime() (*time.Time, error)

func (*AccountSasParameters) SetSignedExpiryAsTime

func (o *AccountSasParameters) SetSignedExpiryAsTime(input time.Time)

func (*AccountSasParameters) SetSignedStartAsTime

func (o *AccountSasParameters) SetSignedStartAsTime(input time.Time)

type AccountStatus

type AccountStatus string
const (
	AccountStatusAvailable   AccountStatus = "available"
	AccountStatusUnavailable AccountStatus = "unavailable"
)

type AccountType

type AccountType string
const (
	AccountTypeComputer AccountType = "Computer"
	AccountTypeUser     AccountType = "User"
)

type Action

type Action string
const (
	ActionAllow Action = "Allow"
)

type ActiveDirectoryProperties

type ActiveDirectoryProperties struct {
	AccountType       *AccountType `json:"accountType,omitempty"`
	AzureStorageSid   *string      `json:"azureStorageSid,omitempty"`
	DomainGuid        string       `json:"domainGuid"`
	DomainName        string       `json:"domainName"`
	DomainSid         *string      `json:"domainSid,omitempty"`
	ForestName        *string      `json:"forestName,omitempty"`
	NetBiosDomainName *string      `json:"netBiosDomainName,omitempty"`
	SamAccountName    *string      `json:"samAccountName,omitempty"`
}

type AllowedCopyScope

type AllowedCopyScope string
const (
	AllowedCopyScopeAAD         AllowedCopyScope = "AAD"
	AllowedCopyScopePrivateLink AllowedCopyScope = "PrivateLink"
)

type AzureFilesIdentityBasedAuthentication

type AzureFilesIdentityBasedAuthentication struct {
	ActiveDirectoryProperties *ActiveDirectoryProperties `json:"activeDirectoryProperties,omitempty"`
	DefaultSharePermission    *DefaultSharePermission    `json:"defaultSharePermission,omitempty"`
	DirectoryServiceOptions   DirectoryServiceOptions    `json:"directoryServiceOptions"`
}

type BlobRestoreParameters

type BlobRestoreParameters struct {
	BlobRanges    []BlobRestoreRange `json:"blobRanges"`
	TimeToRestore string             `json:"timeToRestore"`
}

func (*BlobRestoreParameters) GetTimeToRestoreAsTime

func (o *BlobRestoreParameters) GetTimeToRestoreAsTime() (*time.Time, error)

func (*BlobRestoreParameters) SetTimeToRestoreAsTime

func (o *BlobRestoreParameters) SetTimeToRestoreAsTime(input time.Time)

type BlobRestoreProgressStatus

type BlobRestoreProgressStatus string
const (
	BlobRestoreProgressStatusComplete   BlobRestoreProgressStatus = "Complete"
	BlobRestoreProgressStatusFailed     BlobRestoreProgressStatus = "Failed"
	BlobRestoreProgressStatusInProgress BlobRestoreProgressStatus = "InProgress"
)

type BlobRestoreRange

type BlobRestoreRange struct {
	EndRange   string `json:"endRange"`
	StartRange string `json:"startRange"`
}

type BlobRestoreStatus

type BlobRestoreStatus struct {
	FailureReason *string                    `json:"failureReason,omitempty"`
	Parameters    *BlobRestoreParameters     `json:"parameters,omitempty"`
	RestoreId     *string                    `json:"restoreId,omitempty"`
	Status        *BlobRestoreProgressStatus `json:"status,omitempty"`
}

type Bypass

type Bypass string
const (
	BypassAzureServices Bypass = "AzureServices"
	BypassLogging       Bypass = "Logging"
	BypassMetrics       Bypass = "Metrics"
	BypassNone          Bypass = "None"
)

type CheckNameAvailabilityOperationResponse

type CheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckNameAvailabilityResult
}

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	Message       *string `json:"message,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *Reason `json:"reason,omitempty"`
}

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CustomDomain

type CustomDomain struct {
	Name             string `json:"name"`
	UseSubDomainName *bool  `json:"useSubDomainName,omitempty"`
}

type DefaultAction

type DefaultAction string
const (
	DefaultActionAllow DefaultAction = "Allow"
	DefaultActionDeny  DefaultAction = "Deny"
)

type DefaultSharePermission

type DefaultSharePermission string
const (
	DefaultSharePermissionNone                                       DefaultSharePermission = "None"
	DefaultSharePermissionStorageFileDataSmbShareContributor         DefaultSharePermission = "StorageFileDataSmbShareContributor"
	DefaultSharePermissionStorageFileDataSmbShareElevatedContributor DefaultSharePermission = "StorageFileDataSmbShareElevatedContributor"
	DefaultSharePermissionStorageFileDataSmbShareReader              DefaultSharePermission = "StorageFileDataSmbShareReader"
)

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type DirectoryServiceOptions

type DirectoryServiceOptions string
const (
	DirectoryServiceOptionsAADDS   DirectoryServiceOptions = "AADDS"
	DirectoryServiceOptionsAADKERB DirectoryServiceOptions = "AADKERB"
	DirectoryServiceOptionsAD      DirectoryServiceOptions = "AD"
	DirectoryServiceOptionsNone    DirectoryServiceOptions = "None"
)

type DnsEndpointType

type DnsEndpointType string
const (
	DnsEndpointTypeAzureDnsZone DnsEndpointType = "AzureDnsZone"
	DnsEndpointTypeStandard     DnsEndpointType = "Standard"
)

type Encryption

type Encryption struct {
	Identity                        *EncryptionIdentity `json:"identity,omitempty"`
	KeySource                       *KeySource          `json:"keySource,omitempty"`
	Keyvaultproperties              *KeyVaultProperties `json:"keyvaultproperties,omitempty"`
	RequireInfrastructureEncryption *bool               `json:"requireInfrastructureEncryption,omitempty"`
	Services                        *EncryptionServices `json:"services,omitempty"`
}

type EncryptionIdentity

type EncryptionIdentity struct {
	FederatedIdentityClientId *string `json:"federatedIdentityClientId,omitempty"`
	UserAssignedIdentity      *string `json:"userAssignedIdentity,omitempty"`
}

type EncryptionService

type EncryptionService struct {
	Enabled         *bool    `json:"enabled,omitempty"`
	KeyType         *KeyType `json:"keyType,omitempty"`
	LastEnabledTime *string  `json:"lastEnabledTime,omitempty"`
}

func (*EncryptionService) GetLastEnabledTimeAsTime

func (o *EncryptionService) GetLastEnabledTimeAsTime() (*time.Time, error)

func (*EncryptionService) SetLastEnabledTimeAsTime

func (o *EncryptionService) SetLastEnabledTimeAsTime(input time.Time)

type EncryptionServices

type EncryptionServices struct {
	Blob  *EncryptionService `json:"blob,omitempty"`
	File  *EncryptionService `json:"file,omitempty"`
	Queue *EncryptionService `json:"queue,omitempty"`
	Table *EncryptionService `json:"table,omitempty"`
}

type Endpoints

type Endpoints struct {
	Blob               *string                           `json:"blob,omitempty"`
	Dfs                *string                           `json:"dfs,omitempty"`
	File               *string                           `json:"file,omitempty"`
	InternetEndpoints  *StorageAccountInternetEndpoints  `json:"internetEndpoints,omitempty"`
	MicrosoftEndpoints *StorageAccountMicrosoftEndpoints `json:"microsoftEndpoints,omitempty"`
	Queue              *string                           `json:"queue,omitempty"`
	Table              *string                           `json:"table,omitempty"`
	Web                *string                           `json:"web,omitempty"`
}

type ExpirationAction

type ExpirationAction string
const (
	ExpirationActionLog ExpirationAction = "Log"
)

type FailoverOperationResponse

type FailoverOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type GeoReplicationStats

type GeoReplicationStats struct {
	CanFailover  *bool                 `json:"canFailover,omitempty"`
	LastSyncTime *string               `json:"lastSyncTime,omitempty"`
	Status       *GeoReplicationStatus `json:"status,omitempty"`
}

func (*GeoReplicationStats) GetLastSyncTimeAsTime

func (o *GeoReplicationStats) GetLastSyncTimeAsTime() (*time.Time, error)

func (*GeoReplicationStats) SetLastSyncTimeAsTime

func (o *GeoReplicationStats) SetLastSyncTimeAsTime(input time.Time)

type GeoReplicationStatus

type GeoReplicationStatus string
const (
	GeoReplicationStatusBootstrap   GeoReplicationStatus = "Bootstrap"
	GeoReplicationStatusLive        GeoReplicationStatus = "Live"
	GeoReplicationStatusUnavailable GeoReplicationStatus = "Unavailable"
)

type GetPropertiesOperationOptions

type GetPropertiesOperationOptions struct {
	Expand *StorageAccountExpand
}

func DefaultGetPropertiesOperationOptions

func DefaultGetPropertiesOperationOptions() GetPropertiesOperationOptions

type GetPropertiesOperationResponse

type GetPropertiesOperationResponse struct {
	HttpResponse *http.Response
	Model        *StorageAccount
}

type HTTPProtocol

type HTTPProtocol string
const (
	HTTPProtocolHTTPS     HTTPProtocol = "https"
	HTTPProtocolHTTPSHttp HTTPProtocol = "https,http"
)

type HierarchicalNamespaceMigrationOperationOptions

type HierarchicalNamespaceMigrationOperationOptions struct {
	RequestType *string
}

func DefaultHierarchicalNamespaceMigrationOperationOptions

func DefaultHierarchicalNamespaceMigrationOperationOptions() HierarchicalNamespaceMigrationOperationOptions

type HierarchicalNamespaceMigrationOperationResponse

type HierarchicalNamespaceMigrationOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type IPRule

type IPRule struct {
	Action *Action `json:"action,omitempty"`
	Value  string  `json:"value"`
}

type ImmutableStorageAccount

type ImmutableStorageAccount struct {
	Enabled            *bool                                `json:"enabled,omitempty"`
	ImmutabilityPolicy *AccountImmutabilityPolicyProperties `json:"immutabilityPolicy,omitempty"`
}

type KeyCreationTime

type KeyCreationTime struct {
	Key1 *string `json:"key1,omitempty"`
	Key2 *string `json:"key2,omitempty"`
}

func (*KeyCreationTime) GetKey1AsTime

func (o *KeyCreationTime) GetKey1AsTime() (*time.Time, error)

func (*KeyCreationTime) GetKey2AsTime

func (o *KeyCreationTime) GetKey2AsTime() (*time.Time, error)

func (*KeyCreationTime) SetKey1AsTime

func (o *KeyCreationTime) SetKey1AsTime(input time.Time)

func (*KeyCreationTime) SetKey2AsTime

func (o *KeyCreationTime) SetKey2AsTime(input time.Time)

type KeyPermission

type KeyPermission string
const (
	KeyPermissionFull KeyPermission = "Full"
	KeyPermissionRead KeyPermission = "Read"
)

type KeyPolicy

type KeyPolicy struct {
	KeyExpirationPeriodInDays int64 `json:"keyExpirationPeriodInDays"`
}

type KeySource

type KeySource string
const (
	KeySourceMicrosoftPointKeyvault KeySource = "Microsoft.Keyvault"
	KeySourceMicrosoftPointStorage  KeySource = "Microsoft.Storage"
)

type KeyType

type KeyType string
const (
	KeyTypeAccount KeyType = "Account"
	KeyTypeService KeyType = "Service"
)

type KeyVaultProperties

type KeyVaultProperties struct {
	CurrentVersionedKeyExpirationTimestamp *string `json:"currentVersionedKeyExpirationTimestamp,omitempty"`
	CurrentVersionedKeyIdentifier          *string `json:"currentVersionedKeyIdentifier,omitempty"`
	Keyname                                *string `json:"keyname,omitempty"`
	Keyvaulturi                            *string `json:"keyvaulturi,omitempty"`
	Keyversion                             *string `json:"keyversion,omitempty"`
	LastKeyRotationTimestamp               *string `json:"lastKeyRotationTimestamp,omitempty"`
}

func (*KeyVaultProperties) GetCurrentVersionedKeyExpirationTimestampAsTime

func (o *KeyVaultProperties) GetCurrentVersionedKeyExpirationTimestampAsTime() (*time.Time, error)

func (*KeyVaultProperties) GetLastKeyRotationTimestampAsTime

func (o *KeyVaultProperties) GetLastKeyRotationTimestampAsTime() (*time.Time, error)

func (*KeyVaultProperties) SetCurrentVersionedKeyExpirationTimestampAsTime

func (o *KeyVaultProperties) SetCurrentVersionedKeyExpirationTimestampAsTime(input time.Time)

func (*KeyVaultProperties) SetLastKeyRotationTimestampAsTime

func (o *KeyVaultProperties) SetLastKeyRotationTimestampAsTime(input time.Time)

type Kind

type Kind string
const (
	KindBlobStorage      Kind = "BlobStorage"
	KindBlockBlobStorage Kind = "BlockBlobStorage"
	KindFileStorage      Kind = "FileStorage"
	KindStorage          Kind = "Storage"
	KindStorageVTwo      Kind = "StorageV2"
)

type LargeFileSharesState

type LargeFileSharesState string
const (
	LargeFileSharesStateDisabled LargeFileSharesState = "Disabled"
	LargeFileSharesStateEnabled  LargeFileSharesState = "Enabled"
)

type ListAccountSASOperationResponse

type ListAccountSASOperationResponse struct {
	HttpResponse *http.Response
	Model        *ListAccountSasResponse
}

type ListAccountSasResponse

type ListAccountSasResponse struct {
	AccountSasToken *string `json:"accountSasToken,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []StorageAccount
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]StorageAccount
	// contains filtered or unexported fields
}

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []StorageAccount
}

type ListKeyExpand

type ListKeyExpand string
const (
	ListKeyExpandKerb ListKeyExpand = "kerb"
)

type ListKeysOperationOptions

type ListKeysOperationOptions struct {
	Expand *ListKeyExpand
}

func DefaultListKeysOperationOptions

func DefaultListKeysOperationOptions() ListKeysOperationOptions

type ListKeysOperationResponse

type ListKeysOperationResponse struct {
	HttpResponse *http.Response
	Model        *StorageAccountListKeysResult
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]StorageAccount
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type ListServiceSASOperationResponse

type ListServiceSASOperationResponse struct {
	HttpResponse *http.Response
	Model        *ListServiceSasResponse
}

type ListServiceSasResponse

type ListServiceSasResponse struct {
	ServiceSasToken *string `json:"serviceSasToken,omitempty"`
}

type MinimumTlsVersion

type MinimumTlsVersion string
const (
	MinimumTlsVersionTLSOneOne  MinimumTlsVersion = "TLS1_1"
	MinimumTlsVersionTLSOneTwo  MinimumTlsVersion = "TLS1_2"
	MinimumTlsVersionTLSOneZero MinimumTlsVersion = "TLS1_0"
)

type NetworkRuleSet

type NetworkRuleSet struct {
	Bypass              *Bypass               `json:"bypass,omitempty"`
	DefaultAction       DefaultAction         `json:"defaultAction"`
	IPRules             *[]IPRule             `json:"ipRules,omitempty"`
	ResourceAccessRules *[]ResourceAccessRule `json:"resourceAccessRules,omitempty"`
	VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
}

type Permissions

type Permissions string
const (
	PermissionsA Permissions = "a"
	PermissionsC Permissions = "c"
	PermissionsD Permissions = "d"
	PermissionsL Permissions = "l"
	PermissionsP Permissions = "p"
	PermissionsR Permissions = "r"
	PermissionsU Permissions = "u"
	PermissionsW Permissions = "w"
)

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState           `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string
const (
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusPending  PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionRequired *string                                 `json:"actionRequired,omitempty"`
	Description    *string                                 `json:"description,omitempty"`
	Status         *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
)

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

type Reason

type Reason string
const (
	ReasonAccountNameInvalid Reason = "AccountNameInvalid"
	ReasonAlreadyExists      Reason = "AlreadyExists"
)

type RegenerateKeyOperationResponse

type RegenerateKeyOperationResponse struct {
	HttpResponse *http.Response
	Model        *StorageAccountListKeysResult
}

type ResourceAccessRule

type ResourceAccessRule struct {
	ResourceId *string `json:"resourceId,omitempty"`
	TenantId   *string `json:"tenantId,omitempty"`
}

type RestoreBlobRangesOperationResponse

type RestoreBlobRangesOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RevokeUserDelegationKeysOperationResponse

type RevokeUserDelegationKeysOperationResponse struct {
	HttpResponse *http.Response
}

type RoutingChoice

type RoutingChoice string
const (
	RoutingChoiceInternetRouting  RoutingChoice = "InternetRouting"
	RoutingChoiceMicrosoftRouting RoutingChoice = "MicrosoftRouting"
)

type RoutingPreference

type RoutingPreference struct {
	PublishInternetEndpoints  *bool          `json:"publishInternetEndpoints,omitempty"`
	PublishMicrosoftEndpoints *bool          `json:"publishMicrosoftEndpoints,omitempty"`
	RoutingChoice             *RoutingChoice `json:"routingChoice,omitempty"`
}

type SasPolicy

type SasPolicy struct {
	ExpirationAction    ExpirationAction `json:"expirationAction"`
	SasExpirationPeriod string           `json:"sasExpirationPeriod"`
}

type ServiceSasParameters

type ServiceSasParameters struct {
	CanonicalizedResource string          `json:"canonicalizedResource"`
	EndPk                 *string         `json:"endPk,omitempty"`
	EndRk                 *string         `json:"endRk,omitempty"`
	KeyToSign             *string         `json:"keyToSign,omitempty"`
	Rscc                  *string         `json:"rscc,omitempty"`
	Rscd                  *string         `json:"rscd,omitempty"`
	Rsce                  *string         `json:"rsce,omitempty"`
	Rscl                  *string         `json:"rscl,omitempty"`
	Rsct                  *string         `json:"rsct,omitempty"`
	SignedExpiry          *string         `json:"signedExpiry,omitempty"`
	SignedIP              *string         `json:"signedIp,omitempty"`
	SignedIdentifier      *string         `json:"signedIdentifier,omitempty"`
	SignedPermission      *Permissions    `json:"signedPermission,omitempty"`
	SignedProtocol        *HTTPProtocol   `json:"signedProtocol,omitempty"`
	SignedResource        *SignedResource `json:"signedResource,omitempty"`
	SignedStart           *string         `json:"signedStart,omitempty"`
	StartPk               *string         `json:"startPk,omitempty"`
	StartRk               *string         `json:"startRk,omitempty"`
}

func (*ServiceSasParameters) GetSignedExpiryAsTime

func (o *ServiceSasParameters) GetSignedExpiryAsTime() (*time.Time, error)

func (*ServiceSasParameters) GetSignedStartAsTime

func (o *ServiceSasParameters) GetSignedStartAsTime() (*time.Time, error)

func (*ServiceSasParameters) SetSignedExpiryAsTime

func (o *ServiceSasParameters) SetSignedExpiryAsTime(input time.Time)

func (*ServiceSasParameters) SetSignedStartAsTime

func (o *ServiceSasParameters) SetSignedStartAsTime(input time.Time)

type Services

type Services string
const (
	ServicesB Services = "b"
	ServicesF Services = "f"
	ServicesQ Services = "q"
	ServicesT Services = "t"
)

type SignedResource

type SignedResource string
const (
	SignedResourceB SignedResource = "b"
	SignedResourceC SignedResource = "c"
	SignedResourceF SignedResource = "f"
	SignedResourceS SignedResource = "s"
)

type SignedResourceTypes

type SignedResourceTypes string
const (
	SignedResourceTypesC SignedResourceTypes = "c"
	SignedResourceTypesO SignedResourceTypes = "o"
	SignedResourceTypesS SignedResourceTypes = "s"
)

type Sku

type Sku struct {
	Name SkuName  `json:"name"`
	Tier *SkuTier `json:"tier,omitempty"`
}

type SkuConversionStatus

type SkuConversionStatus string
const (
	SkuConversionStatusFailed     SkuConversionStatus = "Failed"
	SkuConversionStatusInProgress SkuConversionStatus = "InProgress"
	SkuConversionStatusSucceeded  SkuConversionStatus = "Succeeded"
)

type SkuName

type SkuName string
const (
	SkuNamePremiumLRS     SkuName = "Premium_LRS"
	SkuNamePremiumZRS     SkuName = "Premium_ZRS"
	SkuNameStandardGRS    SkuName = "Standard_GRS"
	SkuNameStandardGZRS   SkuName = "Standard_GZRS"
	SkuNameStandardLRS    SkuName = "Standard_LRS"
	SkuNameStandardRAGRS  SkuName = "Standard_RAGRS"
	SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS"
	SkuNameStandardZRS    SkuName = "Standard_ZRS"
)

type SkuTier

type SkuTier string
const (
	SkuTierPremium  SkuTier = "Premium"
	SkuTierStandard SkuTier = "Standard"
)

type State

type State string
const (
	StateDeprovisioning       State = "Deprovisioning"
	StateFailed               State = "Failed"
	StateNetworkSourceDeleted State = "NetworkSourceDeleted"
	StateProvisioning         State = "Provisioning"
	StateSucceeded            State = "Succeeded"
)

type StorageAccount

type StorageAccount struct {
	ExtendedLocation *edgezones.Model                         `json:"extendedLocation,omitempty"`
	Id               *string                                  `json:"id,omitempty"`
	Identity         *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Kind             *Kind                                    `json:"kind,omitempty"`
	Location         string                                   `json:"location"`
	Name             *string                                  `json:"name,omitempty"`
	Properties       *StorageAccountProperties                `json:"properties,omitempty"`
	Sku              *Sku                                     `json:"sku,omitempty"`
	Tags             *map[string]string                       `json:"tags,omitempty"`
	Type             *string                                  `json:"type,omitempty"`
}

type StorageAccountCheckNameAvailabilityParameters

type StorageAccountCheckNameAvailabilityParameters struct {
	Name string `json:"name"`
	Type Type   `json:"type"`
}

type StorageAccountCreateParameters

type StorageAccountCreateParameters struct {
	ExtendedLocation *edgezones.Model                          `json:"extendedLocation,omitempty"`
	Identity         *identity.LegacySystemAndUserAssignedMap  `json:"identity,omitempty"`
	Kind             Kind                                      `json:"kind"`
	Location         string                                    `json:"location"`
	Properties       *StorageAccountPropertiesCreateParameters `json:"properties,omitempty"`
	Sku              Sku                                       `json:"sku"`
	Tags             *map[string]string                        `json:"tags,omitempty"`
}

type StorageAccountExpand

type StorageAccountExpand string
const (
	StorageAccountExpandBlobRestoreStatus   StorageAccountExpand = "blobRestoreStatus"
	StorageAccountExpandGeoReplicationStats StorageAccountExpand = "geoReplicationStats"
)

type StorageAccountId

type StorageAccountId struct {
	SubscriptionId     string
	ResourceGroupName  string
	StorageAccountName string
}

StorageAccountId is a struct representing the Resource ID for a Storage Account

func NewStorageAccountID

func NewStorageAccountID(subscriptionId string, resourceGroupName string, storageAccountName string) StorageAccountId

NewStorageAccountID returns a new StorageAccountId struct

func ParseStorageAccountID

func ParseStorageAccountID(input string) (*StorageAccountId, error)

ParseStorageAccountID parses 'input' into a StorageAccountId

func ParseStorageAccountIDInsensitively

func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)

ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input

func (StorageAccountId) ID

func (id StorageAccountId) ID() string

ID returns the formatted Storage Account ID

func (StorageAccountId) Segments

func (id StorageAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Storage Account ID

func (StorageAccountId) String

func (id StorageAccountId) String() string

String returns a human-readable description of this Storage Account ID

type StorageAccountInternetEndpoints

type StorageAccountInternetEndpoints struct {
	Blob *string `json:"blob,omitempty"`
	Dfs  *string `json:"dfs,omitempty"`
	File *string `json:"file,omitempty"`
	Web  *string `json:"web,omitempty"`
}

type StorageAccountKey

type StorageAccountKey struct {
	CreationTime *string        `json:"creationTime,omitempty"`
	KeyName      *string        `json:"keyName,omitempty"`
	Permissions  *KeyPermission `json:"permissions,omitempty"`
	Value        *string        `json:"value,omitempty"`
}

func (*StorageAccountKey) GetCreationTimeAsTime

func (o *StorageAccountKey) GetCreationTimeAsTime() (*time.Time, error)

func (*StorageAccountKey) SetCreationTimeAsTime

func (o *StorageAccountKey) SetCreationTimeAsTime(input time.Time)

type StorageAccountListKeysResult

type StorageAccountListKeysResult struct {
	Keys *[]StorageAccountKey `json:"keys,omitempty"`
}

type StorageAccountMicrosoftEndpoints

type StorageAccountMicrosoftEndpoints struct {
	Blob  *string `json:"blob,omitempty"`
	Dfs   *string `json:"dfs,omitempty"`
	File  *string `json:"file,omitempty"`
	Queue *string `json:"queue,omitempty"`
	Table *string `json:"table,omitempty"`
	Web   *string `json:"web,omitempty"`
}

type StorageAccountOperationPredicate

type StorageAccountOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (StorageAccountOperationPredicate) Matches

type StorageAccountProperties

type StorageAccountProperties struct {
	AccessTier                            *AccessTier                            `json:"accessTier,omitempty"`
	AllowBlobPublicAccess                 *bool                                  `json:"allowBlobPublicAccess,omitempty"`
	AllowCrossTenantReplication           *bool                                  `json:"allowCrossTenantReplication,omitempty"`
	AllowSharedKeyAccess                  *bool                                  `json:"allowSharedKeyAccess,omitempty"`
	AllowedCopyScope                      *AllowedCopyScope                      `json:"allowedCopyScope,omitempty"`
	AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"`
	BlobRestoreStatus                     *BlobRestoreStatus                     `json:"blobRestoreStatus,omitempty"`
	CreationTime                          *string                                `json:"creationTime,omitempty"`
	CustomDomain                          *CustomDomain                          `json:"customDomain,omitempty"`
	DefaultToOAuthAuthentication          *bool                                  `json:"defaultToOAuthAuthentication,omitempty"`
	DnsEndpointType                       *DnsEndpointType                       `json:"dnsEndpointType,omitempty"`
	Encryption                            *Encryption                            `json:"encryption,omitempty"`
	FailoverInProgress                    *bool                                  `json:"failoverInProgress,omitempty"`
	GeoReplicationStats                   *GeoReplicationStats                   `json:"geoReplicationStats,omitempty"`
	ImmutableStorageWithVersioning        *ImmutableStorageAccount               `json:"immutableStorageWithVersioning,omitempty"`
	IsHnsEnabled                          *bool                                  `json:"isHnsEnabled,omitempty"`
	IsLocalUserEnabled                    *bool                                  `json:"isLocalUserEnabled,omitempty"`
	IsNfsV3Enabled                        *bool                                  `json:"isNfsV3Enabled,omitempty"`
	IsSftpEnabled                         *bool                                  `json:"isSftpEnabled,omitempty"`
	KeyCreationTime                       *KeyCreationTime                       `json:"keyCreationTime,omitempty"`
	KeyPolicy                             *KeyPolicy                             `json:"keyPolicy,omitempty"`
	LargeFileSharesState                  *LargeFileSharesState                  `json:"largeFileSharesState,omitempty"`
	LastGeoFailoverTime                   *string                                `json:"lastGeoFailoverTime,omitempty"`
	MinimumTlsVersion                     *MinimumTlsVersion                     `json:"minimumTlsVersion,omitempty"`
	NetworkAcls                           *NetworkRuleSet                        `json:"networkAcls,omitempty"`
	PrimaryEndpoints                      *Endpoints                             `json:"primaryEndpoints,omitempty"`
	PrimaryLocation                       *string                                `json:"primaryLocation,omitempty"`
	PrivateEndpointConnections            *[]PrivateEndpointConnection           `json:"privateEndpointConnections,omitempty"`
	ProvisioningState                     *ProvisioningState                     `json:"provisioningState,omitempty"`
	PublicNetworkAccess                   *PublicNetworkAccess                   `json:"publicNetworkAccess,omitempty"`
	RoutingPreference                     *RoutingPreference                     `json:"routingPreference,omitempty"`
	SasPolicy                             *SasPolicy                             `json:"sasPolicy,omitempty"`
	SecondaryEndpoints                    *Endpoints                             `json:"secondaryEndpoints,omitempty"`
	SecondaryLocation                     *string                                `json:"secondaryLocation,omitempty"`
	StatusOfPrimary                       *AccountStatus                         `json:"statusOfPrimary,omitempty"`
	StatusOfSecondary                     *AccountStatus                         `json:"statusOfSecondary,omitempty"`
	StorageAccountSkuConversionStatus     *StorageAccountSkuConversionStatus     `json:"storageAccountSkuConversionStatus,omitempty"`
	SupportsHTTPSTrafficOnly              *bool                                  `json:"supportsHttpsTrafficOnly,omitempty"`
}

func (*StorageAccountProperties) GetCreationTimeAsTime

func (o *StorageAccountProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*StorageAccountProperties) GetLastGeoFailoverTimeAsTime

func (o *StorageAccountProperties) GetLastGeoFailoverTimeAsTime() (*time.Time, error)

func (*StorageAccountProperties) SetCreationTimeAsTime

func (o *StorageAccountProperties) SetCreationTimeAsTime(input time.Time)

func (*StorageAccountProperties) SetLastGeoFailoverTimeAsTime

func (o *StorageAccountProperties) SetLastGeoFailoverTimeAsTime(input time.Time)

type StorageAccountPropertiesCreateParameters

type StorageAccountPropertiesCreateParameters struct {
	AccessTier                            *AccessTier                            `json:"accessTier,omitempty"`
	AllowBlobPublicAccess                 *bool                                  `json:"allowBlobPublicAccess,omitempty"`
	AllowCrossTenantReplication           *bool                                  `json:"allowCrossTenantReplication,omitempty"`
	AllowSharedKeyAccess                  *bool                                  `json:"allowSharedKeyAccess,omitempty"`
	AllowedCopyScope                      *AllowedCopyScope                      `json:"allowedCopyScope,omitempty"`
	AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"`
	CustomDomain                          *CustomDomain                          `json:"customDomain,omitempty"`
	DefaultToOAuthAuthentication          *bool                                  `json:"defaultToOAuthAuthentication,omitempty"`
	DnsEndpointType                       *DnsEndpointType                       `json:"dnsEndpointType,omitempty"`
	Encryption                            *Encryption                            `json:"encryption,omitempty"`
	ImmutableStorageWithVersioning        *ImmutableStorageAccount               `json:"immutableStorageWithVersioning,omitempty"`
	IsHnsEnabled                          *bool                                  `json:"isHnsEnabled,omitempty"`
	IsLocalUserEnabled                    *bool                                  `json:"isLocalUserEnabled,omitempty"`
	IsNfsV3Enabled                        *bool                                  `json:"isNfsV3Enabled,omitempty"`
	IsSftpEnabled                         *bool                                  `json:"isSftpEnabled,omitempty"`
	KeyPolicy                             *KeyPolicy                             `json:"keyPolicy,omitempty"`
	LargeFileSharesState                  *LargeFileSharesState                  `json:"largeFileSharesState,omitempty"`
	MinimumTlsVersion                     *MinimumTlsVersion                     `json:"minimumTlsVersion,omitempty"`
	NetworkAcls                           *NetworkRuleSet                        `json:"networkAcls,omitempty"`
	PublicNetworkAccess                   *PublicNetworkAccess                   `json:"publicNetworkAccess,omitempty"`
	RoutingPreference                     *RoutingPreference                     `json:"routingPreference,omitempty"`
	SasPolicy                             *SasPolicy                             `json:"sasPolicy,omitempty"`
	SupportsHTTPSTrafficOnly              *bool                                  `json:"supportsHttpsTrafficOnly,omitempty"`
}

type StorageAccountPropertiesUpdateParameters

type StorageAccountPropertiesUpdateParameters struct {
	AccessTier                            *AccessTier                            `json:"accessTier,omitempty"`
	AllowBlobPublicAccess                 *bool                                  `json:"allowBlobPublicAccess,omitempty"`
	AllowCrossTenantReplication           *bool                                  `json:"allowCrossTenantReplication,omitempty"`
	AllowSharedKeyAccess                  *bool                                  `json:"allowSharedKeyAccess,omitempty"`
	AllowedCopyScope                      *AllowedCopyScope                      `json:"allowedCopyScope,omitempty"`
	AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"`
	CustomDomain                          *CustomDomain                          `json:"customDomain,omitempty"`
	DefaultToOAuthAuthentication          *bool                                  `json:"defaultToOAuthAuthentication,omitempty"`
	DnsEndpointType                       *DnsEndpointType                       `json:"dnsEndpointType,omitempty"`
	Encryption                            *Encryption                            `json:"encryption,omitempty"`
	ImmutableStorageWithVersioning        *ImmutableStorageAccount               `json:"immutableStorageWithVersioning,omitempty"`
	IsLocalUserEnabled                    *bool                                  `json:"isLocalUserEnabled,omitempty"`
	IsSftpEnabled                         *bool                                  `json:"isSftpEnabled,omitempty"`
	KeyPolicy                             *KeyPolicy                             `json:"keyPolicy,omitempty"`
	LargeFileSharesState                  *LargeFileSharesState                  `json:"largeFileSharesState,omitempty"`
	MinimumTlsVersion                     *MinimumTlsVersion                     `json:"minimumTlsVersion,omitempty"`
	NetworkAcls                           *NetworkRuleSet                        `json:"networkAcls,omitempty"`
	PublicNetworkAccess                   *PublicNetworkAccess                   `json:"publicNetworkAccess,omitempty"`
	RoutingPreference                     *RoutingPreference                     `json:"routingPreference,omitempty"`
	SasPolicy                             *SasPolicy                             `json:"sasPolicy,omitempty"`
	SupportsHTTPSTrafficOnly              *bool                                  `json:"supportsHttpsTrafficOnly,omitempty"`
}

type StorageAccountRegenerateKeyParameters

type StorageAccountRegenerateKeyParameters struct {
	KeyName string `json:"keyName"`
}

type StorageAccountSkuConversionStatus

type StorageAccountSkuConversionStatus struct {
	EndTime             *string              `json:"endTime,omitempty"`
	SkuConversionStatus *SkuConversionStatus `json:"skuConversionStatus,omitempty"`
	StartTime           *string              `json:"startTime,omitempty"`
	TargetSkuName       *SkuName             `json:"targetSkuName,omitempty"`
}

type StorageAccountUpdateParameters

type StorageAccountUpdateParameters struct {
	Identity   *identity.LegacySystemAndUserAssignedMap  `json:"identity,omitempty"`
	Kind       *Kind                                     `json:"kind,omitempty"`
	Properties *StorageAccountPropertiesUpdateParameters `json:"properties,omitempty"`
	Sku        *Sku                                      `json:"sku,omitempty"`
	Tags       *map[string]string                        `json:"tags,omitempty"`
}

type StorageAccountsClient

type StorageAccountsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewStorageAccountsClientWithBaseURI

func NewStorageAccountsClientWithBaseURI(endpoint string) StorageAccountsClient

func (StorageAccountsClient) AbortHierarchicalNamespaceMigration

func (c StorageAccountsClient) AbortHierarchicalNamespaceMigration(ctx context.Context, id StorageAccountId) (result AbortHierarchicalNamespaceMigrationOperationResponse, err error)

AbortHierarchicalNamespaceMigration ...

func (StorageAccountsClient) AbortHierarchicalNamespaceMigrationThenPoll

func (c StorageAccountsClient) AbortHierarchicalNamespaceMigrationThenPoll(ctx context.Context, id StorageAccountId) error

AbortHierarchicalNamespaceMigrationThenPoll performs AbortHierarchicalNamespaceMigration then polls until it's completed

func (StorageAccountsClient) CheckNameAvailability

CheckNameAvailability ...

func (StorageAccountsClient) Create

Create ...

func (StorageAccountsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (StorageAccountsClient) Delete

Delete ...

func (StorageAccountsClient) Failover

Failover ...

func (StorageAccountsClient) FailoverThenPoll

func (c StorageAccountsClient) FailoverThenPoll(ctx context.Context, id StorageAccountId) error

FailoverThenPoll performs Failover then polls until it's completed

func (StorageAccountsClient) GetProperties

GetProperties ...

func (StorageAccountsClient) HierarchicalNamespaceMigration

HierarchicalNamespaceMigration ...

func (StorageAccountsClient) HierarchicalNamespaceMigrationThenPoll

func (c StorageAccountsClient) HierarchicalNamespaceMigrationThenPoll(ctx context.Context, id StorageAccountId, options HierarchicalNamespaceMigrationOperationOptions) error

HierarchicalNamespaceMigrationThenPoll performs HierarchicalNamespaceMigration then polls until it's completed

func (StorageAccountsClient) List

List ...

func (StorageAccountsClient) ListAccountSAS

ListAccountSAS ...

func (StorageAccountsClient) ListByResourceGroup

ListByResourceGroup ...

func (StorageAccountsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (StorageAccountsClient) ListByResourceGroupCompleteMatchingPredicate

func (c StorageAccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate StorageAccountOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (StorageAccountsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (StorageAccountsClient) ListCompleteMatchingPredicate

func (c StorageAccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate StorageAccountOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (StorageAccountsClient) ListKeys

ListKeys ...

func (StorageAccountsClient) ListServiceSAS

ListServiceSAS ...

func (StorageAccountsClient) RegenerateKey

RegenerateKey ...

func (StorageAccountsClient) RestoreBlobRanges

RestoreBlobRanges ...

func (StorageAccountsClient) RestoreBlobRangesThenPoll

func (c StorageAccountsClient) RestoreBlobRangesThenPoll(ctx context.Context, id StorageAccountId, input BlobRestoreParameters) error

RestoreBlobRangesThenPoll performs RestoreBlobRanges then polls until it's completed

func (StorageAccountsClient) RevokeUserDelegationKeys

RevokeUserDelegationKeys ...

func (StorageAccountsClient) Update

Update ...

type Type

type Type string
const (
	TypeMicrosoftPointStorageStorageAccounts Type = "Microsoft.Storage/storageAccounts"
)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *StorageAccount
}

type VirtualNetworkRule

type VirtualNetworkRule struct {
	Action *Action `json:"action,omitempty"`
	Id     string  `json:"id"`
	State  *State  `json:"state,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL