1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. getComputeAllowedResizeSizes
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.machinelearningservices.getComputeAllowedResizeSizes

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Returns supported virtual machine sizes for resize

Uses Azure REST API version 2025-01-01-preview.

Other available API versions: 2023-08-01-preview, 2024-01-01-preview, 2024-07-01-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native machinelearningservices [ApiVersion]. See the version guide for details.

Using getComputeAllowedResizeSizes

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getComputeAllowedResizeSizes(args: GetComputeAllowedResizeSizesArgs, opts?: InvokeOptions): Promise<GetComputeAllowedResizeSizesResult>
function getComputeAllowedResizeSizesOutput(args: GetComputeAllowedResizeSizesOutputArgs, opts?: InvokeOptions): Output<GetComputeAllowedResizeSizesResult>
Copy
def get_compute_allowed_resize_sizes(compute_name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     workspace_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetComputeAllowedResizeSizesResult
def get_compute_allowed_resize_sizes_output(compute_name: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     workspace_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetComputeAllowedResizeSizesResult]
Copy
func GetComputeAllowedResizeSizes(ctx *Context, args *GetComputeAllowedResizeSizesArgs, opts ...InvokeOption) (*GetComputeAllowedResizeSizesResult, error)
func GetComputeAllowedResizeSizesOutput(ctx *Context, args *GetComputeAllowedResizeSizesOutputArgs, opts ...InvokeOption) GetComputeAllowedResizeSizesResultOutput
Copy

> Note: This function is named GetComputeAllowedResizeSizes in the Go SDK.

public static class GetComputeAllowedResizeSizes 
{
    public static Task<GetComputeAllowedResizeSizesResult> InvokeAsync(GetComputeAllowedResizeSizesArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeAllowedResizeSizesResult> Invoke(GetComputeAllowedResizeSizesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeAllowedResizeSizesResult> getComputeAllowedResizeSizes(GetComputeAllowedResizeSizesArgs args, InvokeOptions options)
public static Output<GetComputeAllowedResizeSizesResult> getComputeAllowedResizeSizes(GetComputeAllowedResizeSizesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:machinelearningservices:getComputeAllowedResizeSizes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ComputeName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Machine Learning compute.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
ComputeName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Machine Learning compute.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
computeName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Machine Learning compute.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of Azure Machine Learning workspace.
computeName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Machine Learning compute.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of Azure Machine Learning workspace.
compute_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Machine Learning compute.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of Azure Machine Learning workspace.
computeName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Machine Learning compute.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of Azure Machine Learning workspace.

getComputeAllowedResizeSizes Result

The following output properties are available:

Value List<Pulumi.AzureNative.MachineLearningServices.Outputs.VirtualMachineSizeResponse>
The list of virtual machine sizes supported by AmlCompute.
Value []VirtualMachineSizeResponse
The list of virtual machine sizes supported by AmlCompute.
value List<VirtualMachineSizeResponse>
The list of virtual machine sizes supported by AmlCompute.
value VirtualMachineSizeResponse[]
The list of virtual machine sizes supported by AmlCompute.
value Sequence[VirtualMachineSizeResponse]
The list of virtual machine sizes supported by AmlCompute.
value List<Property Map>
The list of virtual machine sizes supported by AmlCompute.

Supporting Types

EstimatedVMPriceResponse

OsType This property is required. string
Operating system type used by the VM.
RetailPrice This property is required. double
The price charged for using the VM.
VmTier This property is required. string
The type of the VM.
OsType This property is required. string
Operating system type used by the VM.
RetailPrice This property is required. float64
The price charged for using the VM.
VmTier This property is required. string
The type of the VM.
osType This property is required. String
Operating system type used by the VM.
retailPrice This property is required. Double
The price charged for using the VM.
vmTier This property is required. String
The type of the VM.
osType This property is required. string
Operating system type used by the VM.
retailPrice This property is required. number
The price charged for using the VM.
vmTier This property is required. string
The type of the VM.
os_type This property is required. str
Operating system type used by the VM.
retail_price This property is required. float
The price charged for using the VM.
vm_tier This property is required. str
The type of the VM.
osType This property is required. String
Operating system type used by the VM.
retailPrice This property is required. Number
The price charged for using the VM.
vmTier This property is required. String
The type of the VM.

EstimatedVMPricesResponse

BillingCurrency This property is required. string
Three lettered code specifying the currency of the VM price. Example: USD
UnitOfMeasure This property is required. string
The unit of time measurement for the specified VM price. Example: OneHour
Values This property is required. List<Pulumi.AzureNative.MachineLearningServices.Inputs.EstimatedVMPriceResponse>
The list of estimated prices for using a VM of a particular OS type, tier, etc.
BillingCurrency This property is required. string
Three lettered code specifying the currency of the VM price. Example: USD
UnitOfMeasure This property is required. string
The unit of time measurement for the specified VM price. Example: OneHour
Values This property is required. []EstimatedVMPriceResponse
The list of estimated prices for using a VM of a particular OS type, tier, etc.
billingCurrency This property is required. String
Three lettered code specifying the currency of the VM price. Example: USD
unitOfMeasure This property is required. String
The unit of time measurement for the specified VM price. Example: OneHour
values This property is required. List<EstimatedVMPriceResponse>
The list of estimated prices for using a VM of a particular OS type, tier, etc.
billingCurrency This property is required. string
Three lettered code specifying the currency of the VM price. Example: USD
unitOfMeasure This property is required. string
The unit of time measurement for the specified VM price. Example: OneHour
values This property is required. EstimatedVMPriceResponse[]
The list of estimated prices for using a VM of a particular OS type, tier, etc.
billing_currency This property is required. str
Three lettered code specifying the currency of the VM price. Example: USD
unit_of_measure This property is required. str
The unit of time measurement for the specified VM price. Example: OneHour
values This property is required. Sequence[EstimatedVMPriceResponse]
The list of estimated prices for using a VM of a particular OS type, tier, etc.
billingCurrency This property is required. String
Three lettered code specifying the currency of the VM price. Example: USD
unitOfMeasure This property is required. String
The unit of time measurement for the specified VM price. Example: OneHour
values This property is required. List<Property Map>
The list of estimated prices for using a VM of a particular OS type, tier, etc.

VirtualMachineSizeResponse

Family This property is required. string
The family name of the virtual machine size.
Gpus This property is required. int
The number of gPUs supported by the virtual machine size.
LowPriorityCapable This property is required. bool
Specifies if the virtual machine size supports low priority VMs.
MaxResourceVolumeMB This property is required. int
The resource volume size, in MB, allowed by the virtual machine size.
MemoryGB This property is required. double
The amount of memory, in GB, supported by the virtual machine size.
Name This property is required. string
The name of the virtual machine size.
OsVhdSizeMB This property is required. int
The OS VHD disk size, in MB, allowed by the virtual machine size.
PremiumIO This property is required. bool
Specifies if the virtual machine size supports premium IO.
VCPUs This property is required. int
The number of vCPUs supported by the virtual machine size.
EstimatedVMPrices Pulumi.AzureNative.MachineLearningServices.Inputs.EstimatedVMPricesResponse
The estimated price information for using a VM.
SupportedComputeTypes List<string>
Specifies the compute types supported by the virtual machine size.
Family This property is required. string
The family name of the virtual machine size.
Gpus This property is required. int
The number of gPUs supported by the virtual machine size.
LowPriorityCapable This property is required. bool
Specifies if the virtual machine size supports low priority VMs.
MaxResourceVolumeMB This property is required. int
The resource volume size, in MB, allowed by the virtual machine size.
MemoryGB This property is required. float64
The amount of memory, in GB, supported by the virtual machine size.
Name This property is required. string
The name of the virtual machine size.
OsVhdSizeMB This property is required. int
The OS VHD disk size, in MB, allowed by the virtual machine size.
PremiumIO This property is required. bool
Specifies if the virtual machine size supports premium IO.
VCPUs This property is required. int
The number of vCPUs supported by the virtual machine size.
EstimatedVMPrices EstimatedVMPricesResponse
The estimated price information for using a VM.
SupportedComputeTypes []string
Specifies the compute types supported by the virtual machine size.
family This property is required. String
The family name of the virtual machine size.
gpus This property is required. Integer
The number of gPUs supported by the virtual machine size.
lowPriorityCapable This property is required. Boolean
Specifies if the virtual machine size supports low priority VMs.
maxResourceVolumeMB This property is required. Integer
The resource volume size, in MB, allowed by the virtual machine size.
memoryGB This property is required. Double
The amount of memory, in GB, supported by the virtual machine size.
name This property is required. String
The name of the virtual machine size.
osVhdSizeMB This property is required. Integer
The OS VHD disk size, in MB, allowed by the virtual machine size.
premiumIO This property is required. Boolean
Specifies if the virtual machine size supports premium IO.
vCPUs This property is required. Integer
The number of vCPUs supported by the virtual machine size.
estimatedVMPrices EstimatedVMPricesResponse
The estimated price information for using a VM.
supportedComputeTypes List<String>
Specifies the compute types supported by the virtual machine size.
family This property is required. string
The family name of the virtual machine size.
gpus This property is required. number
The number of gPUs supported by the virtual machine size.
lowPriorityCapable This property is required. boolean
Specifies if the virtual machine size supports low priority VMs.
maxResourceVolumeMB This property is required. number
The resource volume size, in MB, allowed by the virtual machine size.
memoryGB This property is required. number
The amount of memory, in GB, supported by the virtual machine size.
name This property is required. string
The name of the virtual machine size.
osVhdSizeMB This property is required. number
The OS VHD disk size, in MB, allowed by the virtual machine size.
premiumIO This property is required. boolean
Specifies if the virtual machine size supports premium IO.
vCPUs This property is required. number
The number of vCPUs supported by the virtual machine size.
estimatedVMPrices EstimatedVMPricesResponse
The estimated price information for using a VM.
supportedComputeTypes string[]
Specifies the compute types supported by the virtual machine size.
family This property is required. str
The family name of the virtual machine size.
gpus This property is required. int
The number of gPUs supported by the virtual machine size.
low_priority_capable This property is required. bool
Specifies if the virtual machine size supports low priority VMs.
max_resource_volume_mb This property is required. int
The resource volume size, in MB, allowed by the virtual machine size.
memory_gb This property is required. float
The amount of memory, in GB, supported by the virtual machine size.
name This property is required. str
The name of the virtual machine size.
os_vhd_size_mb This property is required. int
The OS VHD disk size, in MB, allowed by the virtual machine size.
premium_io This property is required. bool
Specifies if the virtual machine size supports premium IO.
v_cpus This property is required. int
The number of vCPUs supported by the virtual machine size.
estimated_vm_prices EstimatedVMPricesResponse
The estimated price information for using a VM.
supported_compute_types Sequence[str]
Specifies the compute types supported by the virtual machine size.
family This property is required. String
The family name of the virtual machine size.
gpus This property is required. Number
The number of gPUs supported by the virtual machine size.
lowPriorityCapable This property is required. Boolean
Specifies if the virtual machine size supports low priority VMs.
maxResourceVolumeMB This property is required. Number
The resource volume size, in MB, allowed by the virtual machine size.
memoryGB This property is required. Number
The amount of memory, in GB, supported by the virtual machine size.
name This property is required. String
The name of the virtual machine size.
osVhdSizeMB This property is required. Number
The OS VHD disk size, in MB, allowed by the virtual machine size.
premiumIO This property is required. Boolean
Specifies if the virtual machine size supports premium IO.
vCPUs This property is required. Number
The number of vCPUs supported by the virtual machine size.
estimatedVMPrices Property Map
The estimated price information for using a VM.
supportedComputeTypes List<String>
Specifies the compute types supported by the virtual machine size.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi