1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. IdentityProviderV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.IdentityProviderV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for IAM provider you can get at documentation portal

    You must have security admin privileges in your OpenTelekomCloud cloud to use this resource. Please refer to User Management Model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const provider = new opentelekomcloud.IdentityProviderV3("provider", {
        description: "This is simple identity provider",
        enabled: true,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    provider = opentelekomcloud.IdentityProviderV3("provider",
        description="This is simple identity provider",
        enabled=True)
    
    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.NewIdentityProviderV3(ctx, "provider", &opentelekomcloud.IdentityProviderV3Args{
    			Description: pulumi.String("This is simple identity provider"),
    			Enabled:     pulumi.Bool(true),
    		})
    		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 provider = new Opentelekomcloud.IdentityProviderV3("provider", new()
        {
            Description = "This is simple identity provider",
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.IdentityProviderV3;
    import com.pulumi.opentelekomcloud.IdentityProviderV3Args;
    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) {
            var provider = new IdentityProviderV3("provider", IdentityProviderV3Args.builder()
                .description("This is simple identity provider")
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      provider:
        type: opentelekomcloud:IdentityProviderV3
        properties:
          description: This is simple identity provider
          enabled: true
    

    Create IdentityProviderV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IdentityProviderV3(name: string, args?: IdentityProviderV3Args, opts?: CustomResourceOptions);
    @overload
    def IdentityProviderV3(resource_name: str,
                           args: Optional[IdentityProviderV3Args] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentityProviderV3(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           description: Optional[str] = None,
                           enabled: Optional[bool] = None,
                           identity_provider_v3_id: Optional[str] = None,
                           name: Optional[str] = None)
    func NewIdentityProviderV3(ctx *Context, name string, args *IdentityProviderV3Args, opts ...ResourceOption) (*IdentityProviderV3, error)
    public IdentityProviderV3(string name, IdentityProviderV3Args? args = null, CustomResourceOptions? opts = null)
    public IdentityProviderV3(String name, IdentityProviderV3Args args)
    public IdentityProviderV3(String name, IdentityProviderV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:IdentityProviderV3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IdentityProviderV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IdentityProviderV3Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IdentityProviderV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityProviderV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityProviderV3Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var identityProviderV3Resource = new Opentelekomcloud.IdentityProviderV3("identityProviderV3Resource", new()
    {
        Description = "string",
        Enabled = false,
        IdentityProviderV3Id = "string",
        Name = "string",
    });
    
    example, err := opentelekomcloud.NewIdentityProviderV3(ctx, "identityProviderV3Resource", &opentelekomcloud.IdentityProviderV3Args{
    	Description:          pulumi.String("string"),
    	Enabled:              pulumi.Bool(false),
    	IdentityProviderV3Id: pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    })
    
    var identityProviderV3Resource = new IdentityProviderV3("identityProviderV3Resource", IdentityProviderV3Args.builder()
        .description("string")
        .enabled(false)
        .identityProviderV3Id("string")
        .name("string")
        .build());
    
    identity_provider_v3_resource = opentelekomcloud.IdentityProviderV3("identityProviderV3Resource",
        description="string",
        enabled=False,
        identity_provider_v3_id="string",
        name="string")
    
    const identityProviderV3Resource = new opentelekomcloud.IdentityProviderV3("identityProviderV3Resource", {
        description: "string",
        enabled: false,
        identityProviderV3Id: "string",
        name: "string",
    });
    
    type: opentelekomcloud:IdentityProviderV3
    properties:
        description: string
        enabled: false
        identityProviderV3Id: string
        name: string
    

    IdentityProviderV3 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IdentityProviderV3 resource accepts the following input properties:

    Description string
    A description of the provider.
    Enabled bool
    Whether an identity provider is enabled. Default value is false.
    IdentityProviderV3Id string
    Name string
    The name (ID) of the provider. Changing this creates a new provider.
    Description string
    A description of the provider.
    Enabled bool
    Whether an identity provider is enabled. Default value is false.
    IdentityProviderV3Id string
    Name string
    The name (ID) of the provider. Changing this creates a new provider.
    description String
    A description of the provider.
    enabled Boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id String
    name String
    The name (ID) of the provider. Changing this creates a new provider.
    description string
    A description of the provider.
    enabled boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id string
    name string
    The name (ID) of the provider. Changing this creates a new provider.
    description str
    A description of the provider.
    enabled bool
    Whether an identity provider is enabled. Default value is false.
    identity_provider_v3_id str
    name str
    The name (ID) of the provider. Changing this creates a new provider.
    description String
    A description of the provider.
    enabled Boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id String
    name String
    The name (ID) of the provider. Changing this creates a new provider.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IdentityProviderV3 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Links Dictionary<string, string>
    RemoteIds List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Links map[string]string
    RemoteIds []string
    id String
    The provider-assigned unique ID for this managed resource.
    links Map<String,String>
    remoteIds List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    links {[key: string]: string}
    remoteIds string[]
    id str
    The provider-assigned unique ID for this managed resource.
    links Mapping[str, str]
    remote_ids Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    links Map<String>
    remoteIds List<String>

    Look up Existing IdentityProviderV3 Resource

    Get an existing IdentityProviderV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IdentityProviderV3State, opts?: CustomResourceOptions): IdentityProviderV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            identity_provider_v3_id: Optional[str] = None,
            links: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            remote_ids: Optional[Sequence[str]] = None) -> IdentityProviderV3
    func GetIdentityProviderV3(ctx *Context, name string, id IDInput, state *IdentityProviderV3State, opts ...ResourceOption) (*IdentityProviderV3, error)
    public static IdentityProviderV3 Get(string name, Input<string> id, IdentityProviderV3State? state, CustomResourceOptions? opts = null)
    public static IdentityProviderV3 get(String name, Output<String> id, IdentityProviderV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:IdentityProviderV3    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    A description of the provider.
    Enabled bool
    Whether an identity provider is enabled. Default value is false.
    IdentityProviderV3Id string
    Links Dictionary<string, string>
    Name string
    The name (ID) of the provider. Changing this creates a new provider.
    RemoteIds List<string>
    Description string
    A description of the provider.
    Enabled bool
    Whether an identity provider is enabled. Default value is false.
    IdentityProviderV3Id string
    Links map[string]string
    Name string
    The name (ID) of the provider. Changing this creates a new provider.
    RemoteIds []string
    description String
    A description of the provider.
    enabled Boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id String
    links Map<String,String>
    name String
    The name (ID) of the provider. Changing this creates a new provider.
    remoteIds List<String>
    description string
    A description of the provider.
    enabled boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id string
    links {[key: string]: string}
    name string
    The name (ID) of the provider. Changing this creates a new provider.
    remoteIds string[]
    description str
    A description of the provider.
    enabled bool
    Whether an identity provider is enabled. Default value is false.
    identity_provider_v3_id str
    links Mapping[str, str]
    name str
    The name (ID) of the provider. Changing this creates a new provider.
    remote_ids Sequence[str]
    description String
    A description of the provider.
    enabled Boolean
    Whether an identity provider is enabled. Default value is false.
    identityProviderV3Id String
    links Map<String>
    name String
    The name (ID) of the provider. Changing this creates a new provider.
    remoteIds List<String>

    Import

    Providers can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/identityProviderV3:IdentityProviderV3 provider ACME
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud