yandex.VpcSubnet
Explore with Pulumi AI
Manages a subnet within the Yandex.Cloud. For more information, see the official documentation.
- How-to Guides
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var lab_net = new Yandex.VpcNetwork("lab-net", new Yandex.VpcNetworkArgs
{
});
var lab_subnet_a = new Yandex.VpcSubnet("lab-subnet-a", new Yandex.VpcSubnetArgs
{
NetworkId = lab_net.Id,
V4CidrBlocks =
{
"10.2.0.0/16",
},
Zone = "ru-central1-a",
});
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewVpcNetwork(ctx, "lab-net", nil)
if err != nil {
return err
}
_, err = yandex.NewVpcSubnet(ctx, "lab-subnet-a", &yandex.VpcSubnetArgs{
NetworkId: lab_net.ID(),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("10.2.0.0/16"),
},
Zone: pulumi.String("ru-central1-a"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
lab_net = yandex.VpcNetwork("lab-net")
lab_subnet_a = yandex.VpcSubnet("lab-subnet-a",
network_id=lab_net.id,
v4_cidr_blocks=["10.2.0.0/16"],
zone="ru-central1-a")
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const lab_net = new yandex.VpcNetwork("lab-net", {});
const lab_subnet_a = new yandex.VpcSubnet("lab-subnet-a", {
networkId: lab_net.id,
v4CidrBlocks: ["10.2.0.0/16"],
zone: "ru-central1-a",
});
Coming soon!
Create VpcSubnet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcSubnet(name: string, args: VpcSubnetArgs, opts?: CustomResourceOptions);
@overload
def VpcSubnet(resource_name: str,
args: VpcSubnetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcSubnet(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
v4_cidr_blocks: Optional[Sequence[str]] = None,
description: Optional[str] = None,
dhcp_options: Optional[VpcSubnetDhcpOptionsArgs] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
route_table_id: Optional[str] = None,
zone: Optional[str] = None)
func NewVpcSubnet(ctx *Context, name string, args VpcSubnetArgs, opts ...ResourceOption) (*VpcSubnet, error)
public VpcSubnet(string name, VpcSubnetArgs args, CustomResourceOptions? opts = null)
public VpcSubnet(String name, VpcSubnetArgs args)
public VpcSubnet(String name, VpcSubnetArgs args, CustomResourceOptions options)
type: yandex:VpcSubnet
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 VpcSubnetArgs
- 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 VpcSubnetArgs
- 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 VpcSubnetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcSubnetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcSubnetArgs
- 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 vpcSubnetResource = new Yandex.VpcSubnet("vpcSubnetResource", new()
{
NetworkId = "string",
V4CidrBlocks = new[]
{
"string",
},
Description = "string",
DhcpOptions = new Yandex.Inputs.VpcSubnetDhcpOptionsArgs
{
DomainName = "string",
DomainNameServers = new[]
{
"string",
},
NtpServers = new[]
{
"string",
},
},
FolderId = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
RouteTableId = "string",
Zone = "string",
});
example, err := yandex.NewVpcSubnet(ctx, "vpcSubnetResource", &yandex.VpcSubnetArgs{
NetworkId: pulumi.String("string"),
V4CidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DhcpOptions: &yandex.VpcSubnetDhcpOptionsArgs{
DomainName: pulumi.String("string"),
DomainNameServers: pulumi.StringArray{
pulumi.String("string"),
},
NtpServers: pulumi.StringArray{
pulumi.String("string"),
},
},
FolderId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
RouteTableId: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var vpcSubnetResource = new VpcSubnet("vpcSubnetResource", VpcSubnetArgs.builder()
.networkId("string")
.v4CidrBlocks("string")
.description("string")
.dhcpOptions(VpcSubnetDhcpOptionsArgs.builder()
.domainName("string")
.domainNameServers("string")
.ntpServers("string")
.build())
.folderId("string")
.labels(Map.of("string", "string"))
.name("string")
.routeTableId("string")
.zone("string")
.build());
vpc_subnet_resource = yandex.VpcSubnet("vpcSubnetResource",
network_id="string",
v4_cidr_blocks=["string"],
description="string",
dhcp_options={
"domain_name": "string",
"domain_name_servers": ["string"],
"ntp_servers": ["string"],
},
folder_id="string",
labels={
"string": "string",
},
name="string",
route_table_id="string",
zone="string")
const vpcSubnetResource = new yandex.VpcSubnet("vpcSubnetResource", {
networkId: "string",
v4CidrBlocks: ["string"],
description: "string",
dhcpOptions: {
domainName: "string",
domainNameServers: ["string"],
ntpServers: ["string"],
},
folderId: "string",
labels: {
string: "string",
},
name: "string",
routeTableId: "string",
zone: "string",
});
type: yandex:VpcSubnet
properties:
description: string
dhcpOptions:
domainName: string
domainNameServers:
- string
ntpServers:
- string
folderId: string
labels:
string: string
name: string
networkId: string
routeTableId: string
v4CidrBlocks:
- string
zone: string
VpcSubnet 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 VpcSubnet resource accepts the following input properties:
- Network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- V4Cidr
Blocks List<string> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- Description string
- An optional description of the subnet. Provide this property when you create the resource.
- Dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels Dictionary<string, string>
- Labels to assign to this subnet. A list of key/value pairs.
- Name string
- Name of the subnet. Provided by the client when the subnet is created.
- Route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- Zone string
- Name of the Yandex.Cloud zone for this subnet.
- Network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- V4Cidr
Blocks []string - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- Description string
- An optional description of the subnet. Provide this property when you create the resource.
- Dhcp
Options VpcSubnet Dhcp Options Args - Options for DHCP client. The structure is documented below.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels map[string]string
- Labels to assign to this subnet. A list of key/value pairs.
- Name string
- Name of the subnet. Provided by the client when the subnet is created.
- Route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- Zone string
- Name of the Yandex.Cloud zone for this subnet.
- network
Id String - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- v4Cidr
Blocks List<String> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- description String
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String,String>
- Labels to assign to this subnet. A list of key/value pairs.
- name String
- Name of the subnet. Provided by the client when the subnet is created.
- route
Table StringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- zone String
- Name of the Yandex.Cloud zone for this subnet.
- network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- v4Cidr
Blocks string[] - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- description string
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels {[key: string]: string}
- Labels to assign to this subnet. A list of key/value pairs.
- name string
- Name of the subnet. Provided by the client when the subnet is created.
- route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- zone string
- Name of the Yandex.Cloud zone for this subnet.
- network_
id str - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- v4_
cidr_ Sequence[str]blocks - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- description str
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp_
options VpcSubnet Dhcp Options Args - Options for DHCP client. The structure is documented below.
- folder_
id str - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Mapping[str, str]
- Labels to assign to this subnet. A list of key/value pairs.
- name str
- Name of the subnet. Provided by the client when the subnet is created.
- route_
table_ strid - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- zone str
- Name of the Yandex.Cloud zone for this subnet.
- network
Id String - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- v4Cidr
Blocks List<String> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- description String
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options Property Map - Options for DHCP client. The structure is documented below.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String>
- Labels to assign to this subnet. A list of key/value pairs.
- name String
- Name of the subnet. Provided by the client when the subnet is created.
- route
Table StringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- zone String
- Name of the Yandex.Cloud zone for this subnet.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcSubnet resource produces the following output properties:
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- V6Cidr
Blocks List<string> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- V6Cidr
Blocks []string - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- v6Cidr
Blocks List<String> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
- v6Cidr
Blocks string[] - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- v6_
cidr_ Sequence[str]blocks - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- v6Cidr
Blocks List<String> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
Look up Existing VpcSubnet Resource
Get an existing VpcSubnet 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?: VpcSubnetState, opts?: CustomResourceOptions): VpcSubnet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
dhcp_options: Optional[VpcSubnetDhcpOptionsArgs] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
route_table_id: Optional[str] = None,
v4_cidr_blocks: Optional[Sequence[str]] = None,
v6_cidr_blocks: Optional[Sequence[str]] = None,
zone: Optional[str] = None) -> VpcSubnet
func GetVpcSubnet(ctx *Context, name string, id IDInput, state *VpcSubnetState, opts ...ResourceOption) (*VpcSubnet, error)
public static VpcSubnet Get(string name, Input<string> id, VpcSubnetState? state, CustomResourceOptions? opts = null)
public static VpcSubnet get(String name, Output<String> id, VpcSubnetState 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.
- Created
At string - Description string
- An optional description of the subnet. Provide this property when you create the resource.
- Dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels Dictionary<string, string>
- Labels to assign to this subnet. A list of key/value pairs.
- Name string
- Name of the subnet. Provided by the client when the subnet is created.
- Network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- Route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- V4Cidr
Blocks List<string> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- V6Cidr
Blocks List<string> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- Zone string
- Name of the Yandex.Cloud zone for this subnet.
- Created
At string - Description string
- An optional description of the subnet. Provide this property when you create the resource.
- Dhcp
Options VpcSubnet Dhcp Options Args - Options for DHCP client. The structure is documented below.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels map[string]string
- Labels to assign to this subnet. A list of key/value pairs.
- Name string
- Name of the subnet. Provided by the client when the subnet is created.
- Network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- Route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- V4Cidr
Blocks []string - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- V6Cidr
Blocks []string - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- Zone string
- Name of the Yandex.Cloud zone for this subnet.
- created
At String - description String
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String,String>
- Labels to assign to this subnet. A list of key/value pairs.
- name String
- Name of the subnet. Provided by the client when the subnet is created.
- network
Id String - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- route
Table StringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- v4Cidr
Blocks List<String> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- v6Cidr
Blocks List<String> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- zone String
- Name of the Yandex.Cloud zone for this subnet.
- created
At string - description string
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options VpcSubnet Dhcp Options - Options for DHCP client. The structure is documented below.
- folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels {[key: string]: string}
- Labels to assign to this subnet. A list of key/value pairs.
- name string
- Name of the subnet. Provided by the client when the subnet is created.
- network
Id string - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- route
Table stringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- v4Cidr
Blocks string[] - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- v6Cidr
Blocks string[] - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- zone string
- Name of the Yandex.Cloud zone for this subnet.
- created_
at str - description str
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp_
options VpcSubnet Dhcp Options Args - Options for DHCP client. The structure is documented below.
- folder_
id str - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Mapping[str, str]
- Labels to assign to this subnet. A list of key/value pairs.
- name str
- Name of the subnet. Provided by the client when the subnet is created.
- network_
id str - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- route_
table_ strid - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- v4_
cidr_ Sequence[str]blocks - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- v6_
cidr_ Sequence[str]blocks - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- zone str
- Name of the Yandex.Cloud zone for this subnet.
- created
At String - description String
- An optional description of the subnet. Provide this property when you create the resource.
- dhcp
Options Property Map - Options for DHCP client. The structure is documented below.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String>
- Labels to assign to this subnet. A list of key/value pairs.
- name String
- Name of the subnet. Provided by the client when the subnet is created.
- network
Id String - ID of the network this subnet belongs to. Only networks that are in the distributed mode can have subnets.
- route
Table StringId - The ID of the route table to assign to this subnet. Assigned route table should belong to the same network as this subnet.
- v4Cidr
Blocks List<String> - A list of blocks of internal IPv4 addresses that are owned by this subnet. Provide this property when you create the subnet. For example, 10.0.0.0/22 or 192.168.0.0/16. Blocks of addresses must be unique and non-overlapping within a network. Minimum subnet size is /28, and maximum subnet size is /16. Only IPv4 is supported.
- v6Cidr
Blocks List<String> - An optional list of blocks of IPv6 addresses that are owned by this subnet.
- zone String
- Name of the Yandex.Cloud zone for this subnet.
Supporting Types
VpcSubnetDhcpOptions, VpcSubnetDhcpOptionsArgs
- Domain
Name string - Domain name.
- Domain
Name List<string>Servers - Domain name server IP addresses.
- Ntp
Servers List<string> - NTP server IP addresses.
- Domain
Name string - Domain name.
- Domain
Name []stringServers - Domain name server IP addresses.
- Ntp
Servers []string - NTP server IP addresses.
- domain
Name String - Domain name.
- domain
Name List<String>Servers - Domain name server IP addresses.
- ntp
Servers List<String> - NTP server IP addresses.
- domain
Name string - Domain name.
- domain
Name string[]Servers - Domain name server IP addresses.
- ntp
Servers string[] - NTP server IP addresses.
- domain_
name str - Domain name.
- domain_
name_ Sequence[str]servers - Domain name server IP addresses.
- ntp_
servers Sequence[str] - NTP server IP addresses.
- domain
Name String - Domain name.
- domain
Name List<String>Servers - Domain name server IP addresses.
- ntp
Servers List<String> - NTP server IP addresses.
Import
A subnet can be imported using the id
of the resource, e.g.
$ pulumi import yandex:index/vpcSubnet:VpcSubnet default subnet_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.