...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/managedapplications/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-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  // ApplicationArtifactType enumerates the values for application artifact type.
    10  type ApplicationArtifactType string
    11  
    12  const (
    13  	// Custom ...
    14  	Custom ApplicationArtifactType = "Custom"
    15  	// Template ...
    16  	Template ApplicationArtifactType = "Template"
    17  )
    18  
    19  // PossibleApplicationArtifactTypeValues returns an array of possible values for the ApplicationArtifactType const type.
    20  func PossibleApplicationArtifactTypeValues() []ApplicationArtifactType {
    21  	return []ApplicationArtifactType{Custom, Template}
    22  }
    23  
    24  // ApplicationLockLevel enumerates the values for application lock level.
    25  type ApplicationLockLevel string
    26  
    27  const (
    28  	// CanNotDelete ...
    29  	CanNotDelete ApplicationLockLevel = "CanNotDelete"
    30  	// None ...
    31  	None ApplicationLockLevel = "None"
    32  	// ReadOnly ...
    33  	ReadOnly ApplicationLockLevel = "ReadOnly"
    34  )
    35  
    36  // PossibleApplicationLockLevelValues returns an array of possible values for the ApplicationLockLevel const type.
    37  func PossibleApplicationLockLevelValues() []ApplicationLockLevel {
    38  	return []ApplicationLockLevel{CanNotDelete, None, ReadOnly}
    39  }
    40  
    41  // ProvisioningState enumerates the values for provisioning state.
    42  type ProvisioningState string
    43  
    44  const (
    45  	// Accepted ...
    46  	Accepted ProvisioningState = "Accepted"
    47  	// Canceled ...
    48  	Canceled ProvisioningState = "Canceled"
    49  	// Created ...
    50  	Created ProvisioningState = "Created"
    51  	// Creating ...
    52  	Creating ProvisioningState = "Creating"
    53  	// Deleted ...
    54  	Deleted ProvisioningState = "Deleted"
    55  	// Deleting ...
    56  	Deleting ProvisioningState = "Deleting"
    57  	// Failed ...
    58  	Failed ProvisioningState = "Failed"
    59  	// Ready ...
    60  	Ready ProvisioningState = "Ready"
    61  	// Running ...
    62  	Running ProvisioningState = "Running"
    63  	// Succeeded ...
    64  	Succeeded ProvisioningState = "Succeeded"
    65  	// Updating ...
    66  	Updating ProvisioningState = "Updating"
    67  )
    68  
    69  // PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
    70  func PossibleProvisioningStateValues() []ProvisioningState {
    71  	return []ProvisioningState{Accepted, Canceled, Created, Creating, Deleted, Deleting, Failed, Ready, Running, Succeeded, Updating}
    72  }
    73  
    74  // ResourceIdentityType enumerates the values for resource identity type.
    75  type ResourceIdentityType string
    76  
    77  const (
    78  	// SystemAssigned ...
    79  	SystemAssigned ResourceIdentityType = "SystemAssigned"
    80  )
    81  
    82  // PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
    83  func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
    84  	return []ResourceIdentityType{SystemAssigned}
    85  }
    86  

View as plain text