opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
opentelekomcloud.getIdentityAgencyV3
Explore with Pulumi AI
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
Up-to-date reference of API arguments for IAM agency you can get at documentation portal
Use this data source to get an agency information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const agency1 = opentelekomcloud.getIdentityAgencyV3({
    name: "test-agency",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
agency1 = opentelekomcloud.get_identity_agency_v3(name="test-agency")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opentelekomcloud.LookupIdentityAgencyV3(ctx, &opentelekomcloud.LookupIdentityAgencyV3Args{
			Name: pulumi.StringRef("test-agency"),
		}, 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 agency1 = Opentelekomcloud.GetIdentityAgencyV3.Invoke(new()
    {
        Name = "test-agency",
    });
});
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.GetIdentityAgencyV3Args;
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 agency1 = OpentelekomcloudFunctions.getIdentityAgencyV3(GetIdentityAgencyV3Args.builder()
            .name("test-agency")
            .build());
    }
}
variables:
  agency1:
    fn::invoke:
      function: opentelekomcloud:getIdentityAgencyV3
      arguments:
        name: test-agency
Using getIdentityAgencyV3
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 getIdentityAgencyV3(args: GetIdentityAgencyV3Args, opts?: InvokeOptions): Promise<GetIdentityAgencyV3Result>
function getIdentityAgencyV3Output(args: GetIdentityAgencyV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityAgencyV3Result>def get_identity_agency_v3(id: Optional[str] = None,
                           name: Optional[str] = None,
                           trust_domain_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIdentityAgencyV3Result
def get_identity_agency_v3_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           trust_domain_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIdentityAgencyV3Result]func LookupIdentityAgencyV3(ctx *Context, args *LookupIdentityAgencyV3Args, opts ...InvokeOption) (*LookupIdentityAgencyV3Result, error)
func LookupIdentityAgencyV3Output(ctx *Context, args *LookupIdentityAgencyV3OutputArgs, opts ...InvokeOption) LookupIdentityAgencyV3ResultOutput> Note: This function is named LookupIdentityAgencyV3 in the Go SDK.
public static class GetIdentityAgencyV3 
{
    public static Task<GetIdentityAgencyV3Result> InvokeAsync(GetIdentityAgencyV3Args args, InvokeOptions? opts = null)
    public static Output<GetIdentityAgencyV3Result> Invoke(GetIdentityAgencyV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityAgencyV3Result> getIdentityAgencyV3(GetIdentityAgencyV3Args args, InvokeOptions options)
public static Output<GetIdentityAgencyV3Result> getIdentityAgencyV3(GetIdentityAgencyV3Args args, InvokeOptions options)
fn::invoke:
  function: opentelekomcloud:index/getIdentityAgencyV3:getIdentityAgencyV3
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- ID of an agency.
- Name string
- Name of the agency
- TrustDomain stringId 
- ID of the delegated domain.
- Id string
- ID of an agency.
- Name string
- Name of the agency
- TrustDomain stringId 
- ID of the delegated domain.
- id String
- ID of an agency.
- name String
- Name of the agency
- trustDomain StringId 
- ID of the delegated domain.
- id string
- ID of an agency.
- name string
- Name of the agency
- trustDomain stringId 
- ID of the delegated domain.
- id str
- ID of an agency.
- name str
- Name of the agency
- trust_domain_ strid 
- ID of the delegated domain.
- id String
- ID of an agency.
- name String
- Name of the agency
- trustDomain StringId 
- ID of the delegated domain.
getIdentityAgencyV3 Result
The following output properties are available:
- CreateTime string
- Time when an agency is created.
- Description string
- Description of an agency.
- Duration string
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- ExpireTime string
- Expiration time of an agency.
- Id string
- ID of an agency.
- TrustDomain stringName 
- Name of the delegated domain.
- Name string
- Name of an agency.
- TrustDomain stringId 
- CreateTime string
- Time when an agency is created.
- Description string
- Description of an agency.
- Duration string
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- ExpireTime string
- Expiration time of an agency.
- Id string
- ID of an agency.
- TrustDomain stringName 
- Name of the delegated domain.
- Name string
- Name of an agency.
- TrustDomain stringId 
- createTime String
- Time when an agency is created.
- description String
- Description of an agency.
- duration String
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- expireTime String
- Expiration time of an agency.
- id String
- ID of an agency.
- trustDomain StringName 
- Name of the delegated domain.
- name String
- Name of an agency.
- trustDomain StringId 
- createTime string
- Time when an agency is created.
- description string
- Description of an agency.
- duration string
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- expireTime string
- Expiration time of an agency.
- id string
- ID of an agency.
- trustDomain stringName 
- Name of the delegated domain.
- name string
- Name of an agency.
- trustDomain stringId 
- create_time str
- Time when an agency is created.
- description str
- Description of an agency.
- duration str
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- expire_time str
- Expiration time of an agency.
- id str
- ID of an agency.
- trust_domain_ strname 
- Name of the delegated domain.
- name str
- Name of an agency.
- trust_domain_ strid 
- createTime String
- Time when an agency is created.
- description String
- Description of an agency.
- duration String
- Validity period of an agency.
The default value is null, indicating that the agency is permanently valid.
- expireTime String
- Expiration time of an agency.
- id String
- ID of an agency.
- trustDomain StringName 
- Name of the delegated domain.
- name String
- Name of an agency.
- trustDomain StringId 
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud