UNPKG

@pulumi/scm

Version:

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

135 lines (134 loc) 3.86 kB
import * as pulumi from "@pulumi/pulumi"; /** * Address data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up the IP Netmask address object by its ID. * const scmAddress1Ds = scm.getAddress({ * id: "f23e1c22-de94-44cd-b67f-36f2516618a7", * }); * // Look up the IP Range address object by its ID. * const scmAddress2Ds = scm.getAddress({ * id: "662ef9a5-80d4-40d8-b51a-ec11915895d8", * }); * // Look up the FQDN address object by its ID. * const scmAddress3Ds = scm.getAddress({ * id: "1b996b9d-d350-4565-8ace-b319e6ae5a34", * }); * // Look up the class_c_wildcard address object by its ID. * const scmAddress4Ds = scm.getAddress({ * id: "933a1646-21fa-4edc-a0ca-868ead783ac0", * }); * // Look up the multi-tag address object by its ID. * const scmAddress5Ds = scm.getAddress({ * id: "f10df339-61aa-42a0-aab8-85424bfb2a8f", * }); * export const addressDataSourceResults = { * netmaskObject: scmAddress1Ds, * ipRangeObject: scmAddress2Ds, * fqdnObject: scmAddress3Ds, * classCWildcardObject: scmAddress4Ds, * multiTagTestObject: scmAddress5Ds, * }; * ``` */ export declare function getAddress(args: GetAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetAddressResult>; /** * A collection of arguments for invoking getAddress. */ export interface GetAddressArgs { /** * The UUID of the address object */ id: string; /** * The name of the address object */ name?: string; } /** * A collection of values returned by getAddress. */ export interface GetAddressResult { /** * The description of the address object */ readonly description: string; /** * The device in which the resource is defined */ readonly device: string; readonly folder: string; readonly fqdn: string; /** * The UUID of the address object */ readonly id: string; readonly ipNetmask: string; readonly ipRange: string; readonly ipWildcard: string; /** * The name of the address object */ readonly name: string; readonly snippet: string; readonly tags: string[]; readonly tfid: string; } /** * Address data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up the IP Netmask address object by its ID. * const scmAddress1Ds = scm.getAddress({ * id: "f23e1c22-de94-44cd-b67f-36f2516618a7", * }); * // Look up the IP Range address object by its ID. * const scmAddress2Ds = scm.getAddress({ * id: "662ef9a5-80d4-40d8-b51a-ec11915895d8", * }); * // Look up the FQDN address object by its ID. * const scmAddress3Ds = scm.getAddress({ * id: "1b996b9d-d350-4565-8ace-b319e6ae5a34", * }); * // Look up the class_c_wildcard address object by its ID. * const scmAddress4Ds = scm.getAddress({ * id: "933a1646-21fa-4edc-a0ca-868ead783ac0", * }); * // Look up the multi-tag address object by its ID. * const scmAddress5Ds = scm.getAddress({ * id: "f10df339-61aa-42a0-aab8-85424bfb2a8f", * }); * export const addressDataSourceResults = { * netmaskObject: scmAddress1Ds, * ipRangeObject: scmAddress2Ds, * fqdnObject: scmAddress3Ds, * classCWildcardObject: scmAddress4Ds, * multiTagTestObject: scmAddress5Ds, * }; * ``` */ export declare function getAddressOutput(args: GetAddressOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAddressResult>; /** * A collection of arguments for invoking getAddress. */ export interface GetAddressOutputArgs { /** * The UUID of the address object */ id: pulumi.Input<string>; /** * The name of the address object */ name?: pulumi.Input<string>; }