Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

getContainer

Using getContainer

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getContainer(args: GetContainerArgs, opts?: InvokeOptions): Promise<GetContainerResult>
function getContainerOutput(args: GetContainerOutputArgs, opts?: InvokeOptions): Output<GetContainerResult>
def get_container(container_id: Optional[str] = None,
                  name: Optional[str] = None,
                  namespace_id: Optional[str] = None,
                  region: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetContainerResult
def get_container_output(container_id: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  namespace_id: Optional[pulumi.Input[str]] = None,
                  region: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetContainerResult]
func LookupContainer(ctx *Context, args *LookupContainerArgs, opts ...InvokeOption) (*LookupContainerResult, error)
func LookupContainerOutput(ctx *Context, args *LookupContainerOutputArgs, opts ...InvokeOption) LookupContainerResultOutput

> Note: This function is named LookupContainer in the Go SDK.

public static class GetContainer 
{
    public static Task<GetContainerResult> InvokeAsync(GetContainerArgs args, InvokeOptions? opts = null)
    public static Output<GetContainerResult> Invoke(GetContainerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContainerResult> getContainer(GetContainerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getContainer:getContainer
  Arguments:
    # Arguments dictionary

The following arguments are supported:

NamespaceId string
ContainerId string
Name string
Region string
NamespaceId string
ContainerId string
Name string
Region string
namespaceId String
containerId String
name String
region String
namespaceId string
containerId string
name string
region string
namespaceId String
containerId String
name String
region String

getContainer Result

The following output properties are available:

CpuLimit int
CronStatus string
Deploy bool
Description string
DomainName string
EnvironmentVariables Dictionary<string, string>
ErrorMessage string
Id string

The provider-assigned unique ID for this managed resource.

MaxConcurrency int
MaxScale int
MemoryLimit int
MinScale int
NamespaceId string
Port int
Privacy string
Protocol string
RegistryImage string
Status string
Timeout int
ContainerId string
Name string
Region string
CpuLimit int
CronStatus string
Deploy bool
Description string
DomainName string
EnvironmentVariables map[string]string
ErrorMessage string
Id string

The provider-assigned unique ID for this managed resource.

MaxConcurrency int
MaxScale int
MemoryLimit int
MinScale int
NamespaceId string
Port int
Privacy string
Protocol string
RegistryImage string
Status string
Timeout int
ContainerId string
Name string
Region string
cpuLimit Integer
cronStatus String
deploy Boolean
description String
domainName String
environmentVariables Map<String,String>
errorMessage String
id String

The provider-assigned unique ID for this managed resource.

maxConcurrency Integer
maxScale Integer
memoryLimit Integer
minScale Integer
namespaceId String
port Integer
privacy String
protocol String
registryImage String
status String
timeout Integer
containerId String
name String
region String
cpuLimit number
cronStatus string
deploy boolean
description string
domainName string
environmentVariables {[key: string]: string}
errorMessage string
id string

The provider-assigned unique ID for this managed resource.

maxConcurrency number
maxScale number
memoryLimit number
minScale number
namespaceId string
port number
privacy string
protocol string
registryImage string
status string
timeout number
containerId string
name string
region string
cpu_limit int
cron_status str
deploy bool
description str
domain_name str
environment_variables Mapping[str, str]
error_message str
id str

The provider-assigned unique ID for this managed resource.

max_concurrency int
max_scale int
memory_limit int
min_scale int
namespace_id str
port int
privacy str
protocol str
registry_image str
status str
timeout int
container_id str
name str
region str
cpuLimit Number
cronStatus String
deploy Boolean
description String
domainName String
environmentVariables Map<String>
errorMessage String
id String

The provider-assigned unique ID for this managed resource.

maxConcurrency Number
maxScale Number
memoryLimit Number
minScale Number
namespaceId String
port Number
privacy String
protocol String
registryImage String
status String
timeout Number
containerId String
name String
region String

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.