Ovh

v0.1.0 published on Friday, Nov 4, 2022 by lbrlabs

getCapabilitiesContainerRegistry

Use this data source to get the container registry capabilities of a public cloud project.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var capabilities = Ovh.CloudProject.GetCapabilitiesContainerRegistry.Invoke(new()
    {
        ServiceName = "XXXXXX",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProject"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err = CloudProject.GetCapabilitiesContainerRegistry(ctx, &cloudproject.GetCapabilitiesContainerRegistryArgs{
			ServiceName: "XXXXXX",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
import com.pulumi.ovh.CloudProject.inputs.GetCapabilitiesContainerRegistryArgs;
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 capabilities = CloudProjectFunctions.getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs.builder()
            .serviceName("XXXXXX")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

capabilities = ovh.CloudProject.get_capabilities_container_registry(service_name="XXXXXX")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const capabilities = pulumi.output(ovh.CloudProject.getCapabilitiesContainerRegistry({
    serviceName: "XXXXXX",
}));
variables:
  capabilities:
    fn::invoke:
      Function: ovh:CloudProject:getCapabilitiesContainerRegistry
      Arguments:
        serviceName: XXXXXX

Using getCapabilitiesContainerRegistry

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 getCapabilitiesContainerRegistry(args: GetCapabilitiesContainerRegistryArgs, opts?: InvokeOptions): Promise<GetCapabilitiesContainerRegistryResult>
function getCapabilitiesContainerRegistryOutput(args: GetCapabilitiesContainerRegistryOutputArgs, opts?: InvokeOptions): Output<GetCapabilitiesContainerRegistryResult>
def get_capabilities_container_registry(service_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCapabilitiesContainerRegistryResult
def get_capabilities_container_registry_output(service_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCapabilitiesContainerRegistryResult]
func GetCapabilitiesContainerRegistry(ctx *Context, args *GetCapabilitiesContainerRegistryArgs, opts ...InvokeOption) (*GetCapabilitiesContainerRegistryResult, error)
func GetCapabilitiesContainerRegistryOutput(ctx *Context, args *GetCapabilitiesContainerRegistryOutputArgs, opts ...InvokeOption) GetCapabilitiesContainerRegistryResultOutput

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

public static class GetCapabilitiesContainerRegistry 
{
    public static Task<GetCapabilitiesContainerRegistryResult> InvokeAsync(GetCapabilitiesContainerRegistryArgs args, InvokeOptions? opts = null)
    public static Output<GetCapabilitiesContainerRegistryResult> Invoke(GetCapabilitiesContainerRegistryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCapabilitiesContainerRegistryResult> getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:CloudProject/getCapabilitiesContainerRegistry:getCapabilitiesContainerRegistry
  arguments:
    # arguments dictionary

The following arguments are supported:

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

getCapabilitiesContainerRegistry Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Results List<Lbrlabs.PulumiPackage.Ovh.CloudProject.Outputs.GetCapabilitiesContainerRegistryResult>

List of container registry capability for a single region

ServiceName string
Id string

The provider-assigned unique ID for this managed resource.

Results []GetCapabilitiesContainerRegistryResult

List of container registry capability for a single region

ServiceName string
id String

The provider-assigned unique ID for this managed resource.

results List<GetCapabilitiesContainerRegistryResult>

List of container registry capability for a single region

serviceName String
id string

The provider-assigned unique ID for this managed resource.

results GetCapabilitiesContainerRegistryResult[]

List of container registry capability for a single region

serviceName string
id str

The provider-assigned unique ID for this managed resource.

results GetCapabilitiesContainerRegistryResult]

List of container registry capability for a single region

service_name str
id String

The provider-assigned unique ID for this managed resource.

results List<Property Map>

List of container registry capability for a single region

serviceName String

Supporting Types

GetCapabilitiesContainerRegistryResult

Plans []GetCapabilitiesContainerRegistryResultPlan

Available plans in the region

RegionName string

The region name

plans List<GetCapabilitiesContainerRegistryResultPlan>

Available plans in the region

regionName String

The region name

plans GetCapabilitiesContainerRegistryResultPlan[]

Available plans in the region

regionName string

The region name

plans GetCapabilitiesContainerRegistryResultPlan]

Available plans in the region

region_name str

The region name

plans List<Property Map>

Available plans in the region

regionName String

The region name

GetCapabilitiesContainerRegistryResultPlan

Code string

Plan code from the catalog

CreatedAt string

Plan creation date

Features []GetCapabilitiesContainerRegistryResultPlanFeature

Features of the plan

Id string

Plan ID

Name string

Plan name

RegistryLimits []GetCapabilitiesContainerRegistryResultPlanRegistryLimit

Container registry limits

UpdatedAt string

Plan last update date

code String

Plan code from the catalog

createdAt String

Plan creation date

features List<GetCapabilitiesContainerRegistryResultPlanFeature>

Features of the plan

id String

Plan ID

name String

Plan name

registryLimits List<GetCapabilitiesContainerRegistryResultPlanRegistryLimit>

Container registry limits

updatedAt String

Plan last update date

code string

Plan code from the catalog

createdAt string

Plan creation date

features GetCapabilitiesContainerRegistryResultPlanFeature[]

Features of the plan

id string

Plan ID

name string

Plan name

registryLimits GetCapabilitiesContainerRegistryResultPlanRegistryLimit[]

Container registry limits

updatedAt string

Plan last update date

code str

Plan code from the catalog

created_at str

Plan creation date

features GetCapabilitiesContainerRegistryResultPlanFeature]

Features of the plan

id str

Plan ID

name str

Plan name

registry_limits GetCapabilitiesContainerRegistryResultPlanRegistryLimit]

Container registry limits

updated_at str

Plan last update date

code String

Plan code from the catalog

createdAt String

Plan creation date

features List<Property Map>

Features of the plan

id String

Plan ID

name String

Plan name

registryLimits List<Property Map>

Container registry limits

updatedAt String

Plan last update date

GetCapabilitiesContainerRegistryResultPlanFeature

Vulnerability bool

Vulnerability scanning

Vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

vulnerability boolean

Vulnerability scanning

vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

GetCapabilitiesContainerRegistryResultPlanRegistryLimit

ImageStorage int

Docker image storage limits in bytes

ParallelRequest int

Parallel requests on Docker image API (/v2 Docker registry API)

ImageStorage int

Docker image storage limits in bytes

ParallelRequest int

Parallel requests on Docker image API (/v2 Docker registry API)

imageStorage Integer

Docker image storage limits in bytes

parallelRequest Integer

Parallel requests on Docker image API (/v2 Docker registry API)

imageStorage number

Docker image storage limits in bytes

parallelRequest number

Parallel requests on Docker image API (/v2 Docker registry API)

image_storage int

Docker image storage limits in bytes

parallel_request int

Parallel requests on Docker image API (/v2 Docker registry API)

imageStorage Number

Docker image storage limits in bytes

parallelRequest Number

Parallel requests on Docker image API (/v2 Docker registry API)

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.