UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

75 lines (74 loc) 2.67 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to configure firewall service category of FortiOS. * * !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.firewall/service.Category`, we recommend that you use the new resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const testCategoryName = new fortios.firewall.ObjectServicecategory("testCategoryName", {comment: "comment"}); * ``` */ export declare class ObjectServicecategory extends pulumi.CustomResource { /** * Get an existing ObjectServicecategory 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?: ObjectServicecategoryState, opts?: pulumi.CustomResourceOptions): ObjectServicecategory; /** * Returns true if the given object is an instance of ObjectServicecategory. 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 ObjectServicecategory; /** * Comment. */ readonly comment: pulumi.Output<string | undefined>; /** * Category name. */ readonly name: pulumi.Output<string>; /** * Create a ObjectServicecategory 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?: ObjectServicecategoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ObjectServicecategory resources. */ export interface ObjectServicecategoryState { /** * Comment. */ comment?: pulumi.Input<string>; /** * Category name. */ name?: pulumi.Input<string>; } /** * The set of arguments for constructing a ObjectServicecategory resource. */ export interface ObjectServicecategoryArgs { /** * Comment. */ comment?: pulumi.Input<string>; /** * Category name. */ name?: pulumi.Input<string>; }