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",
}],
},
]});
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",
}],
},
])
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
})
}
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",
},
},
},
},
});
});
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());
}
}
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
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",
},
});
import pulumi
import pulumi_selectel as selectel
project1 = selectel.VpcProjectV2("project1",
custom_url="project-123.selvpc.ru",
theme={
"color": "2753E9",
})
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
})
}
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" },
},
});
});
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());
}
}
resources:
project1:
type: selectel:VpcProjectV2
properties:
customUrl: project-123.selvpc.ru
theme:
color: '2753E9'
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
type: selectel:VpcProjectV2
properties:
customUrl: string
name: string
quotas:
- resourceName: string
resourceQuotas:
- region: string
value: 0
zone: string
theme:
string: string
vpcProjectV2Id: string
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:
- Custom
Url string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - Name string
- Project name.
- Quotas
List<Vpc
Project V2Quota> - Array of quotas for the project. Learn more about Project limits and quotas.
- Theme Dictionary<string, string>
- Additional theme settings for the external panel.
- Vpc
Project stringV2Id
- Custom
Url string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - Name string
- Project name.
- Quotas
[]Vpc
Project V2Quota Args - Array of quotas for the project. Learn more about Project limits and quotas.
- Theme map[string]string
- Additional theme settings for the external panel.
- Vpc
Project stringV2Id
- custom
Url String - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - name String
- Project name.
- quotas
List<Vpc
Project V2Quota> - Array of quotas for the project. Learn more about Project limits and quotas.
- theme Map<String,String>
- Additional theme settings for the external panel.
- vpc
Project StringV2Id
- custom
Url string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - name string
- Project name.
- quotas
Vpc
Project V2Quota[] - Array of quotas for the project. Learn more about Project limits and quotas.
- theme {[key: string]: string}
- Additional theme settings for the external panel.
- vpc
Project stringV2Id
- custom_
url str - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - name str
- Project name.
- quotas
Sequence[Vpc
Project V2Quota Args] - 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_ strv2_ id
- custom
Url String - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.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.
- vpc
Project StringV2Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcProjectV2 resource produces the following output properties:
- All
Quotas List<VpcProject V2All Quota> - 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
anddisabled
. - Id string
- The provider-assigned unique ID for this managed resource.
- Url string
- Project URL. Created automatically and you cannot change it.
- All
Quotas []VpcProject V2All Quota - 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
anddisabled
. - Id string
- The provider-assigned unique ID for this managed resource.
- Url string
- Project URL. Created automatically and you cannot change it.
- all
Quotas List<VpcProject V2All Quota> - 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
anddisabled
. - id String
- The provider-assigned unique ID for this managed resource.
- url String
- Project URL. Created automatically and you cannot change it.
- all
Quotas VpcProject V2All Quota[] - 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
anddisabled
. - 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[VpcProject V2All Quota] - 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
anddisabled
. - id str
- The provider-assigned unique ID for this managed resource.
- url str
- Project URL. Created automatically and you cannot change it.
- all
Quotas 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
anddisabled
. - 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
- 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.
- All
Quotas List<VpcProject V2All Quota> - 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 string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - Enabled bool
- Project status. Possible values are
active
anddisabled
. - Name string
- Project name.
- Quotas
List<Vpc
Project V2Quota> - 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.
- Vpc
Project stringV2Id
- All
Quotas []VpcProject V2All Quota Args - 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 string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - Enabled bool
- Project status. Possible values are
active
anddisabled
. - Name string
- Project name.
- Quotas
[]Vpc
Project V2Quota Args - 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.
- Vpc
Project stringV2Id
- all
Quotas List<VpcProject V2All Quota> - 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 String - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - enabled Boolean
- Project status. Possible values are
active
anddisabled
. - name String
- Project name.
- quotas
List<Vpc
Project V2Quota> - 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.
- vpc
Project StringV2Id
- all
Quotas VpcProject V2All Quota[] - 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 string - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - enabled boolean
- Project status. Possible values are
active
anddisabled
. - name string
- Project name.
- quotas
Vpc
Project V2Quota[] - 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.
- vpc
Project stringV2Id
- all_
quotas Sequence[VpcProject V2All Quota Args] - 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
orproject.example.com
. Learn more how to set up access to external panel. - enabled bool
- Project status. Possible values are
active
anddisabled
. - name str
- Project name.
- quotas
Sequence[Vpc
Project V2Quota Args] - 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_ strv2_ id
- all
Quotas 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. - custom
Url String - URL of the project in the external panel. The available value is the third-level domain, for example,
123456.selvpc.ru
orproject.example.com
. Learn more how to set up access to external panel. - enabled Boolean
- Project status. Possible values are
active
anddisabled
. - 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.
- vpc
Project StringV2Id
Supporting Types
VpcProjectV2AllQuota, VpcProjectV2AllQuotaArgs
- Resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- Resource
Quotas List<VpcProject V2All Quota Resource Quota> - Array of quotas for the resource.
- Resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- Resource
Quotas []VpcProject V2All Quota Resource Quota - Array of quotas for the resource.
- resource
Name String - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas List<VpcProject V2All Quota Resource Quota> - Array of quotas for the resource.
- resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas VpcProject V2All Quota Resource Quota[] - Array of quotas for the resource.
- resource_
name str - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource_
quotas Sequence[VpcProject V2All Quota Resource Quota] - Array of quotas for the resource.
- resource
Name String - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas List<Property Map> - Array of quotas for the resource.
VpcProjectV2AllQuotaResourceQuota, VpcProjectV2AllQuotaResourceQuotaArgs
- Region string
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - Used double
- Value double
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- Zone string
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
- Region string
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - Used float64
- Value float64
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- Zone string
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
- region String
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - used Double
- value Double
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- zone String
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
- region string
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - used number
- value number
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- zone string
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
- region str
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - used float
- value float
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- zone str
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
- region String
- Pool where the resource is located, for example,
ru-3
. Learn more about available pools in the Availability matrix. - used Number
- value Number
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. The project limit for the resource is in the Quota column. Learn more about Project limits and quotas.
- zone String
- Pool segment where the resource is located, for example,
ru-3a
. Learn more about available pool segments in the Availability matrix.
VpcProjectV2Quota, VpcProjectV2QuotaArgs
- Resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- Resource
Quotas List<VpcProject V2Quota Resource Quota> - Array of quotas for the resource.
- Resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- Resource
Quotas []VpcProject V2Quota Resource Quota - Array of quotas for the resource.
- resource
Name String - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas List<VpcProject V2Quota Resource Quota> - Array of quotas for the resource.
- resource
Name string - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas VpcProject V2Quota Resource Quota[] - Array of quotas for the resource.
- resource_
name str - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource_
quotas Sequence[VpcProject V2Quota Resource Quota] - Array of quotas for the resource.
- resource
Name String - Resource name. To get the name of the resource, use Selectel Cloud Quota Management API.
- resource
Quotas List<Property Map> - Array of quotas for the resource.
VpcProjectV2QuotaResourceQuota, VpcProjectV2QuotaResourceQuotaArgs
- Value double
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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 float64
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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 Double
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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 number
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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 float
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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 Number
- Quota value. The value cannot exceed the project limit. To get the project limit, in the Control panel, go to Cloud Platform ⟶ Quotas. 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>
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 Management ⟶ User 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.