azure logo
Azure Classic v5.38.0, Mar 21 23

azure.proximity.PlacementGroup

Manages a proximity placement group for virtual machines, virtual machine scale sets and availability sets.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var examplePlacementGroup = new Azure.Proximity.PlacementGroup("examplePlacementGroup", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Tags = 
        {
            { "environment", "Production" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/proximity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = proximity.NewPlacementGroup(ctx, "examplePlacementGroup", &proximity.PlacementGroupArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Production"),
			},
		})
		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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.proximity.PlacementGroup;
import com.pulumi.azure.proximity.PlacementGroupArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var examplePlacementGroup = new PlacementGroup("examplePlacementGroup", PlacementGroupArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .tags(Map.of("environment", "Production"))
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_placement_group = azure.proximity.PlacementGroup("examplePlacementGroup",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    tags={
        "environment": "Production",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const examplePlacementGroup = new azure.proximity.PlacementGroup("examplePlacementGroup", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    tags: {
        environment: "Production",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  examplePlacementGroup:
    type: azure:proximity:PlacementGroup
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      tags:
        environment: Production

Create PlacementGroup Resource

new PlacementGroup(name: string, args: PlacementGroupArgs, opts?: CustomResourceOptions);
@overload
def PlacementGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   allowed_vm_sizes: Optional[Sequence[str]] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   zone: Optional[str] = None)
@overload
def PlacementGroup(resource_name: str,
                   args: PlacementGroupArgs,
                   opts: Optional[ResourceOptions] = None)
func NewPlacementGroup(ctx *Context, name string, args PlacementGroupArgs, opts ...ResourceOption) (*PlacementGroup, error)
public PlacementGroup(string name, PlacementGroupArgs args, CustomResourceOptions? opts = null)
public PlacementGroup(String name, PlacementGroupArgs args)
public PlacementGroup(String name, PlacementGroupArgs args, CustomResourceOptions options)
type: azure:proximity:PlacementGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PlacementGroupArgs
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 PlacementGroupArgs
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 PlacementGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PlacementGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PlacementGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PlacementGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PlacementGroup resource accepts the following input properties:

ResourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

AllowedVmSizes List<string>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

AllowedVmSizes []string

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

Zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

resourceGroupName String

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

allowedVmSizes List<String>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location String

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

tags Map<String,String>

A mapping of tags to assign to the resource.

zone String

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

allowedVmSizes string[]

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

allowed_vm_sizes Sequence[str]

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

zone str

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

resourceGroupName String

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

allowedVmSizes List<String>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location String

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

tags Map<String>

A mapping of tags to assign to the resource.

zone String

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the PlacementGroup resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing PlacementGroup Resource

Get an existing PlacementGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PlacementGroupState, opts?: CustomResourceOptions): PlacementGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allowed_vm_sizes: Optional[Sequence[str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        zone: Optional[str] = None) -> PlacementGroup
func GetPlacementGroup(ctx *Context, name string, id IDInput, state *PlacementGroupState, opts ...ResourceOption) (*PlacementGroup, error)
public static PlacementGroup Get(string name, Input<string> id, PlacementGroupState? state, CustomResourceOptions? opts = null)
public static PlacementGroup get(String name, Output<String> id, PlacementGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AllowedVmSizes List<string>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

AllowedVmSizes []string

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

Zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

allowedVmSizes List<String>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location String

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

resourceGroupName String

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

tags Map<String,String>

A mapping of tags to assign to the resource.

zone String

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

allowedVmSizes string[]

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zone string

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

allowed_vm_sizes Sequence[str]

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

zone str

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

allowedVmSizes List<String>

Specifies the supported sizes of Virtual Machines that can be created in the Proximity Placement Group. Possible values are Basic_A4, Basic_A1, Basic_A3, Basic_A2, Basic_A0, Standard_A8, Standard_A8_v2, Standard_A8m_v2, Standard_A5, Standard_A4, Standard_A4_v2, Standard_A4m_v2, Standard_A9, Standard_A1, Standard_A11, Standard_A1_v2, Standard_A10, Standard_A7, Standard_A6, Standard_A3, Standard_A2, Standard_A2_v2, Standard_A2m_v2, Standard_A0, Standard_B8ms, Standard_B4ms, Standard_B1ms, Standard_B1s, Standard_B2ms, Standard_B2s, Standard_D8_v3, Standard_D8s_v3, Standard_D5_v2, Standard_D4, Standard_D4_v3, Standard_D4_v2, Standard_D4s_v3, Standard_D1, Standard_D15_v2, Standard_D14, Standard_D14_v2, Standard_D11, Standard_D11_v2, Standard_D16_v3, Standard_D16s_v3, Standard_D13, Standard_D13_v2, Standard_D12, Standard_D12_v2, Standard_D1_v2, Standard_DS5_v2, Standard_DS4, Standard_DS4_v2, Standard_DS1, Standard_DS15_v2, Standard_DS14, Standard_DS14-8_v2, Standard_DS14-4_v2, Standard_DS14_v2, Standard_DS11, Standard_DS11_v2, Standard_DS13, Standard_DS13-4_v2, Standard_DS13-2_v2, Standard_DS13_v2, Standard_DS12, Standard_DS12_v2, Standard_DS1_v2, Standard_DS3, Standard_DS3_v2, Standard_DS2, Standard_DS2_v2, Standard_D64_v3, Standard_D64s_v3, Standard_D3, Standard_D32_v3, Standard_D32s_v3, Standard_D3_v2, Standard_D2, Standard_D2_v3, Standard_D2_v2, Standard_D2s_v3, Standard_E8_v3, Standard_E8s_v3, Standard_E4_v3, Standard_E4s_v3, Standard_E16_v3, Standard_E16s_v3, Standard_E64-16s_v3, Standard_E64-32s_v3, Standard_E64_v3, Standard_E64s_v3, Standard_E32-8s_v3, Standard_E32-16_v3, Standard_E32_v3, Standard_E32s_v3, Standard_E2_v3, Standard_E2s_v3, Standard_F8, Standard_F8s, Standard_F8s_v2, Standard_F4, Standard_F4s, Standard_F4s_v2, Standard_F1, Standard_F16, Standard_F16s, Standard_F16s_v2, Standard_F1s, Standard_F72s_v2, Standard_F64s_v2, Standard_F32s_v2, Standard_F2, Standard_F2s, Standard_F2s_v2, Standard_G5, Standard_G4, Standard_G1, Standard_GS5, Standard_GS5-8, Standard_GS5-16, Standard_GS4, Standard_GS4-8, Standard_GS4-4, Standard_GS1, Standard_GS3, Standard_GS2, Standard_G3, Standard_G2, Standard_H8, Standard_H8m, Standard_H16, Standard_H16m, Standard_H16mr, Standard_H16r, Standard_L8s, Standard_L4s, Standard_L16s, Standard_L32s, Standard_M128-64ms, Standard_M128-32ms, Standard_M128ms, Standard_M128s, Standard_M64-16ms, Standard_M64-32ms, Standard_M64ms, Standard_M64s, Standard_NC12, Standard_NC12s_v3, Standard_NC12s_v2, Standard_NC6, Standard_NC6s_v3, Standard_NC6s_v2, Standard_NC24, Standard_NC24r, Standard_NC24rs_v3, Standard_NC24rs_v2, Standard_NC24s_v3, Standard_NC24s_v2, Standard_ND12s, Standard_ND6s, Standard_ND24rs, Standard_ND24s, Standard_NV12, Standard_NV6 and Standard_NV24.

location String

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of the proximity placement group. Changing this forces a new resource to be created.

resourceGroupName String

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

tags Map<String>

A mapping of tags to assign to the resource.

zone String

Specifies the supported zone of the Proximity Placement Group. Changing this forces a new resource to be created.

Import

Proximity Placement Groups can be imported using the resource id, e.g.

 $ pulumi import azure:proximity/placementGroup:PlacementGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Compute/proximityPlacementGroups/example-ppg

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.