import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource represents an UpCloud Managed Object Storage instance, which provides S3 compatible storage. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as upcloud from "@upcloud/pulumi-upcloud"; * * // Create router for the network * const _this = new upcloud.Router("this", {name: "object-storage-example-router"}); * // Create network for the Managed Object Storage * const thisNetwork = new upcloud.Network("this", { * name: "object-storage-example-net", * zone: "fi-hel1", * ipNetwork: { * address: "172.16.2.0/24", * dhcp: true, * family: "IPv4", * }, * router: _this.id, * }); * const thisManagedObjectStorage = new upcloud.ManagedObjectStorage("this", { * name: "example", * region: "europe-1", * configuredStatus: "started", * networks: [{ * family: "IPv4", * name: "example-private-net", * type: "private", * uuid: thisNetwork.id, * }], * labels: { * "managed-by": "terraform", * }, * }); * ``` */ export declare class ManagedObjectStorage extends pulumi.CustomResource { /** * Get an existing ManagedObjectStorage 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?: ManagedObjectStorageState, opts?: pulumi.CustomResourceOptions): ManagedObjectStorage; /** * Returns true if the given object is an instance of ManagedObjectStorage. 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 ManagedObjectStorage; /** * Service status managed by the end user. */ readonly configuredStatus: pulumi.Output; /** * Creation time. */ readonly createdAt: pulumi.Output; /** * Endpoints for accessing the Managed Object Storage service. */ readonly endpoints: pulumi.Output; /** * User defined key-value pairs to classify the managed object storage. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Name of the Managed Object Storage service. Must be unique within account. */ readonly name: pulumi.Output; /** * Attached networks from where object storage can be used. Private networks must reside in object storage region. To gain access from multiple private networks that might reside in different zones, create the networks and a corresponding router for each network. */ readonly networks: pulumi.Output; /** * Operational state of the Managed Object Storage service. */ readonly operationalState: pulumi.Output; /** * Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions. */ readonly region: pulumi.Output; /** * Update time. */ readonly updatedAt: pulumi.Output; /** * Create a ManagedObjectStorage 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: ManagedObjectStorageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedObjectStorage resources. */ export interface ManagedObjectStorageState { /** * Service status managed by the end user. */ configuredStatus?: pulumi.Input; /** * Creation time. */ createdAt?: pulumi.Input; /** * Endpoints for accessing the Managed Object Storage service. */ endpoints?: pulumi.Input[]>; /** * User defined key-value pairs to classify the managed object storage. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the Managed Object Storage service. Must be unique within account. */ name?: pulumi.Input; /** * Attached networks from where object storage can be used. Private networks must reside in object storage region. To gain access from multiple private networks that might reside in different zones, create the networks and a corresponding router for each network. */ networks?: pulumi.Input[]>; /** * Operational state of the Managed Object Storage service. */ operationalState?: pulumi.Input; /** * Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions. */ region?: pulumi.Input; /** * Update time. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a ManagedObjectStorage resource. */ export interface ManagedObjectStorageArgs { /** * Service status managed by the end user. */ configuredStatus: pulumi.Input; /** * User defined key-value pairs to classify the managed object storage. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the Managed Object Storage service. Must be unique within account. */ name?: pulumi.Input; /** * Attached networks from where object storage can be used. Private networks must reside in object storage region. To gain access from multiple private networks that might reside in different zones, create the networks and a corresponding router for each network. */ networks?: pulumi.Input[]>; /** * Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions. */ region: pulumi.Input; }