@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
94 lines (93 loc) • 2.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* UrlCategory data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single URL Category object by its ID.
* //
* // Replace the ID with the UUID of the URL Category you want to find.
* const example = scm.getUrlCategory({
* id: "5ae04e1a-bc7b-4ea3-99bb-86de23886b45",
* });
* export const urlCategoryDetails = example;
* ```
*/
export declare function getUrlCategory(args: GetUrlCategoryArgs, opts?: pulumi.InvokeOptions): Promise<GetUrlCategoryResult>;
/**
* A collection of arguments for invoking getUrlCategory.
*/
export interface GetUrlCategoryArgs {
/**
* UUID of the resource
*/
id: string;
/**
* Name
*/
name?: string;
}
/**
* A collection of values returned by getUrlCategory.
*/
export interface GetUrlCategoryResult {
/**
* Description
*/
readonly description: string;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
readonly lists: string[];
/**
* Name
*/
readonly name: string;
readonly snippet: string;
readonly tfid: string;
readonly type: string;
}
/**
* UrlCategory data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single URL Category object by its ID.
* //
* // Replace the ID with the UUID of the URL Category you want to find.
* const example = scm.getUrlCategory({
* id: "5ae04e1a-bc7b-4ea3-99bb-86de23886b45",
* });
* export const urlCategoryDetails = example;
* ```
*/
export declare function getUrlCategoryOutput(args: GetUrlCategoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUrlCategoryResult>;
/**
* A collection of arguments for invoking getUrlCategory.
*/
export interface GetUrlCategoryOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Name
*/
name?: pulumi.Input<string>;
}