OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud
ovh.CloudProject.getCapabilitiesContainerRegistry
Explore with Pulumi AI
Use this data source to get the container registry capabilities of a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const capabilities = ovh.CloudProject.getCapabilitiesContainerRegistry({
serviceName: "XXXXXX",
});
import pulumi
import pulumi_ovh as ovh
capabilities = ovh.CloudProject.get_capabilities_container_registry(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.GetCapabilitiesContainerRegistry(ctx, &cloudproject.GetCapabilitiesContainerRegistryArgs{
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 capabilities = Ovh.CloudProject.GetCapabilitiesContainerRegistry.Invoke(new()
{
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.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());
}
}
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:
- Service
Name string - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- Service
Name string - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- service
Name String - The id of the public cloud project. If omitted,
the
OVH_CLOUD_PROJECT_SERVICE
environment variable is used.
- service
Name 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.
- service
Name 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<Get
Capabilities Container Registry Result> - List of container registry capability for a single region
- Service
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Capabilities Container Registry Result - List of container registry capability for a single region
- Service
Name string
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Capabilities Container Registry Result> - List of container registry capability for a single region
- service
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Capabilities Container Registry Result[] - List of container registry capability for a single region
- service
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[cloudproject.
Get Capabilities Container Registry Result] - 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
- service
Name String
Supporting Types
GetCapabilitiesContainerRegistryResult
- Plans
List<Get
Capabilities Container Registry Result Plan> - Available plans in the region
- Region
Name string - The region name
- Plans
[]Get
Capabilities Container Registry Result Plan - Available plans in the region
- Region
Name string - The region name
- plans
List<Get
Capabilities Container Registry Result Plan> - Available plans in the region
- region
Name String - The region name
- plans
Get
Capabilities Container Registry Result Plan[] - Available plans in the region
- region
Name string - The region name
- plans
Sequence[cloudproject.
Get Capabilities Container Registry Result Plan] - Available plans in the region
- region_
name str - The region name
- plans List<Property Map>
- Available plans in the region
- region
Name String - The region name
GetCapabilitiesContainerRegistryResultPlan
- Code string
- Plan code from the catalog
- Created
At string - Plan creation date
- Features
List<Get
Capabilities Container Registry Result Plan Feature> - Features of the plan
- Id string
- Plan ID
- Name string
- Plan name
- Registry
Limits List<GetCapabilities Container Registry Result Plan Registry Limit> - Container registry limits
- Updated
At string - Plan last update date
- Code string
- Plan code from the catalog
- Created
At string - Plan creation date
- Features
[]Get
Capabilities Container Registry Result Plan Feature - Features of the plan
- Id string
- Plan ID
- Name string
- Plan name
- Registry
Limits []GetCapabilities Container Registry Result Plan Registry Limit - Container registry limits
- 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 Registry Result Plan Feature> - Features of the plan
- id String
- Plan ID
- name String
- Plan name
- registry
Limits List<GetCapabilities Container Registry Result Plan Registry Limit> - Container registry limits
- updated
At String - Plan last update date
- code string
- Plan code from the catalog
- created
At string - Plan creation date
- features
Get
Capabilities Container Registry Result Plan Feature[] - Features of the plan
- id string
- Plan ID
- name string
- Plan name
- registry
Limits GetCapabilities Container Registry Result Plan Registry Limit[] - Container registry limits
- 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 Registry Result Plan Feature] - Features of the plan
- id str
- Plan ID
- name str
- Plan name
- registry_
limits Sequence[cloudproject.Get Capabilities Container Registry Result Plan Registry Limit] - Container registry limits
- 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
- Plan ID
- name String
- Plan name
- registry
Limits List<Property Map> - Container registry limits
- updated
At 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
- 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.