@pulumi/consul
Version:
A Pulumi package for creating and managing consul resources.
119 lines (118 loc) • 3.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare function getConfigEntryV2ExportedServices(args: GetConfigEntryV2ExportedServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigEntryV2ExportedServicesResult>;
/**
* A collection of arguments for invoking getConfigEntryV2ExportedServices.
*/
export interface GetConfigEntryV2ExportedServicesArgs {
/**
* The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
*/
kind: string;
/**
* The name of the config entry to read.
*/
name: string;
/**
* The namespace the config entry is associated with.
*/
namespace?: string;
/**
* The partition the config entry is associated with.
*/
partition?: string;
/**
* The exported service partition consumers.
*/
partitionConsumers?: string[];
/**
* The exported service peer consumers.
*/
peerConsumers?: string[];
/**
* The exported service sameness group consumers.
*/
samenessGroupConsumers?: string[];
/**
* The exported services.
*/
services?: string[];
}
/**
* A collection of values returned by getConfigEntryV2ExportedServices.
*/
export interface GetConfigEntryV2ExportedServicesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
*/
readonly kind: string;
/**
* The name of the config entry to read.
*/
readonly name: string;
/**
* The namespace the config entry is associated with.
*/
readonly namespace?: string;
/**
* The partition the config entry is associated with.
*/
readonly partition?: string;
/**
* The exported service partition consumers.
*/
readonly partitionConsumers?: string[];
/**
* The exported service peer consumers.
*/
readonly peerConsumers?: string[];
/**
* The exported service sameness group consumers.
*/
readonly samenessGroupConsumers?: string[];
/**
* The exported services.
*/
readonly services?: string[];
}
export declare function getConfigEntryV2ExportedServicesOutput(args: GetConfigEntryV2ExportedServicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigEntryV2ExportedServicesResult>;
/**
* A collection of arguments for invoking getConfigEntryV2ExportedServices.
*/
export interface GetConfigEntryV2ExportedServicesOutputArgs {
/**
* The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
*/
kind: pulumi.Input<string>;
/**
* The name of the config entry to read.
*/
name: pulumi.Input<string>;
/**
* The namespace the config entry is associated with.
*/
namespace?: pulumi.Input<string>;
/**
* The partition the config entry is associated with.
*/
partition?: pulumi.Input<string>;
/**
* The exported service partition consumers.
*/
partitionConsumers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The exported service peer consumers.
*/
peerConsumers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The exported service sameness group consumers.
*/
samenessGroupConsumers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The exported services.
*/
services?: pulumi.Input<pulumi.Input<string>[]>;
}