< Summary

Class:Azure.ResourceManager.Compute.Models.ContainerServiceVMSizeTypes
Assembly:Azure.ResourceManager.Compute
File(s):C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\ContainerServiceVMSizeTypes.cs
Covered lines:0
Uncovered lines:56
Coverable lines:56
Total lines:185
Line coverage:0% (0 of 56)
Covered branches:0
Total branches:6
Branch coverage:0% (0 of 6)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%0%
get_StandardA0()-0%100%
get_StandardA1()-0%100%
get_StandardA2()-0%100%
get_StandardA3()-0%100%
get_StandardA4()-0%100%
get_StandardA5()-0%100%
get_StandardA6()-0%100%
get_StandardA7()-0%100%
get_StandardA8()-0%100%
get_StandardA9()-0%100%
get_StandardA10()-0%100%
get_StandardA11()-0%100%
get_StandardD1()-0%100%
get_StandardD2()-0%100%
get_StandardD3()-0%100%
get_StandardD4()-0%100%
get_StandardD11()-0%100%
get_StandardD12()-0%100%
get_StandardD13()-0%100%
get_StandardD14()-0%100%
get_StandardD1V2()-0%100%
get_StandardD2V2()-0%100%
get_StandardD3V2()-0%100%
get_StandardD4V2()-0%100%
get_StandardD5V2()-0%100%
get_StandardD11V2()-0%100%
get_StandardD12V2()-0%100%
get_StandardD13V2()-0%100%
get_StandardD14V2()-0%100%
get_StandardG1()-0%100%
get_StandardG2()-0%100%
get_StandardG3()-0%100%
get_StandardG4()-0%100%
get_StandardG5()-0%100%
get_StandardDS1()-0%100%
get_StandardDS2()-0%100%
get_StandardDS3()-0%100%
get_StandardDS4()-0%100%
get_StandardDS11()-0%100%
get_StandardDS12()-0%100%
get_StandardDS13()-0%100%
get_StandardDS14()-0%100%
get_StandardGS1()-0%100%
get_StandardGS2()-0%100%
get_StandardGS3()-0%100%
get_StandardGS4()-0%100%
get_StandardGS5()-0%100%
op_Equality(...)-0%100%
op_Inequality(...)-0%100%
op_Implicit(...)-0%100%
Equals(...)-0%0%
Equals(...)-0%100%
GetHashCode()-0%0%
ToString()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\compute\Azure.ResourceManager.Compute\src\Generated\Models\ContainerServiceVMSizeTypes.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System;
 9using System.ComponentModel;
 10
 11namespace Azure.ResourceManager.Compute.Models
 12{
 13    /// <summary> Size of agent VMs. </summary>
 14    public readonly partial struct ContainerServiceVMSizeTypes : IEquatable<ContainerServiceVMSizeTypes>
 15    {
 16        private readonly string _value;
 17
 18        /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are the same. </summary>
 19        public ContainerServiceVMSizeTypes(string value)
 20        {
 021            _value = value ?? throw new ArgumentNullException(nameof(value));
 022        }
 23
 24        private const string StandardA0Value = "Standard_A0";
 25        private const string StandardA1Value = "Standard_A1";
 26        private const string StandardA2Value = "Standard_A2";
 27        private const string StandardA3Value = "Standard_A3";
 28        private const string StandardA4Value = "Standard_A4";
 29        private const string StandardA5Value = "Standard_A5";
 30        private const string StandardA6Value = "Standard_A6";
 31        private const string StandardA7Value = "Standard_A7";
 32        private const string StandardA8Value = "Standard_A8";
 33        private const string StandardA9Value = "Standard_A9";
 34        private const string StandardA10Value = "Standard_A10";
 35        private const string StandardA11Value = "Standard_A11";
 36        private const string StandardD1Value = "Standard_D1";
 37        private const string StandardD2Value = "Standard_D2";
 38        private const string StandardD3Value = "Standard_D3";
 39        private const string StandardD4Value = "Standard_D4";
 40        private const string StandardD11Value = "Standard_D11";
 41        private const string StandardD12Value = "Standard_D12";
 42        private const string StandardD13Value = "Standard_D13";
 43        private const string StandardD14Value = "Standard_D14";
 44        private const string StandardD1V2Value = "Standard_D1_v2";
 45        private const string StandardD2V2Value = "Standard_D2_v2";
 46        private const string StandardD3V2Value = "Standard_D3_v2";
 47        private const string StandardD4V2Value = "Standard_D4_v2";
 48        private const string StandardD5V2Value = "Standard_D5_v2";
 49        private const string StandardD11V2Value = "Standard_D11_v2";
 50        private const string StandardD12V2Value = "Standard_D12_v2";
 51        private const string StandardD13V2Value = "Standard_D13_v2";
 52        private const string StandardD14V2Value = "Standard_D14_v2";
 53        private const string StandardG1Value = "Standard_G1";
 54        private const string StandardG2Value = "Standard_G2";
 55        private const string StandardG3Value = "Standard_G3";
 56        private const string StandardG4Value = "Standard_G4";
 57        private const string StandardG5Value = "Standard_G5";
 58        private const string StandardDS1Value = "Standard_DS1";
 59        private const string StandardDS2Value = "Standard_DS2";
 60        private const string StandardDS3Value = "Standard_DS3";
 61        private const string StandardDS4Value = "Standard_DS4";
 62        private const string StandardDS11Value = "Standard_DS11";
 63        private const string StandardDS12Value = "Standard_DS12";
 64        private const string StandardDS13Value = "Standard_DS13";
 65        private const string StandardDS14Value = "Standard_DS14";
 66        private const string StandardGS1Value = "Standard_GS1";
 67        private const string StandardGS2Value = "Standard_GS2";
 68        private const string StandardGS3Value = "Standard_GS3";
 69        private const string StandardGS4Value = "Standard_GS4";
 70        private const string StandardGS5Value = "Standard_GS5";
 71
 72        /// <summary> Standard_A0. </summary>
 073        public static ContainerServiceVMSizeTypes StandardA0 { get; } = new ContainerServiceVMSizeTypes(StandardA0Value)
 74        /// <summary> Standard_A1. </summary>
 075        public static ContainerServiceVMSizeTypes StandardA1 { get; } = new ContainerServiceVMSizeTypes(StandardA1Value)
 76        /// <summary> Standard_A2. </summary>
 077        public static ContainerServiceVMSizeTypes StandardA2 { get; } = new ContainerServiceVMSizeTypes(StandardA2Value)
 78        /// <summary> Standard_A3. </summary>
 079        public static ContainerServiceVMSizeTypes StandardA3 { get; } = new ContainerServiceVMSizeTypes(StandardA3Value)
 80        /// <summary> Standard_A4. </summary>
 081        public static ContainerServiceVMSizeTypes StandardA4 { get; } = new ContainerServiceVMSizeTypes(StandardA4Value)
 82        /// <summary> Standard_A5. </summary>
 083        public static ContainerServiceVMSizeTypes StandardA5 { get; } = new ContainerServiceVMSizeTypes(StandardA5Value)
 84        /// <summary> Standard_A6. </summary>
 085        public static ContainerServiceVMSizeTypes StandardA6 { get; } = new ContainerServiceVMSizeTypes(StandardA6Value)
 86        /// <summary> Standard_A7. </summary>
 087        public static ContainerServiceVMSizeTypes StandardA7 { get; } = new ContainerServiceVMSizeTypes(StandardA7Value)
 88        /// <summary> Standard_A8. </summary>
 089        public static ContainerServiceVMSizeTypes StandardA8 { get; } = new ContainerServiceVMSizeTypes(StandardA8Value)
 90        /// <summary> Standard_A9. </summary>
 091        public static ContainerServiceVMSizeTypes StandardA9 { get; } = new ContainerServiceVMSizeTypes(StandardA9Value)
 92        /// <summary> Standard_A10. </summary>
 093        public static ContainerServiceVMSizeTypes StandardA10 { get; } = new ContainerServiceVMSizeTypes(StandardA10Valu
 94        /// <summary> Standard_A11. </summary>
 095        public static ContainerServiceVMSizeTypes StandardA11 { get; } = new ContainerServiceVMSizeTypes(StandardA11Valu
 96        /// <summary> Standard_D1. </summary>
 097        public static ContainerServiceVMSizeTypes StandardD1 { get; } = new ContainerServiceVMSizeTypes(StandardD1Value)
 98        /// <summary> Standard_D2. </summary>
 099        public static ContainerServiceVMSizeTypes StandardD2 { get; } = new ContainerServiceVMSizeTypes(StandardD2Value)
 100        /// <summary> Standard_D3. </summary>
 0101        public static ContainerServiceVMSizeTypes StandardD3 { get; } = new ContainerServiceVMSizeTypes(StandardD3Value)
 102        /// <summary> Standard_D4. </summary>
 0103        public static ContainerServiceVMSizeTypes StandardD4 { get; } = new ContainerServiceVMSizeTypes(StandardD4Value)
 104        /// <summary> Standard_D11. </summary>
 0105        public static ContainerServiceVMSizeTypes StandardD11 { get; } = new ContainerServiceVMSizeTypes(StandardD11Valu
 106        /// <summary> Standard_D12. </summary>
 0107        public static ContainerServiceVMSizeTypes StandardD12 { get; } = new ContainerServiceVMSizeTypes(StandardD12Valu
 108        /// <summary> Standard_D13. </summary>
 0109        public static ContainerServiceVMSizeTypes StandardD13 { get; } = new ContainerServiceVMSizeTypes(StandardD13Valu
 110        /// <summary> Standard_D14. </summary>
 0111        public static ContainerServiceVMSizeTypes StandardD14 { get; } = new ContainerServiceVMSizeTypes(StandardD14Valu
 112        /// <summary> Standard_D1_v2. </summary>
 0113        public static ContainerServiceVMSizeTypes StandardD1V2 { get; } = new ContainerServiceVMSizeTypes(StandardD1V2Va
 114        /// <summary> Standard_D2_v2. </summary>
 0115        public static ContainerServiceVMSizeTypes StandardD2V2 { get; } = new ContainerServiceVMSizeTypes(StandardD2V2Va
 116        /// <summary> Standard_D3_v2. </summary>
 0117        public static ContainerServiceVMSizeTypes StandardD3V2 { get; } = new ContainerServiceVMSizeTypes(StandardD3V2Va
 118        /// <summary> Standard_D4_v2. </summary>
 0119        public static ContainerServiceVMSizeTypes StandardD4V2 { get; } = new ContainerServiceVMSizeTypes(StandardD4V2Va
 120        /// <summary> Standard_D5_v2. </summary>
 0121        public static ContainerServiceVMSizeTypes StandardD5V2 { get; } = new ContainerServiceVMSizeTypes(StandardD5V2Va
 122        /// <summary> Standard_D11_v2. </summary>
 0123        public static ContainerServiceVMSizeTypes StandardD11V2 { get; } = new ContainerServiceVMSizeTypes(StandardD11V2
 124        /// <summary> Standard_D12_v2. </summary>
 0125        public static ContainerServiceVMSizeTypes StandardD12V2 { get; } = new ContainerServiceVMSizeTypes(StandardD12V2
 126        /// <summary> Standard_D13_v2. </summary>
 0127        public static ContainerServiceVMSizeTypes StandardD13V2 { get; } = new ContainerServiceVMSizeTypes(StandardD13V2
 128        /// <summary> Standard_D14_v2. </summary>
 0129        public static ContainerServiceVMSizeTypes StandardD14V2 { get; } = new ContainerServiceVMSizeTypes(StandardD14V2
 130        /// <summary> Standard_G1. </summary>
 0131        public static ContainerServiceVMSizeTypes StandardG1 { get; } = new ContainerServiceVMSizeTypes(StandardG1Value)
 132        /// <summary> Standard_G2. </summary>
 0133        public static ContainerServiceVMSizeTypes StandardG2 { get; } = new ContainerServiceVMSizeTypes(StandardG2Value)
 134        /// <summary> Standard_G3. </summary>
 0135        public static ContainerServiceVMSizeTypes StandardG3 { get; } = new ContainerServiceVMSizeTypes(StandardG3Value)
 136        /// <summary> Standard_G4. </summary>
 0137        public static ContainerServiceVMSizeTypes StandardG4 { get; } = new ContainerServiceVMSizeTypes(StandardG4Value)
 138        /// <summary> Standard_G5. </summary>
 0139        public static ContainerServiceVMSizeTypes StandardG5 { get; } = new ContainerServiceVMSizeTypes(StandardG5Value)
 140        /// <summary> Standard_DS1. </summary>
 0141        public static ContainerServiceVMSizeTypes StandardDS1 { get; } = new ContainerServiceVMSizeTypes(StandardDS1Valu
 142        /// <summary> Standard_DS2. </summary>
 0143        public static ContainerServiceVMSizeTypes StandardDS2 { get; } = new ContainerServiceVMSizeTypes(StandardDS2Valu
 144        /// <summary> Standard_DS3. </summary>
 0145        public static ContainerServiceVMSizeTypes StandardDS3 { get; } = new ContainerServiceVMSizeTypes(StandardDS3Valu
 146        /// <summary> Standard_DS4. </summary>
 0147        public static ContainerServiceVMSizeTypes StandardDS4 { get; } = new ContainerServiceVMSizeTypes(StandardDS4Valu
 148        /// <summary> Standard_DS11. </summary>
 0149        public static ContainerServiceVMSizeTypes StandardDS11 { get; } = new ContainerServiceVMSizeTypes(StandardDS11Va
 150        /// <summary> Standard_DS12. </summary>
 0151        public static ContainerServiceVMSizeTypes StandardDS12 { get; } = new ContainerServiceVMSizeTypes(StandardDS12Va
 152        /// <summary> Standard_DS13. </summary>
 0153        public static ContainerServiceVMSizeTypes StandardDS13 { get; } = new ContainerServiceVMSizeTypes(StandardDS13Va
 154        /// <summary> Standard_DS14. </summary>
 0155        public static ContainerServiceVMSizeTypes StandardDS14 { get; } = new ContainerServiceVMSizeTypes(StandardDS14Va
 156        /// <summary> Standard_GS1. </summary>
 0157        public static ContainerServiceVMSizeTypes StandardGS1 { get; } = new ContainerServiceVMSizeTypes(StandardGS1Valu
 158        /// <summary> Standard_GS2. </summary>
 0159        public static ContainerServiceVMSizeTypes StandardGS2 { get; } = new ContainerServiceVMSizeTypes(StandardGS2Valu
 160        /// <summary> Standard_GS3. </summary>
 0161        public static ContainerServiceVMSizeTypes StandardGS3 { get; } = new ContainerServiceVMSizeTypes(StandardGS3Valu
 162        /// <summary> Standard_GS4. </summary>
 0163        public static ContainerServiceVMSizeTypes StandardGS4 { get; } = new ContainerServiceVMSizeTypes(StandardGS4Valu
 164        /// <summary> Standard_GS5. </summary>
 0165        public static ContainerServiceVMSizeTypes StandardGS5 { get; } = new ContainerServiceVMSizeTypes(StandardGS5Valu
 166        /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are the same. </summary>
 0167        public static bool operator ==(ContainerServiceVMSizeTypes left, ContainerServiceVMSizeTypes right) => left.Equa
 168        /// <summary> Determines if two <see cref="ContainerServiceVMSizeTypes"/> values are not the same. </summary>
 0169        public static bool operator !=(ContainerServiceVMSizeTypes left, ContainerServiceVMSizeTypes right) => !left.Equ
 170        /// <summary> Converts a string to a <see cref="ContainerServiceVMSizeTypes"/>. </summary>
 0171        public static implicit operator ContainerServiceVMSizeTypes(string value) => new ContainerServiceVMSizeTypes(val
 172
 173        /// <inheritdoc />
 174        [EditorBrowsable(EditorBrowsableState.Never)]
 0175        public override bool Equals(object obj) => obj is ContainerServiceVMSizeTypes other && Equals(other);
 176        /// <inheritdoc />
 0177        public bool Equals(ContainerServiceVMSizeTypes other) => string.Equals(_value, other._value, StringComparison.In
 178
 179        /// <inheritdoc />
 180        [EditorBrowsable(EditorBrowsableState.Never)]
 0181        public override int GetHashCode() => _value?.GetHashCode() ?? 0;
 182        /// <inheritdoc />
 0183        public override string ToString() => _value;
 184    }
 185}