import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to list API Security operation tags for a Fastly service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const svc1 = new fastly.ServiceVcl("svc1", { * name: "test-svc-1-example", * forceDestroy: true, * backends: [{ * address: "example.com", * name: "tf-test-backend-1", * }], * }); * // Optional: create a tag so the data source returns a predictable result * const example = new fastly.ApiSecurityOperationTag("example", { * serviceId: svc1.id, * name: "example-tag", * description: "Example tag", * }); * const tags = fastly.getApiSecurityOperationTagsOutput({ * serviceId: svc1.id, * }); * export const apiSecurityOperationTags = tags.apply(tags => tags.tags); * export const apiSecurityOperationTagsTotal = tags.apply(tags => tags.total); * ``` */ export declare function getApiSecurityOperationTags(args: GetApiSecurityOperationTagsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApiSecurityOperationTags. */ export interface GetApiSecurityOperationTagsArgs { /** * Service ID. */ serviceId: string; } /** * A collection of values returned by getApiSecurityOperationTags. */ export interface GetApiSecurityOperationTagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Service ID. */ readonly serviceId: string; /** * Operation tags. */ readonly tags: outputs.GetApiSecurityOperationTagsTag[]; /** * Total number of matching results, as returned by the API. */ readonly total: number; } /** * Use this data source to list API Security operation tags for a Fastly service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const svc1 = new fastly.ServiceVcl("svc1", { * name: "test-svc-1-example", * forceDestroy: true, * backends: [{ * address: "example.com", * name: "tf-test-backend-1", * }], * }); * // Optional: create a tag so the data source returns a predictable result * const example = new fastly.ApiSecurityOperationTag("example", { * serviceId: svc1.id, * name: "example-tag", * description: "Example tag", * }); * const tags = fastly.getApiSecurityOperationTagsOutput({ * serviceId: svc1.id, * }); * export const apiSecurityOperationTags = tags.apply(tags => tags.tags); * export const apiSecurityOperationTagsTotal = tags.apply(tags => tags.total); * ``` */ export declare function getApiSecurityOperationTagsOutput(args: GetApiSecurityOperationTagsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApiSecurityOperationTags. */ export interface GetApiSecurityOperationTagsOutputArgs { /** * Service ID. */ serviceId: pulumi.Input; } //# sourceMappingURL=getApiSecurityOperationTags.d.ts.map