Ovh

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

getCloudProjectCapabilitiesContainerFilter

Use this data source to filter the list of container registry capabilities associated with a public cloud project to match one and only one capability.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var capability = Ovh.GetCloudProjectCapabilitiesContainerFilter.Invoke(new()
    {
        PlanName = "SMALL",
        Region = "GRA",
        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.GetCloudProjectCapabilitiesContainerFilter(ctx, &GetCloudProjectCapabilitiesContainerFilterArgs{
			PlanName:    "SMALL",
			Region:      "GRA",
			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.GetCloudProjectCapabilitiesContainerFilterArgs;
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 capability = OvhFunctions.getCloudProjectCapabilitiesContainerFilter(GetCloudProjectCapabilitiesContainerFilterArgs.builder()
            .planName("SMALL")
            .region("GRA")
            .serviceName("XXXXXX")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

capability = ovh.get_cloud_project_capabilities_container_filter(plan_name="SMALL",
    region="GRA",
    service_name="XXXXXX")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const capability = pulumi.output(ovh.getCloudProjectCapabilitiesContainerFilter({
    planName: "SMALL",
    region: "GRA",
    serviceName: "XXXXXX",
}));
variables:
  capability:
    Fn::Invoke:
      Function: ovh:getCloudProjectCapabilitiesContainerFilter
      Arguments:
        planName: SMALL
        region: GRA
        serviceName: XXXXXX

Using getCloudProjectCapabilitiesContainerFilter

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 getCloudProjectCapabilitiesContainerFilter(args: GetCloudProjectCapabilitiesContainerFilterArgs, opts?: InvokeOptions): Promise<GetCloudProjectCapabilitiesContainerFilterResult>
function getCloudProjectCapabilitiesContainerFilterOutput(args: GetCloudProjectCapabilitiesContainerFilterOutputArgs, opts?: InvokeOptions): Output<GetCloudProjectCapabilitiesContainerFilterResult>
def get_cloud_project_capabilities_container_filter(plan_name: Optional[str] = None,
                                                    region: Optional[str] = None,
                                                    service_name: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetCloudProjectCapabilitiesContainerFilterResult
def get_cloud_project_capabilities_container_filter_output(plan_name: Optional[pulumi.Input[str]] = None,
                                                    region: Optional[pulumi.Input[str]] = None,
                                                    service_name: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetCloudProjectCapabilitiesContainerFilterResult]
func GetCloudProjectCapabilitiesContainerFilter(ctx *Context, args *GetCloudProjectCapabilitiesContainerFilterArgs, opts ...InvokeOption) (*GetCloudProjectCapabilitiesContainerFilterResult, error)
func GetCloudProjectCapabilitiesContainerFilterOutput(ctx *Context, args *GetCloudProjectCapabilitiesContainerFilterOutputArgs, opts ...InvokeOption) GetCloudProjectCapabilitiesContainerFilterResultOutput

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

public static class GetCloudProjectCapabilitiesContainerFilter 
{
    public static Task<GetCloudProjectCapabilitiesContainerFilterResult> InvokeAsync(GetCloudProjectCapabilitiesContainerFilterArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudProjectCapabilitiesContainerFilterResult> Invoke(GetCloudProjectCapabilitiesContainerFilterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudProjectCapabilitiesContainerFilterResult> getCloudProjectCapabilitiesContainerFilter(GetCloudProjectCapabilitiesContainerFilterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getCloudProjectCapabilitiesContainerFilter:getCloudProjectCapabilitiesContainerFilter
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PlanName string

The plan name

Region string

The region name

ServiceName string

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

PlanName string

The plan name

Region string

The region name

ServiceName string

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

planName String

The plan name

region String

The region name

serviceName String

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

planName string

The plan name

region string

The region name

serviceName string

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

plan_name str

The plan name

region str

The region name

service_name str

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

planName String

The plan name

region String

The region name

serviceName String

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

getCloudProjectCapabilitiesContainerFilter Result

The following output properties are available:

Code string

Plan code from the catalog

CreatedAt string

Plan creation date

Features List<Lbrlabs.PulumiPackage.Ovh.Outputs.GetCloudProjectCapabilitiesContainerFilterFeature>

Features of the plan

Id string

The provider-assigned unique ID for this managed resource.

Name string

Plan name

PlanName string
Region string
RegistryLimits List<Lbrlabs.PulumiPackage.Ovh.Outputs.GetCloudProjectCapabilitiesContainerFilterRegistryLimit>

Container registry limits

ServiceName string
UpdatedAt string

Plan last update date

Code string

Plan code from the catalog

CreatedAt string

Plan creation date

Features []GetCloudProjectCapabilitiesContainerFilterFeature

Features of the plan

Id string

The provider-assigned unique ID for this managed resource.

Name string

Plan name

PlanName string
Region string
RegistryLimits []GetCloudProjectCapabilitiesContainerFilterRegistryLimit

Container registry limits

ServiceName string
UpdatedAt string

Plan last update date

code String

Plan code from the catalog

createdAt String

Plan creation date

features List<GetCloudProjectCapabilitiesContainerFilterFeature>

Features of the plan

id String

The provider-assigned unique ID for this managed resource.

name String

Plan name

planName String
region String
registryLimits List<GetCloudProjectCapabilitiesContainerFilterRegistryLimit>

Container registry limits

serviceName String
updatedAt String

Plan last update date

code string

Plan code from the catalog

createdAt string

Plan creation date

features GetCloudProjectCapabilitiesContainerFilterFeature[]

Features of the plan

id string

The provider-assigned unique ID for this managed resource.

name string

Plan name

planName string
region string
registryLimits GetCloudProjectCapabilitiesContainerFilterRegistryLimit[]

Container registry limits

serviceName string
updatedAt string

Plan last update date

code str

Plan code from the catalog

created_at str

Plan creation date

features Sequence[GetCloudProjectCapabilitiesContainerFilterFeature]

Features of the plan

id str

The provider-assigned unique ID for this managed resource.

name str

Plan name

plan_name str
region str
registry_limits Sequence[GetCloudProjectCapabilitiesContainerFilterRegistryLimit]

Container registry limits

service_name str
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

The provider-assigned unique ID for this managed resource.

name String

Plan name

planName String
region String
registryLimits List<Property Map>

Container registry limits

serviceName String
updatedAt String

Plan last update date

Supporting Types

GetCloudProjectCapabilitiesContainerFilterFeature

Vulnerability bool

Vulnerability scanning

Vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

vulnerability boolean

Vulnerability scanning

vulnerability bool

Vulnerability scanning

vulnerability Boolean

Vulnerability scanning

GetCloudProjectCapabilitiesContainerFilterRegistryLimit

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.