Exemplo n.º 1
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(ContainerServiceVirtualMachineSizeTypes vmSize)
 {
     return(this.WithVirtualMachineSize(vmSize));
 }
Exemplo n.º 2
0
 ///GENMHASH:11AAAD09C9684B6889E64AC8F924E50D:D461B25035B458150766C6D27E33A746
 public ContainerServiceVirtualMachineSizeTypes VMSize()
 {
     return(ContainerServiceVirtualMachineSizeTypes.Parse(this.Inner.VmSize));
 }
Exemplo n.º 3
0
        ///GENMHASH:C622FBAAB8FD0DD09A538E695C688BFC:70CBAB5746AAB14DF4C92F27CD513EE6
        public KubernetesClusterAgentPoolImpl WithVirtualMachineSize(ContainerServiceVirtualMachineSizeTypes param0)
        {
            this.Inner.VmSize = param0.Value;

            return(this);
        }
 /// <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(ContainerServiceVirtualMachineSizeTypes vmSize)
 {
     return(this.WithMasterVMSize(vmSize) as ContainerService.Definition.IWithCreate);
 }
Exemplo n.º 5
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.IWithVMSize <KubernetesCluster.Definition.IWithCreate> .WithVirtualMachineSize(ContainerServiceVirtualMachineSizeTypes vmSize)
 {
     return(this.WithVirtualMachineSize(vmSize) as KubernetesClusterAgentPool.Definition.IWithAttach <KubernetesCluster.Definition.IWithCreate>);
 }
Exemplo n.º 6
0
        ///GENMHASH:07B654E40DC0819D64AEE0796D299D75:CEB6A3210E226335B25EDDBDD6A8CAFA
        public ContainerServiceImpl WithMasterVMSize(ContainerServiceVirtualMachineSizeTypes vmSize)
        {
            this.Inner.MasterProfile.VmSize = vmSize.Value;

            return(this);
        }