ibm.CbrZoneAddresses
Explore with Pulumi AI
Provides a resource for cbr_zone_addresses. This allows cbr_zone_addresses to be created, updated and deleted. This resource allows the inclusion of one or more addresses in an existing zone without the need to modify the base cbr_zone resource.
Example Usage
To Create A Zone Addresses Resource
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cbrZoneAddresses = new ibm.CbrZoneAddresses("cbrZoneAddresses", {
zoneId: ibm_cbr_zone.cbr_zone.id,
addresses: [
{
type: "subnet",
value: "169.24.56.0/24",
},
{
type: "ipRange",
value: "169.24.22.0-169.24.22.255",
},
],
});
import pulumi
import pulumi_ibm as ibm
cbr_zone_addresses = ibm.CbrZoneAddresses("cbrZoneAddresses",
zone_id=ibm_cbr_zone["cbr_zone"]["id"],
addresses=[
{
"type": "subnet",
"value": "169.24.56.0/24",
},
{
"type": "ipRange",
"value": "169.24.22.0-169.24.22.255",
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewCbrZoneAddresses(ctx, "cbrZoneAddresses", &ibm.CbrZoneAddressesArgs{
ZoneId: pulumi.Any(ibm_cbr_zone.Cbr_zone.Id),
Addresses: ibm.CbrZoneAddressesAddressArray{
&ibm.CbrZoneAddressesAddressArgs{
Type: pulumi.String("subnet"),
Value: pulumi.String("169.24.56.0/24"),
},
&ibm.CbrZoneAddressesAddressArgs{
Type: pulumi.String("ipRange"),
Value: pulumi.String("169.24.22.0-169.24.22.255"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var cbrZoneAddresses = new Ibm.CbrZoneAddresses("cbrZoneAddresses", new()
{
ZoneId = ibm_cbr_zone.Cbr_zone.Id,
Addresses = new[]
{
new Ibm.Inputs.CbrZoneAddressesAddressArgs
{
Type = "subnet",
Value = "169.24.56.0/24",
},
new Ibm.Inputs.CbrZoneAddressesAddressArgs
{
Type = "ipRange",
Value = "169.24.22.0-169.24.22.255",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CbrZoneAddresses;
import com.pulumi.ibm.CbrZoneAddressesArgs;
import com.pulumi.ibm.inputs.CbrZoneAddressesAddressArgs;
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) {
var cbrZoneAddresses = new CbrZoneAddresses("cbrZoneAddresses", CbrZoneAddressesArgs.builder()
.zoneId(ibm_cbr_zone.cbr_zone().id())
.addresses(
CbrZoneAddressesAddressArgs.builder()
.type("subnet")
.value("169.24.56.0/24")
.build(),
CbrZoneAddressesAddressArgs.builder()
.type("ipRange")
.value("169.24.22.0-169.24.22.255")
.build())
.build());
}
}
resources:
cbrZoneAddresses:
type: ibm:CbrZoneAddresses
properties:
zoneId: ${ibm_cbr_zone.cbr_zone.id}
addresses:
- type: subnet
value: 169.24.56.0/24
- type: ipRange
value: 169.24.22.0-169.24.22.255
Provider Configuration
The IBM Cloud provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:
- Static credentials
- Environment variables
To find which credentials are required for this resource, see the service table here.
Static credentials
You can provide your static credentials by adding the ibmcloud_api_key
, iaas_classic_username
, and iaas_classic_api_key
arguments in the IBM Cloud provider block.
Usage:
provider "ibm" {
ibmcloud_api_key = ""
iaas_classic_username = ""
iaas_classic_api_key = ""
}
Environment variables
You can provide your credentials by exporting the IC_API_KEY
, IAAS_CLASSIC_USERNAME
, and IAAS_CLASSIC_API_KEY
environment variables, representing your IBM Cloud platform API key, IBM Cloud Classic Infrastructure (SoftLayer) user name, and IBM Cloud infrastructure API key, respectively.
provider "ibm" {}
Usage:
export IC_API_KEY="ibmcloud_api_key"
export IAAS_CLASSIC_USERNAME="iaas_classic_username"
export IAAS_CLASSIC_API_KEY="iaas_classic_api_key"
pulumi preview
Note:
- Create or find your
ibmcloud_api_key
andiaas_classic_api_key
here.
- Select
My IBM Cloud API Keys
option from view dropdown foribmcloud_api_key
- Select
Classic Infrastructure API Keys
option from view dropdown foriaas_classic_api_key
- For iaas_classic_username
- Go to Users
- Click on user.
- Find user name in the
VPN password
section underUser Details
tab
For more informaton, see here.
Create CbrZoneAddresses Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CbrZoneAddresses(name: string, args: CbrZoneAddressesArgs, opts?: CustomResourceOptions);
@overload
def CbrZoneAddresses(resource_name: str,
args: CbrZoneAddressesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CbrZoneAddresses(resource_name: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[CbrZoneAddressesAddressArgs]] = None,
zone_id: Optional[str] = None,
cbr_zone_addresses_id: Optional[str] = None,
timeouts: Optional[CbrZoneAddressesTimeoutsArgs] = None,
transaction_id: Optional[str] = None,
x_correlation_id: Optional[str] = None)
func NewCbrZoneAddresses(ctx *Context, name string, args CbrZoneAddressesArgs, opts ...ResourceOption) (*CbrZoneAddresses, error)
public CbrZoneAddresses(string name, CbrZoneAddressesArgs args, CustomResourceOptions? opts = null)
public CbrZoneAddresses(String name, CbrZoneAddressesArgs args)
public CbrZoneAddresses(String name, CbrZoneAddressesArgs args, CustomResourceOptions options)
type: ibm:CbrZoneAddresses
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 CbrZoneAddressesArgs
- 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 CbrZoneAddressesArgs
- 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 CbrZoneAddressesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CbrZoneAddressesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CbrZoneAddressesArgs
- 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 cbrZoneAddressesResource = new Ibm.CbrZoneAddresses("cbrZoneAddressesResource", new()
{
Addresses = new[]
{
new Ibm.Inputs.CbrZoneAddressesAddressArgs
{
Type = "string",
Ref = new Ibm.Inputs.CbrZoneAddressesAddressRefArgs
{
AccountId = "string",
Location = "string",
ServiceInstance = "string",
ServiceName = "string",
ServiceType = "string",
},
Value = "string",
},
},
ZoneId = "string",
CbrZoneAddressesId = "string",
Timeouts = new Ibm.Inputs.CbrZoneAddressesTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TransactionId = "string",
XCorrelationId = "string",
});
example, err := ibm.NewCbrZoneAddresses(ctx, "cbrZoneAddressesResource", &ibm.CbrZoneAddressesArgs{
Addresses: ibm.CbrZoneAddressesAddressArray{
&ibm.CbrZoneAddressesAddressArgs{
Type: pulumi.String("string"),
Ref: &ibm.CbrZoneAddressesAddressRefArgs{
AccountId: pulumi.String("string"),
Location: pulumi.String("string"),
ServiceInstance: pulumi.String("string"),
ServiceName: pulumi.String("string"),
ServiceType: pulumi.String("string"),
},
Value: pulumi.String("string"),
},
},
ZoneId: pulumi.String("string"),
CbrZoneAddressesId: pulumi.String("string"),
Timeouts: &ibm.CbrZoneAddressesTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TransactionId: pulumi.String("string"),
XCorrelationId: pulumi.String("string"),
})
var cbrZoneAddressesResource = new CbrZoneAddresses("cbrZoneAddressesResource", CbrZoneAddressesArgs.builder()
.addresses(CbrZoneAddressesAddressArgs.builder()
.type("string")
.ref(CbrZoneAddressesAddressRefArgs.builder()
.accountId("string")
.location("string")
.serviceInstance("string")
.serviceName("string")
.serviceType("string")
.build())
.value("string")
.build())
.zoneId("string")
.cbrZoneAddressesId("string")
.timeouts(CbrZoneAddressesTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.transactionId("string")
.xCorrelationId("string")
.build());
cbr_zone_addresses_resource = ibm.CbrZoneAddresses("cbrZoneAddressesResource",
addresses=[{
"type": "string",
"ref": {
"account_id": "string",
"location": "string",
"service_instance": "string",
"service_name": "string",
"service_type": "string",
},
"value": "string",
}],
zone_id="string",
cbr_zone_addresses_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
transaction_id="string",
x_correlation_id="string")
const cbrZoneAddressesResource = new ibm.CbrZoneAddresses("cbrZoneAddressesResource", {
addresses: [{
type: "string",
ref: {
accountId: "string",
location: "string",
serviceInstance: "string",
serviceName: "string",
serviceType: "string",
},
value: "string",
}],
zoneId: "string",
cbrZoneAddressesId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
transactionId: "string",
xCorrelationId: "string",
});
type: ibm:CbrZoneAddresses
properties:
addresses:
- ref:
accountId: string
location: string
serviceInstance: string
serviceName: string
serviceType: string
type: string
value: string
cbrZoneAddressesId: string
timeouts:
create: string
delete: string
update: string
transactionId: string
xCorrelationId: string
zoneId: string
CbrZoneAddresses 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 CbrZoneAddresses resource accepts the following input properties:
- Addresses
List<Cbr
Zone Addresses Address> - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- Cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- Timeouts
Cbr
Zone Addresses Timeouts - Transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - XCorrelation
Id string - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- Addresses
[]Cbr
Zone Addresses Address Args - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- Cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- Timeouts
Cbr
Zone Addresses Timeouts Args - Transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - XCorrelation
Id string - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- addresses
List<Cbr
Zone Addresses Address> - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- zone
Id String - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- cbr
Zone StringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts - transaction
Id String - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation StringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- addresses
Cbr
Zone Addresses Address[] - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts - transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation stringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- addresses
Sequence[Cbr
Zone Addresses Address Args] - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- zone_
id str - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- cbr_
zone_ straddresses_ id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts Args - transaction_
id str - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x_
correlation_ strid - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- addresses List<Property Map>
- The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- zone
Id String - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- cbr
Zone StringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts Property Map
- transaction
Id String - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation StringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
Outputs
All input properties are implicitly available as output properties. Additionally, the CbrZoneAddresses resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CbrZoneAddresses Resource
Get an existing CbrZoneAddresses 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?: CbrZoneAddressesState, opts?: CustomResourceOptions): CbrZoneAddresses
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[CbrZoneAddressesAddressArgs]] = None,
cbr_zone_addresses_id: Optional[str] = None,
timeouts: Optional[CbrZoneAddressesTimeoutsArgs] = None,
transaction_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
zone_id: Optional[str] = None) -> CbrZoneAddresses
func GetCbrZoneAddresses(ctx *Context, name string, id IDInput, state *CbrZoneAddressesState, opts ...ResourceOption) (*CbrZoneAddresses, error)
public static CbrZoneAddresses Get(string name, Input<string> id, CbrZoneAddressesState? state, CustomResourceOptions? opts = null)
public static CbrZoneAddresses get(String name, Output<String> id, CbrZoneAddressesState state, CustomResourceOptions options)
resources: _: type: ibm:CbrZoneAddresses 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.
- Addresses
List<Cbr
Zone Addresses Address> - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- Timeouts
Cbr
Zone Addresses Timeouts - Transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - XCorrelation
Id string - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- Zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- Addresses
[]Cbr
Zone Addresses Address Args - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- Timeouts
Cbr
Zone Addresses Timeouts Args - Transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - XCorrelation
Id string - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- Zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- addresses
List<Cbr
Zone Addresses Address> - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- cbr
Zone StringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts - transaction
Id String - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation StringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- zone
Id String - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- addresses
Cbr
Zone Addresses Address[] - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- cbr
Zone stringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts - transaction
Id string - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation stringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- zone
Id string - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- addresses
Sequence[Cbr
Zone Addresses Address Args] - The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- cbr_
zone_ straddresses_ id - The unique identifier of the cbr_zone_addresses.
- timeouts
Cbr
Zone Addresses Timeouts Args - transaction_
id str - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x_
correlation_ strid - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- zone_
id str - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
- addresses List<Property Map>
- The list of addresses to include in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- cbr
Zone StringAddresses Id - The unique identifier of the cbr_zone_addresses.
- timeouts Property Map
- transaction
Id String - The
Transaction-Id
header behaves as theX-Correlation-Id
header. It is supported for backward compatibility with other IBM platform services that support theTransaction-Id
header only. If bothX-Correlation-Id
andTransaction-Id
are provided,X-Correlation-Id
has the precedence overTransaction-Id
. - x
Correlation StringId - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID.
- zone
Id String - The id of the zone in which to include the addresses.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-fA-F0-9]{32}$/
.
- Constraints: The maximum length is
Supporting Types
CbrZoneAddressesAddress, CbrZoneAddressesAddressArgs
- Type string
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- Ref
Cbr
Zone Addresses Address Ref - A service reference value. Nested scheme for ref:
- Value string
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
- Type string
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- Ref
Cbr
Zone Addresses Address Ref - A service reference value. Nested scheme for ref:
- Value string
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
- type String
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- ref
Cbr
Zone Addresses Address Ref - A service reference value. Nested scheme for ref:
- value String
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
- type string
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- ref
Cbr
Zone Addresses Address Ref - A service reference value. Nested scheme for ref:
- value string
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
- type str
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- ref
Cbr
Zone Addresses Address Ref - A service reference value. Nested scheme for ref:
- value str
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
- type String
- The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- ref Property Map
- A service reference value. Nested scheme for ref:
- value String
- The IP address.
- Constraints: The maximum length is
45
characters. The minimum length is2
characters. The value must match regular expression/^[a-zA-Z0-9:.]+$/
.
- Constraints: The maximum length is
CbrZoneAddressesAddressRef, CbrZoneAddressesAddressRefArgs
- Account
Id string - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- Location string
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- Service
Instance string - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- Service
Name string - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- Service
Type string - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
- Account
Id string - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- Location string
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- Service
Instance string - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- Service
Name string - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- Service
Type string - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
- account
Id String - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- location String
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Instance String - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- service
Name String - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Type String - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
- account
Id string - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- location string
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Instance string - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- service
Name string - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Type string - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
- account_
id str - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- location str
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service_
instance str - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- service_
name str - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service_
type str - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
- account
Id String - The id of the account owning the service.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\-]+$/
.
- Constraints: The maximum length is
- location String
- The location.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Instance String - The service instance.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-\/]+$/
.
- Constraints: The maximum length is
- service
Name String - The service name.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z\-]+$/
.
- Constraints: The maximum length is
- service
Type String - The service type.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[0-9a-z_]+$/
.
- Constraints: The maximum length is
CbrZoneAddressesTimeouts, CbrZoneAddressesTimeoutsArgs
Import
You can import the ibm_cbr_zone_addresses
resource by using id
. The globally unique ID of the zone addresses.
Syntax
$ pulumi import ibm:index/cbrZoneAddresses:CbrZoneAddresses cbr_zone_addresses <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.