1. Packages
  2. Selectel Provider
  3. API Docs
  4. VpcProjectV2
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

selectel.VpcProjectV2

Explore with Pulumi AI

Creates and manages a project using public API v2. For more information about projects, see the official Selectel documentation.

Example Usage

Project with quotas

import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";

const project1 = new selectel.VpcProjectV2("project1", {quotas: [
    {
        resourceName: "compute_cores",
        resourceQuotas: [{
            region: "ru-3",
            value: 12,
            zone: "ru-3a",
        }],
    },
    {
        resourceName: "compute_ram",
        resourceQuotas: [{
            region: "ru-3",
            value: 20480,
            zone: "ru-3a",
        }],
    },
    {
        resourceName: "volume_gigabytes_fast",
        resourceQuotas: [{
            region: "ru-3",
            value: 100,
            zone: "ru-3a",
        }],
    },
]});
Copy
import pulumi
import pulumi_selectel as selectel

project1 = selectel.VpcProjectV2("project1", quotas=[
    {
        "resource_name": "compute_cores",
        "resource_quotas": [{
            "region": "ru-3",
            "value": 12,
            "zone": "ru-3a",
        }],
    },
    {
        "resource_name": "compute_ram",
        "resource_quotas": [{
            "region": "ru-3",
            "value": 20480,
            "zone": "ru-3a",
        }],
    },
    {
        "resource_name": "volume_gigabytes_fast",
        "resource_quotas": [{
            "region": "ru-3",
            "value": 100,
            "zone": "ru-3a",
        }],
    },
])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := selectel.NewVpcProjectV2(ctx, "project1", &selectel.VpcProjectV2Args{
			Quotas: selectel.VpcProjectV2QuotaArray{
				&selectel.VpcProjectV2QuotaArgs{
					ResourceName: pulumi.String("compute_cores"),
					ResourceQuotas: selectel.VpcProjectV2QuotaResourceQuotaArray{
						&selectel.VpcProjectV2QuotaResourceQuotaArgs{
							Region: pulumi.String("ru-3"),
							Value:  pulumi.Float64(12),
							Zone:   pulumi.String("ru-3a"),
						},
					},
				},
				&selectel.VpcProjectV2QuotaArgs{
					ResourceName: pulumi.String("compute_ram"),
					ResourceQuotas: selectel.VpcProjectV2QuotaResourceQuotaArray{
						&selectel.VpcProjectV2QuotaResourceQuotaArgs{
							Region: pulumi.String("ru-3"),
							Value:  pulumi.Float64(20480),
							Zone:   pulumi.String("ru-3a"),
						},
					},
				},
				&selectel.VpcProjectV2QuotaArgs{
					ResourceName: pulumi.String("volume_gigabytes_fast"),
					ResourceQuotas: selectel.VpcProjectV2QuotaResourceQuotaArray{
						&selectel.VpcProjectV2QuotaResourceQuotaArgs{
							Region: pulumi.String("ru-3"),
							Value:  pulumi.Float64(100),
							Zone:   pulumi.String("ru-3a"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;

return await Deployment.RunAsync(() => 
{
    var project1 = new Selectel.VpcProjectV2("project1", new()
    {
        Quotas = new[]
        {
            new Selectel.Inputs.VpcProjectV2QuotaArgs
            {
                ResourceName = "compute_cores",
                ResourceQuotas = new[]
                {
                    new Selectel.Inputs.VpcProjectV2QuotaResourceQuotaArgs
                    {
                        Region = "ru-3",
                        Value = 12,
                        Zone = "ru-3a",
                    },
                },
            },
            new Selectel.Inputs.VpcProjectV2QuotaArgs
            {
                ResourceName = "compute_ram",
                ResourceQuotas = new[]
                {
                    new Selectel.Inputs.VpcProjectV2QuotaResourceQuotaArgs
                    {
                        Region = "ru-3",
                        Value = 20480,
                        Zone = "ru-3a",
                    },
                },
            },
            new Selectel.Inputs.VpcProjectV2QuotaArgs
            {
                ResourceName = "volume_gigabytes_fast",
                ResourceQuotas = new[]
                {
                    new Selectel.Inputs.VpcProjectV2QuotaResourceQuotaArgs
                    {
                        Region = "ru-3",
                        Value = 100,
                        Zone = "ru-3a",
                    },
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.VpcProjectV2;
import com.pulumi.selectel.VpcProjectV2Args;
import com.pulumi.selectel.inputs.VpcProjectV2QuotaArgs;
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 project1 = new VpcProjectV2("project1", VpcProjectV2Args.builder()
            .quotas(            
                VpcProjectV2QuotaArgs.builder()
                    .resourceName("compute_cores")
                    .resourceQuotas(VpcProjectV2QuotaResourceQuotaArgs.builder()
                        .region("ru-3")
                        .value(12)
                        .zone("ru-3a")
                        .build())
                    .build(),
                VpcProjectV2QuotaArgs.builder()
                    .resourceName("compute_ram")
                    .resourceQuotas(VpcProjectV2QuotaResourceQuotaArgs.builder()
                        .region("ru-3")
                        .value(20480)
                        .zone("ru-3a")
                        .build())
                    .build(),
                VpcProjectV2QuotaArgs.builder()
                    .resourceName("volume_gigabytes_fast")
                    .resourceQuotas(VpcProjectV2QuotaResourceQuotaArgs.builder()
                        .region("ru-3")
                        .value(100)
                        .zone("ru-3a")
                        .build())
                    .build())
            .build());

    }
}
Copy
resources:
  project1:
    type: selectel:VpcProjectV2
    properties:
      quotas:
        - resourceName: compute_cores
          resourceQuotas:
            - region: ru-3
              value: 12
              zone: ru-3a
        - resourceName: compute_ram
          resourceQuotas:
            - region: ru-3
              value: 20480
              zone: ru-3a
        - resourceName: volume_gigabytes_fast
          resourceQuotas:
            - region: ru-3
              value: 100
              zone: ru-3a
Copy

Project with external panel

import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";

const project1 = new selectel.VpcProjectV2("project1", {
    customUrl: "project-123.selvpc.ru",
    theme: {
        color: "2753E9",
    },
});
Copy
import pulumi
import pulumi_selectel as selectel

project1 = selectel.VpcProjectV2("project1",
    custom_url="project-123.selvpc.ru",
    theme={
        "color": "2753E9",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := selectel.NewVpcProjectV2(ctx, "project1", &selectel.VpcProjectV2Args{
			CustomUrl: pulumi.String("project-123.selvpc.ru"),
			Theme: pulumi.StringMap{
				"color": pulumi.String("2753E9"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;

return await Deployment.RunAsync(() => 
{
    var project1 = new Selectel.VpcProjectV2("project1", new()
    {
        CustomUrl = "project-123.selvpc.ru",
        Theme = 
        {
            { "color", "2753E9" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.VpcProjectV2;
import com.pulumi.selectel.VpcProjectV2Args;
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 project1 = new VpcProjectV2("project1", VpcProjectV2Args.builder()
            .customUrl("project-123.selvpc.ru")
            .theme(Map.of("color", "2753E9"))
            .build());

    }
}
Copy
resources:
  project1:
    type: selectel:VpcProjectV2
    properties:
      customUrl: project-123.selvpc.ru
      theme:
        color: '2753E9'
Copy

Create VpcProjectV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VpcProjectV2(name: string, args?: VpcProjectV2Args, opts?: CustomResourceOptions);
@overload
def VpcProjectV2(resource_name: str,
                 args: Optional[VpcProjectV2Args] = None,
                 opts: Optional[ResourceOptions] = None)

@overload
def VpcProjectV2(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 custom_url: Optional[str] = None,
                 name: Optional[str] = None,
                 quotas: Optional[Sequence[VpcProjectV2QuotaArgs]] = None,
                 theme: Optional[Mapping[str, str]] = None,
                 vpc_project_v2_id: Optional[str] = None)
func NewVpcProjectV2(ctx *Context, name string, args *VpcProjectV2Args, opts ...ResourceOption) (*VpcProjectV2, error)
public VpcProjectV2(string name, VpcProjectV2Args? args = null, CustomResourceOptions? opts = null)
public VpcProjectV2(String name, VpcProjectV2Args args)
public VpcProjectV2(String name, VpcProjectV2Args args, CustomResourceOptions options)
type: selectel:VpcProjectV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args VpcProjectV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args VpcProjectV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args VpcProjectV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args VpcProjectV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VpcProjectV2Args
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 vpcProjectV2Resource = new Selectel.VpcProjectV2("vpcProjectV2Resource", new()
{
    CustomUrl = "string",
    Name = "string",
    Quotas = new[]
    {
        new Selectel.Inputs.VpcProjectV2QuotaArgs
        {
            ResourceName = "string",
            ResourceQuotas = new[]
            {
                new Selectel.Inputs.VpcProjectV2QuotaResourceQuotaArgs
                {
                    Value = 0,
                    Region = "string",
                    Zone = "string",
                },
            },
        },
    },
    Theme = 
    {
        { "string", "string" },
    },
    VpcProjectV2Id = "string",
});
Copy
example, err := selectel.NewVpcProjectV2(ctx, "vpcProjectV2Resource", &selectel.VpcProjectV2Args{
	CustomUrl: pulumi.String("string"),
	Name:      pulumi.String("string"),
	Quotas: selectel.VpcProjectV2QuotaArray{
		&selectel.VpcProjectV2QuotaArgs{
			ResourceName: pulumi.String("string"),
			ResourceQuotas: selectel.VpcProjectV2QuotaResourceQuotaArray{
				&selectel.VpcProjectV2QuotaResourceQuotaArgs{
					Value:  pulumi.Float64(0),
					Region: pulumi.String("string"),
					Zone:   pulumi.String("string"),
				},
			},
		},
	},
	Theme: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VpcProjectV2Id: pulumi.String("string"),
})
Copy
var vpcProjectV2Resource = new VpcProjectV2("vpcProjectV2Resource", VpcProjectV2Args.builder()
    .customUrl("string")
    .name("string")
    .quotas(VpcProjectV2QuotaArgs.builder()
        .resourceName("string")
        .resourceQuotas(VpcProjectV2QuotaResourceQuotaArgs.builder()
            .value(0)
            .region("string")
            .zone("string")
            .build())
        .build())
    .theme(Map.of("string", "string"))
    .vpcProjectV2Id("string")
    .build());
Copy
vpc_project_v2_resource = selectel.VpcProjectV2("vpcProjectV2Resource",
    custom_url="string",
    name="string",
    quotas=[{
        "resource_name": "string",
        "resource_quotas": [{
            "value": 0,
            "region": "string",
            "zone": "string",
        }],
    }],
    theme={
        "string": "string",
    },
    vpc_project_v2_id="string")
Copy
const vpcProjectV2Resource = new selectel.VpcProjectV2("vpcProjectV2Resource", {
    customUrl: "string",
    name: "string",
    quotas: [{
        resourceName: "string",
        resourceQuotas: [{
            value: 0,
            region: "string",
            zone: "string",
        }],
    }],
    theme: {
        string: "string",
    },
    vpcProjectV2Id: "string",
});
Copy
type: selectel:VpcProjectV2
properties:
    customUrl: string
    name: string
    quotas:
        - resourceName: string
          resourceQuotas:
            - region: string
              value: 0
              zone: string
    theme:
        string: string
    vpcProjectV2Id: string
Copy

VpcProjectV2 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 VpcProjectV2 resource accepts the following input properties:

CustomUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
Name string
Project name.
Quotas List<VpcProjectV2Quota>
Array of quotas for the project. Learn more about Project limits and quotas.
Theme Dictionary<string, string>
Additional theme settings for the external panel.
VpcProjectV2Id string
CustomUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
Name string
Project name.
Quotas []VpcProjectV2QuotaArgs
Array of quotas for the project. Learn more about Project limits and quotas.
Theme map[string]string
Additional theme settings for the external panel.
VpcProjectV2Id string
customUrl String
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
name String
Project name.
quotas List<VpcProjectV2Quota>
Array of quotas for the project. Learn more about Project limits and quotas.
theme Map<String,String>
Additional theme settings for the external panel.
vpcProjectV2Id String
customUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
name string
Project name.
quotas VpcProjectV2Quota[]
Array of quotas for the project. Learn more about Project limits and quotas.
theme {[key: string]: string}
Additional theme settings for the external panel.
vpcProjectV2Id string
custom_url str
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
name str
Project name.
quotas Sequence[VpcProjectV2QuotaArgs]
Array of quotas for the project. Learn more about Project limits and quotas.
theme Mapping[str, str]
Additional theme settings for the external panel.
vpc_project_v2_id str
customUrl String
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
name String
Project name.
quotas List<Property Map>
Array of quotas for the project. Learn more about Project limits and quotas.
theme Map<String>
Additional theme settings for the external panel.
vpcProjectV2Id String

Outputs

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

AllQuotas List<VpcProjectV2AllQuota>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
Enabled bool
Project status. Possible values are active and disabled.
Id string
The provider-assigned unique ID for this managed resource.
Url string
Project URL. Created automatically and you cannot change it.
AllQuotas []VpcProjectV2AllQuota
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
Enabled bool
Project status. Possible values are active and disabled.
Id string
The provider-assigned unique ID for this managed resource.
Url string
Project URL. Created automatically and you cannot change it.
allQuotas List<VpcProjectV2AllQuota>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
enabled Boolean
Project status. Possible values are active and disabled.
id String
The provider-assigned unique ID for this managed resource.
url String
Project URL. Created automatically and you cannot change it.
allQuotas VpcProjectV2AllQuota[]
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
enabled boolean
Project status. Possible values are active and disabled.
id string
The provider-assigned unique ID for this managed resource.
url string
Project URL. Created automatically and you cannot change it.
all_quotas Sequence[VpcProjectV2AllQuota]
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
enabled bool
Project status. Possible values are active and disabled.
id str
The provider-assigned unique ID for this managed resource.
url str
Project URL. Created automatically and you cannot change it.
allQuotas List<Property Map>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
enabled Boolean
Project status. Possible values are active and disabled.
id String
The provider-assigned unique ID for this managed resource.
url String
Project URL. Created automatically and you cannot change it.

Look up Existing VpcProjectV2 Resource

Get an existing VpcProjectV2 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?: VpcProjectV2State, opts?: CustomResourceOptions): VpcProjectV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        all_quotas: Optional[Sequence[VpcProjectV2AllQuotaArgs]] = None,
        custom_url: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        quotas: Optional[Sequence[VpcProjectV2QuotaArgs]] = None,
        theme: Optional[Mapping[str, str]] = None,
        url: Optional[str] = None,
        vpc_project_v2_id: Optional[str] = None) -> VpcProjectV2
func GetVpcProjectV2(ctx *Context, name string, id IDInput, state *VpcProjectV2State, opts ...ResourceOption) (*VpcProjectV2, error)
public static VpcProjectV2 Get(string name, Input<string> id, VpcProjectV2State? state, CustomResourceOptions? opts = null)
public static VpcProjectV2 get(String name, Output<String> id, VpcProjectV2State state, CustomResourceOptions options)
resources:  _:    type: selectel:VpcProjectV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AllQuotas List<VpcProjectV2AllQuota>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
CustomUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
Enabled bool
Project status. Possible values are active and disabled.
Name string
Project name.
Quotas List<VpcProjectV2Quota>
Array of quotas for the project. Learn more about Project limits and quotas.
Theme Dictionary<string, string>
Additional theme settings for the external panel.
Url string
Project URL. Created automatically and you cannot change it.
VpcProjectV2Id string
AllQuotas []VpcProjectV2AllQuotaArgs
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
CustomUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
Enabled bool
Project status. Possible values are active and disabled.
Name string
Project name.
Quotas []VpcProjectV2QuotaArgs
Array of quotas for the project. Learn more about Project limits and quotas.
Theme map[string]string
Additional theme settings for the external panel.
Url string
Project URL. Created automatically and you cannot change it.
VpcProjectV2Id string
allQuotas List<VpcProjectV2AllQuota>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
customUrl String
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
enabled Boolean
Project status. Possible values are active and disabled.
name String
Project name.
quotas List<VpcProjectV2Quota>
Array of quotas for the project. Learn more about Project limits and quotas.
theme Map<String,String>
Additional theme settings for the external panel.
url String
Project URL. Created automatically and you cannot change it.
vpcProjectV2Id String
allQuotas VpcProjectV2AllQuota[]
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
customUrl string
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
enabled boolean
Project status. Possible values are active and disabled.
name string
Project name.
quotas VpcProjectV2Quota[]
Array of quotas for the project. Learn more about Project limits and quotas.
theme {[key: string]: string}
Additional theme settings for the external panel.
url string
Project URL. Created automatically and you cannot change it.
vpcProjectV2Id string
all_quotas Sequence[VpcProjectV2AllQuotaArgs]
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
custom_url str
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
enabled bool
Project status. Possible values are active and disabled.
name str
Project name.
quotas Sequence[VpcProjectV2QuotaArgs]
Array of quotas for the project. Learn more about Project limits and quotas.
theme Mapping[str, str]
Additional theme settings for the external panel.
url str
Project URL. Created automatically and you cannot change it.
vpc_project_v2_id str
allQuotas List<Property Map>
List of quotas. Can differ from the values that are set in the quotas block, if all available quotas for the project are automatically applied.
customUrl String
URL of the project in the external panel. The available value is the third-level domain, for example, 123456.selvpc.ru or project.example.com. Learn more how to set up access to external panel.
enabled Boolean
Project status. Possible values are active and disabled.
name String
Project name.
quotas List<Property Map>
Array of quotas for the project. Learn more about Project limits and quotas.
theme Map<String>
Additional theme settings for the external panel.
url String
Project URL. Created automatically and you cannot change it.
vpcProjectV2Id String

Supporting Types

VpcProjectV2AllQuota
, VpcProjectV2AllQuotaArgs

ResourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
ResourceQuotas This property is required. List<VpcProjectV2AllQuotaResourceQuota>
Array of quotas for the resource.
ResourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
ResourceQuotas This property is required. []VpcProjectV2AllQuotaResourceQuota
Array of quotas for the resource.
resourceName This property is required. String
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. List<VpcProjectV2AllQuotaResourceQuota>
Array of quotas for the resource.
resourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. VpcProjectV2AllQuotaResourceQuota[]
Array of quotas for the resource.
resource_name This property is required. str
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resource_quotas This property is required. Sequence[VpcProjectV2AllQuotaResourceQuota]
Array of quotas for the resource.
resourceName This property is required. String
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. List<Property Map>
Array of quotas for the resource.

VpcProjectV2AllQuotaResourceQuota
, VpcProjectV2AllQuotaResourceQuotaArgs

Region This property is required. string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
Used This property is required. double
Value This property is required. double
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
Zone This property is required. string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
Region This property is required. string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
Used This property is required. float64
Value This property is required. float64
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
Zone This property is required. string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
region This property is required. String
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
used This property is required. Double
value This property is required. Double
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
zone This property is required. String
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
region This property is required. string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
used This property is required. number
value This property is required. number
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
zone This property is required. string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
region This property is required. str
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
used This property is required. float
value This property is required. float
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
zone This property is required. str
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
region This property is required. String
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
used This property is required. Number
value This property is required. Number
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
zone This property is required. String
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.

VpcProjectV2Quota
, VpcProjectV2QuotaArgs

ResourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
ResourceQuotas This property is required. List<VpcProjectV2QuotaResourceQuota>
Array of quotas for the resource.
ResourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
ResourceQuotas This property is required. []VpcProjectV2QuotaResourceQuota
Array of quotas for the resource.
resourceName This property is required. String
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. List<VpcProjectV2QuotaResourceQuota>
Array of quotas for the resource.
resourceName This property is required. string
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. VpcProjectV2QuotaResourceQuota[]
Array of quotas for the resource.
resource_name This property is required. str
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resource_quotas This property is required. Sequence[VpcProjectV2QuotaResourceQuota]
Array of quotas for the resource.
resourceName This property is required. String
Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
resourceQuotas This property is required. List<Property Map>
Array of quotas for the resource.

VpcProjectV2QuotaResourceQuota
, VpcProjectV2QuotaResourceQuotaArgs

Value This property is required. double
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
Region string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
Zone string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
Value This property is required. float64
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
Region string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
Zone string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
value This property is required. Double
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
region String
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
zone String
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
value This property is required. number
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
region string
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
zone string
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
value This property is required. float
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
region str
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
zone str
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.
value This property is required. Number
Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud PlatformQuotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
region String
Pool where the resource is located, for example, ru-3. Learn more about available pools in the Availability matrix.
zone String
Pool segment where the resource is located, for example, ru-3a. Learn more about available pool segments in the Availability matrix.

Import

You can import a project:

export OS_DOMAIN_NAME=<account_id>

export OS_USERNAME=

export OS_PASSWORD=

$ pulumi import selectel:index/vpcProjectV2:VpcProjectV2 project_1 <project_id>
Copy

where:

  • <account_id> — Selectel account ID. The account ID is in the top right corner of the Control panel. Learn more about Registration.

  • <username> — Name of the service user. To get the name, in the Control panel, go to Identity & Access ManagementUser management ⟶ the Service users tab ⟶ copy the name of the required user. Learn more about Service users.

  • <password> — Password of the service user.

  • <project_id> — Unique identifier of the project, for example, a07abc12310546f1b9291ab3013a7d75. To get the ID, in the Control panel, go to Cloud Platform ⟶ project name ⟶ copy the ID of the required project.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
selectel selectel/terraform-provider-selectel
License
Notes
This Pulumi package is based on the selectel Terraform Provider.