Documentation ¶
Index ¶
- func PossibleValuesForApplicationType() []string
- func PossibleValuesForAvsDataStore() []string
- func PossibleValuesForChownMode() []string
- func PossibleValuesForEnableSubvolumes() []string
- func PossibleValuesForEncryptionKeySource() []string
- func PossibleValuesForEndpointType() []string
- func PossibleValuesForNetworkFeatures() []string
- func PossibleValuesForReplicationSchedule() []string
- func PossibleValuesForSecurityStyle() []string
- func PossibleValuesForServiceLevel() []string
- func PossibleValuesForVolumeStorageToNetworkProximity() []string
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVolumeGroupID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationType
- type AvsDataStore
- type ChownMode
- type EnableSubvolumes
- type EncryptionKeySource
- type EndpointType
- type ExportPolicyRule
- type MountTargetProperties
- type NetAppAccountId
- type NetworkFeatures
- type PlacementKeyValuePairs
- type ReplicationObject
- type ReplicationSchedule
- type SecurityStyle
- type ServiceLevel
- type VolumeBackupProperties
- type VolumeGroup
- type VolumeGroupDetails
- type VolumeGroupId
- type VolumeGroupList
- type VolumeGroupListProperties
- type VolumeGroupMetaData
- type VolumeGroupProperties
- type VolumeGroupVolumeProperties
- type VolumeGroupsClient
- func (c VolumeGroupsClient) VolumeGroupsCreate(ctx context.Context, id VolumeGroupId, input VolumeGroupDetails) (result VolumeGroupsCreateOperationResponse, err error)
- func (c VolumeGroupsClient) VolumeGroupsCreateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroupDetails) error
- func (c VolumeGroupsClient) VolumeGroupsDelete(ctx context.Context, id VolumeGroupId) (result VolumeGroupsDeleteOperationResponse, err error)
- func (c VolumeGroupsClient) VolumeGroupsDeleteThenPoll(ctx context.Context, id VolumeGroupId) error
- func (c VolumeGroupsClient) VolumeGroupsGet(ctx context.Context, id VolumeGroupId) (result VolumeGroupsGetOperationResponse, err error)
- func (c VolumeGroupsClient) VolumeGroupsListByNetAppAccount(ctx context.Context, id NetAppAccountId) (result VolumeGroupsListByNetAppAccountOperationResponse, err error)
- type VolumeGroupsCreateOperationResponse
- type VolumeGroupsDeleteOperationResponse
- type VolumeGroupsGetOperationResponse
- type VolumeGroupsListByNetAppAccountOperationResponse
- type VolumeProperties
- type VolumePropertiesDataProtection
- type VolumePropertiesExportPolicy
- type VolumeSnapshotProperties
- type VolumeStorageToNetworkProximity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationType ¶
func PossibleValuesForApplicationType() []string
func PossibleValuesForAvsDataStore ¶
func PossibleValuesForAvsDataStore() []string
func PossibleValuesForChownMode ¶
func PossibleValuesForChownMode() []string
func PossibleValuesForEnableSubvolumes ¶
func PossibleValuesForEnableSubvolumes() []string
func PossibleValuesForEncryptionKeySource ¶
func PossibleValuesForEncryptionKeySource() []string
func PossibleValuesForEndpointType ¶
func PossibleValuesForEndpointType() []string
func PossibleValuesForNetworkFeatures ¶
func PossibleValuesForNetworkFeatures() []string
func PossibleValuesForReplicationSchedule ¶
func PossibleValuesForReplicationSchedule() []string
func PossibleValuesForSecurityStyle ¶
func PossibleValuesForSecurityStyle() []string
func PossibleValuesForServiceLevel ¶
func PossibleValuesForServiceLevel() []string
func PossibleValuesForVolumeStorageToNetworkProximity ¶
func PossibleValuesForVolumeStorageToNetworkProximity() []string
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
func ValidateVolumeGroupID ¶
ValidateVolumeGroupID checks that 'input' can be parsed as a Volume Group ID
Types ¶
type ApplicationType ¶
type ApplicationType string
const (
ApplicationTypeSAPNegativeHANA ApplicationType = "SAP-HANA"
)
func (*ApplicationType) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ApplicationType) UnmarshalJSON(bytes []byte) error
type AvsDataStore ¶
type AvsDataStore string
const ( AvsDataStoreDisabled AvsDataStore = "Disabled" AvsDataStoreEnabled AvsDataStore = "Enabled" )
func (*AvsDataStore) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *AvsDataStore) UnmarshalJSON(bytes []byte) error
type ChownMode ¶
type ChownMode string
func (*ChownMode) UnmarshalJSON ¶ added in v0.20230712.1163130
type EnableSubvolumes ¶
type EnableSubvolumes string
const ( EnableSubvolumesDisabled EnableSubvolumes = "Disabled" EnableSubvolumesEnabled EnableSubvolumes = "Enabled" )
func (*EnableSubvolumes) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *EnableSubvolumes) UnmarshalJSON(bytes []byte) error
type EncryptionKeySource ¶
type EncryptionKeySource string
const (
EncryptionKeySourceMicrosoftPointNetApp EncryptionKeySource = "Microsoft.NetApp"
)
func (*EncryptionKeySource) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *EncryptionKeySource) UnmarshalJSON(bytes []byte) error
type EndpointType ¶
type EndpointType string
const ( EndpointTypeDst EndpointType = "dst" EndpointTypeSrc EndpointType = "src" )
func (*EndpointType) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *EndpointType) UnmarshalJSON(bytes []byte) error
type ExportPolicyRule ¶
type ExportPolicyRule struct { AllowedClients *string `json:"allowedClients,omitempty"` ChownMode *ChownMode `json:"chownMode,omitempty"` Cifs *bool `json:"cifs,omitempty"` HasRootAccess *bool `json:"hasRootAccess,omitempty"` Kerberos5ReadOnly *bool `json:"kerberos5ReadOnly,omitempty"` Kerberos5ReadWrite *bool `json:"kerberos5ReadWrite,omitempty"` Kerberos5iReadOnly *bool `json:"kerberos5iReadOnly,omitempty"` Kerberos5iReadWrite *bool `json:"kerberos5iReadWrite,omitempty"` Kerberos5pReadOnly *bool `json:"kerberos5pReadOnly,omitempty"` Kerberos5pReadWrite *bool `json:"kerberos5pReadWrite,omitempty"` Nfsv3 *bool `json:"nfsv3,omitempty"` Nfsv41 *bool `json:"nfsv41,omitempty"` RuleIndex *int64 `json:"ruleIndex,omitempty"` UnixReadOnly *bool `json:"unixReadOnly,omitempty"` UnixReadWrite *bool `json:"unixReadWrite,omitempty"` }
type MountTargetProperties ¶
type NetAppAccountId ¶
type NetAppAccountId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string }
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, netAppAccountName string) NetAppAccountId
NewNetAppAccountID returns a new NetAppAccountId struct
func ParseNetAppAccountID ¶
func ParseNetAppAccountID(input string) (*NetAppAccountId, error)
ParseNetAppAccountID parses 'input' into a NetAppAccountId
func ParseNetAppAccountIDInsensitively ¶
func ParseNetAppAccountIDInsensitively(input string) (*NetAppAccountId, error)
ParseNetAppAccountIDInsensitively parses 'input' case-insensitively into a NetAppAccountId note: this method should only be used for API response data and not user input
func (NetAppAccountId) ID ¶
func (id NetAppAccountId) ID() string
ID returns the formatted Net App Account ID
func (NetAppAccountId) Segments ¶
func (id NetAppAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Net App Account ID
func (NetAppAccountId) String ¶
func (id NetAppAccountId) String() string
String returns a human-readable description of this Net App Account ID
type NetworkFeatures ¶
type NetworkFeatures string
const ( NetworkFeaturesBasic NetworkFeatures = "Basic" NetworkFeaturesStandard NetworkFeatures = "Standard" )
func (*NetworkFeatures) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *NetworkFeatures) UnmarshalJSON(bytes []byte) error
type PlacementKeyValuePairs ¶
type ReplicationObject ¶
type ReplicationObject struct { EndpointType *EndpointType `json:"endpointType,omitempty"` RemoteVolumeRegion *string `json:"remoteVolumeRegion,omitempty"` RemoteVolumeResourceId string `json:"remoteVolumeResourceId"` ReplicationId *string `json:"replicationId,omitempty"` ReplicationSchedule *ReplicationSchedule `json:"replicationSchedule,omitempty"` }
type ReplicationSchedule ¶
type ReplicationSchedule string
const ( ReplicationScheduleDaily ReplicationSchedule = "daily" ReplicationScheduleHourly ReplicationSchedule = "hourly" ReplicationScheduleOneZerominutely ReplicationSchedule = "_10minutely" )
func (*ReplicationSchedule) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ReplicationSchedule) UnmarshalJSON(bytes []byte) error
type SecurityStyle ¶
type SecurityStyle string
const ( SecurityStyleNtfs SecurityStyle = "ntfs" SecurityStyleUnix SecurityStyle = "unix" )
func (*SecurityStyle) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *SecurityStyle) UnmarshalJSON(bytes []byte) error
type ServiceLevel ¶
type ServiceLevel string
const ( ServiceLevelPremium ServiceLevel = "Premium" ServiceLevelStandard ServiceLevel = "Standard" ServiceLevelStandardZRS ServiceLevel = "StandardZRS" ServiceLevelUltra ServiceLevel = "Ultra" )
func (*ServiceLevel) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ServiceLevel) UnmarshalJSON(bytes []byte) error
type VolumeBackupProperties ¶
type VolumeGroup ¶
type VolumeGroup struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VolumeGroupListProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VolumeGroupDetails ¶
type VolumeGroupDetails struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VolumeGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VolumeGroupId ¶
type VolumeGroupId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string VolumeGroupName string }
VolumeGroupId is a struct representing the Resource ID for a Volume Group
func NewVolumeGroupID ¶
func NewVolumeGroupID(subscriptionId string, resourceGroupName string, netAppAccountName string, volumeGroupName string) VolumeGroupId
NewVolumeGroupID returns a new VolumeGroupId struct
func ParseVolumeGroupID ¶
func ParseVolumeGroupID(input string) (*VolumeGroupId, error)
ParseVolumeGroupID parses 'input' into a VolumeGroupId
func ParseVolumeGroupIDInsensitively ¶
func ParseVolumeGroupIDInsensitively(input string) (*VolumeGroupId, error)
ParseVolumeGroupIDInsensitively parses 'input' case-insensitively into a VolumeGroupId note: this method should only be used for API response data and not user input
func (VolumeGroupId) ID ¶
func (id VolumeGroupId) ID() string
ID returns the formatted Volume Group ID
func (VolumeGroupId) Segments ¶
func (id VolumeGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume Group ID
func (VolumeGroupId) String ¶
func (id VolumeGroupId) String() string
String returns a human-readable description of this Volume Group ID
type VolumeGroupList ¶
type VolumeGroupList struct {
Value *[]VolumeGroup `json:"value,omitempty"`
}
type VolumeGroupListProperties ¶
type VolumeGroupListProperties struct { GroupMetaData *VolumeGroupMetaData `json:"groupMetaData,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type VolumeGroupMetaData ¶
type VolumeGroupMetaData struct { ApplicationIdentifier *string `json:"applicationIdentifier,omitempty"` ApplicationType *ApplicationType `json:"applicationType,omitempty"` DeploymentSpecId *string `json:"deploymentSpecId,omitempty"` GlobalPlacementRules *[]PlacementKeyValuePairs `json:"globalPlacementRules,omitempty"` GroupDescription *string `json:"groupDescription,omitempty"` VolumesCount *int64 `json:"volumesCount,omitempty"` }
type VolumeGroupProperties ¶
type VolumeGroupProperties struct { GroupMetaData *VolumeGroupMetaData `json:"groupMetaData,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Volumes *[]VolumeGroupVolumeProperties `json:"volumes,omitempty"` }
type VolumeGroupsClient ¶
type VolumeGroupsClient struct {
Client *resourcemanager.Client
}
func NewVolumeGroupsClientWithBaseURI ¶
func NewVolumeGroupsClientWithBaseURI(api environments.Api) (*VolumeGroupsClient, error)
func (VolumeGroupsClient) VolumeGroupsCreate ¶
func (c VolumeGroupsClient) VolumeGroupsCreate(ctx context.Context, id VolumeGroupId, input VolumeGroupDetails) (result VolumeGroupsCreateOperationResponse, err error)
VolumeGroupsCreate ...
func (VolumeGroupsClient) VolumeGroupsCreateThenPoll ¶
func (c VolumeGroupsClient) VolumeGroupsCreateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroupDetails) error
VolumeGroupsCreateThenPoll performs VolumeGroupsCreate then polls until it's completed
func (VolumeGroupsClient) VolumeGroupsDelete ¶
func (c VolumeGroupsClient) VolumeGroupsDelete(ctx context.Context, id VolumeGroupId) (result VolumeGroupsDeleteOperationResponse, err error)
VolumeGroupsDelete ...
func (VolumeGroupsClient) VolumeGroupsDeleteThenPoll ¶
func (c VolumeGroupsClient) VolumeGroupsDeleteThenPoll(ctx context.Context, id VolumeGroupId) error
VolumeGroupsDeleteThenPoll performs VolumeGroupsDelete then polls until it's completed
func (VolumeGroupsClient) VolumeGroupsGet ¶
func (c VolumeGroupsClient) VolumeGroupsGet(ctx context.Context, id VolumeGroupId) (result VolumeGroupsGetOperationResponse, err error)
VolumeGroupsGet ...
func (VolumeGroupsClient) VolumeGroupsListByNetAppAccount ¶
func (c VolumeGroupsClient) VolumeGroupsListByNetAppAccount(ctx context.Context, id NetAppAccountId) (result VolumeGroupsListByNetAppAccountOperationResponse, err error)
VolumeGroupsListByNetAppAccount ...
type VolumeGroupsGetOperationResponse ¶
type VolumeGroupsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VolumeGroupDetails }
type VolumeGroupsListByNetAppAccountOperationResponse ¶
type VolumeGroupsListByNetAppAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VolumeGroupList }
type VolumeProperties ¶
type VolumeProperties struct { AvsDataStore *AvsDataStore `json:"avsDataStore,omitempty"` BackupId *string `json:"backupId,omitempty"` BaremetalTenantId *string `json:"baremetalTenantId,omitempty"` CapacityPoolResourceId *string `json:"capacityPoolResourceId,omitempty"` CloneProgress *int64 `json:"cloneProgress,omitempty"` CoolAccess *bool `json:"coolAccess,omitempty"` CoolnessPeriod *int64 `json:"coolnessPeriod,omitempty"` CreationToken string `json:"creationToken"` DataProtection *VolumePropertiesDataProtection `json:"dataProtection,omitempty"` DefaultGroupQuotaInKiBs *int64 `json:"defaultGroupQuotaInKiBs,omitempty"` DefaultUserQuotaInKiBs *int64 `json:"defaultUserQuotaInKiBs,omitempty"` EnableSubvolumes *EnableSubvolumes `json:"enableSubvolumes,omitempty"` Encrypted *bool `json:"encrypted,omitempty"` EncryptionKeySource *EncryptionKeySource `json:"encryptionKeySource,omitempty"` ExportPolicy *VolumePropertiesExportPolicy `json:"exportPolicy,omitempty"` FileSystemId *string `json:"fileSystemId,omitempty"` IsDefaultQuotaEnabled *bool `json:"isDefaultQuotaEnabled,omitempty"` IsRestoring *bool `json:"isRestoring,omitempty"` KerberosEnabled *bool `json:"kerberosEnabled,omitempty"` LdapEnabled *bool `json:"ldapEnabled,omitempty"` MaximumNumberOfFiles *int64 `json:"maximumNumberOfFiles,omitempty"` MountTargets *[]MountTargetProperties `json:"mountTargets,omitempty"` NetworkFeatures *NetworkFeatures `json:"networkFeatures,omitempty"` NetworkSiblingSetId *string `json:"networkSiblingSetId,omitempty"` PlacementRules *[]PlacementKeyValuePairs `json:"placementRules,omitempty"` ProtocolTypes *[]string `json:"protocolTypes,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ProximityPlacementGroup *string `json:"proximityPlacementGroup,omitempty"` SecurityStyle *SecurityStyle `json:"securityStyle,omitempty"` ServiceLevel *ServiceLevel `json:"serviceLevel,omitempty"` SmbContinuouslyAvailable *bool `json:"smbContinuouslyAvailable,omitempty"` SmbEncryption *bool `json:"smbEncryption,omitempty"` SnapshotDirectoryVisible *bool `json:"snapshotDirectoryVisible,omitempty"` SnapshotId *string `json:"snapshotId,omitempty"` StorageToNetworkProximity *VolumeStorageToNetworkProximity `json:"storageToNetworkProximity,omitempty"` SubnetId string `json:"subnetId"` T2Network *string `json:"t2Network,omitempty"` ThroughputMibps *float64 `json:"throughputMibps,omitempty"` UnixPermissions *string `json:"unixPermissions,omitempty"` UsageThreshold int64 `json:"usageThreshold"` VolumeGroupName *string `json:"volumeGroupName,omitempty"` VolumeSpecName *string `json:"volumeSpecName,omitempty"` VolumeType *string `json:"volumeType,omitempty"` }
type VolumePropertiesDataProtection ¶
type VolumePropertiesDataProtection struct { Backup *VolumeBackupProperties `json:"backup,omitempty"` Replication *ReplicationObject `json:"replication,omitempty"` Snapshot *VolumeSnapshotProperties `json:"snapshot,omitempty"` }
type VolumePropertiesExportPolicy ¶
type VolumePropertiesExportPolicy struct {
Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}
type VolumeSnapshotProperties ¶
type VolumeSnapshotProperties struct {
SnapshotPolicyId *string `json:"snapshotPolicyId,omitempty"`
}
type VolumeStorageToNetworkProximity ¶
type VolumeStorageToNetworkProximity string
const ( VolumeStorageToNetworkProximityDefault VolumeStorageToNetworkProximity = "Default" VolumeStorageToNetworkProximityTOne VolumeStorageToNetworkProximity = "T1" VolumeStorageToNetworkProximityTTwo VolumeStorageToNetworkProximity = "T2" )
func (*VolumeStorageToNetworkProximity) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *VolumeStorageToNetworkProximity) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_netappaccount.go
- id_volumegroup.go
- method_volumegroupscreate.go
- method_volumegroupsdelete.go
- method_volumegroupsget.go
- method_volumegroupslistbynetappaccount.go
- model_exportpolicyrule.go
- model_mounttargetproperties.go
- model_placementkeyvaluepairs.go
- model_replicationobject.go
- model_volumebackupproperties.go
- model_volumegroup.go
- model_volumegroupdetails.go
- model_volumegrouplist.go
- model_volumegrouplistproperties.go
- model_volumegroupmetadata.go
- model_volumegroupproperties.go
- model_volumegroupvolumeproperties.go
- model_volumeproperties.go
- model_volumepropertiesdataprotection.go
- model_volumepropertiesexportpolicy.go
- model_volumesnapshotproperties.go
- version.go