@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
96 lines (95 loc) • 3.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Enable/Disable add-ons for an Apigee environment.
*
* To get more information about EnvironmentAddonsConfig, see:
*
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.addonsConfig/setAddonEnablement)
* * How-to Guides
* * [Enable Analytics Add-On](https://cloud.google.com/apigee/docs/api-platform/reference/manage-analytics-add-on)
*
* ## Example Usage
*
* ## Import
*
* EnvironmentAddonsConfig can be imported using any of these accepted formats:
*
* * `{{env_id}}`
*
* When using the `pulumi import` command, EnvironmentAddonsConfig can be imported using one of the formats above. For example:
*
* ```sh
* $ pulumi import gcp:apigee/environmentAddonsConfig:EnvironmentAddonsConfig default {{env_id}}
* ```
*/
export declare class EnvironmentAddonsConfig extends pulumi.CustomResource {
/**
* Get an existing EnvironmentAddonsConfig 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?: EnvironmentAddonsConfigState, opts?: pulumi.CustomResourceOptions): EnvironmentAddonsConfig;
/**
* Returns true if the given object is an instance of EnvironmentAddonsConfig. 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 EnvironmentAddonsConfig;
/**
* Flag to enable/disable Analytics.
*/
readonly analyticsEnabled: pulumi.Output<boolean | undefined>;
/**
* The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
*
*
* - - -
*/
readonly envId: pulumi.Output<string>;
/**
* Create a EnvironmentAddonsConfig 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: EnvironmentAddonsConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EnvironmentAddonsConfig resources.
*/
export interface EnvironmentAddonsConfigState {
/**
* Flag to enable/disable Analytics.
*/
analyticsEnabled?: pulumi.Input<boolean>;
/**
* The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
*
*
* - - -
*/
envId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a EnvironmentAddonsConfig resource.
*/
export interface EnvironmentAddonsConfigArgs {
/**
* Flag to enable/disable Analytics.
*/
analyticsEnabled?: pulumi.Input<boolean>;
/**
* The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
*
*
* - - -
*/
envId: pulumi.Input<string>;
}