Class VMSizePropertiesArgs.Builder

  • Enclosing class:
    VMSizePropertiesArgs

    public static final class VMSizePropertiesArgs.Builder
    extends java.lang.Object
    • Method Detail

      • vCPUsAvailable

        public VMSizePropertiesArgs.Builder vCPUsAvailable​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> vCPUsAvailable)
        Parameters:
        vCPUsAvailable - Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).
        Returns:
        builder
      • vCPUsAvailable

        public VMSizePropertiesArgs.Builder vCPUsAvailable​(java.lang.Integer vCPUsAvailable)
        Parameters:
        vCPUsAvailable - Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).
        Returns:
        builder
      • vCPUsPerCore

        public VMSizePropertiesArgs.Builder vCPUsPerCore​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> vCPUsPerCore)
        Parameters:
        vCPUsPerCore - Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**
        Returns:
        builder
      • vCPUsPerCore

        public VMSizePropertiesArgs.Builder vCPUsPerCore​(java.lang.Integer vCPUsPerCore)
        Parameters:
        vCPUsPerCore - Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). **Setting this property to 1 also means that hyper-threading is disabled.**
        Returns:
        builder