ibm.getIsVirtualEndpointGateways
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud infrastructure virtual endpoint gateways as a read-only data source. For more information, about the VPC endpoint gateways, see creating an endpoint gateway.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsVirtualEndpointGateways({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_virtual_endpoint_gateways()
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.GetIsVirtualEndpointGateways(ctx, &ibm.GetIsVirtualEndpointGatewaysArgs{}, 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 example = Ibm.GetIsVirtualEndpointGateways.Invoke();
});
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.GetIsVirtualEndpointGatewaysArgs;
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 example = IbmFunctions.getIsVirtualEndpointGateways();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsVirtualEndpointGateways
arguments: {}
Using getIsVirtualEndpointGateways
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 getIsVirtualEndpointGateways(args: GetIsVirtualEndpointGatewaysArgs, opts?: InvokeOptions): Promise<GetIsVirtualEndpointGatewaysResult>
function getIsVirtualEndpointGatewaysOutput(args: GetIsVirtualEndpointGatewaysOutputArgs, opts?: InvokeOptions): Output<GetIsVirtualEndpointGatewaysResult>
def get_is_virtual_endpoint_gateways(id: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVirtualEndpointGatewaysResult
def get_is_virtual_endpoint_gateways_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVirtualEndpointGatewaysResult]
func GetIsVirtualEndpointGateways(ctx *Context, args *GetIsVirtualEndpointGatewaysArgs, opts ...InvokeOption) (*GetIsVirtualEndpointGatewaysResult, error)
func GetIsVirtualEndpointGatewaysOutput(ctx *Context, args *GetIsVirtualEndpointGatewaysOutputArgs, opts ...InvokeOption) GetIsVirtualEndpointGatewaysResultOutput
> Note: This function is named GetIsVirtualEndpointGateways
in the Go SDK.
public static class GetIsVirtualEndpointGateways
{
public static Task<GetIsVirtualEndpointGatewaysResult> InvokeAsync(GetIsVirtualEndpointGatewaysArgs args, InvokeOptions? opts = null)
public static Output<GetIsVirtualEndpointGatewaysResult> Invoke(GetIsVirtualEndpointGatewaysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsVirtualEndpointGatewaysResult> getIsVirtualEndpointGateways(GetIsVirtualEndpointGatewaysArgs args, InvokeOptions options)
public static Output<GetIsVirtualEndpointGatewaysResult> getIsVirtualEndpointGateways(GetIsVirtualEndpointGatewaysArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVirtualEndpointGateways:getIsVirtualEndpointGateways
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- (String) The endpoint gateway ID.
- Name string
- The name of the endpoint gateway
- Resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- Id string
- (String) The endpoint gateway ID.
- Name string
- The name of the endpoint gateway
- Resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- id String
- (String) The endpoint gateway ID.
- name String
- The name of the endpoint gateway
- resource
Group String - The ID of the Resource group this endpoint gateway belongs to
- id string
- (String) The endpoint gateway ID.
- name string
- The name of the endpoint gateway
- resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- id str
- (String) The endpoint gateway ID.
- name str
- The name of the endpoint gateway
- resource_
group str - The ID of the Resource group this endpoint gateway belongs to
- id String
- (String) The endpoint gateway ID.
- name String
- The name of the endpoint gateway
- resource
Group String - The ID of the Resource group this endpoint gateway belongs to
getIsVirtualEndpointGateways Result
The following output properties are available:
- Id string
- (String) The endpoint gateway ID.
- Virtual
Endpoint List<GetGateways Is Virtual Endpoint Gateways Virtual Endpoint Gateway> - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- Name string
- (String) The endpoint gateway target name.
- Resource
Group string - (String) The unique identifier for the resource group.
- Id string
- (String) The endpoint gateway ID.
- Virtual
Endpoint []GetGateways Is Virtual Endpoint Gateways Virtual Endpoint Gateway - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- Name string
- (String) The endpoint gateway target name.
- Resource
Group string - (String) The unique identifier for the resource group.
- id String
- (String) The endpoint gateway ID.
- virtual
Endpoint List<GetGateways Is Virtual Endpoint Gateways Virtual Endpoint Gateway> - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- name String
- (String) The endpoint gateway target name.
- resource
Group String - (String) The unique identifier for the resource group.
- id string
- (String) The endpoint gateway ID.
- virtual
Endpoint GetGateways Is Virtual Endpoint Gateways Virtual Endpoint Gateway[] - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- name string
- (String) The endpoint gateway target name.
- resource
Group string - (String) The unique identifier for the resource group.
- id str
- (String) The endpoint gateway ID.
- virtual_
endpoint_ Sequence[Getgateways Is Virtual Endpoint Gateways Virtual Endpoint Gateway] - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- name str
- (String) The endpoint gateway target name.
- resource_
group str - (String) The unique identifier for the resource group.
- id String
- (String) The endpoint gateway ID.
- virtual
Endpoint List<Property Map>Gateways - (List) List of Endpoint Gateways in the IBM Cloud infrastructure region.
- name String
- (String) The endpoint gateway target name.
- resource
Group String - (String) The unique identifier for the resource group.
Supporting Types
GetIsVirtualEndpointGatewaysVirtualEndpointGateway
- List<string>
- (List) Access management tags associated for the virtual endpoint gateway.
- Allow
Dns boolResolution Binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- Created
At string - (Timestamp) The created date and time of the endpoint gateway.
- Crn string
- (String) The endpoint gateway target CRN.
- Health
State string - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- Id string
- (String) The endpoint gateway ID.
- Ips
List<Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Ip> - (List) The collection of reserved IPs bound to an endpoint gateway.
- Lifecycle
Reasons List<GetIs Virtual Endpoint Gateways Virtual Endpoint Gateway Lifecycle Reason> - Lifecycle
State string - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - Name string
- The name of the endpoint gateway
- Resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- Resource
Type string - (String) The endpoint gateway target resource type.
- Security
Groups List<string> - (List) - The security groups to use for this endpoint gateway.
- Service
Endpoints List<string> - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- List<string>
- Targets
List<Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Target> - (List) The endpoint gateway target services.
- Vpc string
- (String) The VPC ID.
- []string
- (List) Access management tags associated for the virtual endpoint gateway.
- Allow
Dns boolResolution Binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- Created
At string - (Timestamp) The created date and time of the endpoint gateway.
- Crn string
- (String) The endpoint gateway target CRN.
- Health
State string - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- Id string
- (String) The endpoint gateway ID.
- Ips
[]Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Ip - (List) The collection of reserved IPs bound to an endpoint gateway.
- Lifecycle
Reasons []GetIs Virtual Endpoint Gateways Virtual Endpoint Gateway Lifecycle Reason - Lifecycle
State string - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - Name string
- The name of the endpoint gateway
- Resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- Resource
Type string - (String) The endpoint gateway target resource type.
- Security
Groups []string - (List) - The security groups to use for this endpoint gateway.
- Service
Endpoints []string - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- []string
- Targets
[]Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Target - (List) The endpoint gateway target services.
- Vpc string
- (String) The VPC ID.
- List<String>
- (List) Access management tags associated for the virtual endpoint gateway.
- allow
Dns BooleanResolution Binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- created
At String - (Timestamp) The created date and time of the endpoint gateway.
- crn String
- (String) The endpoint gateway target CRN.
- health
State String - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- id String
- (String) The endpoint gateway ID.
- ips
List<Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Ip> - (List) The collection of reserved IPs bound to an endpoint gateway.
- lifecycle
Reasons List<GetIs Virtual Endpoint Gateways Virtual Endpoint Gateway Lifecycle Reason> - lifecycle
State String - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - name String
- The name of the endpoint gateway
- resource
Group String - The ID of the Resource group this endpoint gateway belongs to
- resource
Type String - (String) The endpoint gateway target resource type.
- security
Groups List<String> - (List) - The security groups to use for this endpoint gateway.
- service
Endpoints List<String> - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- List<String>
- targets
List<Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Target> - (List) The endpoint gateway target services.
- vpc String
- (String) The VPC ID.
- string[]
- (List) Access management tags associated for the virtual endpoint gateway.
- allow
Dns booleanResolution Binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- created
At string - (Timestamp) The created date and time of the endpoint gateway.
- crn string
- (String) The endpoint gateway target CRN.
- health
State string - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- id string
- (String) The endpoint gateway ID.
- ips
Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Ip[] - (List) The collection of reserved IPs bound to an endpoint gateway.
- lifecycle
Reasons GetIs Virtual Endpoint Gateways Virtual Endpoint Gateway Lifecycle Reason[] - lifecycle
State string - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - name string
- The name of the endpoint gateway
- resource
Group string - The ID of the Resource group this endpoint gateway belongs to
- resource
Type string - (String) The endpoint gateway target resource type.
- security
Groups string[] - (List) - The security groups to use for this endpoint gateway.
- service
Endpoints string[] - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- string[]
- targets
Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Target[] - (List) The endpoint gateway target services.
- vpc string
- (String) The VPC ID.
- Sequence[str]
- (List) Access management tags associated for the virtual endpoint gateway.
- allow_
dns_ boolresolution_ binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- created_
at str - (Timestamp) The created date and time of the endpoint gateway.
- crn str
- (String) The endpoint gateway target CRN.
- health_
state str - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- id str
- (String) The endpoint gateway ID.
- ips
Sequence[Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Ip] - (List) The collection of reserved IPs bound to an endpoint gateway.
- lifecycle_
reasons Sequence[GetIs Virtual Endpoint Gateways Virtual Endpoint Gateway Lifecycle Reason] - lifecycle_
state str - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - name str
- The name of the endpoint gateway
- resource_
group str - The ID of the Resource group this endpoint gateway belongs to
- resource_
type str - (String) The endpoint gateway target resource type.
- security_
groups Sequence[str] - (List) - The security groups to use for this endpoint gateway.
- service_
endpoints Sequence[str] - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- Sequence[str]
- targets
Sequence[Get
Is Virtual Endpoint Gateways Virtual Endpoint Gateway Target] - (List) The endpoint gateway target services.
- vpc str
- (String) The VPC ID.
- List<String>
- (List) Access management tags associated for the virtual endpoint gateway.
- allow
Dns BooleanResolution Binding - (Bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
- created
At String - (Timestamp) The created date and time of the endpoint gateway.
- crn String
- (String) The endpoint gateway target CRN.
- health
State String - (String) The endpoint gateway health state. ok: Healthy, degraded: Suffering from compromised performance, capacity, or connectivity, faulted: Completely unreachable, inoperative, or entirely incapacitated, inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may have this state.
- id String
- (String) The endpoint gateway ID.
- ips List<Property Map>
- (List) The collection of reserved IPs bound to an endpoint gateway.
- lifecycle
Reasons List<Property Map> - lifecycle
State String - (String) The endpoint gateway lifecycle state, supported values are
deleted
,deleting
,failed
,pending
,stable
,updating
,waiting
,suspended
. - name String
- The name of the endpoint gateway
- resource
Group String - The ID of the Resource group this endpoint gateway belongs to
- resource
Type String - (String) The endpoint gateway target resource type.
- security
Groups List<String> - (List) - The security groups to use for this endpoint gateway.
- service
Endpoints List<String> - (Array of Strings) The fully qualified domain names for the target service. A fully qualified domain name for the target service
- List<String>
- targets List<Property Map>
- (List) The endpoint gateway target services.
- vpc String
- (String) The VPC ID.
GetIsVirtualEndpointGatewaysVirtualEndpointGatewayIp
- Id string
- (String) The unique identifier for the reserved IP.
- Name string
- The name of the endpoint gateway
- Resource
Type string - (String) The endpoint gateway IP resource type or the subnet reserved IP.
- Id string
- (String) The unique identifier for the reserved IP.
- Name string
- The name of the endpoint gateway
- Resource
Type string - (String) The endpoint gateway IP resource type or the subnet reserved IP.
- id String
- (String) The unique identifier for the reserved IP.
- name String
- The name of the endpoint gateway
- resource
Type String - (String) The endpoint gateway IP resource type or the subnet reserved IP.
- id string
- (String) The unique identifier for the reserved IP.
- name string
- The name of the endpoint gateway
- resource
Type string - (String) The endpoint gateway IP resource type or the subnet reserved IP.
- id str
- (String) The unique identifier for the reserved IP.
- name str
- The name of the endpoint gateway
- resource_
type str - (String) The endpoint gateway IP resource type or the subnet reserved IP.
- id String
- (String) The unique identifier for the reserved IP.
- name String
- The name of the endpoint gateway
- resource
Type String - (String) The endpoint gateway IP resource type or the subnet reserved IP.
GetIsVirtualEndpointGatewaysVirtualEndpointGatewayLifecycleReason
GetIsVirtualEndpointGatewaysVirtualEndpointGatewayTarget
- Crn string
- (String) The endpoint gateway target CRN.
- Name string
- The name of the endpoint gateway
- Resource
Type string - (String) The endpoint gateway target resource type.
- Crn string
- (String) The endpoint gateway target CRN.
- Name string
- The name of the endpoint gateway
- Resource
Type string - (String) The endpoint gateway target resource type.
- crn String
- (String) The endpoint gateway target CRN.
- name String
- The name of the endpoint gateway
- resource
Type String - (String) The endpoint gateway target resource type.
- crn string
- (String) The endpoint gateway target CRN.
- name string
- The name of the endpoint gateway
- resource
Type string - (String) The endpoint gateway target resource type.
- crn str
- (String) The endpoint gateway target CRN.
- name str
- The name of the endpoint gateway
- resource_
type str - (String) The endpoint gateway target resource type.
- crn String
- (String) The endpoint gateway target CRN.
- name String
- The name of the endpoint gateway
- resource
Type String - (String) The endpoint gateway target resource type.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.