StorageBundleArgs

data class StorageBundleArgs(val description: Output<String>? = null, val storageBundleName: Output<String>? = null) : ConvertibleToJava<StorageBundleArgs>

Provides a Cloud Storage Gateway Storage Bundle resource. For information about Cloud Storage Gateway Storage Bundle and how to use it, see What is Storage Bundle.

NOTE: Available since v1.116.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.cloudstoragegateway.StorageBundle("example", {storageBundleName: "example_value"});
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.cloudstoragegateway.StorageBundle("example", storage_bundle_name="example_value")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = new AliCloud.CloudStorageGateway.StorageBundle("example", new()
{
StorageBundleName = "example_value",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudstoragegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudstoragegateway.NewStorageBundle(ctx, "example", &cloudstoragegateway.StorageBundleArgs{
StorageBundleName: pulumi.String("example_value"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudstoragegateway.StorageBundle;
import com.pulumi.alicloud.cloudstoragegateway.StorageBundleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new StorageBundle("example", StorageBundleArgs.builder()
.storageBundleName("example_value")
.build());
}
}
resources:
example:
type: alicloud:cloudstoragegateway:StorageBundle
properties:
storageBundleName: example_value

Import

Cloud Storage Gateway Storage Bundle can be imported using the id, e.g.

$ pulumi import alicloud:cloudstoragegateway/storageBundle:StorageBundle example <id>

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, storageBundleName: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of storage bundle.

Link copied to clipboard
val storageBundleName: Output<String>? = null

The name of storage bundle.

Functions

Link copied to clipboard
open override fun toJava(): StorageBundleArgs