1. Packages
  2. OVH
  3. API Docs
  4. CloudProject
  5. getCapabilitiesContainerFilter
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

ovh.CloudProject.getCapabilitiesContainerFilter

Explore with Pulumi AI

ovh logo
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const capability = ovh.CloudProject.getCapabilitiesContainerFilter({
        planName: "SMALL",
        region: "GRA",
        serviceName: "XXXXXX",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    capability = ovh.CloudProject.get_capabilities_container_filter(plan_name="SMALL",
        region="GRA",
        service_name="XXXXXX")
    
    package main
    
    import (
    	"github.com/ovh/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.GetCapabilitiesContainerFilter(ctx, &cloudproject.GetCapabilitiesContainerFilterArgs{
    			PlanName:    "SMALL",
    			Region:      "GRA",
    			ServiceName: "XXXXXX",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var capability = Ovh.CloudProject.GetCapabilitiesContainerFilter.Invoke(new()
        {
            PlanName = "SMALL",
            Region = "GRA",
            ServiceName = "XXXXXX",
        });
    
    });
    
    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.GetCapabilitiesContainerFilterArgs;
    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 = CloudProjectFunctions.getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs.builder()
                .planName("SMALL")
                .region("GRA")
                .serviceName("XXXXXX")
                .build());
    
        }
    }
    
    variables:
      capability:
        fn::invoke:
          Function: ovh:CloudProject:getCapabilitiesContainerFilter
          Arguments:
            planName: SMALL
            region: GRA
            serviceName: XXXXXX
    

    Using getCapabilitiesContainerFilter

    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 getCapabilitiesContainerFilter(args: GetCapabilitiesContainerFilterArgs, opts?: InvokeOptions): Promise<GetCapabilitiesContainerFilterResult>
    function getCapabilitiesContainerFilterOutput(args: GetCapabilitiesContainerFilterOutputArgs, opts?: InvokeOptions): Output<GetCapabilitiesContainerFilterResult>
    def get_capabilities_container_filter(plan_name: Optional[str] = None,
                                          region: Optional[str] = None,
                                          service_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetCapabilitiesContainerFilterResult
    def get_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[GetCapabilitiesContainerFilterResult]
    func GetCapabilitiesContainerFilter(ctx *Context, args *GetCapabilitiesContainerFilterArgs, opts ...InvokeOption) (*GetCapabilitiesContainerFilterResult, error)
    func GetCapabilitiesContainerFilterOutput(ctx *Context, args *GetCapabilitiesContainerFilterOutputArgs, opts ...InvokeOption) GetCapabilitiesContainerFilterResultOutput

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

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

    The following arguments are supported:

    PlanName string
    The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
    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.

    getCapabilitiesContainerFilter Result

    The following output properties are available:

    Code string
    Plan code from the catalog
    CreatedAt string
    Plan creation date
    Features List<GetCapabilitiesContainerFilterFeature>
    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<GetCapabilitiesContainerFilterRegistryLimit>
    Container registry limits
    ServiceName string
    UpdatedAt string
    Plan last update date
    Code string
    Plan code from the catalog
    CreatedAt string
    Plan creation date
    Features []GetCapabilitiesContainerFilterFeature
    Features of the plan
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Plan name
    PlanName string
    Region string
    RegistryLimits []GetCapabilitiesContainerFilterRegistryLimit
    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<GetCapabilitiesContainerFilterFeature>
    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<GetCapabilitiesContainerFilterRegistryLimit>
    Container registry limits
    serviceName String
    updatedAt String
    Plan last update date
    code string
    Plan code from the catalog
    createdAt string
    Plan creation date
    features GetCapabilitiesContainerFilterFeature[]
    Features of the plan
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Plan name
    planName string
    region string
    registryLimits GetCapabilitiesContainerFilterRegistryLimit[]
    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[cloudproject.GetCapabilitiesContainerFilterFeature]
    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[cloudproject.GetCapabilitiesContainerFilterRegistryLimit]
    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

    GetCapabilitiesContainerFilterFeature

    Vulnerability bool
    Vulnerability scanning
    Vulnerability bool
    Vulnerability scanning
    vulnerability Boolean
    Vulnerability scanning
    vulnerability boolean
    Vulnerability scanning
    vulnerability bool
    Vulnerability scanning
    vulnerability Boolean
    Vulnerability scanning

    GetCapabilitiesContainerFilterRegistryLimit

    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
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud