1package containerregistry 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// PasswordName enumerates the values for password name. 10type PasswordName string 11 12const ( 13 // Password ... 14 Password PasswordName = "password" 15 // Password2 ... 16 Password2 PasswordName = "password2" 17) 18 19// PossiblePasswordNameValues returns an array of possible values for the PasswordName const type. 20func PossiblePasswordNameValues() []PasswordName { 21 return []PasswordName{Password, Password2} 22} 23 24// ProvisioningState enumerates the values for provisioning state. 25type ProvisioningState string 26 27const ( 28 // Canceled ... 29 Canceled ProvisioningState = "Canceled" 30 // Creating ... 31 Creating ProvisioningState = "Creating" 32 // Deleting ... 33 Deleting ProvisioningState = "Deleting" 34 // Failed ... 35 Failed ProvisioningState = "Failed" 36 // Succeeded ... 37 Succeeded ProvisioningState = "Succeeded" 38 // Updating ... 39 Updating ProvisioningState = "Updating" 40) 41 42// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 43func PossibleProvisioningStateValues() []ProvisioningState { 44 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Updating} 45} 46 47// RegistryUsageUnit enumerates the values for registry usage unit. 48type RegistryUsageUnit string 49 50const ( 51 // Bytes ... 52 Bytes RegistryUsageUnit = "Bytes" 53 // Count ... 54 Count RegistryUsageUnit = "Count" 55) 56 57// PossibleRegistryUsageUnitValues returns an array of possible values for the RegistryUsageUnit const type. 58func PossibleRegistryUsageUnitValues() []RegistryUsageUnit { 59 return []RegistryUsageUnit{Bytes, Count} 60} 61 62// SkuName enumerates the values for sku name. 63type SkuName string 64 65const ( 66 // Basic ... 67 Basic SkuName = "Basic" 68 // ManagedBasic ... 69 ManagedBasic SkuName = "Managed_Basic" 70 // ManagedPremium ... 71 ManagedPremium SkuName = "Managed_Premium" 72 // ManagedStandard ... 73 ManagedStandard SkuName = "Managed_Standard" 74) 75 76// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 77func PossibleSkuNameValues() []SkuName { 78 return []SkuName{Basic, ManagedBasic, ManagedPremium, ManagedStandard} 79} 80 81// SkuTier enumerates the values for sku tier. 82type SkuTier string 83 84const ( 85 // SkuTierBasic ... 86 SkuTierBasic SkuTier = "Basic" 87 // SkuTierManaged ... 88 SkuTierManaged SkuTier = "Managed" 89) 90 91// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 92func PossibleSkuTierValues() []SkuTier { 93 return []SkuTier{SkuTierBasic, SkuTierManaged} 94} 95 96// WebhookAction enumerates the values for webhook action. 97type WebhookAction string 98 99const ( 100 // Delete ... 101 Delete WebhookAction = "delete" 102 // Push ... 103 Push WebhookAction = "push" 104) 105 106// PossibleWebhookActionValues returns an array of possible values for the WebhookAction const type. 107func PossibleWebhookActionValues() []WebhookAction { 108 return []WebhookAction{Delete, Push} 109} 110 111// WebhookStatus enumerates the values for webhook status. 112type WebhookStatus string 113 114const ( 115 // Disabled ... 116 Disabled WebhookStatus = "disabled" 117 // Enabled ... 118 Enabled WebhookStatus = "enabled" 119) 120 121// PossibleWebhookStatusValues returns an array of possible values for the WebhookStatus const type. 122func PossibleWebhookStatusValues() []WebhookStatus { 123 return []WebhookStatus{Disabled, Enabled} 124} 125