public ContainerServiceImpl WithMasterNodeCount(ContainerServiceMasterProfileCount profileCount) { ContainerServiceMasterProfile masterProfile = new ContainerServiceMasterProfile(); masterProfile.Count = (int)profileCount; this.Inner.MasterProfile = masterProfile; return(this); }
///GENMHASH:FFA14E460A59533D2C337F3013267D59:EEA5825A22C4A5187DB93596817AA09E public ContainerServiceImpl WithMasterNodeCount(ContainerServiceMasterProfileCount profileCount) { ContainerServiceMasterProfile masterProfile = new ContainerServiceMasterProfile() { VmSize = ContainerServiceVMSizeTypes.StandardD2V2, Count = (int)profileCount }; this.Inner.MasterProfile = masterProfile; return(this); }
/// <summary> /// Specifies the master node count. /// </summary> /// <param name="count">Master profile count (1, 3, 5).</param> /// <return>The next stage of the definition.</return> ContainerService.Definition.IWithAgentPool ContainerService.Definition.IWithMasterNodeCount.WithMasterNodeCount(ContainerServiceMasterProfileCount count) { return(this.WithMasterNodeCount(count)); }
/// <summary> /// Specifies the master node count. /// </summary> /// <param name="count">Master profile count (1, 3, 5).</param> /// <return>The next stage of the definition.</return> ContainerService.Definition.IWithMasterLeafDomainLabel ContainerService.Definition.IWithMasterNodeCount.WithMasterNodeCount(ContainerServiceMasterProfileCount count) { return(this.WithMasterNodeCount(count) as ContainerService.Definition.IWithMasterLeafDomainLabel); }