@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
145 lines (144 loc) • 4.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Yandex Cloud Logging group resource. For more information, see
* [the official documentation](https://cloud.yandex.com/en/docs/logging/concepts/log-group).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const group1 = new yandex.LoggingGroup("group1", {
* folderId: yandex_resourcemanager_folder_test_folder.id,
* });
* ```
*/
export declare class LoggingGroup extends pulumi.CustomResource {
/**
* Get an existing LoggingGroup 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?: LoggingGroupState, opts?: pulumi.CustomResourceOptions): LoggingGroup;
/**
* Returns true if the given object is an instance of LoggingGroup. 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 LoggingGroup;
/**
* ID of the cloud that the Yandex Cloud Logging group belong to.
*/
readonly cloudId: pulumi.Output<string>;
/**
* The Yandex Cloud Logging group creation timestamp.
*/
readonly createdAt: pulumi.Output<string>;
/**
* A description for the Yandex Cloud Logging group.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* ID of the folder that the Yandex Cloud Logging group belongs to.
* It will be deduced from provider configuration if not set explicitly.
*/
readonly folderId: pulumi.Output<string>;
/**
* A set of key/value label pairs to assign to the Yandex Cloud Logging group.
*/
readonly labels: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Name for the Yandex Cloud Logging group.
*/
readonly name: pulumi.Output<string>;
/**
* Log entries retention period for the Yandex Cloud Logging group.
*/
readonly retentionPeriod: pulumi.Output<string>;
/**
* The Yandex Cloud Logging group status.
*/
readonly status: pulumi.Output<string>;
/**
* Create a LoggingGroup 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?: LoggingGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering LoggingGroup resources.
*/
export interface LoggingGroupState {
/**
* ID of the cloud that the Yandex Cloud Logging group belong to.
*/
cloudId?: pulumi.Input<string>;
/**
* The Yandex Cloud Logging group creation timestamp.
*/
createdAt?: pulumi.Input<string>;
/**
* A description for the Yandex Cloud Logging group.
*/
description?: pulumi.Input<string>;
/**
* ID of the folder that the Yandex Cloud Logging group belongs to.
* It will be deduced from provider configuration if not set explicitly.
*/
folderId?: pulumi.Input<string>;
/**
* A set of key/value label pairs to assign to the Yandex Cloud Logging group.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Name for the Yandex Cloud Logging group.
*/
name?: pulumi.Input<string>;
/**
* Log entries retention period for the Yandex Cloud Logging group.
*/
retentionPeriod?: pulumi.Input<string>;
/**
* The Yandex Cloud Logging group status.
*/
status?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a LoggingGroup resource.
*/
export interface LoggingGroupArgs {
/**
* A description for the Yandex Cloud Logging group.
*/
description?: pulumi.Input<string>;
/**
* ID of the folder that the Yandex Cloud Logging group belongs to.
* It will be deduced from provider configuration if not set explicitly.
*/
folderId?: pulumi.Input<string>;
/**
* A set of key/value label pairs to assign to the Yandex Cloud Logging group.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Name for the Yandex Cloud Logging group.
*/
name?: pulumi.Input<string>;
/**
* Log entries retention period for the Yandex Cloud Logging group.
*/
retentionPeriod?: pulumi.Input<string>;
}