import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Tags in Oracle Cloud Infrastructure Identity service. * * Lists the tag definitions in the specified tag namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTags = oci.identity.getTags({ * tagNamespaceId: testTagNamespace.id, * state: tagState, * }); * ``` */ export declare function getTags(args: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTags. */ export interface GetTagsArgs { filters?: inputs.Identity.GetTagsFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The OCID of the tag namespace. */ tagNamespaceId: string; } /** * A collection of values returned by getTags. */ export interface GetTagsResult { readonly filters?: outputs.Identity.GetTagsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. If you delete a tag, you cannot delete another tag until the deleted tag's `lifecycleState` changes from DELETING to DELETED. */ readonly state?: string; /** * The OCID of the namespace that contains the tag definition. */ readonly tagNamespaceId: string; /** * The list of tags. */ readonly tags: outputs.Identity.GetTagsTag[]; } /** * This data source provides the list of Tags in Oracle Cloud Infrastructure Identity service. * * Lists the tag definitions in the specified tag namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTags = oci.identity.getTags({ * tagNamespaceId: testTagNamespace.id, * state: tagState, * }); * ``` */ export declare function getTagsOutput(args: GetTagsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTags. */ export interface GetTagsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; /** * The OCID of the tag namespace. */ tagNamespaceId: pulumi.Input; } //# sourceMappingURL=getTags.d.ts.map