/// <summary> /// OS type to be used for every machine in the agent pool. /// Default is Linux. /// </summary> /// <param name="osType">OS type to be used for every machine in the agent pool.</param> /// <return>The next stage of the definition.</return> ContainerServiceAgentPool.Definition.IWithAttach <ContainerService.Definition.IWithCreate> ContainerServiceAgentPool.Definition.IWithOSType <ContainerService.Definition.IWithCreate> .WithOSType(ContainerServiceOSTypes osType) { return(this.WithOSType(osType)); }
///GENMHASH:29F824FFD1866F35F3898F9D3ECE5F1B:E7F1DA78794C44C2AC55569F4DDCBD11 public KubernetesClusterAgentPoolImpl WithOSType(ContainerServiceOSTypes osType) { this.Inner.OsType = osType.Value; return(this); }
///GENMHASH:29F824FFD1866F35F3898F9D3ECE5F1B:E7F1DA78794C44C2AC55569F4DDCBD11 public ContainerServiceAgentPoolImpl WithOSType(ContainerServiceOSTypes osType) { this.Inner.OsType = osType.Value; return(this); }
///GENMHASH:1BAF4F1B601F89251ABCFE6CC4867026:F71645491B82E137E4D1786750E7ADF0 public ContainerServiceOSTypes OSType() { return(ContainerServiceOSTypes.Parse(this.Inner.OsType)); }
/// <summary> /// OS type to be used for each virtual machine in the agent pool. /// Default is Linux. /// </summary> /// <param name="osType">OS type to be used for each virtual machine in the agent pool.</param> /// <return>The next stage of the definition.</return> KubernetesClusterAgentPool.Definition.IWithAttach <KubernetesCluster.Definition.IWithCreate> KubernetesClusterAgentPool.Definition.IWithOSType <KubernetesCluster.Definition.IWithCreate> .WithOSType(ContainerServiceOSTypes osType) { return(this.WithOSType(osType) as KubernetesClusterAgentPool.Definition.IWithAttach <KubernetesCluster.Definition.IWithCreate>); }