published on Thursday, Nov 5, 2026 by ibm-cloud
published on Thursday, Nov 5, 2026 by ibm-cloud
Import
You can import this resource by using the ID in the format <vpn_gateway_id>/<vpn_gateway_member_id>.
$ pulumi import ibm:index/isVpnGatewayMemberReplace:IsVpnGatewayMemberReplace example r006-1234abcd/r006-5678efgh
Create IsVpnGatewayMemberReplace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsVpnGatewayMemberReplace(name: string, args: IsVpnGatewayMemberReplaceArgs, opts?: CustomResourceOptions);@overload
def IsVpnGatewayMemberReplace(resource_name: str,
args: IsVpnGatewayMemberReplaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsVpnGatewayMemberReplace(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet: Optional[IsVpnGatewayMemberReplaceSubnetArgs] = None,
vpn_gateway_id: Optional[str] = None,
vpn_gateway_member_id: Optional[str] = None,
is_vpn_gateway_member_replace_id: Optional[str] = None,
timeouts: Optional[IsVpnGatewayMemberReplaceTimeoutsArgs] = None)func NewIsVpnGatewayMemberReplace(ctx *Context, name string, args IsVpnGatewayMemberReplaceArgs, opts ...ResourceOption) (*IsVpnGatewayMemberReplace, error)public IsVpnGatewayMemberReplace(string name, IsVpnGatewayMemberReplaceArgs args, CustomResourceOptions? opts = null)
public IsVpnGatewayMemberReplace(String name, IsVpnGatewayMemberReplaceArgs args)
public IsVpnGatewayMemberReplace(String name, IsVpnGatewayMemberReplaceArgs args, CustomResourceOptions options)
type: ibm:IsVpnGatewayMemberReplace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_is_vpn_gateway_member_replace" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IsVpnGatewayMemberReplaceArgs
- 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 IsVpnGatewayMemberReplaceArgs
- 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 IsVpnGatewayMemberReplaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsVpnGatewayMemberReplaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsVpnGatewayMemberReplaceArgs
- 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 isVpnGatewayMemberReplaceResource = new Ibm.IsVpnGatewayMemberReplace("isVpnGatewayMemberReplaceResource", new()
{
Subnet = new Ibm.Inputs.IsVpnGatewayMemberReplaceSubnetArgs
{
Crn = "string",
Href = "string",
Id = "string",
},
VpnGatewayId = "string",
VpnGatewayMemberId = "string",
IsVpnGatewayMemberReplaceId = "string",
Timeouts = new Ibm.Inputs.IsVpnGatewayMemberReplaceTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := ibm.NewIsVpnGatewayMemberReplace(ctx, "isVpnGatewayMemberReplaceResource", &ibm.IsVpnGatewayMemberReplaceArgs{
Subnet: &ibm.IsVpnGatewayMemberReplaceSubnetArgs{
Crn: pulumi.String("string"),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
},
VpnGatewayId: pulumi.String("string"),
VpnGatewayMemberId: pulumi.String("string"),
IsVpnGatewayMemberReplaceId: pulumi.String("string"),
Timeouts: &ibm.IsVpnGatewayMemberReplaceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
resource "ibm_is_vpn_gateway_member_replace" "isVpnGatewayMemberReplaceResource" {
lifecycle {
create_before_destroy = true
}
subnet = {
crn = "string"
href = "string"
id = "string"
}
vpn_gateway_id = "string"
vpn_gateway_member_id = "string"
is_vpn_gateway_member_replace_id = "string"
_ {
timeouts = {
create = "string"
delete = "string"
}
}
}
var isVpnGatewayMemberReplaceResource = new IsVpnGatewayMemberReplace("isVpnGatewayMemberReplaceResource", IsVpnGatewayMemberReplaceArgs.builder()
.subnet(IsVpnGatewayMemberReplaceSubnetArgs.builder()
.crn("string")
.href("string")
.id("string")
.build())
.vpnGatewayId("string")
.vpnGatewayMemberId("string")
.isVpnGatewayMemberReplaceId("string")
.timeouts(IsVpnGatewayMemberReplaceTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
is_vpn_gateway_member_replace_resource = ibm.IsVpnGatewayMemberReplace("isVpnGatewayMemberReplaceResource",
subnet={
"crn": "string",
"href": "string",
"id": "string",
},
vpn_gateway_id="string",
vpn_gateway_member_id="string",
is_vpn_gateway_member_replace_id="string",
timeouts={
"create": "string",
"delete": "string",
})
const isVpnGatewayMemberReplaceResource = new ibm.IsVpnGatewayMemberReplace("isVpnGatewayMemberReplaceResource", {
subnet: {
crn: "string",
href: "string",
id: "string",
},
vpnGatewayId: "string",
vpnGatewayMemberId: "string",
isVpnGatewayMemberReplaceId: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: ibm:IsVpnGatewayMemberReplace
properties:
isVpnGatewayMemberReplaceId: string
subnet:
crn: string
href: string
id: string
timeouts:
create: string
delete: string
vpnGatewayId: string
vpnGatewayMemberId: string
IsVpnGatewayMemberReplace 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 IsVpnGatewayMemberReplace resource accepts the following input properties:
- Subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - Vpn
Gateway stringId - The unique identifier of the VPN gateway.
- Vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- Is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - Timeouts
Is
Vpn Gateway Member Replace Timeouts
- Subnet
Is
Vpn Gateway Member Replace Subnet Args - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - Vpn
Gateway stringId - The unique identifier of the VPN gateway.
- Vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- Is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - Timeouts
Is
Vpn Gateway Member Replace Timeouts Args
- subnet object
- The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - vpn_
gateway_ stringid - The unique identifier of the VPN gateway.
- vpn_
gateway_ stringmember_ id - The unique identifier of the VPN gateway member to be replaced.
- is_
vpn_ stringgateway_ member_ replace_ id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - timeouts object
- subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - vpn
Gateway StringId - The unique identifier of the VPN gateway.
- vpn
Gateway StringMember Id - The unique identifier of the VPN gateway member to be replaced.
- is
Vpn StringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - timeouts
Is
Vpn Gateway Member Replace Timeouts
- subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - vpn
Gateway stringId - The unique identifier of the VPN gateway.
- vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - timeouts
Is
Vpn Gateway Member Replace Timeouts
- subnet
Is
Vpn Gateway Member Replace Subnet Args - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - vpn_
gateway_ strid - The unique identifier of the VPN gateway.
- vpn_
gateway_ strmember_ id - The unique identifier of the VPN gateway member to be replaced.
- is_
vpn_ strgateway_ member_ replace_ id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - timeouts
Is
Vpn Gateway Member Replace Timeouts Args
- subnet Property Map
- The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - vpn
Gateway StringId - The unique identifier of the VPN gateway.
- vpn
Gateway StringMember Id - The unique identifier of the VPN gateway member to be replaced.
- is
Vpn StringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsVpnGatewayMemberReplace resource produces the following output properties:
- Health
State string - (String) The health state of the VPN gateway member.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - Private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- Public
Ip stringAddress - (String) The public IP address of the member.
- Role string
- (String) The high availability role of the member, for example
activeorstandby.
- Health
State string - (String) The health state of the VPN gateway member.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - Private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- Public
Ip stringAddress - (String) The public IP address of the member.
- Role string
- (String) The high availability role of the member, for example
activeorstandby.
- health_
state string - (String) The health state of the VPN gateway member.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private_
ip_ stringaddress - (String) The private IP address of the member in the new subnet.
- public_
ip_ stringaddress - (String) The public IP address of the member.
- role string
- (String) The high availability role of the member, for example
activeorstandby.
- health
State String - (String) The health state of the VPN gateway member.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip StringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip StringAddress - (String) The public IP address of the member.
- role String
- (String) The high availability role of the member, for example
activeorstandby.
- health
State string - (String) The health state of the VPN gateway member.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip stringAddress - (String) The public IP address of the member.
- role string
- (String) The high availability role of the member, for example
activeorstandby.
- health_
state str - (String) The health state of the VPN gateway member.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private_
ip_ straddress - (String) The private IP address of the member in the new subnet.
- public_
ip_ straddress - (String) The public IP address of the member.
- role str
- (String) The high availability role of the member, for example
activeorstandby.
- health
State String - (String) The health state of the VPN gateway member.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip StringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip StringAddress - (String) The public IP address of the member.
- role String
- (String) The high availability role of the member, for example
activeorstandby.
Look up Existing IsVpnGatewayMemberReplace Resource
Get an existing IsVpnGatewayMemberReplace 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?: IsVpnGatewayMemberReplaceState, opts?: CustomResourceOptions): IsVpnGatewayMemberReplace@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
health_state: Optional[str] = None,
is_vpn_gateway_member_replace_id: Optional[str] = None,
lifecycle_state: Optional[str] = None,
private_ip_address: Optional[str] = None,
public_ip_address: Optional[str] = None,
role: Optional[str] = None,
subnet: Optional[IsVpnGatewayMemberReplaceSubnetArgs] = None,
timeouts: Optional[IsVpnGatewayMemberReplaceTimeoutsArgs] = None,
vpn_gateway_id: Optional[str] = None,
vpn_gateway_member_id: Optional[str] = None) -> IsVpnGatewayMemberReplacefunc GetIsVpnGatewayMemberReplace(ctx *Context, name string, id IDInput, state *IsVpnGatewayMemberReplaceState, opts ...ResourceOption) (*IsVpnGatewayMemberReplace, error)public static IsVpnGatewayMemberReplace Get(string name, Input<string> id, IsVpnGatewayMemberReplaceState? state, CustomResourceOptions? opts = null)public static IsVpnGatewayMemberReplace get(String name, Output<String> id, IsVpnGatewayMemberReplaceState state, CustomResourceOptions options)resources: _: type: ibm:IsVpnGatewayMemberReplace get: id: ${id}import {
to = ibm_is_vpn_gateway_member_replace.example
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.
- Health
State string - (String) The health state of the VPN gateway member.
- Is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - Lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - Private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- Public
Ip stringAddress - (String) The public IP address of the member.
- Role string
- (String) The high availability role of the member, for example
activeorstandby. - Subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - Timeouts
Is
Vpn Gateway Member Replace Timeouts - Vpn
Gateway stringId - The unique identifier of the VPN gateway.
- Vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- Health
State string - (String) The health state of the VPN gateway member.
- Is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - Lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - Private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- Public
Ip stringAddress - (String) The public IP address of the member.
- Role string
- (String) The high availability role of the member, for example
activeorstandby. - Subnet
Is
Vpn Gateway Member Replace Subnet Args - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - Timeouts
Is
Vpn Gateway Member Replace Timeouts Args - Vpn
Gateway stringId - The unique identifier of the VPN gateway.
- Vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- health_
state string - (String) The health state of the VPN gateway member.
- is_
vpn_ stringgateway_ member_ replace_ id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - lifecycle_
state string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private_
ip_ stringaddress - (String) The private IP address of the member in the new subnet.
- public_
ip_ stringaddress - (String) The public IP address of the member.
- role string
- (String) The high availability role of the member, for example
activeorstandby. - subnet object
- The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - timeouts object
- vpn_
gateway_ stringid - The unique identifier of the VPN gateway.
- vpn_
gateway_ stringmember_ id - The unique identifier of the VPN gateway member to be replaced.
- health
State String - (String) The health state of the VPN gateway member.
- is
Vpn StringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - lifecycle
State String - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip StringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip StringAddress - (String) The public IP address of the member.
- role String
- (String) The high availability role of the member, for example
activeorstandby. - subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - timeouts
Is
Vpn Gateway Member Replace Timeouts - vpn
Gateway StringId - The unique identifier of the VPN gateway.
- vpn
Gateway StringMember Id - The unique identifier of the VPN gateway member to be replaced.
- health
State string - (String) The health state of the VPN gateway member.
- is
Vpn stringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - lifecycle
State string - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip stringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip stringAddress - (String) The public IP address of the member.
- role string
- (String) The high availability role of the member, for example
activeorstandby. - subnet
Is
Vpn Gateway Member Replace Subnet - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - timeouts
Is
Vpn Gateway Member Replace Timeouts - vpn
Gateway stringId - The unique identifier of the VPN gateway.
- vpn
Gateway stringMember Id - The unique identifier of the VPN gateway member to be replaced.
- health_
state str - (String) The health state of the VPN gateway member.
- is_
vpn_ strgateway_ member_ replace_ id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - lifecycle_
state str - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private_
ip_ straddress - (String) The private IP address of the member in the new subnet.
- public_
ip_ straddress - (String) The public IP address of the member.
- role str
- (String) The high availability role of the member, for example
activeorstandby. - subnet
Is
Vpn Gateway Member Replace Subnet Args - The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - timeouts
Is
Vpn Gateway Member Replace Timeouts Args - vpn_
gateway_ strid - The unique identifier of the VPN gateway.
- vpn_
gateway_ strmember_ id - The unique identifier of the VPN gateway member to be replaced.
- health
State String - (String) The health state of the VPN gateway member.
- is
Vpn StringGateway Member Replace Id - (String) The ID of this resource, in the format
vpn_gateway_id/vpn_gateway_member_id. The member ID part is the ID returned by the replace call. - lifecycle
State String - (String) The lifecycle state of the VPN gateway member. It is
stableonce the replace completes. - private
Ip StringAddress - (String) The private IP address of the member in the new subnet.
- public
Ip StringAddress - (String) The public IP address of the member.
- role String
- (String) The high availability role of the member, for example
activeorstandby. - subnet Property Map
- The subnet to move the member to. A reserved IP is allocated from this subnet. Specify exactly one of
id,crnorhref; the other two are filled in after create. - timeouts Property Map
- vpn
Gateway StringId - The unique identifier of the VPN gateway.
- vpn
Gateway StringMember Id - The unique identifier of the VPN gateway member to be replaced.
Supporting Types
IsVpnGatewayMemberReplaceSubnet, IsVpnGatewayMemberReplaceSubnetArgs
IsVpnGatewayMemberReplaceTimeouts, IsVpnGatewayMemberReplaceTimeoutsArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
published on Thursday, Nov 5, 2026 by ibm-cloud