Пример #1
0
 /// <summary>
 /// Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider"
 /// /> and <see cref="ignoreCase" />
 /// </summary>
 /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
 /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
 /// <param name="formatProvider">not used by this TypeConverter.</param>
 /// <param name="ignoreCase">when set to <c>true</c>, will ignore the case when converting.</param>
 /// <returns>
 /// an instance of <see cref="ContainerServiceVMSizeTypes" />, or <c>null</c> if there is no suitable conversion.
 /// </returns>
 public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ContainerServiceVMSizeTypes.CreateFrom(sourceValue);
 /// <summary>
 /// Specifies the size of the master VMs, default set to "Standard_D2_v2".
 /// </summary>
 /// <param name="vmSize">The size of the VM.</param>
 /// <return>The next stage of the definition.</return>
 ContainerService.Definition.IWithCreate ContainerService.Definition.IWithMasterVMSize.WithMasterVMSize(ContainerServiceVMSizeTypes vmSize)
 {
     return(this.WithMasterVMSize(vmSize));
 }
Пример #3
0
        ///GENMHASH:C622FBAAB8FD0DD09A538E695C688BFC:70CBAB5746AAB14DF4C92F27CD513EE6
        public KubernetesClusterAgentPoolImpl WithVirtualMachineSize(ContainerServiceVMSizeTypes param0)
        {
            this.Inner.VmSize = param0;

            return(this);
        }
Пример #4
0
 /// <summary>
 /// Specifies the size of the agent virtual machines.
 /// </summary>
 /// <param name="vmSize">The size of the virtual machine.</param>
 /// <return>The next stage of the definition.</return>
 ContainerServiceAgentPool.Definition.IWithLeafDomainLabel <ContainerService.Definition.IWithCreate> ContainerServiceAgentPool.Definition.IWithVMSize <ContainerService.Definition.IWithCreate> .WithVirtualMachineSize(ContainerServiceVMSizeTypes vmSize)
 {
     return(this.WithVirtualMachineSize(vmSize));
 }
Пример #5
0
        ///GENMHASH:07B654E40DC0819D64AEE0796D299D75:CEB6A3210E226335B25EDDBDD6A8CAFA
        public ContainerServiceImpl WithMasterVMSize(ContainerServiceVMSizeTypes vmSize)
        {
            this.Inner.MasterProfile.VmSize = vmSize;

            return(this);
        }
Пример #6
0
 /// <summary>
 /// Specifies the size of the agent virtual machines.
 /// </summary>
 /// <param name="vmSize">The size of each virtual machine in the agent pool.</param>
 /// <return>The next stage of the definition.</return>
 KubernetesClusterAgentPool.Definition.IWithAttach <KubernetesCluster.Definition.IWithCreate> KubernetesClusterAgentPool.Definition.IBlank <KubernetesCluster.Definition.IWithCreate> .WithVirtualMachineSize(ContainerServiceVMSizeTypes vmSize)
 {
     return(this.WithVirtualMachineSize(vmSize));
 }