ibm.getIsEndpointGatewayTargets
Explore with Pulumi AI
Retrieve an information of an endpoint gateway targets on IBM Cloud as a read-only data source. For more information, about VPC endpoint gateway target, 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.getIsEndpointGatewayTargets({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_endpoint_gateway_targets()
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.GetIsEndpointGatewayTargets(ctx, &ibm.GetIsEndpointGatewayTargetsArgs{}, 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.GetIsEndpointGatewayTargets.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.GetIsEndpointGatewayTargetsArgs;
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.getIsEndpointGatewayTargets();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsEndpointGatewayTargets
arguments: {}
Using getIsEndpointGatewayTargets
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 getIsEndpointGatewayTargets(args: GetIsEndpointGatewayTargetsArgs, opts?: InvokeOptions): Promise<GetIsEndpointGatewayTargetsResult>
function getIsEndpointGatewayTargetsOutput(args: GetIsEndpointGatewayTargetsOutputArgs, opts?: InvokeOptions): Output<GetIsEndpointGatewayTargetsResult>
def get_is_endpoint_gateway_targets(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsEndpointGatewayTargetsResult
def get_is_endpoint_gateway_targets_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsEndpointGatewayTargetsResult]
func GetIsEndpointGatewayTargets(ctx *Context, args *GetIsEndpointGatewayTargetsArgs, opts ...InvokeOption) (*GetIsEndpointGatewayTargetsResult, error)
func GetIsEndpointGatewayTargetsOutput(ctx *Context, args *GetIsEndpointGatewayTargetsOutputArgs, opts ...InvokeOption) GetIsEndpointGatewayTargetsResultOutput
> Note: This function is named GetIsEndpointGatewayTargets
in the Go SDK.
public static class GetIsEndpointGatewayTargets
{
public static Task<GetIsEndpointGatewayTargetsResult> InvokeAsync(GetIsEndpointGatewayTargetsArgs args, InvokeOptions? opts = null)
public static Output<GetIsEndpointGatewayTargetsResult> Invoke(GetIsEndpointGatewayTargetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsEndpointGatewayTargetsResult> getIsEndpointGatewayTargets(GetIsEndpointGatewayTargetsArgs args, InvokeOptions options)
public static Output<GetIsEndpointGatewayTargetsResult> getIsEndpointGatewayTargets(GetIsEndpointGatewayTargetsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsEndpointGatewayTargets:getIsEndpointGatewayTargets
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIsEndpointGatewayTargets Result
The following output properties are available:
- Id string
- Resources
List<Get
Is Endpoint Gateway Targets Resource> - (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
- Id string
- Resources
[]Get
Is Endpoint Gateway Targets Resource - (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
- id String
- resources
List<Get
Is Endpoint Gateway Targets Resource> - (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
- id string
- resources
Get
Is Endpoint Gateway Targets Resource[] - (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
- id str
- resources
Sequence[Get
Is Endpoint Gateway Targets Resource] - (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
- id String
- resources List<Property Map>
- (List) Collection of resources to be set as endpoint gateway target. Nested
resources
blocks have the following structure.
Supporting Types
GetIsEndpointGatewayTargetsResource
- Crn string
- (String) The CRN for the specific object.
- Endpoint
Type string - (String) The data endpoint type of the offering.
- Full
Qualified List<string>Domain Names - (String) The fully qualified domain names.
- Location string
- Name string
- (String) The display name in the requested language.
- Parent string
- (String) The parent for the specific object.
- Resource
Type string - (String) The resource type of the offering.
- Crn string
- (String) The CRN for the specific object.
- Endpoint
Type string - (String) The data endpoint type of the offering.
- Full
Qualified []stringDomain Names - (String) The fully qualified domain names.
- Location string
- Name string
- (String) The display name in the requested language.
- Parent string
- (String) The parent for the specific object.
- Resource
Type string - (String) The resource type of the offering.
- crn String
- (String) The CRN for the specific object.
- endpoint
Type String - (String) The data endpoint type of the offering.
- full
Qualified List<String>Domain Names - (String) The fully qualified domain names.
- location String
- name String
- (String) The display name in the requested language.
- parent String
- (String) The parent for the specific object.
- resource
Type String - (String) The resource type of the offering.
- crn string
- (String) The CRN for the specific object.
- endpoint
Type string - (String) The data endpoint type of the offering.
- full
Qualified string[]Domain Names - (String) The fully qualified domain names.
- location string
- name string
- (String) The display name in the requested language.
- parent string
- (String) The parent for the specific object.
- resource
Type string - (String) The resource type of the offering.
- crn str
- (String) The CRN for the specific object.
- endpoint_
type str - (String) The data endpoint type of the offering.
- full_
qualified_ Sequence[str]domain_ names - (String) The fully qualified domain names.
- location str
- name str
- (String) The display name in the requested language.
- parent str
- (String) The parent for the specific object.
- resource_
type str - (String) The resource type of the offering.
- crn String
- (String) The CRN for the specific object.
- endpoint
Type String - (String) The data endpoint type of the offering.
- full
Qualified List<String>Domain Names - (String) The fully qualified domain names.
- location String
- name String
- (String) The display name in the requested language.
- parent String
- (String) The parent for the specific object.
- resource
Type String - (String) The resource type of the offering.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.