azure-native.machinelearningservices.getComputeAllowedResizeSizes
Explore with Pulumi AI
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>
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]
func GetComputeAllowedResizeSizes(ctx *Context, args *GetComputeAllowedResizeSizesArgs, opts ...InvokeOption) (*GetComputeAllowedResizeSizesResult, error)
func GetComputeAllowedResizeSizesOutput(ctx *Context, args *GetComputeAllowedResizeSizesOutputArgs, opts ...InvokeOption) GetComputeAllowedResizeSizesResultOutput
> 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)
}
public static CompletableFuture<GetComputeAllowedResizeSizesResult> getComputeAllowedResizeSizes(GetComputeAllowedResizeSizesArgs args, InvokeOptions options)
public static Output<GetComputeAllowedResizeSizesResult> getComputeAllowedResizeSizes(GetComputeAllowedResizeSizesArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:machinelearningservices:getComputeAllowedResizeSizes
arguments:
# arguments dictionary
The following arguments are supported:
- Compute
Name string - Name of the Azure Machine Learning compute.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Compute
Name string - Name of the Azure Machine Learning compute.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- compute
Name String - Name of the Azure Machine Learning compute.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
- compute
Name string - Name of the Azure Machine Learning compute.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - Name of Azure Machine Learning workspace.
- compute_
name str - Name of the Azure Machine Learning compute.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - Name of Azure Machine Learning workspace.
- compute
Name String - Name of the Azure Machine Learning compute.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
getComputeAllowedResizeSizes Result
The following output properties are available:
- Value
List<Pulumi.
Azure Native. Machine Learning Services. Outputs. Virtual Machine Size Response> - The list of virtual machine sizes supported by AmlCompute.
- Value
[]Virtual
Machine Size Response - The list of virtual machine sizes supported by AmlCompute.
- value
List<Virtual
Machine Size Response> - The list of virtual machine sizes supported by AmlCompute.
- value
Virtual
Machine Size Response[] - The list of virtual machine sizes supported by AmlCompute.
- value
Sequence[Virtual
Machine Size Response] - 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
- Os
Type string - Operating system type used by the VM.
- Retail
Price double - The price charged for using the VM.
- Vm
Tier string - The type of the VM.
- Os
Type string - Operating system type used by the VM.
- Retail
Price float64 - The price charged for using the VM.
- Vm
Tier string - The type of the VM.
- os
Type String - Operating system type used by the VM.
- retail
Price Double - The price charged for using the VM.
- vm
Tier String - The type of the VM.
- os
Type string - Operating system type used by the VM.
- retail
Price number - The price charged for using the VM.
- vm
Tier string - The type of the VM.
- os_
type str - Operating system type used by the VM.
- retail_
price float - The price charged for using the VM.
- vm_
tier str - The type of the VM.
- os
Type String - Operating system type used by the VM.
- retail
Price Number - The price charged for using the VM.
- vm
Tier String - The type of the VM.
EstimatedVMPricesResponse
- Billing
Currency string - Three lettered code specifying the currency of the VM price. Example: USD
- Unit
Of stringMeasure - The unit of time measurement for the specified VM price. Example: OneHour
- Values
List<Pulumi.
Azure Native. Machine Learning Services. Inputs. Estimated VMPrice Response> - The list of estimated prices for using a VM of a particular OS type, tier, etc.
- Billing
Currency string - Three lettered code specifying the currency of the VM price. Example: USD
- Unit
Of stringMeasure - The unit of time measurement for the specified VM price. Example: OneHour
- Values
[]Estimated
VMPrice Response - The list of estimated prices for using a VM of a particular OS type, tier, etc.
- billing
Currency String - Three lettered code specifying the currency of the VM price. Example: USD
- unit
Of StringMeasure - The unit of time measurement for the specified VM price. Example: OneHour
- values
List<Estimated
VMPrice Response> - The list of estimated prices for using a VM of a particular OS type, tier, etc.
- billing
Currency string - Three lettered code specifying the currency of the VM price. Example: USD
- unit
Of stringMeasure - The unit of time measurement for the specified VM price. Example: OneHour
- values
Estimated
VMPrice Response[] - The list of estimated prices for using a VM of a particular OS type, tier, etc.
- billing_
currency str - Three lettered code specifying the currency of the VM price. Example: USD
- unit_
of_ strmeasure - The unit of time measurement for the specified VM price. Example: OneHour
- values
Sequence[Estimated
VMPrice Response] - The list of estimated prices for using a VM of a particular OS type, tier, etc.
- billing
Currency String - Three lettered code specifying the currency of the VM price. Example: USD
- unit
Of StringMeasure - The unit of time measurement for the specified VM price. Example: OneHour
- values List<Property Map>
- The list of estimated prices for using a VM of a particular OS type, tier, etc.
VirtualMachineSizeResponse
- Family string
- The family name of the virtual machine size.
- Gpus int
- The number of gPUs supported by the virtual machine size.
- Low
Priority boolCapable - Specifies if the virtual machine size supports low priority VMs.
- Max
Resource intVolume MB - The resource volume size, in MB, allowed by the virtual machine size.
- Memory
GB double - The amount of memory, in GB, supported by the virtual machine size.
- Name string
- The name of the virtual machine size.
- Os
Vhd intSize MB - The OS VHD disk size, in MB, allowed by the virtual machine size.
- bool
- Specifies if the virtual machine size supports premium IO.
- VCPUs int
- The number of vCPUs supported by the virtual machine size.
- Estimated
VMPrices Pulumi.Azure Native. Machine Learning Services. Inputs. Estimated VMPrices Response - The estimated price information for using a VM.
- Supported
Compute List<string>Types - Specifies the compute types supported by the virtual machine size.
- Family string
- The family name of the virtual machine size.
- Gpus int
- The number of gPUs supported by the virtual machine size.
- Low
Priority boolCapable - Specifies if the virtual machine size supports low priority VMs.
- Max
Resource intVolume MB - The resource volume size, in MB, allowed by the virtual machine size.
- Memory
GB float64 - The amount of memory, in GB, supported by the virtual machine size.
- Name string
- The name of the virtual machine size.
- Os
Vhd intSize MB - The OS VHD disk size, in MB, allowed by the virtual machine size.
- bool
- Specifies if the virtual machine size supports premium IO.
- VCPUs int
- The number of vCPUs supported by the virtual machine size.
- Estimated
VMPrices EstimatedVMPrices Response - The estimated price information for using a VM.
- Supported
Compute []stringTypes - Specifies the compute types supported by the virtual machine size.
- family String
- The family name of the virtual machine size.
- gpus Integer
- The number of gPUs supported by the virtual machine size.
- low
Priority BooleanCapable - Specifies if the virtual machine size supports low priority VMs.
- max
Resource IntegerVolume MB - The resource volume size, in MB, allowed by the virtual machine size.
- memory
GB Double - The amount of memory, in GB, supported by the virtual machine size.
- name String
- The name of the virtual machine size.
- os
Vhd IntegerSize MB - The OS VHD disk size, in MB, allowed by the virtual machine size.
- Boolean
- Specifies if the virtual machine size supports premium IO.
- v
CPUs Integer - The number of vCPUs supported by the virtual machine size.
- estimated
VMPrices EstimatedVMPrices Response - The estimated price information for using a VM.
- supported
Compute List<String>Types - Specifies the compute types supported by the virtual machine size.
- family string
- The family name of the virtual machine size.
- gpus number
- The number of gPUs supported by the virtual machine size.
- low
Priority booleanCapable - Specifies if the virtual machine size supports low priority VMs.
- max
Resource numberVolume MB - The resource volume size, in MB, allowed by the virtual machine size.
- memory
GB number - The amount of memory, in GB, supported by the virtual machine size.
- name string
- The name of the virtual machine size.
- os
Vhd numberSize MB - The OS VHD disk size, in MB, allowed by the virtual machine size.
- boolean
- Specifies if the virtual machine size supports premium IO.
- v
CPUs number - The number of vCPUs supported by the virtual machine size.
- estimated
VMPrices EstimatedVMPrices Response - The estimated price information for using a VM.
- supported
Compute string[]Types - Specifies the compute types supported by the virtual machine size.
- family str
- The family name of the virtual machine size.
- gpus int
- The number of gPUs supported by the virtual machine size.
- low_
priority_ boolcapable - Specifies if the virtual machine size supports low priority VMs.
- max_
resource_ intvolume_ mb - The resource volume size, in MB, allowed by the virtual machine size.
- memory_
gb float - The amount of memory, in GB, supported by the virtual machine size.
- name str
- The name of the virtual machine size.
- os_
vhd_ intsize_ mb - The OS VHD disk size, in MB, allowed by the virtual machine size.
- bool
- Specifies if the virtual machine size supports premium IO.
- v_
cpus int - The number of vCPUs supported by the virtual machine size.
- estimated_
vm_ Estimatedprices VMPrices Response - The estimated price information for using a VM.
- supported_
compute_ Sequence[str]types - Specifies the compute types supported by the virtual machine size.
- family String
- The family name of the virtual machine size.
- gpus Number
- The number of gPUs supported by the virtual machine size.
- low
Priority BooleanCapable - Specifies if the virtual machine size supports low priority VMs.
- max
Resource NumberVolume MB - The resource volume size, in MB, allowed by the virtual machine size.
- memory
GB Number - The amount of memory, in GB, supported by the virtual machine size.
- name String
- The name of the virtual machine size.
- os
Vhd NumberSize MB - The OS VHD disk size, in MB, allowed by the virtual machine size.
- Boolean
- Specifies if the virtual machine size supports premium IO.
- v
CPUs Number - The number of vCPUs supported by the virtual machine size.
- estimated
VMPrices Property Map - The estimated price information for using a VM.
- supported
Compute List<String>Types - Specifies the compute types supported by the virtual machine size.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0