...

Source file src/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2021-02-01/netapp/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2021-02-01/netapp

     1  package netapp
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // ActiveDirectoryStatus enumerates the values for active directory status.
    10  type ActiveDirectoryStatus string
    11  
    12  const (
    13  	// ActiveDirectoryStatusCreated Active Directory created but not in use
    14  	ActiveDirectoryStatusCreated ActiveDirectoryStatus = "Created"
    15  	// ActiveDirectoryStatusDeleted Active Directory Deleted
    16  	ActiveDirectoryStatusDeleted ActiveDirectoryStatus = "Deleted"
    17  	// ActiveDirectoryStatusError Error with the Active Directory
    18  	ActiveDirectoryStatusError ActiveDirectoryStatus = "Error"
    19  	// ActiveDirectoryStatusInUse Active Directory in use by SMB Volume
    20  	ActiveDirectoryStatusInUse ActiveDirectoryStatus = "InUse"
    21  	// ActiveDirectoryStatusUpdating Active Directory Updating
    22  	ActiveDirectoryStatusUpdating ActiveDirectoryStatus = "Updating"
    23  )
    24  
    25  // PossibleActiveDirectoryStatusValues returns an array of possible values for the ActiveDirectoryStatus const type.
    26  func PossibleActiveDirectoryStatusValues() []ActiveDirectoryStatus {
    27  	return []ActiveDirectoryStatus{ActiveDirectoryStatusCreated, ActiveDirectoryStatusDeleted, ActiveDirectoryStatusError, ActiveDirectoryStatusInUse, ActiveDirectoryStatusUpdating}
    28  }
    29  
    30  // BackupType enumerates the values for backup type.
    31  type BackupType string
    32  
    33  const (
    34  	// BackupTypeManual Manual backup
    35  	BackupTypeManual BackupType = "Manual"
    36  	// BackupTypeScheduled Scheduled backup
    37  	BackupTypeScheduled BackupType = "Scheduled"
    38  )
    39  
    40  // PossibleBackupTypeValues returns an array of possible values for the BackupType const type.
    41  func PossibleBackupTypeValues() []BackupType {
    42  	return []BackupType{BackupTypeManual, BackupTypeScheduled}
    43  }
    44  
    45  // CheckNameResourceTypes enumerates the values for check name resource types.
    46  type CheckNameResourceTypes string
    47  
    48  const (
    49  	// CheckNameResourceTypesMicrosoftNetAppnetAppAccounts ...
    50  	CheckNameResourceTypesMicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    51  	// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools ...
    52  	CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    53  	// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    54  	CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    55  	// CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    56  	CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
    57  )
    58  
    59  // PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.
    60  func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes {
    61  	return []CheckNameResourceTypes{CheckNameResourceTypesMicrosoftNetAppnetAppAccounts, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes, CheckNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
    62  }
    63  
    64  // CheckQuotaNameResourceTypes enumerates the values for check quota name resource types.
    65  type CheckQuotaNameResourceTypes string
    66  
    67  const (
    68  	// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts ...
    69  	CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    70  	// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools ...
    71  	CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    72  	// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    73  	CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    74  	// CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    75  	CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
    76  )
    77  
    78  // PossibleCheckQuotaNameResourceTypesValues returns an array of possible values for the CheckQuotaNameResourceTypes const type.
    79  func PossibleCheckQuotaNameResourceTypesValues() []CheckQuotaNameResourceTypes {
    80  	return []CheckQuotaNameResourceTypes{CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccounts, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPools, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumes, CheckQuotaNameResourceTypesMicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
    81  }
    82  
    83  // CreatedByType enumerates the values for created by type.
    84  type CreatedByType string
    85  
    86  const (
    87  	// CreatedByTypeApplication ...
    88  	CreatedByTypeApplication CreatedByType = "Application"
    89  	// CreatedByTypeKey ...
    90  	CreatedByTypeKey CreatedByType = "Key"
    91  	// CreatedByTypeManagedIdentity ...
    92  	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    93  	// CreatedByTypeUser ...
    94  	CreatedByTypeUser CreatedByType = "User"
    95  )
    96  
    97  // PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
    98  func PossibleCreatedByTypeValues() []CreatedByType {
    99  	return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
   100  }
   101  
   102  // EndpointType enumerates the values for endpoint type.
   103  type EndpointType string
   104  
   105  const (
   106  	// EndpointTypeDst ...
   107  	EndpointTypeDst EndpointType = "dst"
   108  	// EndpointTypeSrc ...
   109  	EndpointTypeSrc EndpointType = "src"
   110  )
   111  
   112  // PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
   113  func PossibleEndpointTypeValues() []EndpointType {
   114  	return []EndpointType{EndpointTypeDst, EndpointTypeSrc}
   115  }
   116  
   117  // InAvailabilityReasonType enumerates the values for in availability reason type.
   118  type InAvailabilityReasonType string
   119  
   120  const (
   121  	// InAvailabilityReasonTypeAlreadyExists ...
   122  	InAvailabilityReasonTypeAlreadyExists InAvailabilityReasonType = "AlreadyExists"
   123  	// InAvailabilityReasonTypeInvalid ...
   124  	InAvailabilityReasonTypeInvalid InAvailabilityReasonType = "Invalid"
   125  )
   126  
   127  // PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.
   128  func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType {
   129  	return []InAvailabilityReasonType{InAvailabilityReasonTypeAlreadyExists, InAvailabilityReasonTypeInvalid}
   130  }
   131  
   132  // MirrorState enumerates the values for mirror state.
   133  type MirrorState string
   134  
   135  const (
   136  	// MirrorStateBroken ...
   137  	MirrorStateBroken MirrorState = "Broken"
   138  	// MirrorStateMirrored ...
   139  	MirrorStateMirrored MirrorState = "Mirrored"
   140  	// MirrorStateUninitialized ...
   141  	MirrorStateUninitialized MirrorState = "Uninitialized"
   142  )
   143  
   144  // PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.
   145  func PossibleMirrorStateValues() []MirrorState {
   146  	return []MirrorState{MirrorStateBroken, MirrorStateMirrored, MirrorStateUninitialized}
   147  }
   148  
   149  // QosType enumerates the values for qos type.
   150  type QosType string
   151  
   152  const (
   153  	// QosTypeAuto qos type Auto
   154  	QosTypeAuto QosType = "Auto"
   155  	// QosTypeManual qos type Manual
   156  	QosTypeManual QosType = "Manual"
   157  )
   158  
   159  // PossibleQosTypeValues returns an array of possible values for the QosType const type.
   160  func PossibleQosTypeValues() []QosType {
   161  	return []QosType{QosTypeAuto, QosTypeManual}
   162  }
   163  
   164  // RelationshipStatus enumerates the values for relationship status.
   165  type RelationshipStatus string
   166  
   167  const (
   168  	// RelationshipStatusIdle ...
   169  	RelationshipStatusIdle RelationshipStatus = "Idle"
   170  	// RelationshipStatusTransferring ...
   171  	RelationshipStatusTransferring RelationshipStatus = "Transferring"
   172  )
   173  
   174  // PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.
   175  func PossibleRelationshipStatusValues() []RelationshipStatus {
   176  	return []RelationshipStatus{RelationshipStatusIdle, RelationshipStatusTransferring}
   177  }
   178  
   179  // ReplicationSchedule enumerates the values for replication schedule.
   180  type ReplicationSchedule string
   181  
   182  const (
   183  	// ReplicationSchedule10minutely ...
   184  	ReplicationSchedule10minutely ReplicationSchedule = "_10minutely"
   185  	// ReplicationScheduleDaily ...
   186  	ReplicationScheduleDaily ReplicationSchedule = "daily"
   187  	// ReplicationScheduleHourly ...
   188  	ReplicationScheduleHourly ReplicationSchedule = "hourly"
   189  )
   190  
   191  // PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.
   192  func PossibleReplicationScheduleValues() []ReplicationSchedule {
   193  	return []ReplicationSchedule{ReplicationSchedule10minutely, ReplicationScheduleDaily, ReplicationScheduleHourly}
   194  }
   195  
   196  // SecurityStyle enumerates the values for security style.
   197  type SecurityStyle string
   198  
   199  const (
   200  	// SecurityStyleNtfs ...
   201  	SecurityStyleNtfs SecurityStyle = "ntfs"
   202  	// SecurityStyleUnix ...
   203  	SecurityStyleUnix SecurityStyle = "unix"
   204  )
   205  
   206  // PossibleSecurityStyleValues returns an array of possible values for the SecurityStyle const type.
   207  func PossibleSecurityStyleValues() []SecurityStyle {
   208  	return []SecurityStyle{SecurityStyleNtfs, SecurityStyleUnix}
   209  }
   210  
   211  // ServiceLevel enumerates the values for service level.
   212  type ServiceLevel string
   213  
   214  const (
   215  	// ServiceLevelPremium Premium service level
   216  	ServiceLevelPremium ServiceLevel = "Premium"
   217  	// ServiceLevelStandard Standard service level
   218  	ServiceLevelStandard ServiceLevel = "Standard"
   219  	// ServiceLevelUltra Ultra service level
   220  	ServiceLevelUltra ServiceLevel = "Ultra"
   221  )
   222  
   223  // PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.
   224  func PossibleServiceLevelValues() []ServiceLevel {
   225  	return []ServiceLevel{ServiceLevelPremium, ServiceLevelStandard, ServiceLevelUltra}
   226  }
   227  

View as plain text