@pulumi/consul
Version:
A Pulumi package for creating and managing consul resources.
133 lines (132 loc) • 4.78 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ConfigEntryV2ExportedServices extends pulumi.CustomResource {
/**
* Get an existing ConfigEntryV2ExportedServices resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConfigEntryV2ExportedServicesState, opts?: pulumi.CustomResourceOptions): ConfigEntryV2ExportedServices;
/**
* Returns true if the given object is an instance of ConfigEntryV2ExportedServices. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ConfigEntryV2ExportedServices;
/**
* The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
*/
readonly kind: pulumi.Output<string>;
/**
* The name of the config entry to read.
*/
readonly name: pulumi.Output<string>;
/**
* The namespace the config entry is associated with.
*/
readonly namespace: pulumi.Output<string | undefined>;
/**
* The partition the config entry is associated with.
*/
readonly partition: pulumi.Output<string>;
/**
* The exported service partition consumers.
*/
readonly partitionConsumers: pulumi.Output<string[] | undefined>;
/**
* The exported service peer consumers.
*/
readonly peerConsumers: pulumi.Output<string[] | undefined>;
/**
* The exported service sameness group consumers.
*/
readonly samenessGroupConsumers: pulumi.Output<string[] | undefined>;
/**
* The exported services.
*/
readonly services: pulumi.Output<string[] | undefined>;
/**
* Create a ConfigEntryV2ExportedServices resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ConfigEntryV2ExportedServicesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ConfigEntryV2ExportedServices resources.
*/
export interface ConfigEntryV2ExportedServicesState {
/**
* 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>[]>;
}
/**
* The set of arguments for constructing a ConfigEntryV2ExportedServices resource.
*/
export interface ConfigEntryV2ExportedServicesArgs {
/**
* 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>[]>;
}