Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

getCloudProjectCapabilitiesContainerRegistry

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.GetCloudProjectCapabilitiesContainerRegistry.Invoke(new()
    {
        ServiceName = "XXXXXX",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.LookupCloudProjectCapabilitiesContainerRegistry(ctx, &GetCloudProjectCapabilitiesContainerRegistryArgs{
			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.OvhFunctions;
import com.pulumi.ovh.inputs.GetCloudProjectCapabilitiesContainerRegistryArgs;
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 = OvhFunctions.getCloudProjectCapabilitiesContainerRegistry(GetCloudProjectCapabilitiesContainerRegistryArgs.builder()
            .serviceName("XXXXXX")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

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

const capabilities = pulumi.output(ovh.getCloudProjectCapabilitiesContainerRegistry({
    serviceName: "XXXXXX",
}));
variables:
  capabilities:
    Fn::Invoke:
      Function: ovh:getCloudProjectCapabilitiesContainerRegistry
      Arguments:
        serviceName: XXXXXX

Using getCloudProjectCapabilitiesContainerRegistry

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 getCloudProjectCapabilitiesContainerRegistry(args: GetCloudProjectCapabilitiesContainerRegistryArgs, opts?: InvokeOptions): Promise<GetCloudProjectCapabilitiesContainerRegistryResult>
function getCloudProjectCapabilitiesContainerRegistryOutput(args: GetCloudProjectCapabilitiesContainerRegistryOutputArgs, opts?: InvokeOptions): Output<GetCloudProjectCapabilitiesContainerRegistryResult>
def get_cloud_project_capabilities_container_registry(service_name: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetCloudProjectCapabilitiesContainerRegistryResult
def get_cloud_project_capabilities_container_registry_output(service_name: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetCloudProjectCapabilitiesContainerRegistryResult]
func LookupCloudProjectCapabilitiesContainerRegistry(ctx *Context, args *LookupCloudProjectCapabilitiesContainerRegistryArgs, opts ...InvokeOption) (*LookupCloudProjectCapabilitiesContainerRegistryResult, error)
func LookupCloudProjectCapabilitiesContainerRegistryOutput(ctx *Context, args *LookupCloudProjectCapabilitiesContainerRegistryOutputArgs, opts ...InvokeOption) LookupCloudProjectCapabilitiesContainerRegistryResultOutput

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

public static class GetCloudProjectCapabilitiesContainerRegistry 
{
    public static Task<GetCloudProjectCapabilitiesContainerRegistryResult> InvokeAsync(GetCloudProjectCapabilitiesContainerRegistryArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudProjectCapabilitiesContainerRegistryResult> Invoke(GetCloudProjectCapabilitiesContainerRegistryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudProjectCapabilitiesContainerRegistryResult> getCloudProjectCapabilitiesContainerRegistry(GetCloudProjectCapabilitiesContainerRegistryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getCloudProjectCapabilitiesContainerRegistry:getCloudProjectCapabilitiesContainerRegistry
  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.

getCloudProjectCapabilitiesContainerRegistry Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Results List<Lbrlabs.PulumiPackage.Ovh.Outputs.GetCloudProjectCapabilitiesContainerRegistryResult>

List of container registry capability for a single region

ServiceName string
Id string

The provider-assigned unique ID for this managed resource.

Results []GetCloudProjectCapabilitiesContainerRegistryResult

List of container registry capability for a single region

ServiceName string
id String

The provider-assigned unique ID for this managed resource.

results List<GetCloudProjectCapabilitiesContainerRegistryResult>

List of container registry capability for a single region

serviceName String
id string

The provider-assigned unique ID for this managed resource.

results GetCloudProjectCapabilitiesContainerRegistryResult[]

List of container registry capability for a single region

serviceName string
id str

The provider-assigned unique ID for this managed resource.

results Sequence[GetCloudProjectCapabilitiesContainerRegistryResult]

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

GetCloudProjectCapabilitiesContainerRegistryResult

Plans []GetCloudProjectCapabilitiesContainerRegistryResultPlan

Available plans in the region

RegionName string

The region name

plans List<GetCloudProjectCapabilitiesContainerRegistryResultPlan>

Available plans in the region

regionName String

The region name

plans GetCloudProjectCapabilitiesContainerRegistryResultPlan[]

Available plans in the region

regionName string

The region name

plans List<Property Map>

Available plans in the region

regionName String

The region name

GetCloudProjectCapabilitiesContainerRegistryResultPlan

Code string

Plan code from the catalog

CreatedAt string

Plan creation date

Features []GetCloudProjectCapabilitiesContainerRegistryResultPlanFeature

Features of the plan

Id string

Plan ID

Name string

Plan name

RegistryLimits []GetCloudProjectCapabilitiesContainerRegistryResultPlanRegistryLimit

Container registry limits

UpdatedAt string

Plan last update date

code String

Plan code from the catalog

createdAt String

Plan creation date

features List<GetCloudProjectCapabilitiesContainerRegistryResultPlanFeature>

Features of the plan

id String

Plan ID

name String

Plan name

registryLimits List<GetCloudProjectCapabilitiesContainerRegistryResultPlanRegistryLimit>

Container registry limits

updatedAt String

Plan last update date

code string

Plan code from the catalog

createdAt string

Plan creation date

features GetCloudProjectCapabilitiesContainerRegistryResultPlanFeature[]

Features of the plan

id string

Plan ID

name string

Plan name

registryLimits GetCloudProjectCapabilitiesContainerRegistryResultPlanRegistryLimit[]

Container registry limits

updatedAt string

Plan last update date

code str

Plan code from the catalog

created_at str

Plan creation date

features Sequence[GetCloudProjectCapabilitiesContainerRegistryResultPlanFeature]

Features of the plan

id str

Plan ID

name str

Plan name

registry_limits Sequence[GetCloudProjectCapabilitiesContainerRegistryResultPlanRegistryLimit]

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

GetCloudProjectCapabilitiesContainerRegistryResultPlanFeature

Vulnerability bool

Vulnerability scanning

Vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

vulnerability boolean

Vulnerability scanning

vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

GetCloudProjectCapabilitiesContainerRegistryResultPlanRegistryLimit

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.