alicloud.pvtz.Endpoint
Explore with Pulumi AI
Provides a Private Zone Endpoint resource.
For information about Private Zone Endpoint and how to use it, see What is Endpoint.
NOTE: Available since v1.143.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as std from "@pulumi/std";
const config = new pulumi.Config();
const name = config.get("name") || "example_name";
const _default = alicloud.pvtz.getResolverZones({
status: "NORMAL",
});
const defaultGetRegions = alicloud.getRegions({
current: true,
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: name,
cidrBlock: "172.16.0.0/12",
});
const defaultSwitch: alicloud.vpc.Switch[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
defaultSwitch.push(new alicloud.vpc.Switch(`default-${range.value}`, {
vpcId: defaultNetwork.id,
cidrBlock: defaultNetwork.cidrBlock.apply(cidrBlock => std.cidrsubnetOutput({
input: cidrBlock,
newbits: 8,
netnum: range.value,
})).apply(invoke => invoke.result),
zoneId: _default.then(_default => _default.zones[range.value].zoneId),
}));
}
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {
vpcId: defaultNetwork.id,
name: name,
});
const defaultEndpoint = new alicloud.pvtz.Endpoint("default", {
endpointName: name,
securityGroupId: defaultSecurityGroup.id,
vpcId: defaultNetwork.id,
vpcRegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
ipConfigs: [
{
zoneId: defaultSwitch[0].zoneId,
cidrBlock: defaultSwitch[0].cidrBlock,
vswitchId: defaultSwitch[0].id,
},
{
zoneId: defaultSwitch[1].zoneId,
cidrBlock: defaultSwitch[1].cidrBlock,
vswitchId: defaultSwitch[1].id,
},
],
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_std as std
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "example_name"
default = alicloud.pvtz.get_resolver_zones(status="NORMAL")
default_get_regions = alicloud.get_regions(current=True)
default_network = alicloud.vpc.Network("default",
vpc_name=name,
cidr_block="172.16.0.0/12")
default_switch = []
for range in [{"value": i} for i in range(0, 2)]:
default_switch.append(alicloud.vpc.Switch(f"default-{range['value']}",
vpc_id=default_network.id,
cidr_block=default_network.cidr_block.apply(lambda cidr_block: std.cidrsubnet_output(input=cidr_block,
newbits=8,
netnum=range["value"])).apply(lambda invoke: invoke.result),
zone_id=default.zones[range["value"]].zone_id))
default_security_group = alicloud.ecs.SecurityGroup("default",
vpc_id=default_network.id,
name=name)
default_endpoint = alicloud.pvtz.Endpoint("default",
endpoint_name=name,
security_group_id=default_security_group.id,
vpc_id=default_network.id,
vpc_region_id=default_get_regions.regions[0].id,
ip_configs=[
{
"zone_id": default_switch[0].zone_id,
"cidr_block": default_switch[0].cidr_block,
"vswitch_id": default_switch[0].id,
},
{
"zone_id": default_switch[1].zone_id,
"cidr_block": default_switch[1].cidr_block,
"vswitch_id": default_switch[1].id,
},
])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "example_name"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := pvtz.GetResolverZones(ctx, &pvtz.GetResolverZonesArgs{
Status: pulumi.StringRef("NORMAL"),
}, nil)
if err != nil {
return err
}
defaultGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("172.16.0.0/12"),
})
if err != nil {
return err
}
var defaultSwitch []*vpc.Switch
for index := 0; index < 2; index++ {
key0 := index
val0 := index
__res, err := vpc.NewSwitch(ctx, fmt.Sprintf("default-%v", key0), &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String(defaultNetwork.CidrBlock.ApplyT(func(cidrBlock string) (std.CidrsubnetResult, error) {
return std.CidrsubnetResult(interface{}(std.CidrsubnetOutput(ctx, std.CidrsubnetOutputArgs{
Input: cidrBlock,
Newbits: 8,
Netnum: val0,
}, nil))), nil
}).(std.CidrsubnetResultOutput).ApplyT(func(invoke std.CidrsubnetResult) (*string, error) {
return invoke.Result, nil
}).(pulumi.StringPtrOutput)),
ZoneId: pulumi.String(_default.Zones[val0].ZoneId),
})
if err != nil {
return err
}
defaultSwitch = append(defaultSwitch, __res)
}
defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
VpcId: defaultNetwork.ID(),
Name: pulumi.String(name),
})
if err != nil {
return err
}
_, err = pvtz.NewEndpoint(ctx, "default", &pvtz.EndpointArgs{
EndpointName: pulumi.String(name),
SecurityGroupId: defaultSecurityGroup.ID(),
VpcId: defaultNetwork.ID(),
VpcRegionId: pulumi.String(defaultGetRegions.Regions[0].Id),
IpConfigs: pvtz.EndpointIpConfigArray{
&pvtz.EndpointIpConfigArgs{
ZoneId: defaultSwitch[0].ZoneId,
CidrBlock: defaultSwitch[0].CidrBlock,
VswitchId: defaultSwitch[0].ID(),
},
&pvtz.EndpointIpConfigArgs{
ZoneId: defaultSwitch[1].ZoneId,
CidrBlock: defaultSwitch[1].CidrBlock,
VswitchId: defaultSwitch[1].ID(),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "example_name";
var @default = AliCloud.Pvtz.GetResolverZones.Invoke(new()
{
Status = "NORMAL",
});
var defaultGetRegions = AliCloud.GetRegions.Invoke(new()
{
Current = true,
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = name,
CidrBlock = "172.16.0.0/12",
});
var defaultSwitch = new List<AliCloud.Vpc.Switch>();
for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
{
var range = new { Value = rangeIndex };
defaultSwitch.Add(new AliCloud.Vpc.Switch($"default-{range.Value}", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = defaultNetwork.CidrBlock.Apply(cidrBlock => Std.Cidrsubnet.Invoke(new()
{
Input = cidrBlock,
Newbits = 8,
Netnum = range.Value,
})).Apply(invoke => invoke.Result),
ZoneId = @default.Apply(@default => @default.Apply(getResolverZonesResult => getResolverZonesResult.Zones)[range.Value].ZoneId),
}));
}
var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
{
VpcId = defaultNetwork.Id,
Name = name,
});
var defaultEndpoint = new AliCloud.Pvtz.Endpoint("default", new()
{
EndpointName = name,
SecurityGroupId = defaultSecurityGroup.Id,
VpcId = defaultNetwork.Id,
VpcRegionId = defaultGetRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id),
IpConfigs = new[]
{
new AliCloud.Pvtz.Inputs.EndpointIpConfigArgs
{
ZoneId = defaultSwitch[0].ZoneId,
CidrBlock = defaultSwitch[0].CidrBlock,
VswitchId = defaultSwitch[0].Id,
},
new AliCloud.Pvtz.Inputs.EndpointIpConfigArgs
{
ZoneId = defaultSwitch[1].ZoneId,
CidrBlock = defaultSwitch[1].CidrBlock,
VswitchId = defaultSwitch[1].Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.pvtz.PvtzFunctions;
import com.pulumi.alicloud.pvtz.inputs.GetResolverZonesArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.CidrsubnetArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.pvtz.Endpoint;
import com.pulumi.alicloud.pvtz.EndpointArgs;
import com.pulumi.alicloud.pvtz.inputs.EndpointIpConfigArgs;
import com.pulumi.codegen.internal.KeyedValue;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("example_name");
final var default = PvtzFunctions.getResolverZones(GetResolverZonesArgs.builder()
.status("NORMAL")
.build());
final var defaultGetRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("172.16.0.0/12")
.build());
for (var i = 0; i < 2; i++) {
new Switch("defaultSwitch-" + i, SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock(defaultNetwork.cidrBlock().applyValue(_cidrBlock -> StdFunctions.cidrsubnet(CidrsubnetArgs.builder()
.input(_cidrBlock)
.newbits(8)
.netnum(range.value())
.build())).applyValue(_invoke -> _invoke.result()))
.zoneId(default_.zones()[range.value()].zoneId())
.build());
}
var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
.vpcId(defaultNetwork.id())
.name(name)
.build());
var defaultEndpoint = new Endpoint("defaultEndpoint", EndpointArgs.builder()
.endpointName(name)
.securityGroupId(defaultSecurityGroup.id())
.vpcId(defaultNetwork.id())
.vpcRegionId(defaultGetRegions.regions()[0].id())
.ipConfigs(
EndpointIpConfigArgs.builder()
.zoneId(defaultSwitch[0].zoneId())
.cidrBlock(defaultSwitch[0].cidrBlock())
.vswitchId(defaultSwitch[0].id())
.build(),
EndpointIpConfigArgs.builder()
.zoneId(defaultSwitch[1].zoneId())
.cidrBlock(defaultSwitch[1].cidrBlock())
.vswitchId(defaultSwitch[1].id())
.build())
.build());
}
}
Example coming soon!
Create Endpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
args: EndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Endpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_name: Optional[str] = None,
ip_configs: Optional[Sequence[EndpointIpConfigArgs]] = None,
security_group_id: Optional[str] = None,
vpc_id: Optional[str] = None,
vpc_region_id: Optional[str] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: alicloud:pvtz:Endpoint
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 EndpointArgs
- 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 EndpointArgs
- 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 EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointArgs
- 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 alicloudEndpointResource = new AliCloud.Pvtz.Endpoint("alicloudEndpointResource", new()
{
EndpointName = "string",
IpConfigs = new[]
{
new AliCloud.Pvtz.Inputs.EndpointIpConfigArgs
{
CidrBlock = "string",
VswitchId = "string",
ZoneId = "string",
Ip = "string",
},
},
SecurityGroupId = "string",
VpcId = "string",
VpcRegionId = "string",
});
example, err := pvtz.NewEndpoint(ctx, "alicloudEndpointResource", &pvtz.EndpointArgs{
EndpointName: pulumi.String("string"),
IpConfigs: pvtz.EndpointIpConfigArray{
&pvtz.EndpointIpConfigArgs{
CidrBlock: pulumi.String("string"),
VswitchId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
Ip: pulumi.String("string"),
},
},
SecurityGroupId: pulumi.String("string"),
VpcId: pulumi.String("string"),
VpcRegionId: pulumi.String("string"),
})
var alicloudEndpointResource = new com.pulumi.alicloud.pvtz.Endpoint("alicloudEndpointResource", com.pulumi.alicloud.pvtz.EndpointArgs.builder()
.endpointName("string")
.ipConfigs(EndpointIpConfigArgs.builder()
.cidrBlock("string")
.vswitchId("string")
.zoneId("string")
.ip("string")
.build())
.securityGroupId("string")
.vpcId("string")
.vpcRegionId("string")
.build());
alicloud_endpoint_resource = alicloud.pvtz.Endpoint("alicloudEndpointResource",
endpoint_name="string",
ip_configs=[{
"cidr_block": "string",
"vswitch_id": "string",
"zone_id": "string",
"ip": "string",
}],
security_group_id="string",
vpc_id="string",
vpc_region_id="string")
const alicloudEndpointResource = new alicloud.pvtz.Endpoint("alicloudEndpointResource", {
endpointName: "string",
ipConfigs: [{
cidrBlock: "string",
vswitchId: "string",
zoneId: "string",
ip: "string",
}],
securityGroupId: "string",
vpcId: "string",
vpcRegionId: "string",
});
type: alicloud:pvtz:Endpoint
properties:
endpointName: string
ipConfigs:
- cidrBlock: string
ip: string
vswitchId: string
zoneId: string
securityGroupId: string
vpcId: string
vpcRegionId: string
Endpoint 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 Endpoint resource accepts the following input properties:
- Endpoint
Name string - The name of the resource.
- Ip
Configs List<Pulumi.Ali Cloud. Pvtz. Inputs. Endpoint Ip Config> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - Security
Group stringId - The ID of the Security Group.
- Vpc
Id string - The VPC ID.
- Vpc
Region stringId - The Region of the VPC.
- Endpoint
Name string - The name of the resource.
- Ip
Configs []EndpointIp Config Args - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - Security
Group stringId - The ID of the Security Group.
- Vpc
Id string - The VPC ID.
- Vpc
Region stringId - The Region of the VPC.
- endpoint
Name String - The name of the resource.
- ip
Configs List<EndpointIp Config> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group StringId - The ID of the Security Group.
- vpc
Id String - The VPC ID.
- vpc
Region StringId - The Region of the VPC.
- endpoint
Name string - The name of the resource.
- ip
Configs EndpointIp Config[] - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group stringId - The ID of the Security Group.
- vpc
Id string - The VPC ID.
- vpc
Region stringId - The Region of the VPC.
- endpoint_
name str - The name of the resource.
- ip_
configs Sequence[EndpointIp Config Args] - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security_
group_ strid - The ID of the Security Group.
- vpc_
id str - The VPC ID.
- vpc_
region_ strid - The Region of the VPC.
- endpoint
Name String - The name of the resource.
- ip
Configs List<Property Map> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group StringId - The ID of the Security Group.
- vpc
Id String - The VPC ID.
- vpc
Region StringId - The Region of the VPC.
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
Look up Existing Endpoint Resource
Get an existing Endpoint 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?: EndpointState, opts?: CustomResourceOptions): Endpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
endpoint_name: Optional[str] = None,
ip_configs: Optional[Sequence[EndpointIpConfigArgs]] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
vpc_id: Optional[str] = None,
vpc_region_id: Optional[str] = None) -> Endpoint
func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)
public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)
public static Endpoint get(String name, Output<String> id, EndpointState state, CustomResourceOptions options)
resources: _: type: alicloud:pvtz:Endpoint 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.
- Endpoint
Name string - The name of the resource.
- Ip
Configs List<Pulumi.Ali Cloud. Pvtz. Inputs. Endpoint Ip Config> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - Security
Group stringId - The ID of the Security Group.
- Status string
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - Vpc
Id string - The VPC ID.
- Vpc
Region stringId - The Region of the VPC.
- Endpoint
Name string - The name of the resource.
- Ip
Configs []EndpointIp Config Args - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - Security
Group stringId - The ID of the Security Group.
- Status string
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - Vpc
Id string - The VPC ID.
- Vpc
Region stringId - The Region of the VPC.
- endpoint
Name String - The name of the resource.
- ip
Configs List<EndpointIp Config> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group StringId - The ID of the Security Group.
- status String
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - vpc
Id String - The VPC ID.
- vpc
Region StringId - The Region of the VPC.
- endpoint
Name string - The name of the resource.
- ip
Configs EndpointIp Config[] - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group stringId - The ID of the Security Group.
- status string
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - vpc
Id string - The VPC ID.
- vpc
Region stringId - The Region of the VPC.
- endpoint_
name str - The name of the resource.
- ip_
configs Sequence[EndpointIp Config Args] - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security_
group_ strid - The ID of the Security Group.
- status str
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - vpc_
id str - The VPC ID.
- vpc_
region_ strid - The Region of the VPC.
- endpoint
Name String - The name of the resource.
- ip
Configs List<Property Map> - The Ip Configs. See
ip_configs
below. NOTE: In order to ensure high availability, add at least 2 and up to 6. - security
Group StringId - The ID of the Security Group.
- status String
- The status of the resource. Valid values:
CHANGE_FAILED
,CHANGE_INIT
,EXCEPTION
,FAILED
,INIT
,SUCCESS
. - vpc
Id String - The VPC ID.
- vpc
Region StringId - The Region of the VPC.
Supporting Types
EndpointIpConfig, EndpointIpConfigArgs
- cidr_
block str - The Subnet mask.
- vswitch_
id str - The Vswitch id.
- zone_
id str - The Zone ID.
- ip str
- The IP address within the parameter range of the subnet mask. It is recommended to use the IP address assigned by the system.
Import
Private Zone Endpoint can be imported using the id, e.g.
$ pulumi import alicloud:pvtz/endpoint:Endpoint example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.