Scaleway
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:
- Namespace
Id string - Container
Id string - Name string
- Region string
- Namespace
Id string - Container
Id string - Name string
- Region string
- namespace
Id String - container
Id String - name String
- region String
- namespace
Id string - container
Id string - name string
- region string
- namespace_
id str - container_
id str - name str
- region str
- namespace
Id String - container
Id String - name String
- region String
getContainer Result
The following output properties are available:
- Cpu
Limit int - Cron
Status string - Deploy bool
- Description string
- Domain
Name string - Environment
Variables Dictionary<string, string> - Error
Message string - Id string
The provider-assigned unique ID for this managed resource.
- Max
Concurrency int - Max
Scale int - Memory
Limit int - Min
Scale int - Namespace
Id string - Port int
- Privacy string
- Protocol string
- Registry
Image string - Status string
- Timeout int
- Container
Id string - Name string
- Region string
- Cpu
Limit int - Cron
Status string - Deploy bool
- Description string
- Domain
Name string - Environment
Variables map[string]string - Error
Message string - Id string
The provider-assigned unique ID for this managed resource.
- Max
Concurrency int - Max
Scale int - Memory
Limit int - Min
Scale int - Namespace
Id string - Port int
- Privacy string
- Protocol string
- Registry
Image string - Status string
- Timeout int
- Container
Id string - Name string
- Region string
- cpu
Limit Integer - cron
Status String - deploy Boolean
- description String
- domain
Name String - environment
Variables Map<String,String> - error
Message String - id String
The provider-assigned unique ID for this managed resource.
- max
Concurrency Integer - max
Scale Integer - memory
Limit Integer - min
Scale Integer - namespace
Id String - port Integer
- privacy String
- protocol String
- registry
Image String - status String
- timeout Integer
- container
Id String - name String
- region String
- cpu
Limit number - cron
Status string - deploy boolean
- description string
- domain
Name string - environment
Variables {[key: string]: string} - error
Message string - id string
The provider-assigned unique ID for this managed resource.
- max
Concurrency number - max
Scale number - memory
Limit number - min
Scale number - namespace
Id string - port number
- privacy string
- protocol string
- registry
Image string - status string
- timeout number
- container
Id 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
- cpu
Limit Number - cron
Status String - deploy Boolean
- description String
- domain
Name String - environment
Variables Map<String> - error
Message String - id String
The provider-assigned unique ID for this managed resource.
- max
Concurrency Number - max
Scale Number - memory
Limit Number - min
Scale Number - namespace
Id String - port Number
- privacy String
- protocol String
- registry
Image String - status String
- timeout Number
- container
Id 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.