import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a VPC Service Controls supported service, including its supported methods. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const storage = gcp.accesscontextmanager.getSupportedService({ * serviceName: "storage.googleapis.com", * }); * ``` * * ### Use supported methods in a service perimeter * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const storage = gcp.accesscontextmanager.getSupportedService({ * serviceName: "storage.googleapis.com", * }); * export const storageMethods = storage.then(storage => storage.supportedMethods); * ``` */ export declare function getSupportedService(args: GetSupportedServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSupportedService. */ export interface GetSupportedServiceArgs { /** * The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example, `storage.googleapis.com`. */ serviceName: string; } /** * A collection of values returned by getSupportedService. */ export interface GetSupportedServiceResult { /** * True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud. */ readonly availableOnRestrictedVip: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details. */ readonly knownLimitations: boolean; readonly serviceName: string; /** * The support stage of the service. Values are `GA`, `PREVIEW`, and `DEPRECATED`. */ readonly serviceSupportStage: string; /** * The support stage of the service. */ readonly supportStage: string; /** * The list of supported methods for this service. Each method contains the following fields: */ readonly supportedMethods: outputs.accesscontextmanager.GetSupportedServiceSupportedMethod[]; /** * The name of the supported product, such as 'Cloud Storage'. */ readonly title: string; } /** * Get information about a VPC Service Controls supported service, including its supported methods. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const storage = gcp.accesscontextmanager.getSupportedService({ * serviceName: "storage.googleapis.com", * }); * ``` * * ### Use supported methods in a service perimeter * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const storage = gcp.accesscontextmanager.getSupportedService({ * serviceName: "storage.googleapis.com", * }); * export const storageMethods = storage.then(storage => storage.supportedMethods); * ``` */ export declare function getSupportedServiceOutput(args: GetSupportedServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSupportedService. */ export interface GetSupportedServiceOutputArgs { /** * The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example, `storage.googleapis.com`. */ serviceName: pulumi.Input; }