NetworkPackage

Provides a ECD Network Package resource. For information about ECD Network Package and how to use it, see What is Network Package.

NOTE: Available in v1.142.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.eds.SimpleOfficeSite;
import com.pulumi.alicloud.eds.SimpleOfficeSiteArgs;
import com.pulumi.alicloud.eds.NetworkPackage;
import com.pulumi.alicloud.eds.NetworkPackageArgs;
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 default_ = new SimpleOfficeSite("default", SimpleOfficeSiteArgs.builder()
.cidrBlock("172.16.0.0/12")
.desktopAccessType("Internet")
.officeSiteName("your_office_site_name")
.build());
var example = new NetworkPackage("example", NetworkPackageArgs.builder()
.bandwidth(10)
.officeSiteId(default_.id())
.build());
}
}

Import

ECD Network Package can be imported using the id, e.g.

$ pulumi import alicloud:eds/networkPackage:NetworkPackage example <id>

Properties

Link copied to clipboard
val bandwidth: Output<Int>

The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The internet charge type of package.

Link copied to clipboard
val officeSiteId: Output<String>

The ID of office site.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of network package. Valid values: Creating, InUse, Releasing,Released.

Link copied to clipboard
val urn: Output<String>