Viewing docs for opentelekomcloud 1.36.62
published on Thursday, Mar 26, 2026 by opentelekomcloud
published on Thursday, Mar 26, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.62
published on Thursday, Mar 26, 2026 by opentelekomcloud
published on Thursday, Mar 26, 2026 by opentelekomcloud
Up-to-date reference of API arguments for SWR domain you can get at documentation portal
Get list of SWR image sharing domains within Open Telekom Cloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const orgName = config.requireObject<any>("orgName");
const repoName = config.requireObject<any>("repoName");
const domains = opentelekomcloud.getSwrDomainsV2({
organization: orgName,
repository: repoName,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
org_name = config.require_object("orgName")
repo_name = config.require_object("repoName")
domains = opentelekomcloud.get_swr_domains_v2(organization=org_name,
repository=repo_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
orgName := cfg.RequireObject("orgName")
repoName := cfg.RequireObject("repoName")
_, err := opentelekomcloud.GetSwrDomainsV2(ctx, &opentelekomcloud.GetSwrDomainsV2Args{
Organization: orgName,
Repository: repoName,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var orgName = config.RequireObject<dynamic>("orgName");
var repoName = config.RequireObject<dynamic>("repoName");
var domains = Opentelekomcloud.GetSwrDomainsV2.Invoke(new()
{
Organization = orgName,
Repository = repoName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetSwrDomainsV2Args;
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 config = ctx.config();
final var orgName = config.get("orgName");
final var repoName = config.get("repoName");
final var domains = OpentelekomcloudFunctions.getSwrDomainsV2(GetSwrDomainsV2Args.builder()
.organization(orgName)
.repository(repoName)
.build());
}
}
configuration:
orgName:
type: dynamic
repoName:
type: dynamic
variables:
domains:
fn::invoke:
function: opentelekomcloud:getSwrDomainsV2
arguments:
organization: ${orgName}
repository: ${repoName}
Using getSwrDomainsV2
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 getSwrDomainsV2(args: GetSwrDomainsV2Args, opts?: InvokeOptions): Promise<GetSwrDomainsV2Result>
function getSwrDomainsV2Output(args: GetSwrDomainsV2OutputArgs, opts?: InvokeOptions): Output<GetSwrDomainsV2Result>def get_swr_domains_v2(id: Optional[str] = None,
organization: Optional[str] = None,
repository: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSwrDomainsV2Result
def get_swr_domains_v2_output(id: Optional[pulumi.Input[str]] = None,
organization: Optional[pulumi.Input[str]] = None,
repository: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSwrDomainsV2Result]func GetSwrDomainsV2(ctx *Context, args *GetSwrDomainsV2Args, opts ...InvokeOption) (*GetSwrDomainsV2Result, error)
func GetSwrDomainsV2Output(ctx *Context, args *GetSwrDomainsV2OutputArgs, opts ...InvokeOption) GetSwrDomainsV2ResultOutput> Note: This function is named GetSwrDomainsV2 in the Go SDK.
public static class GetSwrDomainsV2
{
public static Task<GetSwrDomainsV2Result> InvokeAsync(GetSwrDomainsV2Args args, InvokeOptions? opts = null)
public static Output<GetSwrDomainsV2Result> Invoke(GetSwrDomainsV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSwrDomainsV2Result> getSwrDomainsV2(GetSwrDomainsV2Args args, InvokeOptions options)
public static Output<GetSwrDomainsV2Result> getSwrDomainsV2(GetSwrDomainsV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getSwrDomainsV2:getSwrDomainsV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization string
- The name of the repository organization.
- Repository string
- The name of the repository.
- Id string
- Organization string
- The name of the repository organization.
- Repository string
- The name of the repository.
- Id string
- organization String
- The name of the repository organization.
- repository String
- The name of the repository.
- id String
- organization string
- The name of the repository organization.
- repository string
- The name of the repository.
- id string
- organization str
- The name of the repository organization.
- repository str
- The name of the repository.
- id str
- organization String
- The name of the repository organization.
- repository String
- The name of the repository.
- id String
getSwrDomainsV2 Result
The following output properties are available:
- Access
Domains List<GetSwr Domains V2Access Domain> - The list of the access domains. The structure is documented below:
- Id string
- Organization string
- Repository string
- Access
Domains []GetSwr Domains V2Access Domain - The list of the access domains. The structure is documented below:
- Id string
- Organization string
- Repository string
- access
Domains List<GetSwr Domains V2Access Domain> - The list of the access domains. The structure is documented below:
- id String
- organization String
- repository String
- access
Domains GetSwr Domains V2Access Domain[] - The list of the access domains. The structure is documented below:
- id string
- organization string
- repository string
- access_
domains Sequence[GetSwr Domains V2Access Domain] - The list of the access domains. The structure is documented below:
- id str
- organization str
- repository str
- access
Domains List<Property Map> - The list of the access domains. The structure is documented below:
- id String
- organization String
- repository String
Supporting Types
GetSwrDomainsV2AccessDomain
- Access
Domain string - (Required) The name of the domain for image sharing.
- Created string
- Indicates the creation time.
- Creator
Id string - Username ID of the domain creator.
- Creator
Name string - Username of the domain creator.
- Deadline string
- End date of image sharing (UTC).
- Description string
- Specifies SWR domain description.
- Permission string
- Permission to be granted.
- Status bool
- Indicates the domain is valid (
true) or expired (false). - Updated string
- Indicates the domain when was last updated.
- Access
Domain string - (Required) The name of the domain for image sharing.
- Created string
- Indicates the creation time.
- Creator
Id string - Username ID of the domain creator.
- Creator
Name string - Username of the domain creator.
- Deadline string
- End date of image sharing (UTC).
- Description string
- Specifies SWR domain description.
- Permission string
- Permission to be granted.
- Status bool
- Indicates the domain is valid (
true) or expired (false). - Updated string
- Indicates the domain when was last updated.
- access
Domain String - (Required) The name of the domain for image sharing.
- created String
- Indicates the creation time.
- creator
Id String - Username ID of the domain creator.
- creator
Name String - Username of the domain creator.
- deadline String
- End date of image sharing (UTC).
- description String
- Specifies SWR domain description.
- permission String
- Permission to be granted.
- status Boolean
- Indicates the domain is valid (
true) or expired (false). - updated String
- Indicates the domain when was last updated.
- access
Domain string - (Required) The name of the domain for image sharing.
- created string
- Indicates the creation time.
- creator
Id string - Username ID of the domain creator.
- creator
Name string - Username of the domain creator.
- deadline string
- End date of image sharing (UTC).
- description string
- Specifies SWR domain description.
- permission string
- Permission to be granted.
- status boolean
- Indicates the domain is valid (
true) or expired (false). - updated string
- Indicates the domain when was last updated.
- access_
domain str - (Required) The name of the domain for image sharing.
- created str
- Indicates the creation time.
- creator_
id str - Username ID of the domain creator.
- creator_
name str - Username of the domain creator.
- deadline str
- End date of image sharing (UTC).
- description str
- Specifies SWR domain description.
- permission str
- Permission to be granted.
- status bool
- Indicates the domain is valid (
true) or expired (false). - updated str
- Indicates the domain when was last updated.
- access
Domain String - (Required) The name of the domain for image sharing.
- created String
- Indicates the creation time.
- creator
Id String - Username ID of the domain creator.
- creator
Name String - Username of the domain creator.
- deadline String
- End date of image sharing (UTC).
- description String
- Specifies SWR domain description.
- permission String
- Permission to be granted.
- status Boolean
- Indicates the domain is valid (
true) or expired (false). - updated String
- Indicates the domain when was last updated.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
Viewing docs for opentelekomcloud 1.36.62
published on Thursday, Mar 26, 2026 by opentelekomcloud
published on Thursday, Mar 26, 2026 by opentelekomcloud
