...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-11-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  // CheckNameResourceTypes enumerates the values for check name resource types.
    10  type CheckNameResourceTypes string
    11  
    12  const (
    13  	// MicrosoftNetAppnetAppAccounts ...
    14  	MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    15  	// MicrosoftNetAppnetAppAccountscapacityPools ...
    16  	MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    17  	// MicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    18  	MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    19  	// MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    20  	MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
    21  )
    22  
    23  // PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.
    24  func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes {
    25  	return []CheckNameResourceTypes{MicrosoftNetAppnetAppAccounts, MicrosoftNetAppnetAppAccountscapacityPools, MicrosoftNetAppnetAppAccountscapacityPoolsvolumes, MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots}
    26  }
    27  
    28  // EndpointType enumerates the values for endpoint type.
    29  type EndpointType string
    30  
    31  const (
    32  	// Dst ...
    33  	Dst EndpointType = "dst"
    34  	// Src ...
    35  	Src EndpointType = "src"
    36  )
    37  
    38  // PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
    39  func PossibleEndpointTypeValues() []EndpointType {
    40  	return []EndpointType{Dst, Src}
    41  }
    42  
    43  // InAvailabilityReasonType enumerates the values for in availability reason type.
    44  type InAvailabilityReasonType string
    45  
    46  const (
    47  	// AlreadyExists ...
    48  	AlreadyExists InAvailabilityReasonType = "AlreadyExists"
    49  	// Invalid ...
    50  	Invalid InAvailabilityReasonType = "Invalid"
    51  )
    52  
    53  // PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.
    54  func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType {
    55  	return []InAvailabilityReasonType{AlreadyExists, Invalid}
    56  }
    57  
    58  // MirrorState enumerates the values for mirror state.
    59  type MirrorState string
    60  
    61  const (
    62  	// Broken ...
    63  	Broken MirrorState = "Broken"
    64  	// Mirrored ...
    65  	Mirrored MirrorState = "Mirrored"
    66  	// Uninitialized ...
    67  	Uninitialized MirrorState = "Uninitialized"
    68  )
    69  
    70  // PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.
    71  func PossibleMirrorStateValues() []MirrorState {
    72  	return []MirrorState{Broken, Mirrored, Uninitialized}
    73  }
    74  
    75  // RelationshipStatus enumerates the values for relationship status.
    76  type RelationshipStatus string
    77  
    78  const (
    79  	// Idle ...
    80  	Idle RelationshipStatus = "Idle"
    81  	// Transferring ...
    82  	Transferring RelationshipStatus = "Transferring"
    83  )
    84  
    85  // PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.
    86  func PossibleRelationshipStatusValues() []RelationshipStatus {
    87  	return []RelationshipStatus{Idle, Transferring}
    88  }
    89  
    90  // ReplicationSchedule enumerates the values for replication schedule.
    91  type ReplicationSchedule string
    92  
    93  const (
    94  	// OneZerominutely ...
    95  	OneZerominutely ReplicationSchedule = "_10minutely"
    96  	// Daily ...
    97  	Daily ReplicationSchedule = "daily"
    98  	// Hourly ...
    99  	Hourly ReplicationSchedule = "hourly"
   100  )
   101  
   102  // PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.
   103  func PossibleReplicationScheduleValues() []ReplicationSchedule {
   104  	return []ReplicationSchedule{OneZerominutely, Daily, Hourly}
   105  }
   106  
   107  // ServiceLevel enumerates the values for service level.
   108  type ServiceLevel string
   109  
   110  const (
   111  	// Premium Premium service level
   112  	Premium ServiceLevel = "Premium"
   113  	// Standard Standard service level
   114  	Standard ServiceLevel = "Standard"
   115  	// Ultra Ultra service level
   116  	Ultra ServiceLevel = "Ultra"
   117  )
   118  
   119  // PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.
   120  func PossibleServiceLevelValues() []ServiceLevel {
   121  	return []ServiceLevel{Premium, Standard, Ultra}
   122  }
   123  

View as plain text