UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

159 lines (158 loc) 6.07 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const x = new scm.AddressObject("x", { * folder: "Shared", * name: "foo", * description: "Made by Pulumi", * fqdn: "www.example.com", * }); * const example = new scm.AddressGroup("example", { * folder: "Shared", * name: "example", * staticLists: [x.name], * }); * ``` */ export declare class AddressGroup extends pulumi.CustomResource { /** * Get an existing AddressGroup 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?: AddressGroupState, opts?: pulumi.CustomResourceOptions): AddressGroup; /** * Returns true if the given object is an instance of AddressGroup. 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 AddressGroup; /** * The Description param. String length must not exceed 1023 characters. */ readonly description: pulumi.Output<string | undefined>; /** * The Device param. */ readonly device: pulumi.Output<string | undefined>; /** * The DynamicValue param. Ensure that only one of the following is specified: `dynamic`, `static` */ readonly dynamicValue: pulumi.Output<outputs.AddressGroupDynamicValue | undefined>; /** * The Folder param. */ readonly folder: pulumi.Output<string | undefined>; /** * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters. */ readonly name: pulumi.Output<string>; /** * The Snippet param. */ readonly snippet: pulumi.Output<string | undefined>; /** * The StaticList param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters. Ensure that only one of the following is specified: `dynamic`, `static` */ readonly staticLists: pulumi.Output<string[] | undefined>; /** * Tags for address group object. List must contain at most 64 elements. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters. */ readonly tags: pulumi.Output<string[] | undefined>; readonly tfid: pulumi.Output<string>; /** * Create a AddressGroup 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?: AddressGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AddressGroup resources. */ export interface AddressGroupState { /** * The Description param. String length must not exceed 1023 characters. */ description?: pulumi.Input<string>; /** * The Device param. */ device?: pulumi.Input<string>; /** * The DynamicValue param. Ensure that only one of the following is specified: `dynamic`, `static` */ dynamicValue?: pulumi.Input<inputs.AddressGroupDynamicValue>; /** * The Folder param. */ folder?: pulumi.Input<string>; /** * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters. */ name?: pulumi.Input<string>; /** * The Snippet param. */ snippet?: pulumi.Input<string>; /** * The StaticList param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters. Ensure that only one of the following is specified: `dynamic`, `static` */ staticLists?: pulumi.Input<pulumi.Input<string>[]>; /** * Tags for address group object. List must contain at most 64 elements. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters. */ tags?: pulumi.Input<pulumi.Input<string>[]>; tfid?: pulumi.Input<string>; } /** * The set of arguments for constructing a AddressGroup resource. */ export interface AddressGroupArgs { /** * The Description param. String length must not exceed 1023 characters. */ description?: pulumi.Input<string>; /** * The Device param. */ device?: pulumi.Input<string>; /** * The DynamicValue param. Ensure that only one of the following is specified: `dynamic`, `static` */ dynamicValue?: pulumi.Input<inputs.AddressGroupDynamicValue>; /** * The Folder param. */ folder?: pulumi.Input<string>; /** * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters. */ name?: pulumi.Input<string>; /** * The Snippet param. */ snippet?: pulumi.Input<string>; /** * The StaticList param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters. Ensure that only one of the following is specified: `dynamic`, `static` */ staticLists?: pulumi.Input<pulumi.Input<string>[]>; /** * Tags for address group object. List must contain at most 64 elements. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters. */ tags?: pulumi.Input<pulumi.Input<string>[]>; }