1. Packages
  2. Ibm Provider
  3. API Docs
  4. CbrZoneAddresses
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CbrZoneAddresses

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    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:

    1. Create or find your ibmcloud_api_key and iaas_classic_api_key here.
    • Select My IBM Cloud API Keys option from view dropdown for ibmcloud_api_key
    • Select Classic Infrastructure API Keys option from view dropdown for iaas_classic_api_key
    1. For iaas_classic_username
    • Go to Users
    • Click on user.
    • Find user name in the VPN password section under User 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<CbrZoneAddressesAddress>
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    ZoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    CbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    Timeouts CbrZoneAddressesTimeouts
    TransactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    XCorrelationId 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 []CbrZoneAddressesAddressArgs
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    ZoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    CbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    Timeouts CbrZoneAddressesTimeoutsArgs
    TransactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    XCorrelationId 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<CbrZoneAddressesAddress>
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    zoneId String
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    cbrZoneAddressesId String
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeouts
    transactionId String
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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 CbrZoneAddressesAddress[]
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    zoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    cbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeouts
    transactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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 Sequence[CbrZoneAddressesAddressArgs]
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    zone_id str
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    cbr_zone_addresses_id str
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeoutsArgs
    transaction_id str
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    x_correlation_id str
    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 is 1 items. Nested scheme for addresses:
    zoneId String
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    cbrZoneAddressesId String
    The unique identifier of the cbr_zone_addresses.
    timeouts Property Map
    transactionId String
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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.

    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.
    The following state arguments are supported:
    Addresses List<CbrZoneAddressesAddress>
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    CbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    Timeouts CbrZoneAddressesTimeouts
    TransactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    XCorrelationId 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.
    ZoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    Addresses []CbrZoneAddressesAddressArgs
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    CbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    Timeouts CbrZoneAddressesTimeoutsArgs
    TransactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    XCorrelationId 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.
    ZoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    addresses List<CbrZoneAddressesAddress>
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    cbrZoneAddressesId String
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeouts
    transactionId String
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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.
    zoneId String
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    addresses CbrZoneAddressesAddress[]
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    cbrZoneAddressesId string
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeouts
    transactionId string
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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.
    zoneId string
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    addresses Sequence[CbrZoneAddressesAddressArgs]
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    cbr_zone_addresses_id str
    The unique identifier of the cbr_zone_addresses.
    timeouts CbrZoneAddressesTimeoutsArgs
    transaction_id str
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    x_correlation_id str
    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 is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.
    addresses List<Property Map>
    The list of addresses to include in the zone.

    • Constraints: The maximum length is 1000 items. The minimum length is 1 items. Nested scheme for addresses:
    cbrZoneAddressesId String
    The unique identifier of the cbr_zone_addresses.
    timeouts Property Map
    transactionId String
    The Transaction-Id header behaves as the X-Correlation-Id header. It is supported for backward compatibility with other IBM platform services that support the Transaction-Id header only. If both X-Correlation-Id and Transaction-Id are provided, X-Correlation-Id has the precedence over Transaction-Id.
    xCorrelationId 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.
    zoneId String
    The id of the zone in which to include the addresses.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-fA-F0-9]{32}$/.

    Supporting Types

    CbrZoneAddressesAddress, CbrZoneAddressesAddressArgs

    Type string
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    Ref CbrZoneAddressesAddressRef
    A service reference value. Nested scheme for ref:
    Value string
    The IP address.

    • Constraints: The maximum length is 45 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.
    Type string
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    Ref CbrZoneAddressesAddressRef
    A service reference value. Nested scheme for ref:
    Value string
    The IP address.

    • Constraints: The maximum length is 45 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.
    type String
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    ref CbrZoneAddressesAddressRef
    A service reference value. Nested scheme for ref:
    value String
    The IP address.

    • Constraints: The maximum length is 45 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.
    type string
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    ref CbrZoneAddressesAddressRef
    A service reference value. Nested scheme for ref:
    value string
    The IP address.

    • Constraints: The maximum length is 45 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.
    type str
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    ref CbrZoneAddressesAddressRef
    A service reference value. Nested scheme for ref:
    value str
    The IP address.

    • Constraints: The maximum length is 45 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.
    type String
    The type of address.

    • Constraints: Allowable values are: ipAddress, ipRange, subnet, vpc, serviceRef.
    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 is 2 characters. The value must match regular expression /^[a-zA-Z0-9:.]+$/.

    CbrZoneAddressesAddressRef, CbrZoneAddressesAddressRefArgs

    AccountId string
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    Location string
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    ServiceInstance string
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    ServiceName string
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    ServiceType string
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.
    AccountId string
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    Location string
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    ServiceInstance string
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    ServiceName string
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    ServiceType string
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.
    accountId String
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    location String
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceInstance String
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    serviceName String
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceType String
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.
    accountId string
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    location string
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceInstance string
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    serviceName string
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceType string
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.
    account_id str
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    location str
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    service_instance str
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    service_name str
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    service_type str
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.
    accountId String
    The id of the account owning the service.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\-]+$/.
    location String
    The location.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceInstance String
    The service instance.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-\/]+$/.
    serviceName String
    The service name.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z\-]+$/.
    serviceType String
    The service type.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[0-9a-z_]+$/.

    CbrZoneAddressesTimeouts, CbrZoneAddressesTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud