replicated
Run commands using the replicated CLI
Installation
dagger install github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318ebEntrypoint
Return Type
Replicated !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| token | Secret ! | - | No description provided |
| apiOrigin | String | - | No description provided |
| idOrigin | String | - | No description provided |
| registryOrigin | String | - | No description provided |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRETfunc (m *MyModule) Example(token *dagger.Secret) *dagger.Replicated {
return dag.
Replicated(token)
}@function
def example(token: dagger.Secret, ) -> dagger.Replicated:
return (
dag.replicated(token)
)@func()
example(token: Secret, ): Replicated {
return dag
.replicated(token)
}Types
Replicated 🔗
Replicated is a Dagger module that provides access to the replicated CLI
token() 🔗
Return Type
Secret ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET tokenfunc (m *MyModule) Example(token *dagger.Secret) *dagger.Secret {
return dag.
Replicated(token).
Token()
}@function
def example(token: dagger.Secret, ) -> dagger.Secret:
return (
dag.replicated(token)
.token()
)@func()
example(token: Secret, ): Secret {
return dag
.replicated(token)
.token()
}apiorigin() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET apioriginfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
Apiorigin(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.apiorigin()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.apiorigin()
}idorigin() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET idoriginfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
Idorigin(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.idorigin()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.idorigin()
}registryOrigin() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET registry-originfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
RegistryOrigin(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.registry_origin()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.registryOrigin()
}container() 🔗
Obtain the base container with the replicated CLI installed at /replicated
Return Type
Container ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET containerfunc (m *MyModule) Example(token *dagger.Secret) *dagger.Container {
return dag.
Replicated(token).
Container()
}@function
def example(token: dagger.Secret, ) -> dagger.Container:
return (
dag.replicated(token)
.container()
)@func()
example(token: Secret, ): Container {
return dag
.replicated(token)
.container()
}networkCreate() 🔗
Create a new CMX network
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-create –name=my-network –wait=10m –ttl=20m
Return Type
[Network ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String | - | Name of the network |
| wait | String ! | "15m" | How long to wait for the network to be ready |
| ttl | String ! | "20m" | TTL of the network |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET network-create --wait string --ttl stringfunc (m *MyModule) Example(token *dagger.Secret, wait string, ttl string) []*dagger.ReplicatedNetwork {
return dag.
Replicated(token).
NetworkCreate(wait, ttl)
}@function
def example(token: dagger.Secret, wait: str, ttl: str) -> List[dagger.ReplicatedNetwork]:
return (
dag.replicated(token)
.network_create(wait, ttl)
)@func()
example(token: Secret, wait: string, ttl: string): ReplicatedNetwork[] {
return dag
.replicated(token)
.networkCreate(wait, ttl)
}networkRemove() 🔗
Remove a CMX network
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-remove –network-id=my-network-id dagger call –token=env:REPLICATED_API_TOKEN network-remove –network-name=my-network-name
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| networkId | String | - | Network ID of the network to remove |
| networkName | String | - | Network name of the network to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET network-removefunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
NetworkRemove(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.network_remove()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.networkRemove()
}networkUpdatePolicy() 🔗
Update a CMX network policy
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-update-policy –network-id=my-network-id –policy=airgap dagger call –token=env:REPLICATED_API_TOKEN network-update-policy –network-name=my-network-name –policy=airgap
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| networkId | String | - | Network ID to update |
| networkName | String | - | Network name to update |
| policy | String ! | - | New policy for the network (e.g., "airgap") |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET network-update-policy --policy stringfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret, policy string) string {
return dag.
Replicated(token).
NetworkUpdatePolicy(ctxpolicy)
}@function
async def example(token: dagger.Secret, policy: str) -> str:
return await (
dag.replicated(token)
.network_update_policy(policy)
)@func()
async example(token: Secret, policy: string): Promise<string> {
return dag
.replicated(token)
.networkUpdatePolicy(policy)
}networkList() 🔗
List all CMX networks
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-list
Return Type
[Network ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET network-listfunc (m *MyModule) Example(token *dagger.Secret) []*dagger.ReplicatedNetwork {
return dag.
Replicated(token).
NetworkList()
}@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedNetwork]:
return (
dag.replicated(token)
.network_list()
)@func()
example(token: Secret, ): ReplicatedNetwork[] {
return dag
.replicated(token)
.networkList()
}clusterCreate() 🔗
Create a new CMX cluster
Example:
dagger call -m github.com/replicatedhq/daggerverse/replicated –token=env:REPLICATED_API_TOKEN cluster-create –name=my-cluster –wait=10m –ttl=20m –distribution=k3s –version=1.31.0
Return Type
Cluster !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String | - | Name of the cluster |
| wait | String ! | "15m" | How long to wait for the cluster to be ready |
| ttl | String ! | "20m" | TTL of the cluster |
| distribution | String ! | "k3s" | Distribution to use |
| version | String | - | Version of the distribution to use |
| nodes | Integer ! | "1" | Number of nodes to create |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET cluster-create --wait string --ttl string --distribution string --nodes integerfunc (m *MyModule) Example(token *dagger.Secret, wait string, ttl string, distribution string, nodes int) *dagger.ReplicatedCluster {
return dag.
Replicated(token).
ClusterCreate(wait, ttl, distribution, nodes)
}@function
def example(token: dagger.Secret, wait: str, ttl: str, distribution: str, nodes: int) -> dagger.ReplicatedCluster:
return (
dag.replicated(token)
.cluster_create(wait, ttl, distribution, nodes)
)@func()
example(token: Secret, wait: string, ttl: string, distribution: string, nodes: number): ReplicatedCluster {
return dag
.replicated(token)
.clusterCreate(wait, ttl, distribution, nodes)
}clusterRemove() 🔗
Remove a CMX cluster
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-remove –cluster-id=my-cluster-id dagger call –token=env:REPLICATED_API_TOKEN cluster-remove –cluster-name=my-cluster-name
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| clusterId | String | - | Cluster ID of the cluster to remove |
| clusterName | String | - | Cluster name of the cluster to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET cluster-removefunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
ClusterRemove(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.cluster_remove()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.clusterRemove()
}clusterExposePort() 🔗
Expose a port on a CMX cluster, returning the hostname of the exposed port
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-expose-port –cluster-id=my-cluster-id –node-port=80
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| clusterId | String ! | - | Cluster ID of the cluster to expose port on |
| nodePort | Integer ! | - | Port to expose |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET cluster-expose-port --cluster-id string --node-port integerfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret, clusterId string, nodePort int) string {
return dag.
Replicated(token).
ClusterExposePort(ctx, clusterId, nodePort)
}@function
async def example(token: dagger.Secret, cluster_id: str, node_port: int) -> str:
return await (
dag.replicated(token)
.cluster_expose_port(cluster_id, node_port)
)@func()
async example(token: Secret, clusterId: string, nodePort: number): Promise<string> {
return dag
.replicated(token)
.clusterExposePort(clusterId, nodePort)
}clusterVersions() 🔗
Get the available cluster versions
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-versions
Return Type
[ClusterVersion ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET cluster-versionsfunc (m *MyModule) Example(token *dagger.Secret) []*dagger.ReplicatedClusterVersion {
return dag.
Replicated(token).
ClusterVersions()
}@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedClusterVersion]:
return (
dag.replicated(token)
.cluster_versions()
)@func()
example(token: Secret, ): ReplicatedClusterVersion[] {
return dag
.replicated(token)
.clusterVersions()
}clusterList() 🔗
List all CMX clusters
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-list –show-terminated=true –start-time=2023-01-01T00:00:00Z
Return Type
[Cluster ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| showTerminated | Boolean | - | When set, only show terminated clusters |
| startTime | String | - | Start time for the query (Format: 2006-01-02T15:04:05Z) |
| endTime | String | - | End time for the query (Format: 2006-01-02T15:04:05Z) |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET cluster-listfunc (m *MyModule) Example(token *dagger.Secret) []*dagger.ReplicatedCluster {
return dag.
Replicated(token).
ClusterList()
}@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedCluster]:
return (
dag.replicated(token)
.cluster_list()
)@func()
example(token: Secret, ): ReplicatedCluster[] {
return dag
.replicated(token)
.clusterList()
}vmCreate() 🔗
Create a new CMX VM
Example:
dagger call -m github.com/replicatedhq/daggerverse/replicated –token=env:REPLICATED_API_TOKEN vm-create –name=my-vm –wait=10m –ttl=20m –distribution=ubuntu –version=22.04
Return Type
Vm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String | - | Name of the VM |
| wait | String ! | "15m" | How long to wait for the VM to be ready |
| ttl | String ! | "20m" | TTL of the VM |
| distribution | String ! | "ubuntu" | Distribution to use |
| version | String | - | Version of the distribution to use |
| count | Integer ! | "1" | Number of VMs to create, each share a network |
| disk | Integer ! | "50" | Disk size in GiB |
| instanceType | String | - | Instance type to use |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET vm-create --wait string --ttl string --distribution string --count integer --disk integerfunc (m *MyModule) Example(token *dagger.Secret, wait string, ttl string, distribution string, count int, disk int) *dagger.ReplicatedVm {
return dag.
Replicated(token).
VmCreate(wait, ttl, distribution, count, disk)
}@function
def example(token: dagger.Secret, wait: str, ttl: str, distribution: str, count: int, disk: int) -> dagger.ReplicatedVm:
return (
dag.replicated(token)
.vm_create(wait, ttl, distribution, count, disk)
)@func()
example(token: Secret, wait: string, ttl: string, distribution: string, count: number, disk: number): ReplicatedVm {
return dag
.replicated(token)
.vmCreate(wait, ttl, distribution, count, disk)
}vmRemove() 🔗
Remove a CMX VM
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-remove –vm-id=my-vm-id dagger call –token=env:REPLICATED_API_TOKEN vm-remove –vm-name=my-vm-name
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| vmId | String | - | VM ID of the VM to remove |
| vmName | String | - | VM name of the VM to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET vm-removefunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
VmRemove(ctx)
}@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.vm_remove()
)@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.vmRemove()
}vmExposePort() 🔗
Expose a port on a CMX VM, returning the hostname of the exposed port
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-expose-port –vm-id=my-vm-id –vm-port=80
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| vmId | String ! | - | VM ID of the VM to expose port on |
| vmPort | Integer ! | - | Port to expose |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET vm-expose-port --vm-id string --vm-port integerfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret, vmId string, vmPort int) string {
return dag.
Replicated(token).
VmExposePort(ctx, vmId, vmPort)
}@function
async def example(token: dagger.Secret, vm_id: str, vm_port: int) -> str:
return await (
dag.replicated(token)
.vm_expose_port(vm_id, vm_port)
)@func()
async example(token: Secret, vmId: string, vmPort: number): Promise<string> {
return dag
.replicated(token)
.vmExposePort(vmId, vmPort)
}vmVersions() 🔗
Get the available VM versions
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-versions
Return Type
[Vmversion ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET vm-versionsfunc (m *MyModule) Example(token *dagger.Secret) []*dagger.ReplicatedVmversion {
return dag.
Replicated(token).
VmVersions()
}@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedVmversion]:
return (
dag.replicated(token)
.vm_versions()
)@func()
example(token: Secret, ): ReplicatedVmversion[] {
return dag
.replicated(token)
.vmVersions()
}vmList() 🔗
List all CMX VMs
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-list –show-terminated=true –start-time=2023-01-01T00:00:00Z
Return Type
[Vm ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| showTerminated | Boolean | - | When set, only show terminated VMs |
| startTime | String | - | Start time for the query (Format: 2006-01-02T15:04:05Z) |
| endTime | String | - | End time for the query (Format: 2006-01-02T15:04:05Z) |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
--token env:MYSECRET vm-listfunc (m *MyModule) Example(token *dagger.Secret) []*dagger.ReplicatedVm {
return dag.
Replicated(token).
VmList()
}@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedVm]:
return (
dag.replicated(token)
.vm_list()
)@func()
example(token: Secret, ): ReplicatedVm[] {
return dag
.replicated(token)
.vmList()
}Network 🔗
Network represents a single network in the response
itemId() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.itemId is not accessible from the replicated moduleFunction ReplicatedNetwork.itemId is not accessible from the replicated moduleFunction ReplicatedNetwork.itemId is not accessible from the replicated moduleFunction ReplicatedNetwork.itemId is not accessible from the replicated modulename() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.name is not accessible from the replicated moduleFunction ReplicatedNetwork.name is not accessible from the replicated moduleFunction ReplicatedNetwork.name is not accessible from the replicated moduleFunction ReplicatedNetwork.name is not accessible from the replicated modulestatus() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.status is not accessible from the replicated moduleFunction ReplicatedNetwork.status is not accessible from the replicated moduleFunction ReplicatedNetwork.status is not accessible from the replicated moduleFunction ReplicatedNetwork.status is not accessible from the replicated modulecreatedAt() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.createdAt is not accessible from the replicated moduleFunction ReplicatedNetwork.createdAt is not accessible from the replicated moduleFunction ReplicatedNetwork.createdAt is not accessible from the replicated moduleFunction ReplicatedNetwork.createdAt is not accessible from the replicated moduleexpiresAt() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.expiresAt is not accessible from the replicated moduleFunction ReplicatedNetwork.expiresAt is not accessible from the replicated moduleFunction ReplicatedNetwork.expiresAt is not accessible from the replicated moduleFunction ReplicatedNetwork.expiresAt is not accessible from the replicated modulettl() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.ttl is not accessible from the replicated moduleFunction ReplicatedNetwork.ttl is not accessible from the replicated moduleFunction ReplicatedNetwork.ttl is not accessible from the replicated moduleFunction ReplicatedNetwork.ttl is not accessible from the replicated moduleoverlayEndpoint() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.overlayEndpoint is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayEndpoint is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayEndpoint is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayEndpoint is not accessible from the replicated moduleoverlayToken() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.overlayToken is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayToken is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayToken is not accessible from the replicated moduleFunction ReplicatedNetwork.overlayToken is not accessible from the replicated modulepolicy() 🔗
Return Type
String ! Example
Function ReplicatedNetwork.policy is not accessible from the replicated moduleFunction ReplicatedNetwork.policy is not accessible from the replicated moduleFunction ReplicatedNetwork.policy is not accessible from the replicated moduleFunction ReplicatedNetwork.policy is not accessible from the replicated moduleCluster 🔗
Cluster represents a single cluster in the response
itemId() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
item-idfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
ItemId(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.item_id()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.itemId()
}name() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
namefunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Name(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.name()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.name()
}status() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
statusfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Status(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.status()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.status()
}kubernetesDistribution() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubernetes-distributionfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
KubernetesDistribution(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubernetes_distribution()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubernetesDistribution()
}kubernetesVersion() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubernetes-versionfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
KubernetesVersion(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubernetes_version()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubernetesVersion()
}nodeGroups() 🔗
Return Type
[NodeGroup ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
node-groupsfunc (m *MyModule) Example(wait string, ttl string, distribution string, nodes int) []*dagger.ReplicatedNodeGroup {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
NodeGroups()
}@function
def example(wait: str, ttl: str, distribution: str, nodes: int) -> List[dagger.ReplicatedNodeGroup]:
return (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.node_groups()
)@func()
example(wait: string, ttl: string, distribution: string, nodes: number): ReplicatedNodeGroup[] {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.nodeGroups()
}networkId() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
network-idfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
NetworkId(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.network_id()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.networkId()
}createdAt() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
created-atfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
CreatedAt(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.created_at()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.createdAt()
}expiresAt() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
expires-atfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
ExpiresAt(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.expires_at()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.expiresAt()
}ttl() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
ttlfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Ttl(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.ttl()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.ttl()
}creditsPerHourPerCluster() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
credits-per-hour-per-clusterfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
CreditsPerHourPerCluster(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.credits_per_hour_per_cluster()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.creditsPerHourPerCluster()
}flatFee() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
flat-feefunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
FlatFee(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.flat_fee()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.flatFee()
}totalCredits() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
total-creditsfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
TotalCredits(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.total_credits()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.totalCredits()
}estimatedCost() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
estimated-costfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
EstimatedCost(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.estimated_cost()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.estimatedCost()
}tags() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
tagsfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) []string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Tags(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> List[str]:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.tags()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string[]> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.tags()
}kubeconfig() 🔗
Not part of the API response, populated after creation
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubeconfigfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Kubeconfig(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubeconfig()
)@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubeconfig()
}ClusterVersion 🔗
shortName() 🔗
Return Type
String ! Example
Function ReplicatedClusterVersion.shortName is not accessible from the replicated moduleFunction ReplicatedClusterVersion.shortName is not accessible from the replicated moduleFunction ReplicatedClusterVersion.shortName is not accessible from the replicated moduleFunction ReplicatedClusterVersion.shortName is not accessible from the replicated moduleversions() 🔗
Return Type
[String ! ] ! Example
Function ReplicatedClusterVersion.versions is not accessible from the replicated moduleFunction ReplicatedClusterVersion.versions is not accessible from the replicated moduleFunction ReplicatedClusterVersion.versions is not accessible from the replicated moduleFunction ReplicatedClusterVersion.versions is not accessible from the replicated moduleinstanceTypes() 🔗
Return Type
[String ! ] ! Example
Function ReplicatedClusterVersion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedClusterVersion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedClusterVersion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedClusterVersion.instanceTypes is not accessible from the replicated modulenodesMax() 🔗
Return Type
Integer ! Example
Function ReplicatedClusterVersion.nodesMax is not accessible from the replicated moduleFunction ReplicatedClusterVersion.nodesMax is not accessible from the replicated moduleFunction ReplicatedClusterVersion.nodesMax is not accessible from the replicated moduleFunction ReplicatedClusterVersion.nodesMax is not accessible from the replicated moduleVm 🔗
VM represents a single VM in the response
itemId() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
item-idfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
ItemId(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.item_id()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.itemId()
}name() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
namefunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Name(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.name()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.name()
}status() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
statusfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Status(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.status()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.status()
}distribution() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
distributionfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Distribution(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.distribution()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.distribution()
}version() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
versionfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Version(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.version()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.version()
}createdAt() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
created-atfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
CreatedAt(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.created_at()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.createdAt()
}networkId() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
network-idfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
NetworkId(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.network_id()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.networkId()
}expiresAt() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
expires-atfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
ExpiresAt(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.expires_at()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.expiresAt()
}ttl() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
ttlfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Ttl(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.ttl()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.ttl()
}creditsPerHour() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
credits-per-hourfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
CreditsPerHour(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.credits_per_hour()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.creditsPerHour()
}flatFee() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
flat-feefunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
FlatFee(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.flat_fee()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.flatFee()
}totalCredits() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
total-creditsfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
TotalCredits(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.total_credits()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.totalCredits()
}estimatedCost() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
estimated-costfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
EstimatedCost(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.estimated_cost()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.estimatedCost()
}directSshport() 🔗
Return Type
Integer ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
direct-sshportfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
DirectSshport(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.direct_sshport()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.directSshport()
}directSshendpoint() 🔗
Return Type
String ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
direct-sshendpointfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
DirectSshendpoint(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.direct_sshendpoint()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.directSshendpoint()
}tags() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/replicatedhq/daggerverse/replicated@94a129aa52abbcdd3b5fadb86844f34056d318eb call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
tagsfunc (m *MyModule) Example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) []string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Tags(ctx)
}@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> List[str]:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.tags()
)@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string[]> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.tags()
}Vmversion 🔗
shortName() 🔗
Return Type
String ! Example
Function ReplicatedVmversion.shortName is not accessible from the replicated moduleFunction ReplicatedVmversion.shortName is not accessible from the replicated moduleFunction ReplicatedVmversion.shortName is not accessible from the replicated moduleFunction ReplicatedVmversion.shortName is not accessible from the replicated moduleversions() 🔗
Return Type
[String ! ] ! Example
Function ReplicatedVmversion.versions is not accessible from the replicated moduleFunction ReplicatedVmversion.versions is not accessible from the replicated moduleFunction ReplicatedVmversion.versions is not accessible from the replicated moduleFunction ReplicatedVmversion.versions is not accessible from the replicated moduleinstanceTypes() 🔗
Return Type
[String ! ] ! Example
Function ReplicatedVmversion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedVmversion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedVmversion.instanceTypes is not accessible from the replicated moduleFunction ReplicatedVmversion.instanceTypes is not accessible from the replicated moduleNodeGroup 🔗
NodeGroup represents a group of nodes in a cluster
itemId() 🔗
Return Type
String ! Example
Function ReplicatedNodeGroup.itemId is not accessible from the replicated moduleFunction ReplicatedNodeGroup.itemId is not accessible from the replicated moduleFunction ReplicatedNodeGroup.itemId is not accessible from the replicated moduleFunction ReplicatedNodeGroup.itemId is not accessible from the replicated moduleisDefault() 🔗
Return Type
Boolean ! Example
Function ReplicatedNodeGroup.isDefault is not accessible from the replicated moduleFunction ReplicatedNodeGroup.isDefault is not accessible from the replicated moduleFunction ReplicatedNodeGroup.isDefault is not accessible from the replicated moduleFunction ReplicatedNodeGroup.isDefault is not accessible from the replicated moduleinstanceType() 🔗
Return Type
String ! Example
Function ReplicatedNodeGroup.instanceType is not accessible from the replicated moduleFunction ReplicatedNodeGroup.instanceType is not accessible from the replicated moduleFunction ReplicatedNodeGroup.instanceType is not accessible from the replicated moduleFunction ReplicatedNodeGroup.instanceType is not accessible from the replicated modulename() 🔗
Return Type
String ! Example
Function ReplicatedNodeGroup.name is not accessible from the replicated moduleFunction ReplicatedNodeGroup.name is not accessible from the replicated moduleFunction ReplicatedNodeGroup.name is not accessible from the replicated moduleFunction ReplicatedNodeGroup.name is not accessible from the replicated modulenodeCount() 🔗
Return Type
Integer ! Example
Function ReplicatedNodeGroup.nodeCount is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodeCount is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodeCount is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodeCount is not accessible from the replicated modulediskGiB() 🔗
Return Type
Integer ! Example
Function ReplicatedNodeGroup.diskGiB is not accessible from the replicated moduleFunction ReplicatedNodeGroup.diskGiB is not accessible from the replicated moduleFunction ReplicatedNodeGroup.diskGiB is not accessible from the replicated moduleFunction ReplicatedNodeGroup.diskGiB is not accessible from the replicated modulecreatedAt() 🔗
Return Type
String ! Example
Function ReplicatedNodeGroup.createdAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.createdAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.createdAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.createdAt is not accessible from the replicated modulerunningAt() 🔗
Return Type
String ! Example
Function ReplicatedNodeGroup.runningAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.runningAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.runningAt is not accessible from the replicated moduleFunction ReplicatedNodeGroup.runningAt is not accessible from the replicated modulecreditsPerHour() 🔗
Return Type
Integer ! Example
Function ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated moduleFunction ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated moduleFunction ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated moduleFunction ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated moduleminutesBilled() 🔗
Return Type
Integer ! Example
Function ReplicatedNodeGroup.minutesBilled is not accessible from the replicated moduleFunction ReplicatedNodeGroup.minutesBilled is not accessible from the replicated moduleFunction ReplicatedNodeGroup.minutesBilled is not accessible from the replicated moduleFunction ReplicatedNodeGroup.minutesBilled is not accessible from the replicated modulenodes() 🔗
Return Type
[String ! ] ! Example
Function ReplicatedNodeGroup.nodes is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodes is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodes is not accessible from the replicated moduleFunction ReplicatedNodeGroup.nodes is not accessible from the replicated module