UNPKG

@pulumi/scm

Version:

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

108 lines (107 loc) 3.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Zone data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up zone by its ID. * const scmZoneDs = scm.getZone({ * id: "50f1f0f3-a420-4989-9770-c927f1467a9a", * }); * export const zoneDataSourceResults = { * id: scmZoneDs.then(scmZoneDs => scmZoneDs.id), * name: scmZoneDs.then(scmZoneDs => scmZoneDs.name), * network: scmZoneDs.then(scmZoneDs => scmZoneDs.network), * enableDeviceIdentification: scmZoneDs.then(scmZoneDs => scmZoneDs.enableDeviceIdentification), * enableUserIdentification: scmZoneDs.then(scmZoneDs => scmZoneDs.enableUserIdentification), * userAcl: scmZoneDs.then(scmZoneDs => scmZoneDs.userAcl), * deviceAcl: scmZoneDs.then(scmZoneDs => scmZoneDs.deviceAcl), * folder: scmZoneDs.then(scmZoneDs => scmZoneDs.folder), * }; * ``` */ export declare function getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * UUID of the resource */ id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: string; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { /** * The device in which the resource is defined */ readonly device: string; readonly deviceAcl: outputs.GetZoneDeviceAcl; readonly dosLogSetting: string; readonly dosProfile: string; readonly enableDeviceIdentification: boolean; readonly enableUserIdentification: boolean; readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: string; readonly network: outputs.GetZoneNetwork; readonly snippet: string; readonly tfid: string; readonly userAcl: outputs.GetZoneUserAcl; } /** * Zone data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up zone by its ID. * const scmZoneDs = scm.getZone({ * id: "50f1f0f3-a420-4989-9770-c927f1467a9a", * }); * export const zoneDataSourceResults = { * id: scmZoneDs.then(scmZoneDs => scmZoneDs.id), * name: scmZoneDs.then(scmZoneDs => scmZoneDs.name), * network: scmZoneDs.then(scmZoneDs => scmZoneDs.network), * enableDeviceIdentification: scmZoneDs.then(scmZoneDs => scmZoneDs.enableDeviceIdentification), * enableUserIdentification: scmZoneDs.then(scmZoneDs => scmZoneDs.enableUserIdentification), * userAcl: scmZoneDs.then(scmZoneDs => scmZoneDs.userAcl), * deviceAcl: scmZoneDs.then(scmZoneDs => scmZoneDs.deviceAcl), * folder: scmZoneDs.then(scmZoneDs => scmZoneDs.folder), * }; * ``` */ export declare function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * UUID of the resource */ id: pulumi.Input<string>; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input<string>; }