internal static string ToSerializedValue(this ContainerServiceOrchestratorTypes value) { switch (value) { case ContainerServiceOrchestratorTypes.Kubernetes: return("Kubernetes"); case ContainerServiceOrchestratorTypes.Swarm: return("Swarm"); case ContainerServiceOrchestratorTypes.DCOS: return("DCOS"); case ContainerServiceOrchestratorTypes.DockerCE: return("DockerCE"); case ContainerServiceOrchestratorTypes.Custom: return("Custom"); } return(null); }
/// <summary> /// Initializes a new instance of the /// ContainerServiceOrchestratorProfile class. /// </summary> /// <param name="orchestratorType">The orchestrator to use to manage /// container service cluster resources. Valid values are Kubernetes, /// Swarm, DCOS, DockerCE and Custom. Possible values include: /// 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom'</param> /// <param name="orchestratorVersion">The version of the orchestrator /// to use. You can specify the major.minor.patch part of the actual /// version.For example, you can specify version as "1.6.11".</param> public ContainerServiceOrchestratorProfile(ContainerServiceOrchestratorTypes orchestratorType, string orchestratorVersion = default(string)) { OrchestratorType = orchestratorType; OrchestratorVersion = orchestratorVersion; CustomInit(); }