OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud
ovh.CloudProject.getCapabilitiesContainerFilter
Explore with Pulumi AI
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:
- Plan
Name string - The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
- Region string
- The region name
- Service
Name string - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- Plan
Name string - The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
- Region string
- The region name
- Service
Name string - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- plan
Name String - The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
- region String
- The region name
- service
Name String - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- plan
Name string - The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
- region string
- The region name
- service
Name 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.
- plan
Name String - The plan name. It can be 'SMALL', 'MEDIUM' or 'LARGE'.
- region String
- The region name
- service
Name 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
- Created
At string - Plan creation date
- Features
List<Get
Capabilities Container Filter Feature> - Features of the plan
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Plan name
- Plan
Name string - Region string
- Registry
Limits List<GetCapabilities Container Filter Registry Limit> - Container registry limits
- Service
Name string - Updated
At string - Plan last update date
- Code string
- Plan code from the catalog
- Created
At string - Plan creation date
- Features
[]Get
Capabilities Container Filter Feature - Features of the plan
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Plan name
- Plan
Name string - Region string
- Registry
Limits []GetCapabilities Container Filter Registry Limit - Container registry limits
- Service
Name string - Updated
At string - Plan last update date
- code String
- Plan code from the catalog
- created
At String - Plan creation date
- features
List<Get
Capabilities Container Filter Feature> - Features of the plan
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Plan name
- plan
Name String - region String
- registry
Limits List<GetCapabilities Container Filter Registry Limit> - Container registry limits
- service
Name String - updated
At String - Plan last update date
- code string
- Plan code from the catalog
- created
At string - Plan creation date
- features
Get
Capabilities Container Filter Feature[] - Features of the plan
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Plan name
- plan
Name string - region string
- registry
Limits GetCapabilities Container Filter Registry Limit[] - Container registry limits
- service
Name string - updated
At string - Plan last update date
- code str
- Plan code from the catalog
- created_
at str - Plan creation date
- features
Sequence[cloudproject.
Get Capabilities Container Filter Feature] - 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.Get Capabilities Container Filter Registry Limit] - Container registry limits
- service_
name str - updated_
at str - Plan last update date
- code String
- Plan code from the catalog
- created
At 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
- plan
Name String - region String
- registry
Limits List<Property Map> - Container registry limits
- service
Name String - updated
At 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
- Image
Storage int - Docker image storage limits in bytes
- Parallel
Request int - 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)
- image
Storage Integer - Docker image storage limits in bytes
- parallel
Request Integer - Parallel requests on Docker image API (/v2 Docker registry API)
- image
Storage number - Docker image storage limits in bytes
- parallel
Request 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)
- image
Storage Number - Docker image storage limits in bytes
- parallel
Request 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.