ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCbrZoneAddresses
Explore with Pulumi AI
Provides a read-only data source for cbr_zone_addresses. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cbrZoneAddresses = ibm.getCbrZoneAddresses({
zoneAddressesId: "zone_addresses_id",
});
import pulumi
import pulumi_ibm as ibm
cbr_zone_addresses = ibm.get_cbr_zone_addresses(zone_addresses_id="zone_addresses_id")
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.LookupCbrZoneAddresses(ctx, &ibm.LookupCbrZoneAddressesArgs{
ZoneAddressesId: "zone_addresses_id",
}, nil)
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 = Ibm.GetCbrZoneAddresses.Invoke(new()
{
ZoneAddressesId = "zone_addresses_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetCbrZoneAddressesArgs;
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) {
final var cbrZoneAddresses = IbmFunctions.getCbrZoneAddresses(GetCbrZoneAddressesArgs.builder()
.zoneAddressesId("zone_addresses_id")
.build());
}
}
variables:
cbrZoneAddresses:
fn::invoke:
function: ibm:getCbrZoneAddresses
arguments:
zoneAddressesId: zone_addresses_id
Using getCbrZoneAddresses
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCbrZoneAddresses(args: GetCbrZoneAddressesArgs, opts?: InvokeOptions): Promise<GetCbrZoneAddressesResult>
function getCbrZoneAddressesOutput(args: GetCbrZoneAddressesOutputArgs, opts?: InvokeOptions): Output<GetCbrZoneAddressesResult>
def get_cbr_zone_addresses(id: Optional[str] = None,
zone_addresses_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCbrZoneAddressesResult
def get_cbr_zone_addresses_output(id: Optional[pulumi.Input[str]] = None,
zone_addresses_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCbrZoneAddressesResult]
func LookupCbrZoneAddresses(ctx *Context, args *LookupCbrZoneAddressesArgs, opts ...InvokeOption) (*LookupCbrZoneAddressesResult, error)
func LookupCbrZoneAddressesOutput(ctx *Context, args *LookupCbrZoneAddressesOutputArgs, opts ...InvokeOption) LookupCbrZoneAddressesResultOutput
> Note: This function is named LookupCbrZoneAddresses
in the Go SDK.
public static class GetCbrZoneAddresses
{
public static Task<GetCbrZoneAddressesResult> InvokeAsync(GetCbrZoneAddressesArgs args, InvokeOptions? opts = null)
public static Output<GetCbrZoneAddressesResult> Invoke(GetCbrZoneAddressesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCbrZoneAddressesResult> getCbrZoneAddresses(GetCbrZoneAddressesArgs args, InvokeOptions options)
public static Output<GetCbrZoneAddressesResult> getCbrZoneAddresses(GetCbrZoneAddressesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCbrZoneAddresses:getCbrZoneAddresses
arguments:
# arguments dictionary
The following arguments are supported:
- Zone
Addresses stringId - The ID of a zone addresses resource.
- Id string
- The unique identifier of the cbr_zone_addresses.
- Zone
Addresses stringId - The ID of a zone addresses resource.
- Id string
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses StringId - The ID of a zone addresses resource.
- id String
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses stringId - The ID of a zone addresses resource.
- id string
- The unique identifier of the cbr_zone_addresses.
- zone_
addresses_ strid - The ID of a zone addresses resource.
- id str
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses StringId - The ID of a zone addresses resource.
- id String
- The unique identifier of the cbr_zone_addresses.
getCbrZoneAddresses Result
The following output properties are available:
- Addresses
List<Get
Cbr Zone Addresses Address> - (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Id string
- The unique identifier of the cbr_zone_addresses.
- Zone
Addresses stringId - Zone
Id string - (String) The id of the zone in which the addresses are included.
- 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
[]Get
Cbr Zone Addresses Address - (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- Id string
- The unique identifier of the cbr_zone_addresses.
- Zone
Addresses stringId - Zone
Id string - (String) The id of the zone in which the addresses are included.
- 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<Get
Cbr Zone Addresses Address> - (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- id String
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses StringId - zone
Id String - (String) The id of the zone in which the addresses are included.
- 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
Get
Cbr Zone Addresses Address[] - (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- id string
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses stringId - zone
Id string - (String) The id of the zone in which the addresses are included.
- 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[Get
Cbr Zone Addresses Address] - (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- id str
- The unique identifier of the cbr_zone_addresses.
- zone_
addresses_ strid - zone_
id str - (String) The id of the zone in which the addresses are included.
- 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>
- (List) The list of addresses included in the zone.
- Constraints: The maximum length is
1000
items. The minimum length is1
items. Nested scheme for addresses:
- Constraints: The maximum length is
- id String
- The unique identifier of the cbr_zone_addresses.
- zone
Addresses StringId - zone
Id String - (String) The id of the zone in which the addresses are included.
- 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
GetCbrZoneAddressesAddress
- Reves
List<Get
Cbr Zone Addresses Address Ref> - (List) A service reference value. Nested scheme for ref:
- Type string
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- Value string
- (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
- Reves
[]Get
Cbr Zone Addresses Address Ref - (List) A service reference value. Nested scheme for ref:
- Type string
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- Value string
- (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
- reves
List<Get
Cbr Zone Addresses Address Ref> - (List) A service reference value. Nested scheme for ref:
- type String
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- value String
- (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
- reves
Get
Cbr Zone Addresses Address Ref[] - (List) A service reference value. Nested scheme for ref:
- type string
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- value string
- (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
- reves
Sequence[Get
Cbr Zone Addresses Address Ref] - (List) A service reference value. Nested scheme for ref:
- type str
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- value str
- (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
- reves List<Property Map>
- (List) A service reference value. Nested scheme for ref:
- type String
- (String) The type of address.
- Constraints: Allowable values are:
ipAddress
,ipRange
,subnet
,vpc
,serviceRef
.
- Constraints: Allowable values are:
- value String
- (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
GetCbrZoneAddressesAddressRef
- Account
Id string - (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
- (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 - (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 - (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 - (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 - (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
- (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 - (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 - (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 - (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 - (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
- (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 - (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 - (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 - (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 - (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
- (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 - (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 - (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 - (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 - (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 str
- (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 str - (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 str - (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 str - (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 - (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
- (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 - (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 - (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 - (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
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.