Class InstancePolicyAllowedIPPolicyDataAttributes
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyAllowedIPPolicyDataAttributes
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstancePolicyAllowedIPPolicyDataAttributes extends com.ibm.cloud.sdk.core.service.model.GenericModel
Attributes of an `allowedIP` instance policy. Must be provided if the `enabled` field is `true`. Cannot be provided if the `enabled` field is `false`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstancePolicyAllowedIPPolicyDataAttributes.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
allowedIp()
Gets the allowedIp.InstancePolicyAllowedIPPolicyDataAttributes.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public InstancePolicyAllowedIPPolicyDataAttributes.Builder newBuilder()
New builder.- Returns:
- a InstancePolicyAllowedIPPolicyDataAttributes builder
-
allowedIp
public List<String> allowedIp()
Gets the allowedIp. A string array of IPv4 or IPv6 CIDR notated subnets that are authorized to interact with the instance. If both `allowedNetwork` and `allowedIP` policies are set, only traffic aligning with both the `allowed_network` allowed network policy attribute and the `allowed_ip` allowed IP policy attribute will be allowed. IPv4 and iIP6 addresses are accepted for public endpoints. Only the IPv4 private network gateway addresses from the array will be authorized to access your instance via private endpoint. **Important:** Once set, accessing your instance may require additional steps. For more information, see [Accessing an instance via public endpoint](/docs/key-protect?topic=key-protect-manage-allowed-ip#access-allowed-ip-public-endpoint) and [Accessing an instance via private endpoint](/docs/key-protect?topic=key-protect-manage-allowed-ip#access-allowed-ip-private-endpoint) for more details. **Note:** An allowed IP policy does not affect requests from other IBM Cloud services.- Returns:
- the allowedIp
-
-