...

Source file src/github.com/Azure/azure-sdk-for-go/services/machinelearning/mgmt/2019-10-01/workspaces/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/machinelearning/mgmt/2019-10-01/workspaces

     1  package workspaces
     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  // State enumerates the values for state.
    10  type State string
    11  
    12  const (
    13  	// Deleted ...
    14  	Deleted State = "Deleted"
    15  	// Disabled ...
    16  	Disabled State = "Disabled"
    17  	// Enabled ...
    18  	Enabled State = "Enabled"
    19  	// Migrated ...
    20  	Migrated State = "Migrated"
    21  	// Registered ...
    22  	Registered State = "Registered"
    23  	// Unregistered ...
    24  	Unregistered State = "Unregistered"
    25  	// Updated ...
    26  	Updated State = "Updated"
    27  )
    28  
    29  // PossibleStateValues returns an array of possible values for the State const type.
    30  func PossibleStateValues() []State {
    31  	return []State{Deleted, Disabled, Enabled, Migrated, Registered, Unregistered, Updated}
    32  }
    33  
    34  // WorkspaceType enumerates the values for workspace type.
    35  type WorkspaceType string
    36  
    37  const (
    38  	// Anonymous ...
    39  	Anonymous WorkspaceType = "Anonymous"
    40  	// Free ...
    41  	Free WorkspaceType = "Free"
    42  	// PaidPremium ...
    43  	PaidPremium WorkspaceType = "PaidPremium"
    44  	// PaidStandard ...
    45  	PaidStandard WorkspaceType = "PaidStandard"
    46  	// Production ...
    47  	Production WorkspaceType = "Production"
    48  )
    49  
    50  // PossibleWorkspaceTypeValues returns an array of possible values for the WorkspaceType const type.
    51  func PossibleWorkspaceTypeValues() []WorkspaceType {
    52  	return []WorkspaceType{Anonymous, Free, PaidPremium, PaidStandard, Production}
    53  }
    54  

View as plain text