import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ID Permission Gateway Service is used to define backend service access configuration, permission space binding, and optional route rules for unified management of service access by the agent identity and permission management platform * * ## Import * * ```sh * $ pulumi import volcenginecc:id/service:Service example "service_id" * ``` */ export declare class Service extends pulumi.CustomResource { /** * Get an existing Service 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, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service; /** * Returns true if the given object is an instance of Service. 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 Service; /** * Backend service configuration */ readonly backend: pulumi.Output; /** * Backend service type, for example custom, viking, agentkit-mcp */ readonly backendType: pulumi.Output; /** * Creation time, Unix timestamp in milliseconds */ readonly createdAt: pulumi.Output; /** * Service description, up to 256 characters */ readonly description: pulumi.Output; /** * Private domain name */ readonly hijackDomainPrivate: pulumi.Output; /** * Public domain name */ readonly hijackDomainPublic: pulumi.Output; /** * Permission space ID, for example ps_123456 */ readonly permissionSpaceId: pulumi.Output; /** * Permission space name */ readonly permissionSpaceName: pulumi.Output; /** * Project name. Optional at creation, default value is "default" */ readonly projectName: pulumi.Output; /** * Number of routes */ readonly routeCount: pulumi.Output; readonly routes: pulumi.Output; /** * Service ID. Generated after system creation, for example svc-1234567890 */ readonly serviceId: pulumi.Output; /** * Service name, 1–64 characters, unique within the account */ readonly serviceName: pulumi.Output; /** * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway) */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Template ID associated with built-in service */ readonly templateId: pulumi.Output; /** * Resource TRN */ readonly trn: pulumi.Output; /** * Update time, Unix timestamp in milliseconds */ readonly updatedAt: pulumi.Output; /** * Create a Service 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: ServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Service resources. */ export interface ServiceState { /** * Backend service configuration */ backend?: pulumi.Input; /** * Backend service type, for example custom, viking, agentkit-mcp */ backendType?: pulumi.Input; /** * Creation time, Unix timestamp in milliseconds */ createdAt?: pulumi.Input; /** * Service description, up to 256 characters */ description?: pulumi.Input; /** * Private domain name */ hijackDomainPrivate?: pulumi.Input; /** * Public domain name */ hijackDomainPublic?: pulumi.Input; /** * Permission space ID, for example ps_123456 */ permissionSpaceId?: pulumi.Input; /** * Permission space name */ permissionSpaceName?: pulumi.Input; /** * Project name. Optional at creation, default value is "default" */ projectName?: pulumi.Input; /** * Number of routes */ routeCount?: pulumi.Input; routes?: pulumi.Input[]>; /** * Service ID. Generated after system creation, for example svc-1234567890 */ serviceId?: pulumi.Input; /** * Service name, 1–64 characters, unique within the account */ serviceName?: pulumi.Input; /** * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway) */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Template ID associated with built-in service */ templateId?: pulumi.Input; /** * Resource TRN */ trn?: pulumi.Input; /** * Update time, Unix timestamp in milliseconds */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * Backend service configuration */ backend: pulumi.Input; /** * Service description, up to 256 characters */ description?: pulumi.Input; /** * Permission space ID, for example ps_123456 */ permissionSpaceId: pulumi.Input; /** * Permission space name */ permissionSpaceName?: pulumi.Input; /** * Project name. Optional at creation, default value is "default" */ projectName?: pulumi.Input; routes?: pulumi.Input[]>; /** * Service name, 1–64 characters, unique within the account */ serviceName: pulumi.Input; /** * Service status. inactive: not enabled. active: enabled (configuration synced to APIGateway). draft: draft status (changes not synced to APIGateway) */ status?: pulumi.Input; tags?: pulumi.Input[]>; }