lightsail_set_ip_address_type: Sets the IP address type for an Amazon Lightsail resource

View source: R/lightsail_operations.R

lightsail_set_ip_address_typeR Documentation

Sets the IP address type for an Amazon Lightsail resource

Description

Sets the IP address type for an Amazon Lightsail resource.

See https://www.paws-r-sdk.com/docs/lightsail_set_ip_address_type/ for full documentation.

Usage

lightsail_set_ip_address_type(
  resourceType,
  resourceName,
  ipAddressType,
  acceptBundleUpdate = NULL
)

Arguments

resourceType

[required] The resource type.

The resource values are Distribution, Instance, and LoadBalancer.

Distribution-related APIs are available only in the N. Virginia (us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1 to create, view, or edit distributions.

resourceName

[required] The name of the resource for which to set the IP address type.

ipAddressType

[required] The IP address type to set for the specified resource.

The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

acceptBundleUpdate

Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.

An instance bundle will change when switching from dual-stack or ipv4, to ipv6. It also changes when switching from ipv6, to dual-stack or ipv4.

You must include this parameter in the command to update the bundle. For example, if you switch from dual-stack to ipv6, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.