@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
170 lines (169 loc) • 4.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* HipObject data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up a single HIP Profile by its ID.
* const scmHipObjectDs = scm.getHipObject({
* id: "aba16b3c-8d43-4bac-aa76-572f1d36dbc5",
* });
* export const hipObjectsDsResult = scmHipObjectDs;
* ```
*/
export declare function getHipObject(args: GetHipObjectArgs, opts?: pulumi.InvokeOptions): Promise<GetHipObjectResult>;
/**
* A collection of arguments for invoking getHipObject.
*/
export interface GetHipObjectArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: string;
/**
* UUID of the resource
*/
id: string;
/**
* The name of the HIP object
*/
name?: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: string;
}
/**
* A collection of values returned by getHipObject.
*/
export interface GetHipObjectResult {
/**
* Anti malware
*/
readonly antiMalware: outputs.GetHipObjectAntiMalware;
/**
* Certificate
*/
readonly certificate: outputs.GetHipObjectCertificate;
/**
* Custom checks
*/
readonly customChecks: outputs.GetHipObjectCustomChecks;
/**
* Data loss prevention
*/
readonly dataLossPrevention: outputs.GetHipObjectDataLossPrevention;
/**
* Description
*/
readonly description: string;
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* Disk backup
*/
readonly diskBackup: outputs.GetHipObjectDiskBackup;
/**
* Disk encryption
*/
readonly diskEncryption: outputs.GetHipObjectDiskEncryption;
/**
* Firewall
*/
readonly firewall: outputs.GetHipObjectFirewall;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: string;
/**
* Host info
*/
readonly hostInfo: outputs.GetHipObjectHostInfo;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Mobile device
*/
readonly mobileDevice: outputs.GetHipObjectMobileDevice;
/**
* The name of the HIP object
*/
readonly name: string;
/**
* Network info
*/
readonly networkInfo: outputs.GetHipObjectNetworkInfo;
/**
* Patch management
*/
readonly patchManagement: outputs.GetHipObjectPatchManagement;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
readonly tfid: string;
}
/**
* HipObject data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up a single HIP Profile by its ID.
* const scmHipObjectDs = scm.getHipObject({
* id: "aba16b3c-8d43-4bac-aa76-572f1d36dbc5",
* });
* export const hipObjectsDsResult = scmHipObjectDs;
* ```
*/
export declare function getHipObjectOutput(args: GetHipObjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHipObjectResult>;
/**
* A collection of arguments for invoking getHipObject.
*/
export interface GetHipObjectOutputArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: pulumi.Input<string>;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* The name of the HIP object
*/
name?: pulumi.Input<string>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}