The list of supported VM SKUs.
Uses Azure REST API version 2025-02-01-preview.
Other available API versions: 2023-11-15-preview, 2024-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hybridcontainerservice [ApiVersion]. See the version guide for details.
Example Usage
PutVMSkus
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vmSkus = new AzureNative.HybridContainerService.VMSkus("vmSkus", new()
{
CustomLocationResourceUri = "subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
ExtendedLocation = new AzureNative.HybridContainerService.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation",
Type = AzureNative.HybridContainerService.ExtendedLocationTypes.CustomLocation,
},
});
});
package main
import (
hybridcontainerservice "github.com/pulumi/pulumi-azure-native-sdk/hybridcontainerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridcontainerservice.NewVMSkus(ctx, "vmSkus", &hybridcontainerservice.VMSkusArgs{
CustomLocationResourceUri: pulumi.String("subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
ExtendedLocation: &hybridcontainerservice.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation"),
Type: pulumi.String(hybridcontainerservice.ExtendedLocationTypesCustomLocation),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hybridcontainerservice.VMSkus;
import com.pulumi.azurenative.hybridcontainerservice.VMSkusArgs;
import com.pulumi.azurenative.hybridcontainerservice.inputs.ExtendedLocationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vmSkus = new VMSkus("vmSkus", VMSkusArgs.builder()
.customLocationResourceUri("subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation")
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation")
.type("CustomLocation")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const vmSkus = new azure_native.hybridcontainerservice.VMSkus("vmSkus", {
customLocationResourceUri: "subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
extendedLocation: {
name: "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation",
type: azure_native.hybridcontainerservice.ExtendedLocationTypes.CustomLocation,
},
});
import pulumi
import pulumi_azure_native as azure_native
vm_skus = azure_native.hybridcontainerservice.VMSkus("vmSkus",
custom_location_resource_uri="subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
extended_location={
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation",
"type": azure_native.hybridcontainerservice.ExtendedLocationTypes.CUSTOM_LOCATION,
})
resources:
vmSkus:
type: azure-native:hybridcontainerservice:VMSkus
properties:
customLocationResourceUri: subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation
extendedLocation:
name: /subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation
type: CustomLocation
Create VMSkus Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VMSkus(name: string, args: VMSkusArgs, opts?: CustomResourceOptions);@overload
def VMSkus(resource_name: str,
args: VMSkusArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VMSkus(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_location_resource_uri: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None)func NewVMSkus(ctx *Context, name string, args VMSkusArgs, opts ...ResourceOption) (*VMSkus, error)public VMSkus(string name, VMSkusArgs args, CustomResourceOptions? opts = null)
public VMSkus(String name, VMSkusArgs args)
public VMSkus(String name, VMSkusArgs args, CustomResourceOptions options)
type: azure-native:hybridcontainerservice:VMSkus
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VMSkusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VMSkusArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VMSkusArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VMSkusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VMSkusArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vmskusResource = new AzureNative.HybridContainerService.VMSkus("vmskusResource", new()
{
CustomLocationResourceUri = "string",
ExtendedLocation = new AzureNative.HybridContainerService.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
});
example, err := hybridcontainerservice.NewVMSkus(ctx, "vmskusResource", &hybridcontainerservice.VMSkusArgs{
CustomLocationResourceUri: pulumi.String("string"),
ExtendedLocation: &hybridcontainerservice.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
})
var vmskusResource = new VMSkus("vmskusResource", VMSkusArgs.builder()
.customLocationResourceUri("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.build());
vmskus_resource = azure_native.hybridcontainerservice.VMSkus("vmskusResource",
custom_location_resource_uri="string",
extended_location={
"name": "string",
"type": "string",
})
const vmskusResource = new azure_native.hybridcontainerservice.VMSkus("vmskusResource", {
customLocationResourceUri: "string",
extendedLocation: {
name: "string",
type: "string",
},
});
type: azure-native:hybridcontainerservice:VMSkus
properties:
customLocationResourceUri: string
extendedLocation:
name: string
type: string
VMSkus Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VMSkus resource accepts the following input properties:
- Custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- Extended
Location Pulumi.Azure Native. Hybrid Container Service. Inputs. Extended Location - Extended location pointing to the underlying infrastructure
- Custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- Extended
Location ExtendedLocation Args - Extended location pointing to the underlying infrastructure
- custom
Location StringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- extended
Location ExtendedLocation - Extended location pointing to the underlying infrastructure
- custom
Location stringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- extended
Location ExtendedLocation - Extended location pointing to the underlying infrastructure
- custom_
location_ strresource_ uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- extended_
location ExtendedLocation Args - Extended location pointing to the underlying infrastructure
- custom
Location StringResource Uri - The fully qualified Azure Resource Manager identifier of the custom location resource.
- extended
Location Property Map - Extended location pointing to the underlying infrastructure
Outputs
All input properties are implicitly available as output properties. Additionally, the VMSkus resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Hybrid Container Service. Outputs. Vm Sku Profile Response Properties - System
Data Pulumi.Azure Native. Hybrid Container Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Properties
Vm
Sku Profile Response Properties - System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- properties
Vm
Sku Profile Response Properties - system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- properties
Vm
Sku Profile Response Properties - system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- properties
Vm
Sku Profile Response Properties - system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- properties Property Map
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ExtendedLocation, ExtendedLocationArgs
Extended location pointing to the underlying infrastructure- Name string
- ARM Id of the extended location.
- Type
string | Pulumi.
Azure Native. Hybrid Container Service. Extended Location Types - The extended location type. Allowed value: 'CustomLocation'
- Name string
- ARM Id of the extended location.
- Type
string | Extended
Location Types - The extended location type. Allowed value: 'CustomLocation'
- name String
- ARM Id of the extended location.
- type
String | Extended
Location Types - The extended location type. Allowed value: 'CustomLocation'
- name string
- ARM Id of the extended location.
- type
string | Extended
Location Types - The extended location type. Allowed value: 'CustomLocation'
- name str
- ARM Id of the extended location.
- type
str | Extended
Location Types - The extended location type. Allowed value: 'CustomLocation'
- name String
- ARM Id of the extended location.
- type
String | "Custom
Location" - The extended location type. Allowed value: 'CustomLocation'
ExtendedLocationResponse, ExtendedLocationResponseArgs
Extended location pointing to the underlying infrastructureExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location - CustomLocation
- Extended
Location Types Custom Location - CustomLocation
- Custom
Location - CustomLocation
- Custom
Location - CustomLocation
- CUSTOM_LOCATION
- CustomLocation
- "Custom
Location" - CustomLocation
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VmSkuCapabilitiesResponse, VmSkuCapabilitiesResponseArgs
Describes the VM SKU capabilities like MemoryGB, vCPUs, etc.VmSkuProfileResponseProperties, VmSkuProfileResponsePropertiesArgs
- Provisioning
State string - Provisioning state of the resource
- Values
List<Pulumi.
Azure Native. Hybrid Container Service. Inputs. Vm Sku Properties Response> - List of supported VM SKUs.
- Provisioning
State string - Provisioning state of the resource
- Values
[]Vm
Sku Properties Response - List of supported VM SKUs.
- provisioning
State String - Provisioning state of the resource
- values
List<Vm
Sku Properties Response> - List of supported VM SKUs.
- provisioning
State string - Provisioning state of the resource
- values
Vm
Sku Properties Response[] - List of supported VM SKUs.
- provisioning_
state str - Provisioning state of the resource
- values
Sequence[Vm
Sku Properties Response] - List of supported VM SKUs.
- provisioning
State String - Provisioning state of the resource
- values List<Property Map>
- List of supported VM SKUs.
VmSkuPropertiesResponse, VmSkuPropertiesResponseArgs
The profile for supported VM SKUs- Capabilities
List<Pulumi.
Azure Native. Hybrid Container Service. Inputs. Vm Sku Capabilities Response> - The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- Name string
- The name of the VM SKU
- Resource
Type string - The type of resource the SKU applies to.
- Size string
- The size of the VM SKU
- Tier string
- The tier of the VM SKU
- Capabilities
[]Vm
Sku Capabilities Response - The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- Name string
- The name of the VM SKU
- Resource
Type string - The type of resource the SKU applies to.
- Size string
- The size of the VM SKU
- Tier string
- The tier of the VM SKU
- capabilities
List<Vm
Sku Capabilities Response> - The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- name String
- The name of the VM SKU
- resource
Type String - The type of resource the SKU applies to.
- size String
- The size of the VM SKU
- tier String
- The tier of the VM SKU
- capabilities
Vm
Sku Capabilities Response[] - The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- name string
- The name of the VM SKU
- resource
Type string - The type of resource the SKU applies to.
- size string
- The size of the VM SKU
- tier string
- The tier of the VM SKU
- capabilities
Sequence[Vm
Sku Capabilities Response] - The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- name str
- The name of the VM SKU
- resource_
type str - The type of resource the SKU applies to.
- size str
- The size of the VM SKU
- tier str
- The tier of the VM SKU
- capabilities List<Property Map>
- The list of name-value pairs to describe VM SKU capabilities like MemoryGB, vCPUs, etc.
- name String
- The name of the VM SKU
- resource
Type String - The type of resource the SKU applies to.
- size String
- The size of the VM SKU
- tier String
- The tier of the VM SKU
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hybridcontainerservice:VMSkus default /{customLocationResourceUri}/providers/Microsoft.HybridContainerService/skus/default
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
