1. Packages
  2. Ibm Provider
  3. API Docs
  4. BackupRecoveryConnectorAccessToken
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.BackupRecoveryConnectorAccessToken

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const backupRecoveryConnectorAccessTokenInstance = new ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenInstance", {
        password: "admin",
        username: "admin",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    backup_recovery_connector_access_token_instance = ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenInstance",
        password="admin",
        username="admin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewBackupRecoveryConnectorAccessToken(ctx, "backupRecoveryConnectorAccessTokenInstance", &ibm.BackupRecoveryConnectorAccessTokenArgs{
    			Password: pulumi.String("admin"),
    			Username: pulumi.String("admin"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var backupRecoveryConnectorAccessTokenInstance = new Ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenInstance", new()
        {
            Password = "admin",
            Username = "admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.BackupRecoveryConnectorAccessToken;
    import com.pulumi.ibm.BackupRecoveryConnectorAccessTokenArgs;
    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 backupRecoveryConnectorAccessTokenInstance = new BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenInstance", BackupRecoveryConnectorAccessTokenArgs.builder()
                .password("admin")
                .username("admin")
                .build());
    
        }
    }
    
    resources:
      backupRecoveryConnectorAccessTokenInstance:
        type: ibm:BackupRecoveryConnectorAccessToken
        properties:
          password: admin
          username: admin
    

    Create BackupRecoveryConnectorAccessToken Resource

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

    Constructor syntax

    new BackupRecoveryConnectorAccessToken(name: string, args: BackupRecoveryConnectorAccessTokenArgs, opts?: CustomResourceOptions);
    @overload
    def BackupRecoveryConnectorAccessToken(resource_name: str,
                                           args: BackupRecoveryConnectorAccessTokenArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackupRecoveryConnectorAccessToken(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           password: Optional[str] = None,
                                           username: Optional[str] = None,
                                           backup_recovery_connector_access_token_id: Optional[str] = None,
                                           domain: Optional[str] = None)
    func NewBackupRecoveryConnectorAccessToken(ctx *Context, name string, args BackupRecoveryConnectorAccessTokenArgs, opts ...ResourceOption) (*BackupRecoveryConnectorAccessToken, error)
    public BackupRecoveryConnectorAccessToken(string name, BackupRecoveryConnectorAccessTokenArgs args, CustomResourceOptions? opts = null)
    public BackupRecoveryConnectorAccessToken(String name, BackupRecoveryConnectorAccessTokenArgs args)
    public BackupRecoveryConnectorAccessToken(String name, BackupRecoveryConnectorAccessTokenArgs args, CustomResourceOptions options)
    
    type: ibm:BackupRecoveryConnectorAccessToken
    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 BackupRecoveryConnectorAccessTokenArgs
    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 BackupRecoveryConnectorAccessTokenArgs
    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 BackupRecoveryConnectorAccessTokenArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackupRecoveryConnectorAccessTokenArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackupRecoveryConnectorAccessTokenArgs
    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 backupRecoveryConnectorAccessTokenResource = new Ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenResource", new()
    {
        Password = "string",
        Username = "string",
        BackupRecoveryConnectorAccessTokenId = "string",
        Domain = "string",
    });
    
    example, err := ibm.NewBackupRecoveryConnectorAccessToken(ctx, "backupRecoveryConnectorAccessTokenResource", &ibm.BackupRecoveryConnectorAccessTokenArgs{
    	Password:                             pulumi.String("string"),
    	Username:                             pulumi.String("string"),
    	BackupRecoveryConnectorAccessTokenId: pulumi.String("string"),
    	Domain:                               pulumi.String("string"),
    })
    
    var backupRecoveryConnectorAccessTokenResource = new BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenResource", BackupRecoveryConnectorAccessTokenArgs.builder()
        .password("string")
        .username("string")
        .backupRecoveryConnectorAccessTokenId("string")
        .domain("string")
        .build());
    
    backup_recovery_connector_access_token_resource = ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenResource",
        password="string",
        username="string",
        backup_recovery_connector_access_token_id="string",
        domain="string")
    
    const backupRecoveryConnectorAccessTokenResource = new ibm.BackupRecoveryConnectorAccessToken("backupRecoveryConnectorAccessTokenResource", {
        password: "string",
        username: "string",
        backupRecoveryConnectorAccessTokenId: "string",
        domain: "string",
    });
    
    type: ibm:BackupRecoveryConnectorAccessToken
    properties:
        backupRecoveryConnectorAccessTokenId: string
        domain: string
        password: string
        username: string
    

    BackupRecoveryConnectorAccessToken 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 BackupRecoveryConnectorAccessToken resource accepts the following input properties:

    Password string
    Specifies the password of the Cohesity user account.
    Username string
    Specifies the login name of the Cohesity user.
    BackupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    Domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    Password string
    Specifies the password of the Cohesity user account.
    Username string
    Specifies the login name of the Cohesity user.
    BackupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    Domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password String
    Specifies the password of the Cohesity user account.
    username String
    Specifies the login name of the Cohesity user.
    backupRecoveryConnectorAccessTokenId String
    The unique identifier of the backup_recovery_connector_access_token.
    domain String
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password string
    Specifies the password of the Cohesity user account.
    username string
    Specifies the login name of the Cohesity user.
    backupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password str
    Specifies the password of the Cohesity user account.
    username str
    Specifies the login name of the Cohesity user.
    backup_recovery_connector_access_token_id str
    The unique identifier of the backup_recovery_connector_access_token.
    domain str
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password String
    Specifies the password of the Cohesity user account.
    username String
    Specifies the login name of the Cohesity user.
    backupRecoveryConnectorAccessTokenId String
    The unique identifier of the backup_recovery_connector_access_token.
    domain String
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.

    Outputs

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

    AccessToken string
    Created access token.
    Id string
    The provider-assigned unique ID for this managed resource.
    Privileges List<string>
    Privileges for the user.
    TokenType string
    Access token type.
    AccessToken string
    Created access token.
    Id string
    The provider-assigned unique ID for this managed resource.
    Privileges []string
    Privileges for the user.
    TokenType string
    Access token type.
    accessToken String
    Created access token.
    id String
    The provider-assigned unique ID for this managed resource.
    privileges List<String>
    Privileges for the user.
    tokenType String
    Access token type.
    accessToken string
    Created access token.
    id string
    The provider-assigned unique ID for this managed resource.
    privileges string[]
    Privileges for the user.
    tokenType string
    Access token type.
    access_token str
    Created access token.
    id str
    The provider-assigned unique ID for this managed resource.
    privileges Sequence[str]
    Privileges for the user.
    token_type str
    Access token type.
    accessToken String
    Created access token.
    id String
    The provider-assigned unique ID for this managed resource.
    privileges List<String>
    Privileges for the user.
    tokenType String
    Access token type.

    Look up Existing BackupRecoveryConnectorAccessToken Resource

    Get an existing BackupRecoveryConnectorAccessToken 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?: BackupRecoveryConnectorAccessTokenState, opts?: CustomResourceOptions): BackupRecoveryConnectorAccessToken
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_token: Optional[str] = None,
            backup_recovery_connector_access_token_id: Optional[str] = None,
            domain: Optional[str] = None,
            password: Optional[str] = None,
            privileges: Optional[Sequence[str]] = None,
            token_type: Optional[str] = None,
            username: Optional[str] = None) -> BackupRecoveryConnectorAccessToken
    func GetBackupRecoveryConnectorAccessToken(ctx *Context, name string, id IDInput, state *BackupRecoveryConnectorAccessTokenState, opts ...ResourceOption) (*BackupRecoveryConnectorAccessToken, error)
    public static BackupRecoveryConnectorAccessToken Get(string name, Input<string> id, BackupRecoveryConnectorAccessTokenState? state, CustomResourceOptions? opts = null)
    public static BackupRecoveryConnectorAccessToken get(String name, Output<String> id, BackupRecoveryConnectorAccessTokenState state, CustomResourceOptions options)
    resources:  _:    type: ibm:BackupRecoveryConnectorAccessToken    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:
    AccessToken string
    Created access token.
    BackupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    Domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    Password string
    Specifies the password of the Cohesity user account.
    Privileges List<string>
    Privileges for the user.
    TokenType string
    Access token type.
    Username string
    Specifies the login name of the Cohesity user.
    AccessToken string
    Created access token.
    BackupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    Domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    Password string
    Specifies the password of the Cohesity user account.
    Privileges []string
    Privileges for the user.
    TokenType string
    Access token type.
    Username string
    Specifies the login name of the Cohesity user.
    accessToken String
    Created access token.
    backupRecoveryConnectorAccessTokenId String
    The unique identifier of the backup_recovery_connector_access_token.
    domain String
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password String
    Specifies the password of the Cohesity user account.
    privileges List<String>
    Privileges for the user.
    tokenType String
    Access token type.
    username String
    Specifies the login name of the Cohesity user.
    accessToken string
    Created access token.
    backupRecoveryConnectorAccessTokenId string
    The unique identifier of the backup_recovery_connector_access_token.
    domain string
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password string
    Specifies the password of the Cohesity user account.
    privileges string[]
    Privileges for the user.
    tokenType string
    Access token type.
    username string
    Specifies the login name of the Cohesity user.
    access_token str
    Created access token.
    backup_recovery_connector_access_token_id str
    The unique identifier of the backup_recovery_connector_access_token.
    domain str
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password str
    Specifies the password of the Cohesity user account.
    privileges Sequence[str]
    Privileges for the user.
    token_type str
    Access token type.
    username str
    Specifies the login name of the Cohesity user.
    accessToken String
    Created access token.
    backupRecoveryConnectorAccessTokenId String
    The unique identifier of the backup_recovery_connector_access_token.
    domain String
    Specifies the domain the user is logging in to. For a local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.
    password String
    Specifies the password of the Cohesity user account.
    privileges List<String>
    Privileges for the user.
    tokenType String
    Access token type.
    username String
    Specifies the login name of the Cohesity user.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud