...

Package netapp

import "github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2020-08-01/netapp"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/netapp/armnetapp(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/netapp/armnetapp). 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 netapp implements the Azure ARM Netapp service API version 2020-08-01.

Microsoft NetApp Azure Resource Provider specification

Index ▾

Constants
func UserAgent() string
func Version() string
type Account
    func (a Account) MarshalJSON() ([]byte, error)
    func (a *Account) UnmarshalJSON(body []byte) error
type AccountBackupsClient
    func NewAccountBackupsClient(subscriptionID string) AccountBackupsClient
    func NewAccountBackupsClientWithBaseURI(baseURI string, subscriptionID string) AccountBackupsClient
    func (client AccountBackupsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, backupName string) (result AccountBackupsDeleteFuture, err error)
    func (client AccountBackupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, backupName string) (*http.Request, error)
    func (client AccountBackupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AccountBackupsClient) DeleteSender(req *http.Request) (future AccountBackupsDeleteFuture, err error)
    func (client AccountBackupsClient) Get(ctx context.Context, resourceGroupName string, accountName string, backupName string) (result Backup, err error)
    func (client AccountBackupsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, backupName string) (*http.Request, error)
    func (client AccountBackupsClient) GetResponder(resp *http.Response) (result Backup, err error)
    func (client AccountBackupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AccountBackupsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BackupsList, err error)
    func (client AccountBackupsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client AccountBackupsClient) ListResponder(resp *http.Response) (result BackupsList, err error)
    func (client AccountBackupsClient) ListSender(req *http.Request) (*http.Response, error)
type AccountBackupsDeleteFuture
    func (future *AccountBackupsDeleteFuture) UnmarshalJSON(body []byte) error
type AccountList
type AccountPatch
    func (ap AccountPatch) MarshalJSON() ([]byte, error)
    func (ap *AccountPatch) UnmarshalJSON(body []byte) error
type AccountProperties
    func (ap AccountProperties) MarshalJSON() ([]byte, error)
type AccountsClient
    func NewAccountsClient(subscriptionID string) AccountsClient
    func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient
    func (client AccountsClient) CreateOrUpdate(ctx context.Context, body Account, resourceGroupName string, accountName string) (result AccountsCreateOrUpdateFuture, err error)
    func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, body Account, resourceGroupName string, accountName string) (*http.Request, error)
    func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)
    func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (future AccountsCreateOrUpdateFuture, err error)
    func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result AccountsDeleteFuture, 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) (future AccountsDeleteFuture, err error)
    func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error)
    func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)
    func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AccountsClient) List(ctx context.Context, resourceGroupName string) (result AccountList, err error)
    func (client AccountsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client AccountsClient) ListResponder(resp *http.Response) (result AccountList, err error)
    func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AccountsClient) Update(ctx context.Context, body AccountPatch, resourceGroupName string, accountName string) (result AccountsUpdateFuture, err error)
    func (client AccountsClient) UpdatePreparer(ctx context.Context, body AccountPatch, 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) (future AccountsUpdateFuture, err error)
type AccountsCreateOrUpdateFuture
    func (future *AccountsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type AccountsDeleteFuture
    func (future *AccountsDeleteFuture) UnmarshalJSON(body []byte) error
type AccountsUpdateFuture
    func (future *AccountsUpdateFuture) UnmarshalJSON(body []byte) error
type ActiveDirectory
    func (ad ActiveDirectory) MarshalJSON() ([]byte, error)
type ActiveDirectoryStatus
    func PossibleActiveDirectoryStatusValues() []ActiveDirectoryStatus
type AuthorizeRequest
type Backup
    func (b Backup) MarshalJSON() ([]byte, error)
    func (b *Backup) UnmarshalJSON(body []byte) error
type BackupPatch
    func (bp BackupPatch) MarshalJSON() ([]byte, error)
    func (bp *BackupPatch) UnmarshalJSON(body []byte) error
type BackupPoliciesClient
    func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient
    func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient
    func (client BackupPoliciesClient) Create(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicy) (result BackupPoliciesCreateFuture, err error)
    func (client BackupPoliciesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicy) (*http.Request, error)
    func (client BackupPoliciesClient) CreateResponder(resp *http.Response) (result BackupPolicy, err error)
    func (client BackupPoliciesClient) CreateSender(req *http.Request) (future BackupPoliciesCreateFuture, err error)
    func (client BackupPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (result BackupPoliciesDeleteFuture, err error)
    func (client BackupPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (*http.Request, error)
    func (client BackupPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client BackupPoliciesClient) DeleteSender(req *http.Request) (future BackupPoliciesDeleteFuture, err error)
    func (client BackupPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (result BackupPolicy, err error)
    func (client BackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (*http.Request, error)
    func (client BackupPoliciesClient) GetResponder(resp *http.Response) (result BackupPolicy, err error)
    func (client BackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client BackupPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BackupPoliciesList, err error)
    func (client BackupPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result BackupPoliciesList, err error)
    func (client BackupPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client BackupPoliciesClient) Update(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicyPatch) (result BackupPolicy, err error)
    func (client BackupPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicyPatch) (*http.Request, error)
    func (client BackupPoliciesClient) UpdateResponder(resp *http.Response) (result BackupPolicy, err error)
    func (client BackupPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)
type BackupPoliciesCreateFuture
    func (future *BackupPoliciesCreateFuture) UnmarshalJSON(body []byte) error
type BackupPoliciesDeleteFuture
    func (future *BackupPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
type BackupPoliciesList
type BackupPolicy
    func (bp BackupPolicy) MarshalJSON() ([]byte, error)
    func (bp *BackupPolicy) UnmarshalJSON(body []byte) error
type BackupPolicyDetails
    func (bpd BackupPolicyDetails) MarshalJSON() ([]byte, error)
    func (bpd *BackupPolicyDetails) UnmarshalJSON(body []byte) error
type BackupPolicyPatch
    func (bpp BackupPolicyPatch) MarshalJSON() ([]byte, error)
    func (bpp *BackupPolicyPatch) UnmarshalJSON(body []byte) error
type BackupPolicyProperties
    func (bpp BackupPolicyProperties) MarshalJSON() ([]byte, error)
type BackupProperties
    func (bp BackupProperties) MarshalJSON() ([]byte, error)
type BackupsClient
    func NewBackupsClient(subscriptionID string) BackupsClient
    func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient
    func (client BackupsClient) Create(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body Backup) (result BackupsCreateFuture, err error)
    func (client BackupsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body Backup) (*http.Request, error)
    func (client BackupsClient) CreateResponder(resp *http.Response) (result Backup, err error)
    func (client BackupsClient) CreateSender(req *http.Request) (future BackupsCreateFuture, err error)
    func (client BackupsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (result BackupsDeleteFuture, err error)
    func (client BackupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (*http.Request, error)
    func (client BackupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client BackupsClient) DeleteSender(req *http.Request) (future BackupsDeleteFuture, err error)
    func (client BackupsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (result Backup, err error)
    func (client BackupsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (*http.Request, error)
    func (client BackupsClient) GetResponder(resp *http.Response) (result Backup, err error)
    func (client BackupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client BackupsClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result BackupsList, err error)
    func (client BackupsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client BackupsClient) ListResponder(resp *http.Response) (result BackupsList, err error)
    func (client BackupsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client BackupsClient) Update(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body *BackupPatch) (result Backup, err error)
    func (client BackupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body *BackupPatch) (*http.Request, error)
    func (client BackupsClient) UpdateResponder(resp *http.Response) (result Backup, err error)
    func (client BackupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type BackupsCreateFuture
    func (future *BackupsCreateFuture) UnmarshalJSON(body []byte) error
type BackupsDeleteFuture
    func (future *BackupsDeleteFuture) UnmarshalJSON(body []byte) error
type BackupsList
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BreakReplicationRequest
type CapacityPool
    func (cp CapacityPool) MarshalJSON() ([]byte, error)
    func (cp *CapacityPool) UnmarshalJSON(body []byte) error
type CapacityPoolList
type CapacityPoolPatch
    func (cpp CapacityPoolPatch) MarshalJSON() ([]byte, error)
    func (cpp *CapacityPoolPatch) UnmarshalJSON(body []byte) error
type CheckAvailabilityResponse
type CheckNameResourceTypes
    func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes
type CheckQuotaNameResourceTypes
    func PossibleCheckQuotaNameResourceTypesValues() []CheckQuotaNameResourceTypes
type DailySchedule
type Dimension
type EndpointType
    func PossibleEndpointTypeValues() []EndpointType
type ExportPolicyRule
type HourlySchedule
type InAvailabilityReasonType
    func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType
type MetricSpecification
type MirrorState
    func PossibleMirrorStateValues() []MirrorState
type MonthlySchedule
type MountTarget
    func (mt MountTarget) MarshalJSON() ([]byte, error)
    func (mt *MountTarget) UnmarshalJSON(body []byte) error
type MountTargetProperties
    func (mtp MountTargetProperties) MarshalJSON() ([]byte, error)
type Operation
    func (o Operation) MarshalJSON() ([]byte, error)
    func (o *Operation) UnmarshalJSON(body []byte) error
type OperationDisplay
type OperationListResult
type OperationProperties
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) 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 PoolChangeRequest
type PoolPatchProperties
type PoolProperties
    func (pp PoolProperties) MarshalJSON() ([]byte, error)
type PoolsClient
    func NewPoolsClient(subscriptionID string) PoolsClient
    func NewPoolsClientWithBaseURI(baseURI string, subscriptionID string) PoolsClient
    func (client PoolsClient) CreateOrUpdate(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (result PoolsCreateOrUpdateFuture, err error)
    func (client PoolsClient) CreateOrUpdatePreparer(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (*http.Request, error)
    func (client PoolsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityPool, err error)
    func (client PoolsClient) CreateOrUpdateSender(req *http.Request) (future PoolsCreateOrUpdateFuture, err error)
    func (client PoolsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result PoolsDeleteFuture, err error)
    func (client PoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)
    func (client PoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PoolsClient) DeleteSender(req *http.Request) (future PoolsDeleteFuture, err error)
    func (client PoolsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result CapacityPool, err error)
    func (client PoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)
    func (client PoolsClient) GetResponder(resp *http.Response) (result CapacityPool, err error)
    func (client PoolsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PoolsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result CapacityPoolList, err error)
    func (client PoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client PoolsClient) ListResponder(resp *http.Response) (result CapacityPoolList, err error)
    func (client PoolsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client PoolsClient) Update(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (result PoolsUpdateFuture, err error)
    func (client PoolsClient) UpdatePreparer(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (*http.Request, error)
    func (client PoolsClient) UpdateResponder(resp *http.Response) (result CapacityPool, err error)
    func (client PoolsClient) UpdateSender(req *http.Request) (future PoolsUpdateFuture, err error)
type PoolsCreateOrUpdateFuture
    func (future *PoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type PoolsDeleteFuture
    func (future *PoolsDeleteFuture) UnmarshalJSON(body []byte) error
type PoolsUpdateFuture
    func (future *PoolsUpdateFuture) UnmarshalJSON(body []byte) error
type QosType
    func PossibleQosTypeValues() []QosType
type QuotaAvailabilityRequest
type RelationshipStatus
    func PossibleRelationshipStatusValues() []RelationshipStatus
type ReplicationObject
type ReplicationSchedule
    func PossibleReplicationScheduleValues() []ReplicationSchedule
type ReplicationStatus
type ResourceClient
    func NewResourceClient(subscriptionID string) ResourceClient
    func NewResourceClientWithBaseURI(baseURI string, subscriptionID string) ResourceClient
    func (client ResourceClient) CheckFilePathAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckFilePathAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)
    func (client ResourceClient) CheckFilePathAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckFilePathAvailabilitySender(req *http.Request) (*http.Response, error)
    func (client ResourceClient) CheckNameAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)
    func (client ResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
    func (client ResourceClient) CheckQuotaAvailability(ctx context.Context, body QuotaAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckQuotaAvailabilityPreparer(ctx context.Context, body QuotaAvailabilityRequest, location string) (*http.Request, error)
    func (client ResourceClient) CheckQuotaAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)
    func (client ResourceClient) CheckQuotaAvailabilitySender(req *http.Request) (*http.Response, error)
type ResourceNameAvailabilityRequest
type SecurityStyle
    func PossibleSecurityStyleValues() []SecurityStyle
type ServiceLevel
    func PossibleServiceLevelValues() []ServiceLevel
type ServiceSpecification
type Snapshot
    func (s Snapshot) MarshalJSON() ([]byte, error)
    func (s *Snapshot) UnmarshalJSON(body []byte) error
type SnapshotPoliciesClient
    func NewSnapshotPoliciesClient(subscriptionID string) SnapshotPoliciesClient
    func NewSnapshotPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SnapshotPoliciesClient
    func (client SnapshotPoliciesClient) Create(ctx context.Context, body SnapshotPolicy, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) CreatePreparer(ctx context.Context, body SnapshotPolicy, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) CreateResponder(resp *http.Response) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client SnapshotPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPoliciesDeleteFuture, err error)
    func (client SnapshotPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SnapshotPoliciesClient) DeleteSender(req *http.Request) (future SnapshotPoliciesDeleteFuture, err error)
    func (client SnapshotPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) GetResponder(resp *http.Response) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SnapshotPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result SnapshotPoliciesList, err error)
    func (client SnapshotPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) ListResponder(resp *http.Response) (result SnapshotPoliciesList, err error)
    func (client SnapshotPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SnapshotPoliciesClient) ListVolumes(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicyVolumeList, err error)
    func (client SnapshotPoliciesClient) ListVolumesPreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) ListVolumesResponder(resp *http.Response) (result SnapshotPolicyVolumeList, err error)
    func (client SnapshotPoliciesClient) ListVolumesSender(req *http.Request) (*http.Response, error)
    func (client SnapshotPoliciesClient) Update(ctx context.Context, body SnapshotPolicyPatch, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) UpdatePreparer(ctx context.Context, body SnapshotPolicyPatch, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)
    func (client SnapshotPoliciesClient) UpdateResponder(resp *http.Response) (result SnapshotPolicy, err error)
    func (client SnapshotPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)
type SnapshotPoliciesDeleteFuture
    func (future *SnapshotPoliciesDeleteFuture) UnmarshalJSON(body []byte) error
type SnapshotPoliciesList
type SnapshotPolicy
    func (sp SnapshotPolicy) MarshalJSON() ([]byte, error)
    func (sp *SnapshotPolicy) UnmarshalJSON(body []byte) error
type SnapshotPolicyDetails
    func (spd SnapshotPolicyDetails) MarshalJSON() ([]byte, error)
    func (spd *SnapshotPolicyDetails) UnmarshalJSON(body []byte) error
type SnapshotPolicyPatch
    func (spp SnapshotPolicyPatch) MarshalJSON() ([]byte, error)
    func (spp *SnapshotPolicyPatch) UnmarshalJSON(body []byte) error
type SnapshotPolicyProperties
    func (spp SnapshotPolicyProperties) MarshalJSON() ([]byte, error)
type SnapshotPolicyVolumeList
type SnapshotProperties
    func (sp SnapshotProperties) MarshalJSON() ([]byte, error)
type SnapshotsClient
    func NewSnapshotsClient(subscriptionID string) SnapshotsClient
    func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient
    func (client SnapshotsClient) Create(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsCreateFuture, err error)
    func (client SnapshotsClient) CreatePreparer(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) CreateResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) CreateSender(req *http.Request) (future SnapshotsCreateFuture, err error)
    func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsDeleteFuture, err error)
    func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)
    func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result Snapshot, err error)
    func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SnapshotsClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result SnapshotsList, err error)
    func (client SnapshotsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotsList, err error)
    func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SnapshotsClient) Update(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsUpdateFuture, err error)
    func (client SnapshotsClient) UpdatePreparer(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)
type SnapshotsCreateFuture
    func (future *SnapshotsCreateFuture) UnmarshalJSON(body []byte) error
type SnapshotsDeleteFuture
    func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error
type SnapshotsList
type SnapshotsUpdateFuture
    func (future *SnapshotsUpdateFuture) UnmarshalJSON(body []byte) error
type Vault
    func (vVar Vault) MarshalJSON() ([]byte, error)
    func (vVar *Vault) UnmarshalJSON(body []byte) error
type VaultList
type VaultProperties
type VaultsClient
    func NewVaultsClient(subscriptionID string) VaultsClient
    func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient
    func (client VaultsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result VaultList, err error)
    func (client VaultsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
    func (client VaultsClient) ListResponder(resp *http.Response) (result VaultList, err error)
    func (client VaultsClient) ListSender(req *http.Request) (*http.Response, error)
type Volume
    func (vVar Volume) MarshalJSON() ([]byte, error)
    func (vVar *Volume) UnmarshalJSON(body []byte) error
type VolumeBackupProperties
type VolumeBackups
type VolumeList
type VolumePatch
    func (vp VolumePatch) MarshalJSON() ([]byte, error)
    func (vp *VolumePatch) UnmarshalJSON(body []byte) error
type VolumePatchProperties
type VolumePatchPropertiesDataProtection
type VolumePatchPropertiesExportPolicy
type VolumeProperties
    func (vp VolumeProperties) MarshalJSON() ([]byte, error)
type VolumePropertiesDataProtection
type VolumePropertiesExportPolicy
type VolumeRevert
type VolumeSnapshotProperties
type VolumesAuthorizeReplicationFuture
    func (future *VolumesAuthorizeReplicationFuture) UnmarshalJSON(body []byte) error
type VolumesBreakReplicationFuture
    func (future *VolumesBreakReplicationFuture) UnmarshalJSON(body []byte) error
type VolumesClient
    func NewVolumesClient(subscriptionID string) VolumesClient
    func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient
    func (client VolumesClient) AuthorizeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (result VolumesAuthorizeReplicationFuture, err error)
    func (client VolumesClient) AuthorizeReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (*http.Request, error)
    func (client VolumesClient) AuthorizeReplicationResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) AuthorizeReplicationSender(req *http.Request) (future VolumesAuthorizeReplicationFuture, err error)
    func (client VolumesClient) BreakReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body *BreakReplicationRequest) (result VolumesBreakReplicationFuture, err error)
    func (client VolumesClient) BreakReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body *BreakReplicationRequest) (*http.Request, error)
    func (client VolumesClient) BreakReplicationResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) BreakReplicationSender(req *http.Request) (future VolumesBreakReplicationFuture, err error)
    func (client VolumesClient) CreateOrUpdate(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesCreateOrUpdateFuture, err error)
    func (client VolumesClient) CreateOrUpdatePreparer(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) CreateOrUpdateResponder(resp *http.Response) (result Volume, err error)
    func (client VolumesClient) CreateOrUpdateSender(req *http.Request) (future VolumesCreateOrUpdateFuture, err error)
    func (client VolumesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteFuture, err error)
    func (client VolumesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) DeleteReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteReplicationFuture, err error)
    func (client VolumesClient) DeleteReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) DeleteReplicationResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) DeleteReplicationSender(req *http.Request) (future VolumesDeleteReplicationFuture, err error)
    func (client VolumesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) DeleteSender(req *http.Request) (future VolumesDeleteFuture, err error)
    func (client VolumesClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result Volume, err error)
    func (client VolumesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) GetResponder(resp *http.Response) (result Volume, err error)
    func (client VolumesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VolumesClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result VolumeList, err error)
    func (client VolumesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)
    func (client VolumesClient) ListResponder(resp *http.Response) (result VolumeList, err error)
    func (client VolumesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VolumesClient) PoolChange(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body PoolChangeRequest) (result VolumesPoolChangeFuture, err error)
    func (client VolumesClient) PoolChangePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body PoolChangeRequest) (*http.Request, error)
    func (client VolumesClient) PoolChangeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) PoolChangeSender(req *http.Request) (future VolumesPoolChangeFuture, err error)
    func (client VolumesClient) ReInitializeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesReInitializeReplicationFuture, err error)
    func (client VolumesClient) ReInitializeReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) ReInitializeReplicationResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) ReInitializeReplicationSender(req *http.Request) (future VolumesReInitializeReplicationFuture, err error)
    func (client VolumesClient) ReplicationStatusMethod(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result ReplicationStatus, err error)
    func (client VolumesClient) ReplicationStatusMethodPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) ReplicationStatusMethodResponder(resp *http.Response) (result ReplicationStatus, err error)
    func (client VolumesClient) ReplicationStatusMethodSender(req *http.Request) (*http.Response, error)
    func (client VolumesClient) ResyncReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesResyncReplicationFuture, err error)
    func (client VolumesClient) ResyncReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) ResyncReplicationResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) ResyncReplicationSender(req *http.Request) (future VolumesResyncReplicationFuture, err error)
    func (client VolumesClient) Revert(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (result VolumesRevertFuture, err error)
    func (client VolumesClient) RevertPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (*http.Request, error)
    func (client VolumesClient) RevertResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VolumesClient) RevertSender(req *http.Request) (future VolumesRevertFuture, err error)
    func (client VolumesClient) Update(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesUpdateFuture, err error)
    func (client VolumesClient) UpdatePreparer(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)
    func (client VolumesClient) UpdateResponder(resp *http.Response) (result Volume, err error)
    func (client VolumesClient) UpdateSender(req *http.Request) (future VolumesUpdateFuture, err error)
type VolumesCreateOrUpdateFuture
    func (future *VolumesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VolumesDeleteFuture
    func (future *VolumesDeleteFuture) UnmarshalJSON(body []byte) error
type VolumesDeleteReplicationFuture
    func (future *VolumesDeleteReplicationFuture) UnmarshalJSON(body []byte) error
type VolumesPoolChangeFuture
    func (future *VolumesPoolChangeFuture) UnmarshalJSON(body []byte) error
type VolumesReInitializeReplicationFuture
    func (future *VolumesReInitializeReplicationFuture) UnmarshalJSON(body []byte) error
type VolumesResyncReplicationFuture
    func (future *VolumesResyncReplicationFuture) UnmarshalJSON(body []byte) error
type VolumesRevertFuture
    func (future *VolumesRevertFuture) UnmarshalJSON(body []byte) error
type VolumesUpdateFuture
    func (future *VolumesUpdateFuture) UnmarshalJSON(body []byte) error
type WeeklySchedule

Package files

accountbackups.go accounts.go backuppolicies.go backups.go client.go enums.go models.go operations.go pools.go resource.go snapshotpolicies.go snapshots.go vaults.go version.go volumes.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Netapp
    DefaultBaseURI = "https://management.azure.com"
)

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.

type Account

Account netApp account resource

type Account struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AccountProperties - NetApp Account properties
    *AccountProperties `json:"properties,omitempty"`
}

func (Account) MarshalJSON

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON

func (a *Account) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountBackupsClient

AccountBackupsClient is the microsoft NetApp Azure Resource Provider specification

type AccountBackupsClient struct {
    BaseClient
}

func NewAccountBackupsClient

func NewAccountBackupsClient(subscriptionID string) AccountBackupsClient

NewAccountBackupsClient creates an instance of the AccountBackupsClient client.

func NewAccountBackupsClientWithBaseURI

func NewAccountBackupsClientWithBaseURI(baseURI string, subscriptionID string) AccountBackupsClient

NewAccountBackupsClientWithBaseURI creates an instance of the AccountBackupsClient 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 (AccountBackupsClient) Delete

func (client AccountBackupsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, backupName string) (result AccountBackupsDeleteFuture, err error)

Delete delete Backup for a Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupName - the name of the backup

func (AccountBackupsClient) DeletePreparer

func (client AccountBackupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, backupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountBackupsClient) DeleteResponder

func (client AccountBackupsClient) 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 (AccountBackupsClient) DeleteSender

func (client AccountBackupsClient) DeleteSender(req *http.Request) (future AccountBackupsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccountBackupsClient) Get

func (client AccountBackupsClient) Get(ctx context.Context, resourceGroupName string, accountName string, backupName string) (result Backup, err error)

Get get Backup for a Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupName - the name of the backup

func (AccountBackupsClient) GetPreparer

func (client AccountBackupsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, backupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountBackupsClient) GetResponder

func (client AccountBackupsClient) GetResponder(resp *http.Response) (result Backup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountBackupsClient) GetSender

func (client AccountBackupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountBackupsClient) List

func (client AccountBackupsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BackupsList, err error)

List list all Backups for a Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountBackupsClient) ListPreparer

func (client AccountBackupsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AccountBackupsClient) ListResponder

func (client AccountBackupsClient) ListResponder(resp *http.Response) (result BackupsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccountBackupsClient) ListSender

func (client AccountBackupsClient) 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.

type AccountBackupsDeleteFuture

AccountBackupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountBackupsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(AccountBackupsClient) (autorest.Response, error)
}

func (*AccountBackupsDeleteFuture) UnmarshalJSON

func (future *AccountBackupsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AccountList

AccountList list of NetApp account resources

type AccountList struct {
    autorest.Response `json:"-"`
    // Value - Multiple NetApp accounts
    Value *[]Account `json:"value,omitempty"`
}

type AccountPatch

AccountPatch netApp account patch resource

type AccountPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AccountProperties - NetApp Account properties
    *AccountProperties `json:"properties,omitempty"`
}

func (AccountPatch) MarshalJSON

func (ap AccountPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountPatch.

func (*AccountPatch) UnmarshalJSON

func (ap *AccountPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccountPatch struct.

type AccountProperties

AccountProperties netApp account properties

type AccountProperties struct {
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ActiveDirectories - Active Directories
    ActiveDirectories *[]ActiveDirectory `json:"activeDirectories,omitempty"`
}

func (AccountProperties) MarshalJSON

func (ap AccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountProperties.

type AccountsClient

AccountsClient is the microsoft NetApp Azure Resource Provider specification

type AccountsClient struct {
    BaseClient
}

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) CreateOrUpdate

func (client AccountsClient) CreateOrUpdate(ctx context.Context, body Account, resourceGroupName string, accountName string) (result AccountsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the specified NetApp account within the resource group Parameters: body - netApp Account object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) CreateOrUpdatePreparer

func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, body Account, resourceGroupName string, accountName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder

func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccountsClient) CreateOrUpdateSender

func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (future AccountsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate 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 AccountsDeleteFuture, err error)

Delete delete the specified NetApp account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

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

func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Get

func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error)

Get get the NetApp account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) GetPreparer

func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountsClient) GetSender

func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) List

func (client AccountsClient) List(ctx context.Context, resourceGroupName string) (result AccountList, err error)

List list and describe all NetApp accounts in the resource group. Parameters: resourceGroupName - the name of the resource group.

func (AccountsClient) ListPreparer

func (client AccountsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AccountsClient) ListResponder

func (client AccountsClient) ListResponder(resp *http.Response) (result AccountList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccountsClient) ListSender

func (client AccountsClient) 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 (AccountsClient) Update

func (client AccountsClient) Update(ctx context.Context, body AccountPatch, resourceGroupName string, accountName string) (result AccountsUpdateFuture, err error)

Update patch the specified NetApp account Parameters: body - netApp Account object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) UpdatePreparer

func (client AccountsClient) UpdatePreparer(ctx context.Context, body AccountPatch, resourceGroupName string, accountName string) (*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

func (client AccountsClient) UpdateSender(req *http.Request) (future AccountsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AccountsCreateOrUpdateFuture

AccountsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountsCreateOrUpdateFuture 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)
}

func (*AccountsCreateOrUpdateFuture) UnmarshalJSON

func (future *AccountsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AccountsDeleteFuture

AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountsDeleteFuture 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)
}

func (*AccountsDeleteFuture) UnmarshalJSON

func (future *AccountsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AccountsUpdateFuture

AccountsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountsUpdateFuture 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)
}

func (*AccountsUpdateFuture) UnmarshalJSON

func (future *AccountsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ActiveDirectory

ActiveDirectory active Directory

type ActiveDirectory struct {
    // ActiveDirectoryID - Id of the Active Directory
    ActiveDirectoryID *string `json:"activeDirectoryId,omitempty"`
    // Username - Username of Active Directory domain administrator
    Username *string `json:"username,omitempty"`
    // Password - Plain text password of Active Directory domain administrator, value is masked in the response
    Password *string `json:"password,omitempty"`
    // Domain - Name of the Active Directory domain
    Domain *string `json:"domain,omitempty"`
    // DNS - Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain
    DNS *string `json:"dns,omitempty"`
    // Status - READ-ONLY; Status of the Active Directory. Possible values include: 'Created', 'InUse', 'Deleted', 'Error', 'Updating'
    Status ActiveDirectoryStatus `json:"status,omitempty"`
    // StatusDetails - READ-ONLY; Any details in regards to the Status of the Active Directory
    StatusDetails *string `json:"statusDetails,omitempty"`
    // SmbServerName - NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes
    SmbServerName *string `json:"smbServerName,omitempty"`
    // OrganizationalUnit - The Organizational Unit (OU) within the Windows Active Directory
    OrganizationalUnit *string `json:"organizationalUnit,omitempty"`
    // Site - The Active Directory site the service will limit Domain Controller discovery to
    Site *string `json:"site,omitempty"`
    // BackupOperators - Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier
    BackupOperators *[]string `json:"backupOperators,omitempty"`
    // KdcIP - kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.
    KdcIP *string `json:"kdcIP,omitempty"`
    // AdName - Name of the active directory machine. This optional parameter is used only while creating kerberos volume
    AdName *string `json:"adName,omitempty"`
    // ServerRootCACertificate - When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.
    ServerRootCACertificate *string `json:"serverRootCACertificate,omitempty"`
    // AesEncryption - If enabled, AES encryption will be enabled for SMB communication.
    AesEncryption *bool `json:"aesEncryption,omitempty"`
    // LdapSigning - Specifies whether or not the LDAP traffic needs to be signed.
    LdapSigning *bool `json:"ldapSigning,omitempty"`
}

func (ActiveDirectory) MarshalJSON

func (ad ActiveDirectory) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActiveDirectory.

type ActiveDirectoryStatus

ActiveDirectoryStatus enumerates the values for active directory status.

type ActiveDirectoryStatus string
const (
    // Created Active Directory created but not in use
    Created ActiveDirectoryStatus = "Created"
    // Deleted Active Directory Deleted
    Deleted ActiveDirectoryStatus = "Deleted"
    // Error Error with the Active Directory
    Error ActiveDirectoryStatus = "Error"
    // InUse Active Directory in use by SMB Volume
    InUse ActiveDirectoryStatus = "InUse"
    // Updating Active Directory Updating
    Updating ActiveDirectoryStatus = "Updating"
)

func PossibleActiveDirectoryStatusValues

func PossibleActiveDirectoryStatusValues() []ActiveDirectoryStatus

PossibleActiveDirectoryStatusValues returns an array of possible values for the ActiveDirectoryStatus const type.

type AuthorizeRequest

AuthorizeRequest authorize request

type AuthorizeRequest struct {
    // RemoteVolumeResourceID - Resource id of the remote volume
    RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
}

type Backup

Backup backup of a Volume

type Backup struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // BackupProperties - Backup Properties
    *BackupProperties `json:"properties,omitempty"`
}

func (Backup) MarshalJSON

func (b Backup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Backup.

func (*Backup) UnmarshalJSON

func (b *Backup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Backup struct.

type BackupPatch

BackupPatch backup patch

type BackupPatch struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // BackupProperties - Backup Properties
    *BackupProperties `json:"properties,omitempty"`
}

func (BackupPatch) MarshalJSON

func (bp BackupPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPatch.

func (*BackupPatch) UnmarshalJSON

func (bp *BackupPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPatch struct.

type BackupPoliciesClient

BackupPoliciesClient is the microsoft NetApp Azure Resource Provider specification

type BackupPoliciesClient struct {
    BaseClient
}

func NewBackupPoliciesClient

func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClient creates an instance of the BackupPoliciesClient client.

func NewBackupPoliciesClientWithBaseURI

func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClientWithBaseURI creates an instance of the BackupPoliciesClient 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 (BackupPoliciesClient) Create

func (client BackupPoliciesClient) Create(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicy) (result BackupPoliciesCreateFuture, err error)

Create create a backup policy for Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupPolicyName - backup policy Name which uniquely identify backup policy. body - backup policy object supplied in the body of the operation.

func (BackupPoliciesClient) CreatePreparer

func (client BackupPoliciesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicy) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BackupPoliciesClient) CreateResponder

func (client BackupPoliciesClient) CreateResponder(resp *http.Response) (result BackupPolicy, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BackupPoliciesClient) CreateSender

func (client BackupPoliciesClient) CreateSender(req *http.Request) (future BackupPoliciesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) Delete

func (client BackupPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (result BackupPoliciesDeleteFuture, err error)

Delete delete backup policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupPolicyName - backup policy Name which uniquely identify backup policy.

func (BackupPoliciesClient) DeletePreparer

func (client BackupPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupPoliciesClient) DeleteResponder

func (client BackupPoliciesClient) 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 (BackupPoliciesClient) DeleteSender

func (client BackupPoliciesClient) DeleteSender(req *http.Request) (future BackupPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) Get

func (client BackupPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (result BackupPolicy, err error)

Get get a particular backup Policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupPolicyName - backup policy Name which uniquely identify backup policy.

func (BackupPoliciesClient) GetPreparer

func (client BackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupPoliciesClient) GetResponder

func (client BackupPoliciesClient) GetResponder(resp *http.Response) (result BackupPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BackupPoliciesClient) GetSender

func (client BackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) List

func (client BackupPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result BackupPoliciesList, err error)

List list backup policies for Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (BackupPoliciesClient) ListPreparer

func (client BackupPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BackupPoliciesClient) ListResponder

func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result BackupPoliciesList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BackupPoliciesClient) ListSender

func (client BackupPoliciesClient) 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 (BackupPoliciesClient) Update

func (client BackupPoliciesClient) Update(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicyPatch) (result BackupPolicy, err error)

Update patch a backup policy for Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account backupPolicyName - backup policy Name which uniquely identify backup policy. body - backup policy object supplied in the body of the operation.

func (BackupPoliciesClient) UpdatePreparer

func (client BackupPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, backupPolicyName string, body BackupPolicyPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BackupPoliciesClient) UpdateResponder

func (client BackupPoliciesClient) UpdateResponder(resp *http.Response) (result BackupPolicy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BackupPoliciesClient) UpdateSender

func (client BackupPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BackupPoliciesCreateFuture

BackupPoliciesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type BackupPoliciesCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(BackupPoliciesClient) (BackupPolicy, error)
}

func (*BackupPoliciesCreateFuture) UnmarshalJSON

func (future *BackupPoliciesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupPoliciesDeleteFuture

BackupPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type BackupPoliciesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(BackupPoliciesClient) (autorest.Response, error)
}

func (*BackupPoliciesDeleteFuture) UnmarshalJSON

func (future *BackupPoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupPoliciesList

BackupPoliciesList list of Backup Policies

type BackupPoliciesList struct {
    autorest.Response `json:"-"`
    // Value - A list of backup policies
    Value *[]BackupPolicy `json:"value,omitempty"`
}

type BackupPolicy

BackupPolicy backup policy information

type BackupPolicy struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // BackupPolicyProperties - Backup policy Properties
    *BackupPolicyProperties `json:"properties,omitempty"`
}

func (BackupPolicy) MarshalJSON

func (bp BackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicy.

func (*BackupPolicy) UnmarshalJSON

func (bp *BackupPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPolicy struct.

type BackupPolicyDetails

BackupPolicyDetails backup policy properties

type BackupPolicyDetails struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // BackupPolicyProperties - Backup policy Properties
    *BackupPolicyProperties `json:"properties,omitempty"`
}

func (BackupPolicyDetails) MarshalJSON

func (bpd BackupPolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicyDetails.

func (*BackupPolicyDetails) UnmarshalJSON

func (bpd *BackupPolicyDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPolicyDetails struct.

type BackupPolicyPatch

BackupPolicyPatch backup policy Details for create and update

type BackupPolicyPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // BackupPolicyProperties - Backup policy Properties
    *BackupPolicyProperties `json:"properties,omitempty"`
}

func (BackupPolicyPatch) MarshalJSON

func (bpp BackupPolicyPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicyPatch.

func (*BackupPolicyPatch) UnmarshalJSON

func (bpp *BackupPolicyPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPolicyPatch struct.

type BackupPolicyProperties

BackupPolicyProperties backup policy properties

type BackupPolicyProperties struct {
    // Name - READ-ONLY; Name of backup policy
    Name *string `json:"name,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // DailyBackupsToKeep - Daily backups count to keep
    DailyBackupsToKeep *int32 `json:"dailyBackupsToKeep,omitempty"`
    // WeeklyBackupsToKeep - Weekly backups count to keep
    WeeklyBackupsToKeep *int32 `json:"weeklyBackupsToKeep,omitempty"`
    // MonthlyBackupsToKeep - Monthly backups count to keep
    MonthlyBackupsToKeep *int32 `json:"monthlyBackupsToKeep,omitempty"`
    // YearlyBackupsToKeep - Yearly backups count to keep
    YearlyBackupsToKeep *int32 `json:"yearlyBackupsToKeep,omitempty"`
    // VolumesAssigned - Volumes using current backup policy
    VolumesAssigned *int32 `json:"volumesAssigned,omitempty"`
    // Enabled - The property to decide policy is enabled or not
    Enabled *bool `json:"enabled,omitempty"`
    // VolumeBackups - A list of volumes assigned to this policy
    VolumeBackups *[]VolumeBackups `json:"volumeBackups,omitempty"`
}

func (BackupPolicyProperties) MarshalJSON

func (bpp BackupPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicyProperties.

type BackupProperties

BackupProperties backup properties

type BackupProperties struct {
    // BackupID - READ-ONLY; UUID v4 used to identify the Backup
    BackupID *string `json:"backupId,omitempty"`
    // CreationDate - READ-ONLY; The creation date of the backup
    CreationDate *date.Time `json:"creationDate,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Size - READ-ONLY; Size of backup
    Size *int64 `json:"size,omitempty"`
    // Label - Label for backup
    Label *string `json:"label,omitempty"`
    // BackupType - READ-ONLY; Type of backup adhoc or scheduled
    BackupType *string `json:"backupType,omitempty"`
}

func (BackupProperties) MarshalJSON

func (bp BackupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupProperties.

type BackupsClient

BackupsClient is the microsoft NetApp Azure Resource Provider specification

type BackupsClient struct {
    BaseClient
}

func NewBackupsClient

func NewBackupsClient(subscriptionID string) BackupsClient

NewBackupsClient creates an instance of the BackupsClient client.

func NewBackupsClientWithBaseURI

func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient

NewBackupsClientWithBaseURI creates an instance of the BackupsClient 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 (BackupsClient) Create

func (client BackupsClient) Create(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body Backup) (result BackupsCreateFuture, err error)

Create create a backup for the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume backupName - the name of the backup body - backup object supplied in the body of the operation.

func (BackupsClient) CreatePreparer

func (client BackupsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body Backup) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BackupsClient) CreateResponder

func (client BackupsClient) CreateResponder(resp *http.Response) (result Backup, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BackupsClient) CreateSender

func (client BackupsClient) CreateSender(req *http.Request) (future BackupsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BackupsClient) Delete

func (client BackupsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (result BackupsDeleteFuture, err error)

Delete delete a backup of the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume backupName - the name of the backup

func (BackupsClient) DeletePreparer

func (client BackupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupsClient) DeleteResponder

func (client BackupsClient) 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 (BackupsClient) DeleteSender

func (client BackupsClient) DeleteSender(req *http.Request) (future BackupsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BackupsClient) Get

func (client BackupsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (result Backup, err error)

Get get a particular backup of the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume backupName - the name of the backup

func (BackupsClient) GetPreparer

func (client BackupsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupsClient) GetResponder

func (client BackupsClient) GetResponder(resp *http.Response) (result Backup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BackupsClient) GetSender

func (client BackupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BackupsClient) List

func (client BackupsClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result BackupsList, err error)

List list all backups for a volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (BackupsClient) ListPreparer

func (client BackupsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BackupsClient) ListResponder

func (client BackupsClient) ListResponder(resp *http.Response) (result BackupsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BackupsClient) ListSender

func (client BackupsClient) 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 (BackupsClient) Update

func (client BackupsClient) Update(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body *BackupPatch) (result Backup, err error)

Update patch a backup for the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume backupName - the name of the backup body - backup object supplied in the body of the operation.

func (BackupsClient) UpdatePreparer

func (client BackupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, backupName string, body *BackupPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BackupsClient) UpdateResponder

func (client BackupsClient) UpdateResponder(resp *http.Response) (result Backup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BackupsClient) UpdateSender

func (client BackupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BackupsCreateFuture

BackupsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type BackupsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(BackupsClient) (Backup, error)
}

func (*BackupsCreateFuture) UnmarshalJSON

func (future *BackupsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupsDeleteFuture

BackupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type BackupsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(BackupsClient) (autorest.Response, error)
}

func (*BackupsDeleteFuture) UnmarshalJSON

func (future *BackupsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupsList

BackupsList list of Backups

type BackupsList struct {
    autorest.Response `json:"-"`
    // Value - A list of Backups
    Value *[]Backup `json:"value,omitempty"`
}

type BaseClient

BaseClient is the base client for Netapp.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

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 BreakReplicationRequest

BreakReplicationRequest break replication request

type BreakReplicationRequest struct {
    // ForceBreakReplication - If replication is in status transferring and you want to force break the replication, set to true
    ForceBreakReplication *bool `json:"forceBreakReplication,omitempty"`
}

type CapacityPool

CapacityPool capacity pool resource

type CapacityPool struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // PoolProperties - Capacity pool properties
    *PoolProperties `json:"properties,omitempty"`
}

func (CapacityPool) MarshalJSON

func (cp CapacityPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityPool.

func (*CapacityPool) UnmarshalJSON

func (cp *CapacityPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityPool struct.

type CapacityPoolList

CapacityPoolList list of capacity pool resources

type CapacityPoolList struct {
    autorest.Response `json:"-"`
    // Value - List of Capacity pools
    Value *[]CapacityPool `json:"value,omitempty"`
}

type CapacityPoolPatch

CapacityPoolPatch capacity pool patch resource

type CapacityPoolPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // PoolPatchProperties - Capacity pool properties
    *PoolPatchProperties `json:"properties,omitempty"`
}

func (CapacityPoolPatch) MarshalJSON

func (cpp CapacityPoolPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityPoolPatch.

func (*CapacityPoolPatch) UnmarshalJSON

func (cpp *CapacityPoolPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityPoolPatch struct.

type CheckAvailabilityResponse

CheckAvailabilityResponse information regarding availability of a resource.

type CheckAvailabilityResponse struct {
    autorest.Response `json:"-"`
    // IsAvailable - <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.
    IsAvailable *bool `json:"isAvailable,omitempty"`
    // Reason - <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'
    Reason InAvailabilityReasonType `json:"reason,omitempty"`
    // Message - If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.
    Message *string `json:"message,omitempty"`
}

type CheckNameResourceTypes

CheckNameResourceTypes enumerates the values for check name resource types.

type CheckNameResourceTypes string
const (
    // MicrosoftNetAppnetAppAccounts ...
    MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    // MicrosoftNetAppnetAppAccountscapacityPools ...
    MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    // MicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    // MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)

func PossibleCheckNameResourceTypesValues

func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes

PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.

type CheckQuotaNameResourceTypes

CheckQuotaNameResourceTypes enumerates the values for check quota name resource types.

type CheckQuotaNameResourceTypes string
const (
    // CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts ...
    CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    // CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools ...
    CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    // CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    // CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)

func PossibleCheckQuotaNameResourceTypesValues

func PossibleCheckQuotaNameResourceTypesValues() []CheckQuotaNameResourceTypes

PossibleCheckQuotaNameResourceTypesValues returns an array of possible values for the CheckQuotaNameResourceTypes const type.

type DailySchedule

DailySchedule daily Schedule properties

type DailySchedule struct {
    // SnapshotsToKeep - Daily snapshot count to keep
    SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
    // Hour - Indicates which hour in UTC timezone a snapshot should be taken
    Hour *int32 `json:"hour,omitempty"`
    // Minute - Indicates which minute snapshot should be taken
    Minute *int32 `json:"minute,omitempty"`
    // UsedBytes - Resource size in bytes, current storage usage for the volume in bytes
    UsedBytes *int64 `json:"usedBytes,omitempty"`
}

type Dimension

Dimension dimension of blobs, possibly be blob type or access tier.

type Dimension struct {
    // Name - Display name of dimension.
    Name *string `json:"name,omitempty"`
    // DisplayName - Display name of dimension.
    DisplayName *string `json:"displayName,omitempty"`
}

type EndpointType

EndpointType enumerates the values for endpoint type.

type EndpointType string
const (
    // Dst ...
    Dst EndpointType = "dst"
    // Src ...
    Src EndpointType = "src"
)

func PossibleEndpointTypeValues

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.

type ExportPolicyRule

ExportPolicyRule volume Export Policy Rule

type ExportPolicyRule struct {
    // RuleIndex - Order index
    RuleIndex *int32 `json:"ruleIndex,omitempty"`
    // UnixReadOnly - Read only access
    UnixReadOnly *bool `json:"unixReadOnly,omitempty"`
    // UnixReadWrite - Read and write access
    UnixReadWrite *bool `json:"unixReadWrite,omitempty"`
    // Kerberos5ReadOnly - Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later
    Kerberos5ReadOnly *bool `json:"kerberos5ReadOnly,omitempty"`
    // Kerberos5ReadWrite - Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later
    Kerberos5ReadWrite *bool `json:"kerberos5ReadWrite,omitempty"`
    // Kerberos5iReadOnly - Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later
    Kerberos5iReadOnly *bool `json:"kerberos5iReadOnly,omitempty"`
    // Kerberos5iReadWrite - Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later
    Kerberos5iReadWrite *bool `json:"kerberos5iReadWrite,omitempty"`
    // Kerberos5pReadOnly - Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later
    Kerberos5pReadOnly *bool `json:"kerberos5pReadOnly,omitempty"`
    // Kerberos5pReadWrite - Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later
    Kerberos5pReadWrite *bool `json:"kerberos5pReadWrite,omitempty"`
    // Cifs - Allows CIFS protocol
    Cifs *bool `json:"cifs,omitempty"`
    // Nfsv3 - Allows NFSv3 protocol. Enable only for NFSv3 type volumes
    Nfsv3 *bool `json:"nfsv3,omitempty"`
    // Nfsv41 - Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes
    Nfsv41 *bool `json:"nfsv41,omitempty"`
    // AllowedClients - Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names
    AllowedClients *string `json:"allowedClients,omitempty"`
    // HasRootAccess - Has root access to volume
    HasRootAccess *bool `json:"hasRootAccess,omitempty"`
}

type HourlySchedule

HourlySchedule hourly Schedule properties

type HourlySchedule struct {
    // SnapshotsToKeep - Hourly snapshot count to keep
    SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
    // Minute - Indicates which minute snapshot should be taken
    Minute *int32 `json:"minute,omitempty"`
    // UsedBytes - Resource size in bytes, current storage usage for the volume in bytes
    UsedBytes *int64 `json:"usedBytes,omitempty"`
}

type InAvailabilityReasonType

InAvailabilityReasonType enumerates the values for in availability reason type.

type InAvailabilityReasonType string
const (
    // AlreadyExists ...
    AlreadyExists InAvailabilityReasonType = "AlreadyExists"
    // Invalid ...
    Invalid InAvailabilityReasonType = "Invalid"
)

func PossibleInAvailabilityReasonTypeValues

func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType

PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.

type MetricSpecification

MetricSpecification metric specification of operation.

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"`
}

type MirrorState

MirrorState enumerates the values for mirror state.

type MirrorState string
const (
    // Broken ...
    Broken MirrorState = "Broken"
    // Mirrored ...
    Mirrored MirrorState = "Mirrored"
    // Uninitialized ...
    Uninitialized MirrorState = "Uninitialized"
)

func PossibleMirrorStateValues

func PossibleMirrorStateValues() []MirrorState

PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.

type MonthlySchedule

MonthlySchedule monthly Schedule properties

type MonthlySchedule struct {
    // SnapshotsToKeep - Monthly snapshot count to keep
    SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
    // DaysOfMonth - Indicates which days of the month snapshot should be taken. A comma delimited string.
    DaysOfMonth *string `json:"daysOfMonth,omitempty"`
    // Hour - Indicates which hour in UTC timezone a snapshot should be taken
    Hour *int32 `json:"hour,omitempty"`
    // Minute - Indicates which minute snapshot should be taken
    Minute *int32 `json:"minute,omitempty"`
    // UsedBytes - Resource size in bytes, current storage usage for the volume in bytes
    UsedBytes *int64 `json:"usedBytes,omitempty"`
}

type MountTarget

MountTarget mount Target

type MountTarget struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // MountTargetProperties - Mount Target Properties
    *MountTargetProperties `json:"properties,omitempty"`
}

func (MountTarget) MarshalJSON

func (mt MountTarget) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MountTarget.

func (*MountTarget) UnmarshalJSON

func (mt *MountTarget) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MountTarget struct.

type MountTargetProperties

MountTargetProperties mount target properties

type MountTargetProperties struct {
    // MountTargetID - READ-ONLY; UUID v4 used to identify the MountTarget
    MountTargetID *string `json:"mountTargetId,omitempty"`
    // FileSystemID - UUID v4 used to identify the MountTarget
    FileSystemID *string `json:"fileSystemId,omitempty"`
    // IPAddress - READ-ONLY; The mount target's IPv4 address
    IPAddress *string `json:"ipAddress,omitempty"`
    // SmbServerFqdn - The SMB server's Fully Qualified Domain Name, FQDN
    SmbServerFqdn *string `json:"smbServerFqdn,omitempty"`
}

func (MountTargetProperties) MarshalJSON

func (mtp MountTargetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MountTargetProperties.

type Operation

Operation microsoft.NetApp REST API operation definition.

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"`
}

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay

OperationDisplay display metadata associated with the operation.

type OperationDisplay struct {
    // Provider - Service provider: Microsoft NetApp.
    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 - Operation description.
    Description *string `json:"description,omitempty"`
}

type OperationListResult

OperationListResult result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of Storage operations supported by the Storage resource provider.
    Value *[]Operation `json:"value,omitempty"`
}

type OperationProperties

OperationProperties properties of operation, include metric specifications.

type OperationProperties struct {
    // ServiceSpecification - One property of operation, include metric specifications.
    ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

type OperationsClient

OperationsClient is the microsoft NetApp Azure Resource Provider specification

type OperationsClient struct {
    BaseClient
}

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 Microsoft.NetApp Rest API operations

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

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

func (client OperationsClient) 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.

type PoolChangeRequest

PoolChangeRequest pool change request

type PoolChangeRequest struct {
    // NewPoolResourceID - Resource id of the pool to move volume to
    NewPoolResourceID *string `json:"newPoolResourceId,omitempty"`
}

type PoolPatchProperties

PoolPatchProperties patchable pool properties

type PoolPatchProperties struct {
    // Size - Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).
    Size *int64 `json:"size,omitempty"`
    // QosType - The qos type of the pool. Possible values include: 'Auto', 'Manual'
    QosType QosType `json:"qosType,omitempty"`
}

type PoolProperties

PoolProperties pool properties

type PoolProperties struct {
    // PoolID - READ-ONLY; UUID v4 used to identify the Pool
    PoolID *string `json:"poolId,omitempty"`
    // Size - Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).
    Size *int64 `json:"size,omitempty"`
    // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
    ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // TotalThroughputMibps - READ-ONLY; Total throughput of pool in Mibps
    TotalThroughputMibps *float64 `json:"totalThroughputMibps,omitempty"`
    // UtilizedThroughputMibps - READ-ONLY; Utilized throughput of pool in Mibps
    UtilizedThroughputMibps *float64 `json:"utilizedThroughputMibps,omitempty"`
    // QosType - The qos type of the pool. Possible values include: 'Auto', 'Manual'
    QosType QosType `json:"qosType,omitempty"`
}

func (PoolProperties) MarshalJSON

func (pp PoolProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PoolProperties.

type PoolsClient

PoolsClient is the microsoft NetApp Azure Resource Provider specification

type PoolsClient struct {
    BaseClient
}

func NewPoolsClient

func NewPoolsClient(subscriptionID string) PoolsClient

NewPoolsClient creates an instance of the PoolsClient client.

func NewPoolsClientWithBaseURI

func NewPoolsClientWithBaseURI(baseURI string, subscriptionID string) PoolsClient

NewPoolsClientWithBaseURI creates an instance of the PoolsClient 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 (PoolsClient) CreateOrUpdate

func (client PoolsClient) CreateOrUpdate(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (result PoolsCreateOrUpdateFuture, err error)

CreateOrUpdate create or Update a capacity pool Parameters: body - capacity pool object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) CreateOrUpdatePreparer

func (client PoolsClient) CreateOrUpdatePreparer(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoolsClient) CreateOrUpdateResponder

func (client PoolsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityPool, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PoolsClient) CreateOrUpdateSender

func (client PoolsClient) CreateOrUpdateSender(req *http.Request) (future PoolsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) Delete

func (client PoolsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result PoolsDeleteFuture, err error)

Delete delete the specified capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) DeletePreparer

func (client PoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PoolsClient) DeleteResponder

func (client PoolsClient) 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 (PoolsClient) DeleteSender

func (client PoolsClient) DeleteSender(req *http.Request) (future PoolsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) Get

func (client PoolsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result CapacityPool, err error)

Get get details of the specified capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) GetPreparer

func (client PoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PoolsClient) GetResponder

func (client PoolsClient) GetResponder(resp *http.Response) (result CapacityPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PoolsClient) GetSender

func (client PoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) List

func (client PoolsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result CapacityPoolList, err error)

List list all capacity pools in the NetApp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (PoolsClient) ListPreparer

func (client PoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PoolsClient) ListResponder

func (client PoolsClient) ListResponder(resp *http.Response) (result CapacityPoolList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PoolsClient) ListSender

func (client PoolsClient) 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 (PoolsClient) Update

func (client PoolsClient) Update(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (result PoolsUpdateFuture, err error)

Update patch the specified capacity pool Parameters: body - capacity pool object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) UpdatePreparer

func (client PoolsClient) UpdatePreparer(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PoolsClient) UpdateResponder

func (client PoolsClient) UpdateResponder(resp *http.Response) (result CapacityPool, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PoolsClient) UpdateSender

func (client PoolsClient) UpdateSender(req *http.Request) (future PoolsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type PoolsCreateOrUpdateFuture

PoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoolsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (CapacityPool, error)
}

func (*PoolsCreateOrUpdateFuture) UnmarshalJSON

func (future *PoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PoolsDeleteFuture

PoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoolsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (autorest.Response, error)
}

func (*PoolsDeleteFuture) UnmarshalJSON

func (future *PoolsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PoolsUpdateFuture

PoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoolsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (CapacityPool, error)
}

func (*PoolsUpdateFuture) UnmarshalJSON

func (future *PoolsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type QosType

QosType enumerates the values for qos type.

type QosType string
const (
    // Auto qos type Auto
    Auto QosType = "Auto"
    // Manual qos type Manual
    Manual QosType = "Manual"
)

func PossibleQosTypeValues

func PossibleQosTypeValues() []QosType

PossibleQosTypeValues returns an array of possible values for the QosType const type.

type QuotaAvailabilityRequest

QuotaAvailabilityRequest quota availability request content.

type QuotaAvailabilityRequest struct {
    // Name - Name of the resource to verify.
    Name *string `json:"name,omitempty"`
    // Type - Resource type used for verification. Possible values include: 'CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts', 'CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools', 'CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes', 'CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots'
    Type CheckQuotaNameResourceTypes `json:"type,omitempty"`
    // ResourceGroup - Resource group name.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
}

type RelationshipStatus

RelationshipStatus enumerates the values for relationship status.

type RelationshipStatus string
const (
    // Idle ...
    Idle RelationshipStatus = "Idle"
    // Transferring ...
    Transferring RelationshipStatus = "Transferring"
)

func PossibleRelationshipStatusValues

func PossibleRelationshipStatusValues() []RelationshipStatus

PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.

type ReplicationObject

ReplicationObject replication properties

type ReplicationObject struct {
    // ReplicationID - Id
    ReplicationID *string `json:"replicationId,omitempty"`
    // EndpointType - Indicates whether the local volume is the source or destination for the Volume Replication. Possible values include: 'Src', 'Dst'
    EndpointType EndpointType `json:"endpointType,omitempty"`
    // ReplicationSchedule - Schedule. Possible values include: '10minutely', 'Hourly', 'Daily'
    ReplicationSchedule ReplicationSchedule `json:"replicationSchedule,omitempty"`
    // RemoteVolumeResourceID - The resource ID of the remote volume.
    RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
    // RemoteVolumeRegion - The remote region for the other end of the Volume Replication.
    RemoteVolumeRegion *string `json:"remoteVolumeRegion,omitempty"`
}

type ReplicationSchedule

ReplicationSchedule enumerates the values for replication schedule.

type ReplicationSchedule string
const (
    // OneZerominutely ...
    OneZerominutely ReplicationSchedule = "_10minutely"
    // Daily ...
    Daily ReplicationSchedule = "daily"
    // Hourly ...
    Hourly ReplicationSchedule = "hourly"
)

func PossibleReplicationScheduleValues

func PossibleReplicationScheduleValues() []ReplicationSchedule

PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.

type ReplicationStatus

ReplicationStatus replication status

type ReplicationStatus struct {
    autorest.Response `json:"-"`
    // Healthy - Replication health check
    Healthy *bool `json:"healthy,omitempty"`
    // RelationshipStatus - Status of the mirror relationship. Possible values include: 'Idle', 'Transferring'
    RelationshipStatus RelationshipStatus `json:"relationshipStatus,omitempty"`
    // MirrorState - The status of the replication. Possible values include: 'Uninitialized', 'Mirrored', 'Broken'
    MirrorState MirrorState `json:"mirrorState,omitempty"`
    // TotalProgress - The progress of the replication
    TotalProgress *string `json:"totalProgress,omitempty"`
    // ErrorMessage - Displays error message if the replication is in an error state
    ErrorMessage *string `json:"errorMessage,omitempty"`
}

type ResourceClient

ResourceClient is the microsoft NetApp Azure Resource Provider specification

type ResourceClient struct {
    BaseClient
}

func NewResourceClient

func NewResourceClient(subscriptionID string) ResourceClient

NewResourceClient creates an instance of the ResourceClient client.

func NewResourceClientWithBaseURI

func NewResourceClientWithBaseURI(baseURI string, subscriptionID string) ResourceClient

NewResourceClientWithBaseURI creates an instance of the ResourceClient 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 (ResourceClient) CheckFilePathAvailability

func (client ResourceClient) CheckFilePathAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)

CheckFilePathAvailability check if a file path is available. Parameters: body - file path availability request. location - the location

func (ResourceClient) CheckFilePathAvailabilityPreparer

func (client ResourceClient) CheckFilePathAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)

CheckFilePathAvailabilityPreparer prepares the CheckFilePathAvailability request.

func (ResourceClient) CheckFilePathAvailabilityResponder

func (client ResourceClient) CheckFilePathAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)

CheckFilePathAvailabilityResponder handles the response to the CheckFilePathAvailability request. The method always closes the http.Response Body.

func (ResourceClient) CheckFilePathAvailabilitySender

func (client ResourceClient) CheckFilePathAvailabilitySender(req *http.Request) (*http.Response, error)

CheckFilePathAvailabilitySender sends the CheckFilePathAvailability request. The method will close the http.Response Body if it receives an error.

func (ResourceClient) CheckNameAvailability

func (client ResourceClient) CheckNameAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)

CheckNameAvailability check if a resource name is available. Parameters: body - name availability request. location - the location

func (ResourceClient) CheckNameAvailabilityPreparer

func (client ResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ResourceClient) CheckNameAvailabilityResponder

func (client ResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ResourceClient) CheckNameAvailabilitySender

func (client ResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ResourceClient) CheckQuotaAvailability

func (client ResourceClient) CheckQuotaAvailability(ctx context.Context, body QuotaAvailabilityRequest, location string) (result CheckAvailabilityResponse, err error)

CheckQuotaAvailability check if a quota is available. Parameters: body - quota availability request. location - the location

func (ResourceClient) CheckQuotaAvailabilityPreparer

func (client ResourceClient) CheckQuotaAvailabilityPreparer(ctx context.Context, body QuotaAvailabilityRequest, location string) (*http.Request, error)

CheckQuotaAvailabilityPreparer prepares the CheckQuotaAvailability request.

func (ResourceClient) CheckQuotaAvailabilityResponder

func (client ResourceClient) CheckQuotaAvailabilityResponder(resp *http.Response) (result CheckAvailabilityResponse, err error)

CheckQuotaAvailabilityResponder handles the response to the CheckQuotaAvailability request. The method always closes the http.Response Body.

func (ResourceClient) CheckQuotaAvailabilitySender

func (client ResourceClient) CheckQuotaAvailabilitySender(req *http.Request) (*http.Response, error)

CheckQuotaAvailabilitySender sends the CheckQuotaAvailability request. The method will close the http.Response Body if it receives an error.

type ResourceNameAvailabilityRequest

ResourceNameAvailabilityRequest resource name availability request content.

type ResourceNameAvailabilityRequest struct {
    // Name - Resource name to verify.
    Name *string `json:"name,omitempty"`
    // Type - Resource type used for verification. Possible values include: 'MicrosoftNetAppnetAppAccounts', 'MicrosoftNetAppnetAppAccountscapacityPools', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumes', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots'
    Type CheckNameResourceTypes `json:"type,omitempty"`
    // ResourceGroup - Resource group name.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
}

type SecurityStyle

SecurityStyle enumerates the values for security style.

type SecurityStyle string
const (
    // Ntfs ...
    Ntfs SecurityStyle = "ntfs"
    // Unix ...
    Unix SecurityStyle = "unix"
)

func PossibleSecurityStyleValues

func PossibleSecurityStyleValues() []SecurityStyle

PossibleSecurityStyleValues returns an array of possible values for the SecurityStyle const type.

type ServiceLevel

ServiceLevel enumerates the values for service level.

type ServiceLevel string
const (
    // Premium Premium service level
    Premium ServiceLevel = "Premium"
    // Standard Standard service level
    Standard ServiceLevel = "Standard"
    // Ultra Ultra service level
    Ultra ServiceLevel = "Ultra"
)

func PossibleServiceLevelValues

func PossibleServiceLevelValues() []ServiceLevel

PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.

type ServiceSpecification

ServiceSpecification one property of operation, include metric specifications.

type ServiceSpecification struct {
    // MetricSpecifications - Metric specifications of operation.
    MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

type Snapshot

Snapshot snapshot of a Volume

type Snapshot struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // SnapshotProperties - Snapshot Properties
    *SnapshotProperties `json:"properties,omitempty"`
}

func (Snapshot) MarshalJSON

func (s Snapshot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Snapshot.

func (*Snapshot) UnmarshalJSON

func (s *Snapshot) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Snapshot struct.

type SnapshotPoliciesClient

SnapshotPoliciesClient is the microsoft NetApp Azure Resource Provider specification

type SnapshotPoliciesClient struct {
    BaseClient
}

func NewSnapshotPoliciesClient

func NewSnapshotPoliciesClient(subscriptionID string) SnapshotPoliciesClient

NewSnapshotPoliciesClient creates an instance of the SnapshotPoliciesClient client.

func NewSnapshotPoliciesClientWithBaseURI

func NewSnapshotPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SnapshotPoliciesClient

NewSnapshotPoliciesClientWithBaseURI creates an instance of the SnapshotPoliciesClient 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 (SnapshotPoliciesClient) Create

func (client SnapshotPoliciesClient) Create(ctx context.Context, body SnapshotPolicy, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)

Create create a snapshot policy Parameters: body - snapshot policy object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account snapshotPolicyName - the name of the snapshot policy target

func (SnapshotPoliciesClient) CreatePreparer

func (client SnapshotPoliciesClient) CreatePreparer(ctx context.Context, body SnapshotPolicy, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SnapshotPoliciesClient) CreateResponder

func (client SnapshotPoliciesClient) CreateResponder(resp *http.Response) (result SnapshotPolicy, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SnapshotPoliciesClient) CreateSender

func (client SnapshotPoliciesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SnapshotPoliciesClient) Delete

func (client SnapshotPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPoliciesDeleteFuture, err error)

Delete delete snapshot policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account snapshotPolicyName - the name of the snapshot policy target

func (SnapshotPoliciesClient) DeletePreparer

func (client SnapshotPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SnapshotPoliciesClient) DeleteResponder

func (client SnapshotPoliciesClient) 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 (SnapshotPoliciesClient) DeleteSender

func (client SnapshotPoliciesClient) DeleteSender(req *http.Request) (future SnapshotPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SnapshotPoliciesClient) Get

func (client SnapshotPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)

Get get a snapshot Policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account snapshotPolicyName - the name of the snapshot policy target

func (SnapshotPoliciesClient) GetPreparer

func (client SnapshotPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SnapshotPoliciesClient) GetResponder

func (client SnapshotPoliciesClient) GetResponder(resp *http.Response) (result SnapshotPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SnapshotPoliciesClient) GetSender

func (client SnapshotPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SnapshotPoliciesClient) List

func (client SnapshotPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result SnapshotPoliciesList, err error)

List list snapshot policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (SnapshotPoliciesClient) ListPreparer

func (client SnapshotPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SnapshotPoliciesClient) ListResponder

func (client SnapshotPoliciesClient) ListResponder(resp *http.Response) (result SnapshotPoliciesList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SnapshotPoliciesClient) ListSender

func (client SnapshotPoliciesClient) 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 (SnapshotPoliciesClient) ListVolumes

func (client SnapshotPoliciesClient) ListVolumes(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicyVolumeList, err error)

ListVolumes get volumes associated with snapshot policy Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account snapshotPolicyName - the name of the snapshot policy target

func (SnapshotPoliciesClient) ListVolumesPreparer

func (client SnapshotPoliciesClient) ListVolumesPreparer(ctx context.Context, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)

ListVolumesPreparer prepares the ListVolumes request.

func (SnapshotPoliciesClient) ListVolumesResponder

func (client SnapshotPoliciesClient) ListVolumesResponder(resp *http.Response) (result SnapshotPolicyVolumeList, err error)

ListVolumesResponder handles the response to the ListVolumes request. The method always closes the http.Response Body.

func (SnapshotPoliciesClient) ListVolumesSender

func (client SnapshotPoliciesClient) ListVolumesSender(req *http.Request) (*http.Response, error)

ListVolumesSender sends the ListVolumes request. The method will close the http.Response Body if it receives an error.

func (SnapshotPoliciesClient) Update

func (client SnapshotPoliciesClient) Update(ctx context.Context, body SnapshotPolicyPatch, resourceGroupName string, accountName string, snapshotPolicyName string) (result SnapshotPolicy, err error)

Update patch a snapshot policy Parameters: body - snapshot policy object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account snapshotPolicyName - the name of the snapshot policy target

func (SnapshotPoliciesClient) UpdatePreparer

func (client SnapshotPoliciesClient) UpdatePreparer(ctx context.Context, body SnapshotPolicyPatch, resourceGroupName string, accountName string, snapshotPolicyName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SnapshotPoliciesClient) UpdateResponder

func (client SnapshotPoliciesClient) UpdateResponder(resp *http.Response) (result SnapshotPolicy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SnapshotPoliciesClient) UpdateSender

func (client SnapshotPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SnapshotPoliciesDeleteFuture

SnapshotPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotPoliciesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotPoliciesClient) (autorest.Response, error)
}

func (*SnapshotPoliciesDeleteFuture) UnmarshalJSON

func (future *SnapshotPoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotPoliciesList

SnapshotPoliciesList list of Snapshot Policies

type SnapshotPoliciesList struct {
    autorest.Response `json:"-"`
    // Value - A list of snapshot policies
    Value *[]SnapshotPolicy `json:"value,omitempty"`
}

type SnapshotPolicy

SnapshotPolicy snapshot policy information

type SnapshotPolicy struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SnapshotPolicyProperties - Snapshot policy Properties
    *SnapshotPolicyProperties `json:"properties,omitempty"`
}

func (SnapshotPolicy) MarshalJSON

func (sp SnapshotPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotPolicy.

func (*SnapshotPolicy) UnmarshalJSON

func (sp *SnapshotPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SnapshotPolicy struct.

type SnapshotPolicyDetails

SnapshotPolicyDetails snapshot policy properties

type SnapshotPolicyDetails struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SnapshotPolicyProperties - Snapshot policy Properties
    *SnapshotPolicyProperties `json:"properties,omitempty"`
}

func (SnapshotPolicyDetails) MarshalJSON

func (spd SnapshotPolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotPolicyDetails.

func (*SnapshotPolicyDetails) UnmarshalJSON

func (spd *SnapshotPolicyDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SnapshotPolicyDetails struct.

type SnapshotPolicyPatch

SnapshotPolicyPatch snapshot policy Details for create and update

type SnapshotPolicyPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SnapshotPolicyProperties - Snapshot Policy properties
    *SnapshotPolicyProperties `json:"properties,omitempty"`
}

func (SnapshotPolicyPatch) MarshalJSON

func (spp SnapshotPolicyPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotPolicyPatch.

func (*SnapshotPolicyPatch) UnmarshalJSON

func (spp *SnapshotPolicyPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SnapshotPolicyPatch struct.

type SnapshotPolicyProperties

SnapshotPolicyProperties snapshot policy properties

type SnapshotPolicyProperties struct {
    // Name - READ-ONLY; Snapshot policy name
    Name *string `json:"name,omitempty"`
    // HourlySchedule - Schedule for hourly snapshots
    HourlySchedule *HourlySchedule `json:"hourlySchedule,omitempty"`
    // DailySchedule - Schedule for daily snapshots
    DailySchedule *DailySchedule `json:"dailySchedule,omitempty"`
    // WeeklySchedule - Schedule for weekly snapshots
    WeeklySchedule *WeeklySchedule `json:"weeklySchedule,omitempty"`
    // MonthlySchedule - Schedule for monthly snapshots
    MonthlySchedule *MonthlySchedule `json:"monthlySchedule,omitempty"`
    // Enabled - The property to decide policy is enabled or not
    Enabled *bool `json:"enabled,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (SnapshotPolicyProperties) MarshalJSON

func (spp SnapshotPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotPolicyProperties.

type SnapshotPolicyVolumeList

SnapshotPolicyVolumeList volumes associated with snapshot policy

type SnapshotPolicyVolumeList struct {
    autorest.Response `json:"-"`
    // Value - List of volumes
    Value *[]interface{} `json:"value,omitempty"`
}

type SnapshotProperties

SnapshotProperties snapshot properties

type SnapshotProperties struct {
    // SnapshotID - READ-ONLY; UUID v4 used to identify the Snapshot
    SnapshotID *string `json:"snapshotId,omitempty"`
    // Created - READ-ONLY; The creation date of the snapshot
    Created *date.Time `json:"created,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (SnapshotProperties) MarshalJSON

func (sp SnapshotProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotProperties.

type SnapshotsClient

SnapshotsClient is the microsoft NetApp Azure Resource Provider specification

type SnapshotsClient struct {
    BaseClient
}

func NewSnapshotsClient

func NewSnapshotsClient(subscriptionID string) SnapshotsClient

NewSnapshotsClient creates an instance of the SnapshotsClient client.

func NewSnapshotsClientWithBaseURI

func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient

NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient 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 (SnapshotsClient) Create

func (client SnapshotsClient) Create(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsCreateFuture, err error)

Create create the specified snapshot within the given volume Parameters: body - snapshot object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) CreatePreparer

func (client SnapshotsClient) CreatePreparer(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SnapshotsClient) CreateResponder

func (client SnapshotsClient) CreateResponder(resp *http.Response) (result Snapshot, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SnapshotsClient) CreateSender

func (client SnapshotsClient) CreateSender(req *http.Request) (future SnapshotsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Delete

func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsDeleteFuture, err error)

Delete delete snapshot Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) DeletePreparer

func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SnapshotsClient) DeleteResponder

func (client SnapshotsClient) 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 (SnapshotsClient) DeleteSender

func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Get

func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result Snapshot, err error)

Get get details of the specified snapshot Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) GetPreparer

func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SnapshotsClient) GetResponder

func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SnapshotsClient) GetSender

func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) List

func (client SnapshotsClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result SnapshotsList, err error)

List list all snapshots associated with the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (SnapshotsClient) ListPreparer

func (client SnapshotsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SnapshotsClient) ListResponder

func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SnapshotsClient) ListSender

func (client SnapshotsClient) 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 (SnapshotsClient) Update

func (client SnapshotsClient) Update(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsUpdateFuture, err error)

Update patch a snapshot Parameters: body - snapshot object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) UpdatePreparer

func (client SnapshotsClient) UpdatePreparer(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SnapshotsClient) UpdateResponder

func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SnapshotsClient) UpdateSender

func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SnapshotsCreateFuture

SnapshotsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

func (*SnapshotsCreateFuture) UnmarshalJSON

func (future *SnapshotsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsDeleteFuture

SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (autorest.Response, error)
}

func (*SnapshotsDeleteFuture) UnmarshalJSON

func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsList

SnapshotsList list of Snapshots

type SnapshotsList struct {
    autorest.Response `json:"-"`
    // Value - A list of Snapshots
    Value *[]Snapshot `json:"value,omitempty"`
}

type SnapshotsUpdateFuture

SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

func (*SnapshotsUpdateFuture) UnmarshalJSON

func (future *SnapshotsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Vault

Vault vault information

type Vault struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // VaultProperties - Vault Properties
    *VaultProperties `json:"properties,omitempty"`
}

func (Vault) MarshalJSON

func (vVar Vault) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Vault.

func (*Vault) UnmarshalJSON

func (vVar *Vault) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Vault struct.

type VaultList

VaultList list of Vaults

type VaultList struct {
    autorest.Response `json:"-"`
    // Value - A list of vaults
    Value *[]Vault `json:"value,omitempty"`
}

type VaultProperties

VaultProperties vault properties

type VaultProperties struct {
    // VaultName - Vault Name
    VaultName *string `json:"vaultName,omitempty"`
}

type VaultsClient

VaultsClient is the microsoft NetApp Azure Resource Provider specification

type VaultsClient struct {
    BaseClient
}

func NewVaultsClient

func NewVaultsClient(subscriptionID string) VaultsClient

NewVaultsClient creates an instance of the VaultsClient client.

func NewVaultsClientWithBaseURI

func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient

NewVaultsClientWithBaseURI creates an instance of the VaultsClient 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 (VaultsClient) List

func (client VaultsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result VaultList, err error)

List list vaults for a Netapp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (VaultsClient) ListPreparer

func (client VaultsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VaultsClient) ListResponder

func (client VaultsClient) ListResponder(resp *http.Response) (result VaultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VaultsClient) ListSender

func (client VaultsClient) 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.

type Volume

Volume volume resource

type Volume struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // VolumeProperties - Volume properties
    *VolumeProperties `json:"properties,omitempty"`
}

func (Volume) MarshalJSON

func (vVar Volume) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Volume.

func (*Volume) UnmarshalJSON

func (vVar *Volume) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Volume struct.

type VolumeBackupProperties

VolumeBackupProperties volume Backup Properties

type VolumeBackupProperties struct {
    // BackupPolicyID - Backup Policy Resource ID
    BackupPolicyID *string `json:"backupPolicyId,omitempty"`
    // PolicyEnforced - Policy Enforced
    PolicyEnforced *bool `json:"policyEnforced,omitempty"`
    // VaultID - Vault Resource ID
    VaultID *string `json:"vaultId,omitempty"`
    // BackupEnabled - Backup Enabled
    BackupEnabled *bool `json:"backupEnabled,omitempty"`
}

type VolumeBackups

VolumeBackups volume details using the backup policy

type VolumeBackups struct {
    // VolumeName - Volume name
    VolumeName *string `json:"volumeName,omitempty"`
    // BackupsCount - Total count of backups for volume
    BackupsCount *int32 `json:"backupsCount,omitempty"`
    // PolicyEnabled - Policy enabled
    PolicyEnabled *bool `json:"policyEnabled,omitempty"`
}

type VolumeList

VolumeList list of volume resources

type VolumeList struct {
    autorest.Response `json:"-"`
    // Value - List of volumes
    Value *[]Volume `json:"value,omitempty"`
}

type VolumePatch

VolumePatch volume patch resource

type VolumePatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // VolumePatchProperties - Patchable volume properties
    *VolumePatchProperties `json:"properties,omitempty"`
}

func (VolumePatch) MarshalJSON

func (vp VolumePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VolumePatch.

func (*VolumePatch) UnmarshalJSON

func (vp *VolumePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VolumePatch struct.

type VolumePatchProperties

VolumePatchProperties patchable volume properties

type VolumePatchProperties struct {
    // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
    ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"`
    // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
    UsageThreshold *int64 `json:"usageThreshold,omitempty"`
    // ExportPolicy - Set of export policy rules
    ExportPolicy    *VolumePatchPropertiesExportPolicy `json:"exportPolicy,omitempty"`
    ThroughputMibps *float64                           `json:"throughputMibps,omitempty"`
    // DataProtection - DataProtection type volumes include an object containing details of the replication
    DataProtection *VolumePatchPropertiesDataProtection `json:"dataProtection,omitempty"`
}

type VolumePatchPropertiesDataProtection

VolumePatchPropertiesDataProtection dataProtection type volumes include an object containing details of the replication

type VolumePatchPropertiesDataProtection struct {
    // Backup - Backup Properties
    Backup *VolumeBackupProperties `json:"backup,omitempty"`
}

type VolumePatchPropertiesExportPolicy

VolumePatchPropertiesExportPolicy set of export policy rules

type VolumePatchPropertiesExportPolicy struct {
    // Rules - Export policy rule
    Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

type VolumeProperties

VolumeProperties volume properties

type VolumeProperties struct {
    // FileSystemID - READ-ONLY; Unique FileSystem Identifier.
    FileSystemID *string `json:"fileSystemId,omitempty"`
    // CreationToken - A unique file path for the volume. Used when creating mount targets
    CreationToken *string `json:"creationToken,omitempty"`
    // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
    ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"`
    // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
    UsageThreshold *int64 `json:"usageThreshold,omitempty"`
    // ExportPolicy - Set of export policy rules
    ExportPolicy *VolumePropertiesExportPolicy `json:"exportPolicy,omitempty"`
    // ProtocolTypes - Set of protocol types
    ProtocolTypes *[]string `json:"protocolTypes,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // SnapshotID - UUID v4 or resource identifier used to identify the Snapshot.
    SnapshotID *string `json:"snapshotId,omitempty"`
    // BackupID - UUID v4 or resource identifier used to identify the Backup.
    BackupID *string `json:"backupId,omitempty"`
    // BaremetalTenantID - READ-ONLY; Unique Baremetal Tenant Identifier.
    BaremetalTenantID *string `json:"baremetalTenantId,omitempty"`
    // SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
    SubnetID *string `json:"subnetId,omitempty"`
    // MountTargets - List of mount targets
    MountTargets *[]MountTargetProperties `json:"mountTargets,omitempty"`
    // VolumeType - What type of volume is this
    VolumeType *string `json:"volumeType,omitempty"`
    // DataProtection - DataProtection type volumes include an object containing details of the replication
    DataProtection *VolumePropertiesDataProtection `json:"dataProtection,omitempty"`
    // IsRestoring - Restoring
    IsRestoring *bool `json:"isRestoring,omitempty"`
    // SnapshotDirectoryVisible - If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true).
    SnapshotDirectoryVisible *bool `json:"snapshotDirectoryVisible,omitempty"`
    // KerberosEnabled - Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later
    KerberosEnabled *bool `json:"kerberosEnabled,omitempty"`
    // SecurityStyle - The security style of volume. Possible values include: 'Ntfs', 'Unix'
    SecurityStyle   SecurityStyle `json:"securityStyle,omitempty"`
    ThroughputMibps *float64      `json:"throughputMibps,omitempty"`
}

func (VolumeProperties) MarshalJSON

func (vp VolumeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VolumeProperties.

type VolumePropertiesDataProtection

VolumePropertiesDataProtection dataProtection type volumes include an object containing details of the replication

type VolumePropertiesDataProtection struct {
    // Backup - Backup Properties
    Backup *VolumeBackupProperties `json:"backup,omitempty"`
    // Replication - Replication properties
    Replication *ReplicationObject `json:"replication,omitempty"`
    // Snapshot - Snapshot properties.
    Snapshot *VolumeSnapshotProperties `json:"snapshot,omitempty"`
}

type VolumePropertiesExportPolicy

VolumePropertiesExportPolicy set of export policy rules

type VolumePropertiesExportPolicy struct {
    // Rules - Export policy rule
    Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

type VolumeRevert

VolumeRevert revert a volume to the snapshot

type VolumeRevert struct {
    // SnapshotID - Resource id of the snapshot
    SnapshotID *string `json:"snapshotId,omitempty"`
}

type VolumeSnapshotProperties

VolumeSnapshotProperties volume Snapshot Properties

type VolumeSnapshotProperties struct {
    // SnapshotPolicyID - Snapshot Policy ResourceId
    SnapshotPolicyID *string `json:"snapshotPolicyId,omitempty"`
}

type VolumesAuthorizeReplicationFuture

VolumesAuthorizeReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesAuthorizeReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesAuthorizeReplicationFuture) UnmarshalJSON

func (future *VolumesAuthorizeReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesBreakReplicationFuture

VolumesBreakReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesBreakReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesBreakReplicationFuture) UnmarshalJSON

func (future *VolumesBreakReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesClient

VolumesClient is the microsoft NetApp Azure Resource Provider specification

type VolumesClient struct {
    BaseClient
}

func NewVolumesClient

func NewVolumesClient(subscriptionID string) VolumesClient

NewVolumesClient creates an instance of the VolumesClient client.

func NewVolumesClientWithBaseURI

func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient

NewVolumesClientWithBaseURI creates an instance of the VolumesClient 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 (VolumesClient) AuthorizeReplication

func (client VolumesClient) AuthorizeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (result VolumesAuthorizeReplicationFuture, err error)

AuthorizeReplication authorize the replication connection on the source volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - authorize request object supplied in the body of the operation.

func (VolumesClient) AuthorizeReplicationPreparer

func (client VolumesClient) AuthorizeReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (*http.Request, error)

AuthorizeReplicationPreparer prepares the AuthorizeReplication request.

func (VolumesClient) AuthorizeReplicationResponder

func (client VolumesClient) AuthorizeReplicationResponder(resp *http.Response) (result autorest.Response, err error)

AuthorizeReplicationResponder handles the response to the AuthorizeReplication request. The method always closes the http.Response Body.

func (VolumesClient) AuthorizeReplicationSender

func (client VolumesClient) AuthorizeReplicationSender(req *http.Request) (future VolumesAuthorizeReplicationFuture, err error)

AuthorizeReplicationSender sends the AuthorizeReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) BreakReplication

func (client VolumesClient) BreakReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body *BreakReplicationRequest) (result VolumesBreakReplicationFuture, err error)

BreakReplication break the replication connection on the destination volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - optional body to force break the replication.

func (VolumesClient) BreakReplicationPreparer

func (client VolumesClient) BreakReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body *BreakReplicationRequest) (*http.Request, error)

BreakReplicationPreparer prepares the BreakReplication request.

func (VolumesClient) BreakReplicationResponder

func (client VolumesClient) BreakReplicationResponder(resp *http.Response) (result autorest.Response, err error)

BreakReplicationResponder handles the response to the BreakReplication request. The method always closes the http.Response Body.

func (VolumesClient) BreakReplicationSender

func (client VolumesClient) BreakReplicationSender(req *http.Request) (future VolumesBreakReplicationFuture, err error)

BreakReplicationSender sends the BreakReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) CreateOrUpdate

func (client VolumesClient) CreateOrUpdate(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the specified volume within the capacity pool Parameters: body - volume object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) CreateOrUpdatePreparer

func (client VolumesClient) CreateOrUpdatePreparer(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VolumesClient) CreateOrUpdateResponder

func (client VolumesClient) CreateOrUpdateResponder(resp *http.Response) (result Volume, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VolumesClient) CreateOrUpdateSender

func (client VolumesClient) CreateOrUpdateSender(req *http.Request) (future VolumesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Delete

func (client VolumesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteFuture, err error)

Delete delete the specified volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) DeletePreparer

func (client VolumesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VolumesClient) DeleteReplication

func (client VolumesClient) DeleteReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteReplicationFuture, err error)

DeleteReplication delete the replication connection on the destination volume, and send release to the source replication Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) DeleteReplicationPreparer

func (client VolumesClient) DeleteReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

DeleteReplicationPreparer prepares the DeleteReplication request.

func (VolumesClient) DeleteReplicationResponder

func (client VolumesClient) DeleteReplicationResponder(resp *http.Response) (result autorest.Response, err error)

DeleteReplicationResponder handles the response to the DeleteReplication request. The method always closes the http.Response Body.

func (VolumesClient) DeleteReplicationSender

func (client VolumesClient) DeleteReplicationSender(req *http.Request) (future VolumesDeleteReplicationFuture, err error)

DeleteReplicationSender sends the DeleteReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) DeleteResponder

func (client VolumesClient) 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 (VolumesClient) DeleteSender

func (client VolumesClient) DeleteSender(req *http.Request) (future VolumesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Get

func (client VolumesClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result Volume, err error)

Get get the details of the specified volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) GetPreparer

func (client VolumesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VolumesClient) GetResponder

func (client VolumesClient) GetResponder(resp *http.Response) (result Volume, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VolumesClient) GetSender

func (client VolumesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) List

func (client VolumesClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result VolumeList, err error)

List list all volumes within the capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (VolumesClient) ListPreparer

func (client VolumesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VolumesClient) ListResponder

func (client VolumesClient) ListResponder(resp *http.Response) (result VolumeList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VolumesClient) ListSender

func (client VolumesClient) 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 (VolumesClient) PoolChange

func (client VolumesClient) PoolChange(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body PoolChangeRequest) (result VolumesPoolChangeFuture, err error)

PoolChange moves volume to another pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - move volume to the pool supplied in the body of the operation.

func (VolumesClient) PoolChangePreparer

func (client VolumesClient) PoolChangePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body PoolChangeRequest) (*http.Request, error)

PoolChangePreparer prepares the PoolChange request.

func (VolumesClient) PoolChangeResponder

func (client VolumesClient) PoolChangeResponder(resp *http.Response) (result autorest.Response, err error)

PoolChangeResponder handles the response to the PoolChange request. The method always closes the http.Response Body.

func (VolumesClient) PoolChangeSender

func (client VolumesClient) PoolChangeSender(req *http.Request) (future VolumesPoolChangeFuture, err error)

PoolChangeSender sends the PoolChange request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) ReInitializeReplication

func (client VolumesClient) ReInitializeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesReInitializeReplicationFuture, err error)

ReInitializeReplication re-Initializes the replication connection on the destination volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) ReInitializeReplicationPreparer

func (client VolumesClient) ReInitializeReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ReInitializeReplicationPreparer prepares the ReInitializeReplication request.

func (VolumesClient) ReInitializeReplicationResponder

func (client VolumesClient) ReInitializeReplicationResponder(resp *http.Response) (result autorest.Response, err error)

ReInitializeReplicationResponder handles the response to the ReInitializeReplication request. The method always closes the http.Response Body.

func (VolumesClient) ReInitializeReplicationSender

func (client VolumesClient) ReInitializeReplicationSender(req *http.Request) (future VolumesReInitializeReplicationFuture, err error)

ReInitializeReplicationSender sends the ReInitializeReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) ReplicationStatusMethod

func (client VolumesClient) ReplicationStatusMethod(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result ReplicationStatus, err error)

ReplicationStatusMethod get the status of the replication Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) ReplicationStatusMethodPreparer

func (client VolumesClient) ReplicationStatusMethodPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ReplicationStatusMethodPreparer prepares the ReplicationStatusMethod request.

func (VolumesClient) ReplicationStatusMethodResponder

func (client VolumesClient) ReplicationStatusMethodResponder(resp *http.Response) (result ReplicationStatus, err error)

ReplicationStatusMethodResponder handles the response to the ReplicationStatusMethod request. The method always closes the http.Response Body.

func (VolumesClient) ReplicationStatusMethodSender

func (client VolumesClient) ReplicationStatusMethodSender(req *http.Request) (*http.Response, error)

ReplicationStatusMethodSender sends the ReplicationStatusMethod request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) ResyncReplication

func (client VolumesClient) ResyncReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesResyncReplicationFuture, err error)

ResyncReplication resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination. Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) ResyncReplicationPreparer

func (client VolumesClient) ResyncReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ResyncReplicationPreparer prepares the ResyncReplication request.

func (VolumesClient) ResyncReplicationResponder

func (client VolumesClient) ResyncReplicationResponder(resp *http.Response) (result autorest.Response, err error)

ResyncReplicationResponder handles the response to the ResyncReplication request. The method always closes the http.Response Body.

func (VolumesClient) ResyncReplicationSender

func (client VolumesClient) ResyncReplicationSender(req *http.Request) (future VolumesResyncReplicationFuture, err error)

ResyncReplicationSender sends the ResyncReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Revert

func (client VolumesClient) Revert(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (result VolumesRevertFuture, err error)

Revert revert a volume to the snapshot specified in the body Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - object for snapshot to revert supplied in the body of the operation.

func (VolumesClient) RevertPreparer

func (client VolumesClient) RevertPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (*http.Request, error)

RevertPreparer prepares the Revert request.

func (VolumesClient) RevertResponder

func (client VolumesClient) RevertResponder(resp *http.Response) (result autorest.Response, err error)

RevertResponder handles the response to the Revert request. The method always closes the http.Response Body.

func (VolumesClient) RevertSender

func (client VolumesClient) RevertSender(req *http.Request) (future VolumesRevertFuture, err error)

RevertSender sends the Revert request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Update

func (client VolumesClient) Update(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesUpdateFuture, err error)

Update patch the specified volume Parameters: body - volume object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) UpdatePreparer

func (client VolumesClient) UpdatePreparer(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VolumesClient) UpdateResponder

func (client VolumesClient) UpdateResponder(resp *http.Response) (result Volume, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VolumesClient) UpdateSender

func (client VolumesClient) UpdateSender(req *http.Request) (future VolumesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VolumesCreateOrUpdateFuture

VolumesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (Volume, error)
}

func (*VolumesCreateOrUpdateFuture) UnmarshalJSON

func (future *VolumesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesDeleteFuture

VolumesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesDeleteFuture) UnmarshalJSON

func (future *VolumesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesDeleteReplicationFuture

VolumesDeleteReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesDeleteReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesDeleteReplicationFuture) UnmarshalJSON

func (future *VolumesDeleteReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesPoolChangeFuture

VolumesPoolChangeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesPoolChangeFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesPoolChangeFuture) UnmarshalJSON

func (future *VolumesPoolChangeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesReInitializeReplicationFuture

VolumesReInitializeReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesReInitializeReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesReInitializeReplicationFuture) UnmarshalJSON

func (future *VolumesReInitializeReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesResyncReplicationFuture

VolumesResyncReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesResyncReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesResyncReplicationFuture) UnmarshalJSON

func (future *VolumesResyncReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesRevertFuture

VolumesRevertFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesRevertFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

func (*VolumesRevertFuture) UnmarshalJSON

func (future *VolumesRevertFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesUpdateFuture

VolumesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (Volume, error)
}

func (*VolumesUpdateFuture) UnmarshalJSON

func (future *VolumesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WeeklySchedule

WeeklySchedule weekly Schedule properties, make a snapshot every week at a specific day or days

type WeeklySchedule struct {
    // SnapshotsToKeep - Weekly snapshot count to keep
    SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
    // Day - Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    Day *string `json:"day,omitempty"`
    // Hour - Indicates which hour in UTC timezone a snapshot should be taken
    Hour *int32 `json:"hour,omitempty"`
    // Minute - Indicates which minute snapshot should be taken
    Minute *int32 `json:"minute,omitempty"`
    // UsedBytes - Resource size in bytes, current storage usage for the volume in bytes
    UsedBytes *int64 `json:"usedBytes,omitempty"`
}

Subdirectories

Name Synopsis
..
netappapi Deprecated: Please note, this package has been deprecated.