Class VMSizePropertiesArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.compute.inputs.VMSizePropertiesArgs.Builder
-
- Enclosing class:
- VMSizePropertiesArgs
public static final class VMSizePropertiesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VMSizePropertiesArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VMSizePropertiesArgs
build()
VMSizePropertiesArgs.Builder
vCPUsAvailable(com.pulumi.core.Output<java.lang.Integer> vCPUsAvailable)
VMSizePropertiesArgs.Builder
vCPUsAvailable(java.lang.Integer vCPUsAvailable)
VMSizePropertiesArgs.Builder
vCPUsPerCore(com.pulumi.core.Output<java.lang.Integer> vCPUsPerCore)
VMSizePropertiesArgs.Builder
vCPUsPerCore(java.lang.Integer vCPUsPerCore)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VMSizePropertiesArgs defaults)
-
-
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
-
build
public VMSizePropertiesArgs build()
-
-