@pulumi/vsphere
Version:
A Pulumi package for creating vsphere resources
87 lines (86 loc) • 3.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ConfigurationProfile extends pulumi.CustomResource {
/**
* Get an existing ConfigurationProfile 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?: ConfigurationProfileState, opts?: pulumi.CustomResourceOptions): ConfigurationProfile;
/**
* Returns true if the given object is an instance of ConfigurationProfile. 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 ConfigurationProfile;
/**
* The identifier of the cluster.
*/
readonly clusterId: pulumi.Output<string>;
/**
* The configuration JSON provided as a plain string. This argument can only be specified if `referenceHostId` is not set.
*/
readonly configuration: pulumi.Output<string>;
/**
* The identifier of the host to use as a configuration source.
* The host needs to be a member of the cluster identified by `clusterId`. This argument can only be specified if
* `configuration` is not set.
*/
readonly referenceHostId: pulumi.Output<string | undefined>;
/**
* The JSON schema for the profile.
*/
readonly schema: pulumi.Output<string>;
/**
* Create a ConfigurationProfile 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: ConfigurationProfileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ConfigurationProfile resources.
*/
export interface ConfigurationProfileState {
/**
* The identifier of the cluster.
*/
clusterId?: pulumi.Input<string>;
/**
* The configuration JSON provided as a plain string. This argument can only be specified if `referenceHostId` is not set.
*/
configuration?: pulumi.Input<string>;
/**
* The identifier of the host to use as a configuration source.
* The host needs to be a member of the cluster identified by `clusterId`. This argument can only be specified if
* `configuration` is not set.
*/
referenceHostId?: pulumi.Input<string>;
/**
* The JSON schema for the profile.
*/
schema?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ConfigurationProfile resource.
*/
export interface ConfigurationProfileArgs {
/**
* The identifier of the cluster.
*/
clusterId: pulumi.Input<string>;
/**
* The configuration JSON provided as a plain string. This argument can only be specified if `referenceHostId` is not set.
*/
configuration?: pulumi.Input<string>;
/**
* The identifier of the host to use as a configuration source.
* The host needs to be a member of the cluster identified by `clusterId`. This argument can only be specified if
* `configuration` is not set.
*/
referenceHostId?: pulumi.Input<string>;
}