ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getIsPrivatePathServiceGatewayEndpointGatewayBindings
Explore with Pulumi AI
Provides a read-only data source for PrivatePathServiceGatewayEndpointGatewayBindingCollection. 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 exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
vpc: exampleIsVpc.isVpcId,
zone: "us-south-2",
ipv4CidrBlock: "10.240.0.0/24",
});
const exampleIsLb = new ibm.IsLb("exampleIsLb", {subnets: [exampleIsSubnet.isSubnetId]});
const exampleIsPrivatePathServiceGateway = new ibm.IsPrivatePathServiceGateway("exampleIsPrivatePathServiceGateway", {
defaultAccessPolicy: "review",
loadBalancer: exampleIsLb.isLbId,
zonalAffinity: true,
serviceEndpoints: ["example-fqdn"],
});
const exampleIsPrivatePathServiceGatewayEndpointGatewayBindings = ibm.getIsPrivatePathServiceGatewayEndpointGatewayBindingsOutput({
status: "pending",
privatePathServiceGateway: exampleIsPrivatePathServiceGateway.isPrivatePathServiceGatewayId,
});
import pulumi
import pulumi_ibm as ibm
example_is_vpc = ibm.IsVpc("exampleIsVpc")
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
vpc=example_is_vpc.is_vpc_id,
zone="us-south-2",
ipv4_cidr_block="10.240.0.0/24")
example_is_lb = ibm.IsLb("exampleIsLb", subnets=[example_is_subnet.is_subnet_id])
example_is_private_path_service_gateway = ibm.IsPrivatePathServiceGateway("exampleIsPrivatePathServiceGateway",
default_access_policy="review",
load_balancer=example_is_lb.is_lb_id,
zonal_affinity=True,
service_endpoints=["example-fqdn"])
example_is_private_path_service_gateway_endpoint_gateway_bindings = ibm.get_is_private_path_service_gateway_endpoint_gateway_bindings_output(status="pending",
private_path_service_gateway=example_is_private_path_service_gateway.is_private_path_service_gateway_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 {
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-2"),
Ipv4CidrBlock: pulumi.String("10.240.0.0/24"),
})
if err != nil {
return err
}
exampleIsLb, err := ibm.NewIsLb(ctx, "exampleIsLb", &ibm.IsLbArgs{
Subnets: pulumi.StringArray{
exampleIsSubnet.IsSubnetId,
},
})
if err != nil {
return err
}
exampleIsPrivatePathServiceGateway, err := ibm.NewIsPrivatePathServiceGateway(ctx, "exampleIsPrivatePathServiceGateway", &ibm.IsPrivatePathServiceGatewayArgs{
DefaultAccessPolicy: pulumi.String("review"),
LoadBalancer: exampleIsLb.IsLbId,
ZonalAffinity: pulumi.Bool(true),
ServiceEndpoints: pulumi.StringArray{
pulumi.String("example-fqdn"),
},
})
if err != nil {
return err
}
_ = ibm.GetIsPrivatePathServiceGatewayEndpointGatewayBindingsOutput(ctx, ibm.GetIsPrivatePathServiceGatewayEndpointGatewayBindingsOutputArgs{
Status: pulumi.String("pending"),
PrivatePathServiceGateway: exampleIsPrivatePathServiceGateway.IsPrivatePathServiceGatewayId,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
{
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-2",
Ipv4CidrBlock = "10.240.0.0/24",
});
var exampleIsLb = new Ibm.IsLb("exampleIsLb", new()
{
Subnets = new[]
{
exampleIsSubnet.IsSubnetId,
},
});
var exampleIsPrivatePathServiceGateway = new Ibm.IsPrivatePathServiceGateway("exampleIsPrivatePathServiceGateway", new()
{
DefaultAccessPolicy = "review",
LoadBalancer = exampleIsLb.IsLbId,
ZonalAffinity = true,
ServiceEndpoints = new[]
{
"example-fqdn",
},
});
var exampleIsPrivatePathServiceGatewayEndpointGatewayBindings = Ibm.GetIsPrivatePathServiceGatewayEndpointGatewayBindings.Invoke(new()
{
Status = "pending",
PrivatePathServiceGateway = exampleIsPrivatePathServiceGateway.IsPrivatePathServiceGatewayId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsLb;
import com.pulumi.ibm.IsLbArgs;
import com.pulumi.ibm.IsPrivatePathServiceGateway;
import com.pulumi.ibm.IsPrivatePathServiceGatewayArgs;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs;
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 exampleIsVpc = new IsVpc("exampleIsVpc");
var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-2")
.ipv4CidrBlock("10.240.0.0/24")
.build());
var exampleIsLb = new IsLb("exampleIsLb", IsLbArgs.builder()
.subnets(exampleIsSubnet.isSubnetId())
.build());
var exampleIsPrivatePathServiceGateway = new IsPrivatePathServiceGateway("exampleIsPrivatePathServiceGateway", IsPrivatePathServiceGatewayArgs.builder()
.defaultAccessPolicy("review")
.loadBalancer(exampleIsLb.isLbId())
.zonalAffinity(true)
.serviceEndpoints("example-fqdn")
.build());
final var exampleIsPrivatePathServiceGatewayEndpointGatewayBindings = IbmFunctions.getIsPrivatePathServiceGatewayEndpointGatewayBindings(GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs.builder()
.status("pending")
.privatePathServiceGateway(exampleIsPrivatePathServiceGateway.isPrivatePathServiceGatewayId())
.build());
}
}
resources:
exampleIsVpc:
type: ibm:IsVpc
exampleIsSubnet:
type: ibm:IsSubnet
properties:
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-2
ipv4CidrBlock: 10.240.0.0/24
exampleIsLb:
type: ibm:IsLb
properties:
subnets:
- ${exampleIsSubnet.isSubnetId}
exampleIsPrivatePathServiceGateway:
type: ibm:IsPrivatePathServiceGateway
properties:
defaultAccessPolicy: review
loadBalancer: ${exampleIsLb.isLbId}
zonalAffinity: true
serviceEndpoints:
- example-fqdn
variables:
exampleIsPrivatePathServiceGatewayEndpointGatewayBindings:
fn::invoke:
function: ibm:getIsPrivatePathServiceGatewayEndpointGatewayBindings
arguments:
status: pending
privatePathServiceGateway: ${exampleIsPrivatePathServiceGateway.isPrivatePathServiceGatewayId}
Using getIsPrivatePathServiceGatewayEndpointGatewayBindings
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 getIsPrivatePathServiceGatewayEndpointGatewayBindings(args: GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs, opts?: InvokeOptions): Promise<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult>
function getIsPrivatePathServiceGatewayEndpointGatewayBindingsOutput(args: GetIsPrivatePathServiceGatewayEndpointGatewayBindingsOutputArgs, opts?: InvokeOptions): Output<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult>
def get_is_private_path_service_gateway_endpoint_gateway_bindings(account: Optional[str] = None,
id: Optional[str] = None,
private_path_service_gateway: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult
def get_is_private_path_service_gateway_endpoint_gateway_bindings_output(account: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
private_path_service_gateway: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult]
func GetIsPrivatePathServiceGatewayEndpointGatewayBindings(ctx *Context, args *GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs, opts ...InvokeOption) (*GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult, error)
func GetIsPrivatePathServiceGatewayEndpointGatewayBindingsOutput(ctx *Context, args *GetIsPrivatePathServiceGatewayEndpointGatewayBindingsOutputArgs, opts ...InvokeOption) GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResultOutput
> Note: This function is named GetIsPrivatePathServiceGatewayEndpointGatewayBindings
in the Go SDK.
public static class GetIsPrivatePathServiceGatewayEndpointGatewayBindings
{
public static Task<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult> InvokeAsync(GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs args, InvokeOptions? opts = null)
public static Output<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult> Invoke(GetIsPrivatePathServiceGatewayEndpointGatewayBindingsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult> getIsPrivatePathServiceGatewayEndpointGatewayBindings(GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs args, InvokeOptions options)
public static Output<GetIsPrivatePathServiceGatewayEndpointGatewayBindingsResult> getIsPrivatePathServiceGatewayEndpointGatewayBindings(GetIsPrivatePathServiceGatewayEndpointGatewayBindingsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsPrivatePathServiceGatewayEndpointGatewayBindings:getIsPrivatePathServiceGatewayEndpointGatewayBindings
arguments:
# arguments dictionary
The following arguments are supported:
- Private
Path Service Gateway This property is required. string - The private path service gateway identifier.
- Account string
- ID of the account to filter
- Id string
- (String) The unique identifier for this endpoint gateway binding.
- Status string
- Status of the binding
- Private
Path Service Gateway This property is required. string - The private path service gateway identifier.
- Account string
- ID of the account to filter
- Id string
- (String) The unique identifier for this endpoint gateway binding.
- Status string
- Status of the binding
- private
Path Service Gateway This property is required. String - The private path service gateway identifier.
- account String
- ID of the account to filter
- id String
- (String) The unique identifier for this endpoint gateway binding.
- status String
- Status of the binding
- private
Path Service Gateway This property is required. string - The private path service gateway identifier.
- account string
- ID of the account to filter
- id string
- (String) The unique identifier for this endpoint gateway binding.
- status string
- Status of the binding
- private_
path_ service_ gateway This property is required. str - The private path service gateway identifier.
- account str
- ID of the account to filter
- id str
- (String) The unique identifier for this endpoint gateway binding.
- status str
- Status of the binding
- private
Path Service Gateway This property is required. String - The private path service gateway identifier.
- account String
- ID of the account to filter
- id String
- (String) The unique identifier for this endpoint gateway binding.
- status String
- Status of the binding
getIsPrivatePathServiceGatewayEndpointGatewayBindings Result
The following output properties are available:
- Endpoint
Gateway List<GetBindings Is Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding> - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- Id string
- (String) The unique identifier for this endpoint gateway binding.
- Private
Path stringService Gateway - Account string
- (List) The account that created the endpoint gateway. Nested scheme for account:
- Status string
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- Endpoint
Gateway []GetBindings Is Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- Id string
- (String) The unique identifier for this endpoint gateway binding.
- Private
Path stringService Gateway - Account string
- (List) The account that created the endpoint gateway. Nested scheme for account:
- Status string
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- endpoint
Gateway List<GetBindings Is Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding> - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- id String
- (String) The unique identifier for this endpoint gateway binding.
- private
Path StringService Gateway - account String
- (List) The account that created the endpoint gateway. Nested scheme for account:
- status String
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- endpoint
Gateway GetBindings Is Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding[] - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- id string
- (String) The unique identifier for this endpoint gateway binding.
- private
Path stringService Gateway - account string
- (List) The account that created the endpoint gateway. Nested scheme for account:
- status string
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- endpoint_
gateway_ Sequence[Getbindings Is Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding] - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- id str
- (String) The unique identifier for this endpoint gateway binding.
- private_
path_ strservice_ gateway - account str
- (List) The account that created the endpoint gateway. Nested scheme for account:
- status str
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
- endpoint
Gateway List<Property Map>Bindings - (List) Collection of endpoint gateway bindings. Nested scheme for endpoint_gateway_bindings:
- id String
- (String) The unique identifier for this endpoint gateway binding.
- private
Path StringService Gateway - account String
- (List) The account that created the endpoint gateway. Nested scheme for account:
- status String
- (String) The status of the endpoint gateway binding-
denied
: endpoint gateway binding was denied-expired
: endpoint gateway binding has expired-pending
: endpoint gateway binding is awaiting review-permitted
: endpoint gateway binding was permittedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
Supporting Types
GetIsPrivatePathServiceGatewayEndpointGatewayBindingsEndpointGatewayBinding
- Accounts
This property is required. List<GetIs Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding Account> - ID of the account to filter
- Created
At This property is required. string - (String) The date and time that the endpoint gateway binding was created.
- Expiration
At This property is required. string - (String) The expiration date and time for the endpoint gateway binding.
- Href
This property is required. string - (String) The URL for this endpoint gateway binding.
- Id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- Lifecycle
State This property is required. string - (String) The lifecycle state of the endpoint gateway binding.
- Resource
Type This property is required. string - (String) The resource type.
- Status
This property is required. string - Status of the binding
- Updated
At This property is required. string - (String) The date and time that the endpoint gateway binding was updated.
- Accounts
This property is required. []GetIs Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding Account - ID of the account to filter
- Created
At This property is required. string - (String) The date and time that the endpoint gateway binding was created.
- Expiration
At This property is required. string - (String) The expiration date and time for the endpoint gateway binding.
- Href
This property is required. string - (String) The URL for this endpoint gateway binding.
- Id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- Lifecycle
State This property is required. string - (String) The lifecycle state of the endpoint gateway binding.
- Resource
Type This property is required. string - (String) The resource type.
- Status
This property is required. string - Status of the binding
- Updated
At This property is required. string - (String) The date and time that the endpoint gateway binding was updated.
- accounts
This property is required. List<GetIs Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding Account> - ID of the account to filter
- created
At This property is required. String - (String) The date and time that the endpoint gateway binding was created.
- expiration
At This property is required. String - (String) The expiration date and time for the endpoint gateway binding.
- href
This property is required. String - (String) The URL for this endpoint gateway binding.
- id
This property is required. String - (String) The unique identifier for this endpoint gateway binding.
- lifecycle
State This property is required. String - (String) The lifecycle state of the endpoint gateway binding.
- resource
Type This property is required. String - (String) The resource type.
- status
This property is required. String - Status of the binding
- updated
At This property is required. String - (String) The date and time that the endpoint gateway binding was updated.
- accounts
This property is required. GetIs Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding Account[] - ID of the account to filter
- created
At This property is required. string - (String) The date and time that the endpoint gateway binding was created.
- expiration
At This property is required. string - (String) The expiration date and time for the endpoint gateway binding.
- href
This property is required. string - (String) The URL for this endpoint gateway binding.
- id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- lifecycle
State This property is required. string - (String) The lifecycle state of the endpoint gateway binding.
- resource
Type This property is required. string - (String) The resource type.
- status
This property is required. string - Status of the binding
- updated
At This property is required. string - (String) The date and time that the endpoint gateway binding was updated.
- accounts
This property is required. Sequence[GetIs Private Path Service Gateway Endpoint Gateway Bindings Endpoint Gateway Binding Account] - ID of the account to filter
- created_
at This property is required. str - (String) The date and time that the endpoint gateway binding was created.
- expiration_
at This property is required. str - (String) The expiration date and time for the endpoint gateway binding.
- href
This property is required. str - (String) The URL for this endpoint gateway binding.
- id
This property is required. str - (String) The unique identifier for this endpoint gateway binding.
- lifecycle_
state This property is required. str - (String) The lifecycle state of the endpoint gateway binding.
- resource_
type This property is required. str - (String) The resource type.
- status
This property is required. str - Status of the binding
- updated_
at This property is required. str - (String) The date and time that the endpoint gateway binding was updated.
- accounts
This property is required. List<Property Map> - ID of the account to filter
- created
At This property is required. String - (String) The date and time that the endpoint gateway binding was created.
- expiration
At This property is required. String - (String) The expiration date and time for the endpoint gateway binding.
- href
This property is required. String - (String) The URL for this endpoint gateway binding.
- id
This property is required. String - (String) The unique identifier for this endpoint gateway binding.
- lifecycle
State This property is required. String - (String) The lifecycle state of the endpoint gateway binding.
- resource
Type This property is required. String - (String) The resource type.
- status
This property is required. String - Status of the binding
- updated
At This property is required. String - (String) The date and time that the endpoint gateway binding was updated.
GetIsPrivatePathServiceGatewayEndpointGatewayBindingsEndpointGatewayBindingAccount
- Id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- Resource
Type This property is required. string - (String) The resource type.
- Id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- Resource
Type This property is required. string - (String) The resource type.
- id
This property is required. String - (String) The unique identifier for this endpoint gateway binding.
- resource
Type This property is required. String - (String) The resource type.
- id
This property is required. string - (String) The unique identifier for this endpoint gateway binding.
- resource
Type This property is required. string - (String) The resource type.
- id
This property is required. str - (String) The unique identifier for this endpoint gateway binding.
- resource_
type This property is required. str - (String) The resource type.
- id
This property is required. String - (String) The unique identifier for this endpoint gateway binding.
- resource
Type This property is required. String - (String) The resource type.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.