1. Packages
  2. Snowflake
  3. API Docs
  4. ManagedAccount
Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi

snowflake.ManagedAccount

Explore with Pulumi AI

snowflake logo
Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi

    Import

    $ pulumi import snowflake:index/managedAccount:ManagedAccount example name
    

    Create ManagedAccount Resource

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

    Constructor syntax

    new ManagedAccount(name: string, args: ManagedAccountArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedAccount(resource_name: str,
                       args: ManagedAccountArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedAccount(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       admin_name: Optional[str] = None,
                       admin_password: Optional[str] = None,
                       comment: Optional[str] = None,
                       name: Optional[str] = None,
                       type: Optional[str] = None)
    func NewManagedAccount(ctx *Context, name string, args ManagedAccountArgs, opts ...ResourceOption) (*ManagedAccount, error)
    public ManagedAccount(string name, ManagedAccountArgs args, CustomResourceOptions? opts = null)
    public ManagedAccount(String name, ManagedAccountArgs args)
    public ManagedAccount(String name, ManagedAccountArgs args, CustomResourceOptions options)
    
    type: snowflake:ManagedAccount
    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 ManagedAccountArgs
    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 ManagedAccountArgs
    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 ManagedAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedAccountArgs
    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 managedAccountResource = new Snowflake.ManagedAccount("managedAccountResource", new()
    {
        AdminName = "string",
        AdminPassword = "string",
        Comment = "string",
        Name = "string",
        Type = "string",
    });
    
    example, err := snowflake.NewManagedAccount(ctx, "managedAccountResource", &snowflake.ManagedAccountArgs{
    	AdminName:     pulumi.String("string"),
    	AdminPassword: pulumi.String("string"),
    	Comment:       pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	Type:          pulumi.String("string"),
    })
    
    var managedAccountResource = new ManagedAccount("managedAccountResource", ManagedAccountArgs.builder()
        .adminName("string")
        .adminPassword("string")
        .comment("string")
        .name("string")
        .type("string")
        .build());
    
    managed_account_resource = snowflake.ManagedAccount("managedAccountResource",
        admin_name="string",
        admin_password="string",
        comment="string",
        name="string",
        type="string")
    
    const managedAccountResource = new snowflake.ManagedAccount("managedAccountResource", {
        adminName: "string",
        adminPassword: "string",
        comment: "string",
        name: "string",
        type: "string",
    });
    
    type: snowflake:ManagedAccount
    properties:
        adminName: string
        adminPassword: string
        comment: string
        name: string
        type: string
    

    ManagedAccount Resource Properties

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

    Inputs

    The ManagedAccount resource accepts the following input properties:

    AdminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    AdminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    Comment string
    Specifies a comment for the managed account.
    Name string
    Identifier for the managed account; must be unique for your account.
    Type string
    Specifies the type of managed account.
    AdminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    AdminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    Comment string
    Specifies a comment for the managed account.
    Name string
    Identifier for the managed account; must be unique for your account.
    Type string
    Specifies the type of managed account.
    adminName String
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword String
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    comment String
    Specifies a comment for the managed account.
    name String
    Identifier for the managed account; must be unique for your account.
    type String
    Specifies the type of managed account.
    adminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    comment string
    Specifies a comment for the managed account.
    name string
    Identifier for the managed account; must be unique for your account.
    type string
    Specifies the type of managed account.
    admin_name str
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    admin_password str
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    comment str
    Specifies a comment for the managed account.
    name str
    Identifier for the managed account; must be unique for your account.
    type str
    Specifies the type of managed account.
    adminName String
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword String
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    comment String
    Specifies a comment for the managed account.
    name String
    Identifier for the managed account; must be unique for your account.
    type String
    Specifies the type of managed account.

    Outputs

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

    Cloud string
    Cloud in which the managed account is located.
    CreatedOn string
    Date and time when the managed account was created.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    Locator string
    Display name of the managed account.
    Region string
    Snowflake Region in which the managed account is located.
    Url string
    URL for accessing the managed account, particularly through the web interface.
    Cloud string
    Cloud in which the managed account is located.
    CreatedOn string
    Date and time when the managed account was created.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    Locator string
    Display name of the managed account.
    Region string
    Snowflake Region in which the managed account is located.
    Url string
    URL for accessing the managed account, particularly through the web interface.
    cloud String
    Cloud in which the managed account is located.
    createdOn String
    Date and time when the managed account was created.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    locator String
    Display name of the managed account.
    region String
    Snowflake Region in which the managed account is located.
    url String
    URL for accessing the managed account, particularly through the web interface.
    cloud string
    Cloud in which the managed account is located.
    createdOn string
    Date and time when the managed account was created.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    locator string
    Display name of the managed account.
    region string
    Snowflake Region in which the managed account is located.
    url string
    URL for accessing the managed account, particularly through the web interface.
    cloud str
    Cloud in which the managed account is located.
    created_on str
    Date and time when the managed account was created.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    locator str
    Display name of the managed account.
    region str
    Snowflake Region in which the managed account is located.
    url str
    URL for accessing the managed account, particularly through the web interface.
    cloud String
    Cloud in which the managed account is located.
    createdOn String
    Date and time when the managed account was created.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    locator String
    Display name of the managed account.
    region String
    Snowflake Region in which the managed account is located.
    url String
    URL for accessing the managed account, particularly through the web interface.

    Look up Existing ManagedAccount Resource

    Get an existing ManagedAccount 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?: ManagedAccountState, opts?: CustomResourceOptions): ManagedAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_name: Optional[str] = None,
            admin_password: Optional[str] = None,
            cloud: Optional[str] = None,
            comment: Optional[str] = None,
            created_on: Optional[str] = None,
            fully_qualified_name: Optional[str] = None,
            locator: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            type: Optional[str] = None,
            url: Optional[str] = None) -> ManagedAccount
    func GetManagedAccount(ctx *Context, name string, id IDInput, state *ManagedAccountState, opts ...ResourceOption) (*ManagedAccount, error)
    public static ManagedAccount Get(string name, Input<string> id, ManagedAccountState? state, CustomResourceOptions? opts = null)
    public static ManagedAccount get(String name, Output<String> id, ManagedAccountState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AdminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    AdminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    Cloud string
    Cloud in which the managed account is located.
    Comment string
    Specifies a comment for the managed account.
    CreatedOn string
    Date and time when the managed account was created.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Locator string
    Display name of the managed account.
    Name string
    Identifier for the managed account; must be unique for your account.
    Region string
    Snowflake Region in which the managed account is located.
    Type string
    Specifies the type of managed account.
    Url string
    URL for accessing the managed account, particularly through the web interface.
    AdminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    AdminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    Cloud string
    Cloud in which the managed account is located.
    Comment string
    Specifies a comment for the managed account.
    CreatedOn string
    Date and time when the managed account was created.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Locator string
    Display name of the managed account.
    Name string
    Identifier for the managed account; must be unique for your account.
    Region string
    Snowflake Region in which the managed account is located.
    Type string
    Specifies the type of managed account.
    Url string
    URL for accessing the managed account, particularly through the web interface.
    adminName String
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword String
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    cloud String
    Cloud in which the managed account is located.
    comment String
    Specifies a comment for the managed account.
    createdOn String
    Date and time when the managed account was created.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    locator String
    Display name of the managed account.
    name String
    Identifier for the managed account; must be unique for your account.
    region String
    Snowflake Region in which the managed account is located.
    type String
    Specifies the type of managed account.
    url String
    URL for accessing the managed account, particularly through the web interface.
    adminName string
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword string
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    cloud string
    Cloud in which the managed account is located.
    comment string
    Specifies a comment for the managed account.
    createdOn string
    Date and time when the managed account was created.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    locator string
    Display name of the managed account.
    name string
    Identifier for the managed account; must be unique for your account.
    region string
    Snowflake Region in which the managed account is located.
    type string
    Specifies the type of managed account.
    url string
    URL for accessing the managed account, particularly through the web interface.
    admin_name str
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    admin_password str
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    cloud str
    Cloud in which the managed account is located.
    comment str
    Specifies a comment for the managed account.
    created_on str
    Date and time when the managed account was created.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    locator str
    Display name of the managed account.
    name str
    Identifier for the managed account; must be unique for your account.
    region str
    Snowflake Region in which the managed account is located.
    type str
    Specifies the type of managed account.
    url str
    URL for accessing the managed account, particularly through the web interface.
    adminName String
    Identifier, as well as login name, for the initial user in the managed account. This user serves as the account administrator for the account.
    adminPassword String
    Password for the initial user in the managed account. Check Snowflake-provided password policy.
    cloud String
    Cloud in which the managed account is located.
    comment String
    Specifies a comment for the managed account.
    createdOn String
    Date and time when the managed account was created.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    locator String
    Display name of the managed account.
    name String
    Identifier for the managed account; must be unique for your account.
    region String
    Snowflake Region in which the managed account is located.
    type String
    Specifies the type of managed account.
    url String
    URL for accessing the managed account, particularly through the web interface.

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Snowflake v0.59.0 published on Friday, Sep 20, 2024 by Pulumi