import * as pulumi from "@pulumi/pulumi"; /** * Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation * Auto-naming is currently not supported for this resource. */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, 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; /** * ID of the project that produces and owns this service. */ readonly producerProjectId: pulumi.Output; /** * The name of the service. See the [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. */ readonly serviceName: 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); } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * ID of the project that produces and owns this service. */ producerProjectId?: pulumi.Input; /** * The name of the service. See the [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. */ serviceName?: pulumi.Input; }