...

Source file src/github.com/Azure/azure-sdk-for-go/services/solutions/mgmt/2017-12-01/managedapplications/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/solutions/mgmt/2017-12-01/managedapplications

     1  package managedapplications
     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  // ActionType enumerates the values for action type.
    10  type ActionType string
    11  
    12  const (
    13  	// Internal ...
    14  	Internal ActionType = "Internal"
    15  )
    16  
    17  // PossibleActionTypeValues returns an array of possible values for the ActionType const type.
    18  func PossibleActionTypeValues() []ActionType {
    19  	return []ActionType{Internal}
    20  }
    21  
    22  // ApplicationArtifactType enumerates the values for application artifact type.
    23  type ApplicationArtifactType string
    24  
    25  const (
    26  	// Custom ...
    27  	Custom ApplicationArtifactType = "Custom"
    28  	// Template ...
    29  	Template ApplicationArtifactType = "Template"
    30  )
    31  
    32  // PossibleApplicationArtifactTypeValues returns an array of possible values for the ApplicationArtifactType const type.
    33  func PossibleApplicationArtifactTypeValues() []ApplicationArtifactType {
    34  	return []ApplicationArtifactType{Custom, Template}
    35  }
    36  
    37  // ApplicationLockLevel enumerates the values for application lock level.
    38  type ApplicationLockLevel string
    39  
    40  const (
    41  	// CanNotDelete ...
    42  	CanNotDelete ApplicationLockLevel = "CanNotDelete"
    43  	// None ...
    44  	None ApplicationLockLevel = "None"
    45  	// ReadOnly ...
    46  	ReadOnly ApplicationLockLevel = "ReadOnly"
    47  )
    48  
    49  // PossibleApplicationLockLevelValues returns an array of possible values for the ApplicationLockLevel const type.
    50  func PossibleApplicationLockLevelValues() []ApplicationLockLevel {
    51  	return []ApplicationLockLevel{CanNotDelete, None, ReadOnly}
    52  }
    53  
    54  // Origin enumerates the values for origin.
    55  type Origin string
    56  
    57  const (
    58  	// System ...
    59  	System Origin = "system"
    60  	// User ...
    61  	User Origin = "user"
    62  	// Usersystem ...
    63  	Usersystem Origin = "user,system"
    64  )
    65  
    66  // PossibleOriginValues returns an array of possible values for the Origin const type.
    67  func PossibleOriginValues() []Origin {
    68  	return []Origin{System, User, Usersystem}
    69  }
    70  
    71  // ProvisioningState enumerates the values for provisioning state.
    72  type ProvisioningState string
    73  
    74  const (
    75  	// Accepted ...
    76  	Accepted ProvisioningState = "Accepted"
    77  	// Canceled ...
    78  	Canceled ProvisioningState = "Canceled"
    79  	// Created ...
    80  	Created ProvisioningState = "Created"
    81  	// Creating ...
    82  	Creating ProvisioningState = "Creating"
    83  	// Deleted ...
    84  	Deleted ProvisioningState = "Deleted"
    85  	// Deleting ...
    86  	Deleting ProvisioningState = "Deleting"
    87  	// Failed ...
    88  	Failed ProvisioningState = "Failed"
    89  	// Ready ...
    90  	Ready ProvisioningState = "Ready"
    91  	// Running ...
    92  	Running ProvisioningState = "Running"
    93  	// Succeeded ...
    94  	Succeeded ProvisioningState = "Succeeded"
    95  	// Updating ...
    96  	Updating ProvisioningState = "Updating"
    97  )
    98  
    99  // PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
   100  func PossibleProvisioningStateValues() []ProvisioningState {
   101  	return []ProvisioningState{Accepted, Canceled, Created, Creating, Deleted, Deleting, Failed, Ready, Running, Succeeded, Updating}
   102  }
   103  
   104  // ResourceIdentityType enumerates the values for resource identity type.
   105  type ResourceIdentityType string
   106  
   107  const (
   108  	// SystemAssigned ...
   109  	SystemAssigned ResourceIdentityType = "SystemAssigned"
   110  )
   111  
   112  // PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
   113  func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
   114  	return []ResourceIdentityType{SystemAssigned}
   115  }
   116  

View as plain text