README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2021-10-01/snapshotpolicylistvolumes
Documentation
The snapshotpolicylistvolumes
SDK allows for interaction with the Azure Resource Manager Service netapp
(API Version 2021-10-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2021-10-01/snapshotpolicylistvolumes"
Client Initialization
client := snapshotpolicylistvolumes.NewSnapshotPolicyListVolumesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: SnapshotPolicyListVolumesClient.SnapshotPoliciesListVolumes
ctx := context.TODO()
id := snapshotpolicylistvolumes.NewSnapshotPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "snapshotPolicyValue")
read, err := client.SnapshotPoliciesListVolumes(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func PossibleValuesForAvsDataStore() []string
- func PossibleValuesForChownMode() []string
- func PossibleValuesForEnableSubvolumes() []string
- func PossibleValuesForEndpointType() []string
- func PossibleValuesForNetworkFeatures() []string
- func PossibleValuesForReplicationSchedule() []string
- func PossibleValuesForSecurityStyle() []string
- func PossibleValuesForServiceLevel() []string
- func PossibleValuesForVolumeStorageToNetworkProximity() []string
- func ValidateSnapshotPoliciesID(input interface{}, key string) (warnings []string, errors []error)
- type AvsDataStore
- type ChownMode
- type EnableSubvolumes
- type EndpointType
- type ExportPolicyRule
- type MountTargetProperties
- type NetworkFeatures
- type PlacementKeyValuePairs
- type ReplicationObject
- type ReplicationSchedule
- type SecurityStyle
- type ServiceLevel
- type SnapshotPoliciesId
- type SnapshotPoliciesListVolumesOperationResponse
- type SnapshotPolicyListVolumesClient
- type SnapshotPolicyVolumeList
- type Volume
- type VolumeBackupProperties
- type VolumeProperties
- type VolumePropertiesDataProtection
- type VolumePropertiesExportPolicy
- type VolumeSnapshotProperties
- type VolumeStorageToNetworkProximity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAvsDataStore ¶
func PossibleValuesForAvsDataStore() []string
func PossibleValuesForChownMode ¶
func PossibleValuesForChownMode() []string
func PossibleValuesForEnableSubvolumes ¶
func PossibleValuesForEnableSubvolumes() []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 ValidateSnapshotPoliciesID ¶
ValidateSnapshotPoliciesID checks that 'input' can be parsed as a Snapshot Policies ID
Types ¶
type AvsDataStore ¶
type AvsDataStore string
const ( AvsDataStoreDisabled AvsDataStore = "Disabled" AvsDataStoreEnabled AvsDataStore = "Enabled" )
type EnableSubvolumes ¶
type EnableSubvolumes string
const ( EnableSubvolumesDisabled EnableSubvolumes = "Disabled" EnableSubvolumesEnabled EnableSubvolumes = "Enabled" )
type EndpointType ¶
type EndpointType string
const ( EndpointTypeDst EndpointType = "dst" EndpointTypeSrc EndpointType = "src" )
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 NetworkFeatures ¶
type NetworkFeatures string
const ( NetworkFeaturesBasic NetworkFeatures = "Basic" NetworkFeaturesStandard NetworkFeatures = "Standard" )
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" )
type SecurityStyle ¶
type SecurityStyle string
const ( SecurityStyleNtfs SecurityStyle = "ntfs" SecurityStyleUnix SecurityStyle = "unix" )
type ServiceLevel ¶
type ServiceLevel string
const ( ServiceLevelPremium ServiceLevel = "Premium" ServiceLevelStandard ServiceLevel = "Standard" ServiceLevelStandardZRS ServiceLevel = "StandardZRS" ServiceLevelUltra ServiceLevel = "Ultra" )
type SnapshotPoliciesId ¶
type SnapshotPoliciesId struct { SubscriptionId string ResourceGroupName string AccountName string SnapshotPolicyName string }
SnapshotPoliciesId is a struct representing the Resource ID for a Snapshot Policies
func NewSnapshotPoliciesID ¶
func NewSnapshotPoliciesID(subscriptionId string, resourceGroupName string, accountName string, snapshotPolicyName string) SnapshotPoliciesId
NewSnapshotPoliciesID returns a new SnapshotPoliciesId struct
func ParseSnapshotPoliciesID ¶
func ParseSnapshotPoliciesID(input string) (*SnapshotPoliciesId, error)
ParseSnapshotPoliciesID parses 'input' into a SnapshotPoliciesId
func ParseSnapshotPoliciesIDInsensitively ¶
func ParseSnapshotPoliciesIDInsensitively(input string) (*SnapshotPoliciesId, error)
ParseSnapshotPoliciesIDInsensitively parses 'input' case-insensitively into a SnapshotPoliciesId note: this method should only be used for API response data and not user input
func (SnapshotPoliciesId) ID ¶
func (id SnapshotPoliciesId) ID() string
ID returns the formatted Snapshot Policies ID
func (SnapshotPoliciesId) Segments ¶
func (id SnapshotPoliciesId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Snapshot Policies ID
func (SnapshotPoliciesId) String ¶
func (id SnapshotPoliciesId) String() string
String returns a human-readable description of this Snapshot Policies ID
type SnapshotPoliciesListVolumesOperationResponse ¶
type SnapshotPoliciesListVolumesOperationResponse struct { HttpResponse *http.Response Model *SnapshotPolicyVolumeList }
type SnapshotPolicyListVolumesClient ¶
type SnapshotPolicyListVolumesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSnapshotPolicyListVolumesClientWithBaseURI ¶
func NewSnapshotPolicyListVolumesClientWithBaseURI(endpoint string) SnapshotPolicyListVolumesClient
func (SnapshotPolicyListVolumesClient) SnapshotPoliciesListVolumes ¶
func (c SnapshotPolicyListVolumesClient) SnapshotPoliciesListVolumes(ctx context.Context, id SnapshotPoliciesId) (result SnapshotPoliciesListVolumesOperationResponse, err error)
SnapshotPoliciesListVolumes ...
type SnapshotPolicyVolumeList ¶
type SnapshotPolicyVolumeList struct {
Value *[]Volume `json:"value,omitempty"`
}
type Volume ¶
type Volume struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties VolumeProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VolumeBackupProperties ¶
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"` EncryptionKeySource *string `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" )
Source Files ¶
- client.go
- constants.go
- id_snapshotpolicies.go
- method_snapshotpolicieslistvolumes_autorest.go
- model_exportpolicyrule.go
- model_mounttargetproperties.go
- model_placementkeyvaluepairs.go
- model_replicationobject.go
- model_snapshotpolicyvolumelist.go
- model_volume.go
- model_volumebackupproperties.go
- model_volumeproperties.go
- model_volumepropertiesdataprotection.go
- model_volumepropertiesexportpolicy.go
- model_volumesnapshotproperties.go
- version.go