ResourceShare

class ResourceShare : KotlinCustomResource

Provides a Resource Manager Resource Share resource. For information about Resource Manager Resource Share and how to use it, see What is Resource Share.

NOTE: Available since v1.111.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourceShare;
import com.pulumi.alicloud.resourcemanager.ResourceShareArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tfexample");
var example = new ResourceShare("example", ResourceShareArgs.builder()
.resourceShareName(name)
.build());
}
}

Import

Resource Manager Resource Share can be imported using the id, e.g.

$ pulumi import alicloud:resourcemanager/resourceShare:ResourceShare example <id>

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of resource share.

Link copied to clipboard

The owner of resource share.

Link copied to clipboard
val status: Output<String>

The status of resource share.

Link copied to clipboard
val urn: Output<String>