flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getVpcepPublicServices
Start a Neo task
Explain and create a flexibleengine.getVpcepPublicServices resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get available public VPC endpoint services.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const allServices = flexibleengine.getVpcepPublicServices({});
const dnsService = flexibleengine.getVpcepPublicServices({
serviceName: "dns",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
all_services = flexibleengine.get_vpcep_public_services()
dns_service = flexibleengine.get_vpcep_public_services(service_name="dns")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetVpcepPublicServices(ctx, &flexibleengine.GetVpcepPublicServicesArgs{}, nil)
if err != nil {
return err
}
_, err = flexibleengine.GetVpcepPublicServices(ctx, &flexibleengine.GetVpcepPublicServicesArgs{
ServiceName: pulumi.StringRef("dns"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var allServices = Flexibleengine.GetVpcepPublicServices.Invoke();
var dnsService = Flexibleengine.GetVpcepPublicServices.Invoke(new()
{
ServiceName = "dns",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetVpcepPublicServicesArgs;
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 allServices = FlexibleengineFunctions.getVpcepPublicServices();
final var dnsService = FlexibleengineFunctions.getVpcepPublicServices(GetVpcepPublicServicesArgs.builder()
.serviceName("dns")
.build());
}
}
variables:
allServices:
fn::invoke:
function: flexibleengine:getVpcepPublicServices
arguments: {}
dnsService:
fn::invoke:
function: flexibleengine:getVpcepPublicServices
arguments:
serviceName: dns
Using getVpcepPublicServices
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 getVpcepPublicServices(args: GetVpcepPublicServicesArgs, opts?: InvokeOptions): Promise<GetVpcepPublicServicesResult>
function getVpcepPublicServicesOutput(args: GetVpcepPublicServicesOutputArgs, opts?: InvokeOptions): Output<GetVpcepPublicServicesResult>def get_vpcep_public_services(id: Optional[str] = None,
region: Optional[str] = None,
service_id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcepPublicServicesResult
def get_vpcep_public_services_output(id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
service_id: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcepPublicServicesResult]func GetVpcepPublicServices(ctx *Context, args *GetVpcepPublicServicesArgs, opts ...InvokeOption) (*GetVpcepPublicServicesResult, error)
func GetVpcepPublicServicesOutput(ctx *Context, args *GetVpcepPublicServicesOutputArgs, opts ...InvokeOption) GetVpcepPublicServicesResultOutput> Note: This function is named GetVpcepPublicServices in the Go SDK.
public static class GetVpcepPublicServices
{
public static Task<GetVpcepPublicServicesResult> InvokeAsync(GetVpcepPublicServicesArgs args, InvokeOptions? opts = null)
public static Output<GetVpcepPublicServicesResult> Invoke(GetVpcepPublicServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcepPublicServicesResult> getVpcepPublicServices(GetVpcepPublicServicesArgs args, InvokeOptions options)
public static Output<GetVpcepPublicServicesResult> getVpcepPublicServices(GetVpcepPublicServicesArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getVpcepPublicServices:getVpcepPublicServices
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The unique ID of the public VPC endpoint service.
- Region string
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- Service
Id string - Specifies the unique ID of the public VPC endpoint service.
- Service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- Id string
- The unique ID of the public VPC endpoint service.
- Region string
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- Service
Id string - Specifies the unique ID of the public VPC endpoint service.
- Service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- id String
- The unique ID of the public VPC endpoint service.
- region String
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- service
Id String - Specifies the unique ID of the public VPC endpoint service.
- service
Name String - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- id string
- The unique ID of the public VPC endpoint service.
- region string
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- service
Id string - Specifies the unique ID of the public VPC endpoint service.
- service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- id str
- The unique ID of the public VPC endpoint service.
- region str
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- service_
id str - Specifies the unique ID of the public VPC endpoint service.
- service_
name str - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- id String
- The unique ID of the public VPC endpoint service.
- region String
- The region in which to obtain the public VPC endpoint services. If omitted, the provider-level region will be used.
- service
Id String - Specifies the unique ID of the public VPC endpoint service.
- service
Name String - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
getVpcepPublicServices Result
The following output properties are available:
- Id string
- The unique ID of the public VPC endpoint service.
- Region string
- Services
List<Get
Vpcep Public Services Service> - Indicates the public VPC endpoint services information. Structure is documented below.
- Service
Id string - Service
Name string - The name of the public VPC endpoint service.
- Id string
- The unique ID of the public VPC endpoint service.
- Region string
- Services
[]Get
Vpcep Public Services Service - Indicates the public VPC endpoint services information. Structure is documented below.
- Service
Id string - Service
Name string - The name of the public VPC endpoint service.
- id String
- The unique ID of the public VPC endpoint service.
- region String
- services
List<Get
Vpcep Public Services Service> - Indicates the public VPC endpoint services information. Structure is documented below.
- service
Id String - service
Name String - The name of the public VPC endpoint service.
- id string
- The unique ID of the public VPC endpoint service.
- region string
- services
Get
Vpcep Public Services Service[] - Indicates the public VPC endpoint services information. Structure is documented below.
- service
Id string - service
Name string - The name of the public VPC endpoint service.
- id str
- The unique ID of the public VPC endpoint service.
- region str
- services
Sequence[Get
Vpcep Public Services Service] - Indicates the public VPC endpoint services information. Structure is documented below.
- service_
id str - service_
name str - The name of the public VPC endpoint service.
- id String
- The unique ID of the public VPC endpoint service.
- region String
- services List<Property Map>
- Indicates the public VPC endpoint services information. Structure is documented below.
- service
Id String - service
Name String - The name of the public VPC endpoint service.
Supporting Types
GetVpcepPublicServicesService
- Id string
- The unique ID of the public VPC endpoint service.
- Is
Charge bool - Indicates whether the associated VPC endpoint carries a charge.
- Owner string
- The owner of the VPC endpoint service.
- Service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- Service
Type string - The type of the VPC endpoint service.
- Id string
- The unique ID of the public VPC endpoint service.
- Is
Charge bool - Indicates whether the associated VPC endpoint carries a charge.
- Owner string
- The owner of the VPC endpoint service.
- Service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- Service
Type string - The type of the VPC endpoint service.
- id String
- The unique ID of the public VPC endpoint service.
- is
Charge Boolean - Indicates whether the associated VPC endpoint carries a charge.
- owner String
- The owner of the VPC endpoint service.
- service
Name String - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- service
Type String - The type of the VPC endpoint service.
- id string
- The unique ID of the public VPC endpoint service.
- is
Charge boolean - Indicates whether the associated VPC endpoint carries a charge.
- owner string
- The owner of the VPC endpoint service.
- service
Name string - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- service
Type string - The type of the VPC endpoint service.
- id str
- The unique ID of the public VPC endpoint service.
- is_
charge bool - Indicates whether the associated VPC endpoint carries a charge.
- owner str
- The owner of the VPC endpoint service.
- service_
name str - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- service_
type str - The type of the VPC endpoint service.
- id String
- The unique ID of the public VPC endpoint service.
- is
Charge Boolean - Indicates whether the associated VPC endpoint carries a charge.
- owner String
- The owner of the VPC endpoint service.
- service
Name String - Specifies the name of the public VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
- service
Type String - The type of the VPC endpoint service.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
