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

ovh.CloudProject.getContainerRegistryIPRestrictionsManagement

Explore with Pulumi AI

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

    Use this data source to get the list of Management IP Restrictions of a container registry associated with a public cloud project.

    Using getContainerRegistryIPRestrictionsManagement

    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 getContainerRegistryIPRestrictionsManagement(args: GetContainerRegistryIPRestrictionsManagementArgs, opts?: InvokeOptions): Promise<GetContainerRegistryIPRestrictionsManagementResult>
    function getContainerRegistryIPRestrictionsManagementOutput(args: GetContainerRegistryIPRestrictionsManagementOutputArgs, opts?: InvokeOptions): Output<GetContainerRegistryIPRestrictionsManagementResult>
    def get_container_registry_ip_restrictions_management(registry_id: Optional[str] = None,
                                                          service_name: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetContainerRegistryIPRestrictionsManagementResult
    def get_container_registry_ip_restrictions_management_output(registry_id: Optional[pulumi.Input[str]] = None,
                                                          service_name: Optional[pulumi.Input[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetContainerRegistryIPRestrictionsManagementResult]
    func GetContainerRegistryIPRestrictionsManagement(ctx *Context, args *GetContainerRegistryIPRestrictionsManagementArgs, opts ...InvokeOption) (*GetContainerRegistryIPRestrictionsManagementResult, error)
    func GetContainerRegistryIPRestrictionsManagementOutput(ctx *Context, args *GetContainerRegistryIPRestrictionsManagementOutputArgs, opts ...InvokeOption) GetContainerRegistryIPRestrictionsManagementResultOutput

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

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

    The following arguments are supported:

    RegistryId string
    The id of the Managed Private Registry.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    RegistryId string
    The id of the Managed Private Registry.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    registryId String
    The id of the Managed Private Registry.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    registryId string
    The id of the Managed Private Registry.
    serviceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    registry_id str
    The id of the Managed Private Registry.
    service_name str
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    registryId String
    The id of the Managed Private Registry.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

    getContainerRegistryIPRestrictionsManagement Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpRestrictions List<ImmutableDictionary<string, object>>
    IP restrictions applied on Harbor UI and API.
    RegistryId string
    The ID of the Managed Private Registry.
    ServiceName string
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpRestrictions []map[string]interface{}
    IP restrictions applied on Harbor UI and API.
    RegistryId string
    The ID of the Managed Private Registry.
    ServiceName string
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    id String
    The provider-assigned unique ID for this managed resource.
    ipRestrictions List<Map<String,Object>>
    IP restrictions applied on Harbor UI and API.
    registryId String
    The ID of the Managed Private Registry.
    serviceName String
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    id string
    The provider-assigned unique ID for this managed resource.
    ipRestrictions {[key: string]: any}[]
    IP restrictions applied on Harbor UI and API.
    registryId string
    The ID of the Managed Private Registry.
    serviceName string
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    id str
    The provider-assigned unique ID for this managed resource.
    ip_restrictions Sequence[Mapping[str, Any]]
    IP restrictions applied on Harbor UI and API.
    registry_id str
    The ID of the Managed Private Registry.
    service_name str
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    id String
    The provider-assigned unique ID for this managed resource.
    ipRestrictions List<Map<Any>>
    IP restrictions applied on Harbor UI and API.
    registryId String
    The ID of the Managed Private Registry.
    serviceName String
    The ID of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

    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