import * as pulumi from "@pulumi/pulumi"; /** * Creates a resource file. Specify the `Content-Type` as `application/octet-stream` or `multipart/form-data`. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files). * Auto-naming is currently not supported for this resource. */ export declare class Resourcefile extends pulumi.CustomResource { /** * Get an existing Resourcefile 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): Resourcefile; /** * Returns true if the given object is an instance of Resourcefile. 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 Resourcefile; /** * The HTTP Content-Type header value specifying the content type of the body. */ readonly contentType: pulumi.Output; /** * The HTTP request/response body as raw binary. */ readonly data: pulumi.Output; readonly environmentId: pulumi.Output; /** * Application specific response metadata. Must be set in the first response for streaming APIs. */ readonly extensions: pulumi.Output<{ [key: string]: string; }[]>; /** * Required. Name of the resource file. Must match the regular expression: [a-zA-Z0-9:/\\!@#$%^&{}\[\]()+\-=,.~'` ]{1,255} */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Required. Resource file type. {{ resource_file_type }} */ readonly type: pulumi.Output; /** * Create a Resourcefile 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: ResourcefileArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Resourcefile resource. */ export interface ResourcefileArgs { /** * The HTTP Content-Type header value specifying the content type of the body. */ contentType?: pulumi.Input; /** * The HTTP request/response body as raw binary. */ data?: pulumi.Input; environmentId: pulumi.Input; /** * Application specific response metadata. Must be set in the first response for streaming APIs. */ extensions?: pulumi.Input; }>[]>; /** * File to upload. */ file?: pulumi.Input; /** * Required. Name of the resource file. Must match the regular expression: [a-zA-Z0-9:/\\!@#$%^&{}\[\]()+\-=,.~'` ]{1,255} */ name: pulumi.Input; organizationId: pulumi.Input; /** * Required. Resource file type. {{ resource_file_type }} */ type: pulumi.Input; }