Consul v3.13.2 published on Wednesday, Oct 22, 2025 by Pulumi
consul.getConfigEntryV2ExportedServices
Start a Neo task
Explain and create a consul.getConfigEntryV2ExportedServices resource
Using getConfigEntryV2ExportedServices
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 getConfigEntryV2ExportedServices(args: GetConfigEntryV2ExportedServicesArgs, opts?: InvokeOptions): Promise<GetConfigEntryV2ExportedServicesResult>
function getConfigEntryV2ExportedServicesOutput(args: GetConfigEntryV2ExportedServicesOutputArgs, opts?: InvokeOptions): Output<GetConfigEntryV2ExportedServicesResult>def get_config_entry_v2_exported_services(kind: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
partition: Optional[str] = None,
partition_consumers: Optional[Sequence[str]] = None,
peer_consumers: Optional[Sequence[str]] = None,
sameness_group_consumers: Optional[Sequence[str]] = None,
services: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigEntryV2ExportedServicesResult
def get_config_entry_v2_exported_services_output(kind: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
partition_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
peer_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
sameness_group_consumers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigEntryV2ExportedServicesResult]func LookupConfigEntryV2ExportedServices(ctx *Context, args *LookupConfigEntryV2ExportedServicesArgs, opts ...InvokeOption) (*LookupConfigEntryV2ExportedServicesResult, error)
func LookupConfigEntryV2ExportedServicesOutput(ctx *Context, args *LookupConfigEntryV2ExportedServicesOutputArgs, opts ...InvokeOption) LookupConfigEntryV2ExportedServicesResultOutput> Note: This function is named LookupConfigEntryV2ExportedServices in the Go SDK.
public static class GetConfigEntryV2ExportedServices
{
public static Task<GetConfigEntryV2ExportedServicesResult> InvokeAsync(GetConfigEntryV2ExportedServicesArgs args, InvokeOptions? opts = null)
public static Output<GetConfigEntryV2ExportedServicesResult> Invoke(GetConfigEntryV2ExportedServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigEntryV2ExportedServicesResult> getConfigEntryV2ExportedServices(GetConfigEntryV2ExportedServicesArgs args, InvokeOptions options)
public static Output<GetConfigEntryV2ExportedServicesResult> getConfigEntryV2ExportedServices(GetConfigEntryV2ExportedServicesArgs args, InvokeOptions options)
fn::invoke:
function: consul:index/getConfigEntryV2ExportedServices:getConfigEntryV2ExportedServices
arguments:
# arguments dictionaryThe following arguments are supported:
- Kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- Name string
- The name of the config entry to read.
- Namespace string
- The namespace the config entry is associated with.
- Partition string
- The partition the config entry is associated with.
- Partition
Consumers List<string> - The exported service partition consumers.
- Peer
Consumers List<string> - The exported service peer consumers.
- Sameness
Group List<string>Consumers - The exported service sameness group consumers.
- Services List<string>
- The exported services.
- Kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- Name string
- The name of the config entry to read.
- Namespace string
- The namespace the config entry is associated with.
- Partition string
- The partition the config entry is associated with.
- Partition
Consumers []string - The exported service partition consumers.
- Peer
Consumers []string - The exported service peer consumers.
- Sameness
Group []stringConsumers - The exported service sameness group consumers.
- Services []string
- The exported services.
- kind String
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name String
- The name of the config entry to read.
- namespace String
- The namespace the config entry is associated with.
- partition String
- The partition the config entry is associated with.
- partition
Consumers List<String> - The exported service partition consumers.
- peer
Consumers List<String> - The exported service peer consumers.
- sameness
Group List<String>Consumers - The exported service sameness group consumers.
- services List<String>
- The exported services.
- kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name string
- The name of the config entry to read.
- namespace string
- The namespace the config entry is associated with.
- partition string
- The partition the config entry is associated with.
- partition
Consumers string[] - The exported service partition consumers.
- peer
Consumers string[] - The exported service peer consumers.
- sameness
Group string[]Consumers - The exported service sameness group consumers.
- services string[]
- The exported services.
- kind str
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name str
- The name of the config entry to read.
- namespace str
- The namespace the config entry is associated with.
- partition str
- The partition the config entry is associated with.
- partition_
consumers Sequence[str] - The exported service partition consumers.
- peer_
consumers Sequence[str] - The exported service peer consumers.
- sameness_
group_ Sequence[str]consumers - The exported service sameness group consumers.
- services Sequence[str]
- The exported services.
- kind String
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name String
- The name of the config entry to read.
- namespace String
- The namespace the config entry is associated with.
- partition String
- The partition the config entry is associated with.
- partition
Consumers List<String> - The exported service partition consumers.
- peer
Consumers List<String> - The exported service peer consumers.
- sameness
Group List<String>Consumers - The exported service sameness group consumers.
- services List<String>
- The exported services.
getConfigEntryV2ExportedServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- Name string
- The name of the config entry to read.
- Namespace string
- The namespace the config entry is associated with.
- Partition string
- The partition the config entry is associated with.
- Partition
Consumers List<string> - The exported service partition consumers.
- Peer
Consumers List<string> - The exported service peer consumers.
- Sameness
Group List<string>Consumers - The exported service sameness group consumers.
- Services List<string>
- The exported services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- Name string
- The name of the config entry to read.
- Namespace string
- The namespace the config entry is associated with.
- Partition string
- The partition the config entry is associated with.
- Partition
Consumers []string - The exported service partition consumers.
- Peer
Consumers []string - The exported service peer consumers.
- Sameness
Group []stringConsumers - The exported service sameness group consumers.
- Services []string
- The exported services.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name String
- The name of the config entry to read.
- namespace String
- The namespace the config entry is associated with.
- partition String
- The partition the config entry is associated with.
- partition
Consumers List<String> - The exported service partition consumers.
- peer
Consumers List<String> - The exported service peer consumers.
- sameness
Group List<String>Consumers - The exported service sameness group consumers.
- services List<String>
- The exported services.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name string
- The name of the config entry to read.
- namespace string
- The namespace the config entry is associated with.
- partition string
- The partition the config entry is associated with.
- partition
Consumers string[] - The exported service partition consumers.
- peer
Consumers string[] - The exported service peer consumers.
- sameness
Group string[]Consumers - The exported service sameness group consumers.
- services string[]
- The exported services.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name str
- The name of the config entry to read.
- namespace str
- The namespace the config entry is associated with.
- partition str
- The partition the config entry is associated with.
- partition_
consumers Sequence[str] - The exported service partition consumers.
- peer_
consumers Sequence[str] - The exported service peer consumers.
- sameness_
group_ Sequence[str]consumers - The exported service sameness group consumers.
- services Sequence[str]
- The exported services.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
- name String
- The name of the config entry to read.
- namespace String
- The namespace the config entry is associated with.
- partition String
- The partition the config entry is associated with.
- partition
Consumers List<String> - The exported service partition consumers.
- peer
Consumers List<String> - The exported service peer consumers.
- sameness
Group List<String>Consumers - The exported service sameness group consumers.
- services List<String>
- The exported services.
Package Details
- Repository
- HashiCorp Consul pulumi/pulumi-consul
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
consulTerraform Provider.
