1. Packages
  2. Consul Provider
  3. API Docs
  4. getConfigEntryV2ExportedServices
Consul v3.12.1 published on Friday, Aug 23, 2024 by Pulumi

consul.getConfigEntryV2ExportedServices

Explore with Pulumi AI

consul logo
Consul v3.12.1 published on Friday, Aug 23, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: consul:index/getConfigEntryV2ExportedServices:getConfigEntryV2ExportedServices
      arguments:
        # arguments dictionary

    The 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.
    PartitionConsumers List<string>
    The exported service partition consumers.
    PeerConsumers List<string>
    The exported service peer consumers.
    SamenessGroupConsumers List<string>
    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.
    PartitionConsumers []string
    The exported service partition consumers.
    PeerConsumers []string
    The exported service peer consumers.
    SamenessGroupConsumers []string
    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.
    partitionConsumers List<String>
    The exported service partition consumers.
    peerConsumers List<String>
    The exported service peer consumers.
    samenessGroupConsumers List<String>
    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.
    partitionConsumers string[]
    The exported service partition consumers.
    peerConsumers string[]
    The exported service peer consumers.
    samenessGroupConsumers string[]
    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_consumers Sequence[str]
    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.
    partitionConsumers List<String>
    The exported service partition consumers.
    peerConsumers List<String>
    The exported service peer consumers.
    samenessGroupConsumers List<String>
    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.
    PartitionConsumers List<string>
    The exported service partition consumers.
    PeerConsumers List<string>
    The exported service peer consumers.
    SamenessGroupConsumers List<string>
    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.
    PartitionConsumers []string
    The exported service partition consumers.
    PeerConsumers []string
    The exported service peer consumers.
    SamenessGroupConsumers []string
    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.
    partitionConsumers List<String>
    The exported service partition consumers.
    peerConsumers List<String>
    The exported service peer consumers.
    samenessGroupConsumers List<String>
    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.
    partitionConsumers string[]
    The exported service partition consumers.
    peerConsumers string[]
    The exported service peer consumers.
    samenessGroupConsumers string[]
    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_consumers Sequence[str]
    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.
    partitionConsumers List<String>
    The exported service partition consumers.
    peerConsumers List<String>
    The exported service peer consumers.
    samenessGroupConsumers List<String>
    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 consul Terraform Provider.
    consul logo
    Consul v3.12.1 published on Friday, Aug 23, 2024 by Pulumi